@microvac/ui 0.0.0-stage → 0.1.0-rc.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -2
- package/dist/android-chrome-192x192.png +0 -0
- package/dist/android-chrome-512x512.png +0 -0
- package/dist/announcement-preview.svg +11 -0
- package/dist/apple-touch-icon.png +0 -0
- package/dist/assets/ActiveAgentsPanel-BEx06tMt.js +1 -0
- package/dist/assets/AdapterManager-3kEEQWFJ.js +1 -0
- package/dist/assets/AdvancedToolsRoute-CgS6B-oh.js +39 -0
- package/dist/assets/AgentActionButtons-Cz3jCEd7.js +1 -0
- package/dist/assets/AgentAdvancedTab-BG6ZIAuN.js +131 -0
- package/dist/assets/AgentBulkSettingsSheet-BrrbvspS.js +1 -0
- package/dist/assets/AgentChat-Dw9iXD6H.js +1 -0
- package/dist/assets/AgentDetailPage-CuVIHv_q.js +39 -0
- package/dist/assets/AgentIdentityChip-BrVCcuHQ.js +1 -0
- package/dist/assets/AgentRosterFilters-GQ2bdXfW.js +2 -0
- package/dist/assets/Agents-clrVQnvc.js +2 -0
- package/dist/assets/Agents.production-DTopo7XB.js +2 -0
- package/dist/assets/AnimatedDialogContent-CDLfw-dJ.js +1 -0
- package/dist/assets/AppDetail-BcWBg5yW.js +1 -0
- package/dist/assets/AppNotConnected-NgfyHZ4L.js +1 -0
- package/dist/assets/ApprovalDetail-Dm_1V4tC.js +1 -0
- package/dist/assets/Approvals-i5AB3JPj.js +1 -0
- package/dist/assets/AppsConnect-D660Tpuo.js +1 -0
- package/dist/assets/AppsReview-DdTqOisY.js +1 -0
- package/dist/assets/ArtifactEmptyGraphic-DzxCruYA.js +1 -0
- package/dist/assets/Artifacts-CkXBz6nh.js +1 -0
- package/dist/assets/AssigneePickerInner-BNjyABBe.js +1 -0
- package/dist/assets/AssistantConnection-CNF6mDmO.js +1 -0
- package/dist/assets/AttentionInlineVerbs-BiyZ1ekZ.js +1 -0
- package/dist/assets/AttentionQueueRow-Bh0dKHpF.js +1 -0
- package/dist/assets/AuditHub-BK848cb4.js +1 -0
- package/dist/assets/AuditRuns-CUdlbP7S.js +1 -0
- package/dist/assets/Auth-DDqxm5gD.js +3 -0
- package/dist/assets/BoardChat-fvKqk0R7.js +18 -0
- package/dist/assets/BoardClaim-BEC5BZfz.js +1 -0
- package/dist/assets/BootstrapSetupUxLab-CXzErrin.js +1 -0
- package/dist/assets/Browse-DoovSMuF.js +1 -0
- package/dist/assets/BudgetPolicyCard-BYMlczCq.js +1 -0
- package/dist/assets/CaseDetail-UMAcSH_x.js +1 -0
- package/dist/assets/CaseStatus-BI0aMl9l.js +1 -0
- package/dist/assets/Cases-CMTkGghU.js +1 -0
- package/dist/assets/ChatEndpointDetail-CocNEInH.js +5 -0
- package/dist/assets/ChatEndpointSetup-Cyi2tI9K.js +1 -0
- package/dist/assets/ChatIdentityConfirm-Ba3JuTX1.js +1 -0
- package/dist/assets/CliAuth-D2jnueGH.js +1 -0
- package/dist/assets/Companies-K75I9dJs.js +1 -0
- package/dist/assets/CompanyAccess-Cw6nLUhE.js +1 -0
- package/dist/assets/CompanyActivity-BsgmVpWS.js +1 -0
- package/dist/assets/CompanyActivity.production-w-KGxvo6.js +1 -0
- package/dist/assets/CompanyConnections-yRPYSdm7.js +1 -0
- package/dist/assets/CompanyEnvironments-BA7kWdOJ.js +35 -0
- package/dist/assets/CompanyEnvironments-BrP-ENHg.css +1 -0
- package/dist/assets/CompanyExport-DfsK4b9c.js +4 -0
- package/dist/assets/CompanyImport-DJHAsmSF.js +1 -0
- package/dist/assets/CompanySettings-DwzHGXec.js +1 -0
- package/dist/assets/CompanySettingsPluginPage-Bpa81PF3.js +1 -0
- package/dist/assets/CompanySkills-eTqgbqQN.js +10 -0
- package/dist/assets/CompanySkills.production-CQSWfH0r.js +10 -0
- package/dist/assets/ConfigureBuiltInAgentModal-DgeD7t_i.js +1 -0
- package/dist/assets/CopyableGatewayUrl-B6K3rOal.js +1 -0
- package/dist/assets/CordisPluginSettings-DD3AnD2G.js +1 -0
- package/dist/assets/Costs-orBM8T-a.js +1 -0
- package/dist/assets/CrossIssueCollaborationUxLab-Bv9y9-NE.js +1 -0
- package/dist/assets/Dashboard-CrSBNKX1.js +2 -0
- package/dist/assets/DashboardLive-Cg8C9RiS.js +1 -0
- package/dist/assets/DecisionDateChips-BLZKZH71.js +1 -0
- package/dist/assets/DecisionHistoryPanel-yK-CP7Qg.js +1 -0
- package/dist/assets/DecisionQueuePage-BKXbERai.js +1 -0
- package/dist/assets/DesignGuide-2FswNsXz.js +25 -0
- package/dist/assets/DesignSandboxTaskThread-CGU--FXR.js +28 -0
- package/dist/assets/EmailConnectionAccess-CZ5QRKyg.js +1 -0
- package/dist/assets/EmailEndpointSetup-BI2vsd8Y.js +1 -0
- package/dist/assets/EnforcementBanner-B-iX466h.js +1 -0
- package/dist/assets/EntityRow-BsICt6pd.js +1 -0
- package/dist/assets/ExecutionWorkspaceDetail-CMqR9puh.js +19 -0
- package/dist/assets/ExternalAgentInviteDialog-De30ZrLP.js +50 -0
- package/dist/assets/FilterBar-rCmsTtG4.js +1 -0
- package/dist/assets/FolderControls-CmnB7Ap-.js +1 -0
- package/dist/assets/GatewayDetail-Duw9pJ10.js +2 -0
- package/dist/assets/GatewaysList-BBhVGhRq.js +1 -0
- package/dist/assets/GitHubConnectionRecovery-6VshLoNV.js +1 -0
- package/dist/assets/GoalDetail-CahntjlI.js +1 -0
- package/dist/assets/GoalTree-CU4GBFCh.js +1 -0
- package/dist/assets/Goals-CzM2NDFR.js +1 -0
- package/dist/assets/InstanceAccess-CZzkE65W.js +1 -0
- package/dist/assets/InstanceExperimentalSettings-DWumKtOK.js +1 -0
- package/dist/assets/InviteLanding-BIy2z50u.js +1 -0
- package/dist/assets/IssueChatLongThreadPerf-D4DJvdOG.js +2 -0
- package/dist/assets/JoinRequestQueue-C5rauGYm.js +1 -0
- package/dist/assets/Layout.production-BSDWnupa.js +1 -0
- package/dist/assets/McpConnect-BN8ST0RS.js +1 -0
- package/dist/assets/MembershipAction-DTjhGn-L.js +1 -0
- package/dist/assets/MetricCard-CeL9Pdn5.js +1 -0
- package/dist/assets/MissingPluginTabPlaceholder-CbQiSVnZ.js +1 -0
- package/dist/assets/NewAgent-BszrNpQk.js +1 -0
- package/dist/assets/NewAgentDialog-U9qAcTzc.js +1 -0
- package/dist/assets/NewGoalDialog-DqKbk4-i.js +1 -0
- package/dist/assets/NewProjectDialog-DrlUAF-N.js +1 -0
- package/dist/assets/OnboardingPrimitives-BkgPF4Mu.js +1 -0
- package/dist/assets/OnboardingWizard-CMBMcuXv.js +2 -0
- package/dist/assets/OrgChart.production-BLczTjRj.js +1 -0
- package/dist/assets/PaperclipCloudOAuthHandoff-BTtF8UPD.js +1 -0
- package/dist/assets/PluginManager-CCcqlfgK.js +1 -0
- package/dist/assets/PluginPage-B1empV69.js +1 -0
- package/dist/assets/PluginSettings-DtopaRqR.js +1 -0
- package/dist/assets/ProfileDetailRoute-BqvVpBZi.js +1 -0
- package/dist/assets/ProfileSettings-5__tVfGi.js +1 -0
- package/dist/assets/ProfileWizardRoute-vt-MRLuD.js +1 -0
- package/dist/assets/ProjectDetail-DJ4zjube.js +1 -0
- package/dist/assets/ProjectRepositoryInput-BJcnj3At.js +1 -0
- package/dist/assets/ProjectWorkspaceDetail-DEAO3q6v.js +29 -0
- package/dist/assets/ProjectWorkspacesContent-CZvO7p0i.js +1 -0
- package/dist/assets/Projects-Dm7-zXUH.js +1 -0
- package/dist/assets/QuotaBar-Drp3CaxX.js +1 -0
- package/dist/assets/RepositoryEditor-BT_VAkJu.js +1 -0
- package/dist/assets/Responsibilities-DbUEtGZu.js +4 -0
- package/dist/assets/ResponsibilityDetail--S8_GOkb.js +1 -0
- package/dist/assets/ResponsibleUserDenialUxLab-1PB3JNG0.js +1 -0
- package/dist/assets/ReviewQueueCard-B8w9aXKU.js +1 -0
- package/dist/assets/RoutineAuditActivity-BCo7pYe5.js +1 -0
- package/dist/assets/RoutineDetail-C9Dwn5G9.js +2 -0
- package/dist/assets/RoutineRunVariablesDialog-Baomcbe3.js +1 -0
- package/dist/assets/Routines-Dkv4gJno.js +1 -0
- package/dist/assets/Routines.production-Cs2Y-lpt.js +1 -0
- package/dist/assets/RoutinesToolbar-BNKfCrTo.js +1 -0
- package/dist/assets/Search-CVx4cl2o.js +1 -0
- package/dist/assets/Secrets-C2qv2HKZ.js +4 -0
- package/dist/assets/SkillBinaryFile-DDkhLlfC.js +1 -0
- package/dist/assets/SkillCardIcon-Cp_hws0N.js +2 -0
- package/dist/assets/SkillFolderTree-Cv0CmfYx.js +1 -0
- package/dist/assets/SkillSourceTree-DmjlUswf.js +2 -0
- package/dist/assets/SkillSources-nmlYypUU.js +2 -0
- package/dist/assets/SkillStudio-BK3y_3zr.js +9 -0
- package/dist/assets/SkillsNavigationTabs-DRwMP1eu.js +1 -0
- package/dist/assets/SpekoPhoneCallback-Cqi7AIyH.js +1 -0
- package/dist/assets/SpekoProviderSetup-CJI4oXk5.js +1 -0
- package/dist/assets/StatusCards-DKyyY81S.js +1 -0
- package/dist/assets/SummarySlotCard-f3RomdZS.js +1 -0
- package/dist/assets/TailscaleConnector-yQWLR1Ra.js +1 -0
- package/dist/assets/TaskChatLab-Dsr7eyj4.js +11 -0
- package/dist/assets/TaskSummaryList-eFDfK_QH.js +1 -0
- package/dist/assets/Timeline-BWA9dyk6.js +1 -0
- package/dist/assets/ToolsAdminGate-DpBg30hQ.js +1 -0
- package/dist/assets/TrustPresetSection-DtWjK9Kp.js +1 -0
- package/dist/assets/UserProfile-C66UI5xx.js +1 -0
- package/dist/assets/WebhookUrlWarning-CDygVnDH.js +1 -0
- package/dist/assets/WhatNeedsMe-BQ82RHus.js +1 -0
- package/dist/assets/Workspaces-DrjJes30.js +1 -0
- package/dist/assets/abnfDiagram-YUKMZFIV-Crkksu2D.js +1 -0
- package/dist/assets/apl-MHzTCvfx.js +1 -0
- package/dist/assets/arc-Dnq9Aszq.js +1 -0
- package/dist/assets/architecture-WOLXFQ4H-bHU8FW0c.js +1 -0
- package/dist/assets/architectureDiagram-47P4ROYG-Bj5Styf9.js +36 -0
- package/dist/assets/array-CL5Tisss.js +1 -0
- package/dist/assets/arrow-down-left-Ck9VQyqQ.js +1 -0
- package/dist/assets/asciiarmor-DFLNSgns.js +1 -0
- package/dist/assets/asn1-CfPVWRYE.js +1 -0
- package/dist/assets/asterisk-CJ4OeA7Y.js +1 -0
- package/dist/assets/blockDiagram-E7TT5TSB-OeHpNCQ-.js +140 -0
- package/dist/assets/brainfuck-NEHkmXMc.js +1 -0
- package/dist/assets/budgets-CAWPqcn4.js +1 -0
- package/dist/assets/building-complex-Dxiyk_pH.js +1 -0
- package/dist/assets/c4Diagram-CRA5TL53-QbK5p76P.js +38 -0
- package/dist/assets/channel-BSmZkKA8.js +1 -0
- package/dist/assets/character-CguPM7IG.js +1 -0
- package/dist/assets/chat-channels-CzTZV2fr.js +1 -0
- package/dist/assets/chunk-2BW5OAIV-Ckr4HfBO.js +10 -0
- package/dist/assets/chunk-2Q5K7J3B-CkPHWFj-.js +1 -0
- package/dist/assets/chunk-3YJQHVM4-C_uoPpLR.js +2 -0
- package/dist/assets/chunk-4EA7E6EY-BeMEfIRS.js +1 -0
- package/dist/assets/chunk-5VM5RSS4-2H3r6wq0.js +15 -0
- package/dist/assets/chunk-7TKQ45FW-DiwqWHvN.js +1 -0
- package/dist/assets/chunk-AW2ZBBNX-Cf57K3PO.js +88 -0
- package/dist/assets/chunk-DBDB3WZW-B2qouVQO.js +1 -0
- package/dist/assets/chunk-DUW6YSOI-slPglwIh.js +1 -0
- package/dist/assets/chunk-E2ZNV5FY-DG8wQ_NS.js +70 -0
- package/dist/assets/chunk-EU5HNXII-cxRrXRGV.js +213 -0
- package/dist/assets/chunk-FVRAUYC3-Dizswk0V.js +2 -0
- package/dist/assets/chunk-HJ2JQQFS-DL4lnpSv.js +1 -0
- package/dist/assets/chunk-HTAEGDNF-Zxjdb6kj.js +1 -0
- package/dist/assets/chunk-J5ZVWO5B-ClU583ja.js +1 -0
- package/dist/assets/chunk-JWPE2WC7--HEGjv3t.js +1 -0
- package/dist/assets/chunk-KQW6MTUR-BsVaJdnu.js +1 -0
- package/dist/assets/chunk-NGNAAXSQ-e5XI1hSt.js +128 -0
- package/dist/assets/chunk-NTY3LDVX-DyT9N5sM.js +1 -0
- package/dist/assets/chunk-VPRB5NB3-BNz5CtBn.js +129 -0
- package/dist/assets/chunk-XC4XBNZT-CCgIhjYS.js +62 -0
- package/dist/assets/chunk-XXDRQBXY-BdWplhUD.js +1 -0
- package/dist/assets/chunk-Y2CYZVJY-OvsAdhaO.js +1 -0
- package/dist/assets/circle-slash-uNv_ha0X.js +1 -0
- package/dist/assets/classDiagram-v2-K4WV4PDN-Cdh3CEl4.js +217 -0
- package/dist/assets/clike-CIx9nZSv.js +1 -0
- package/dist/assets/clojure-DFaIEz5O.js +1 -0
- package/dist/assets/cmake-koz-qBlo.js +1 -0
- package/dist/assets/cobol-Bo8Zw9gB.js +1 -0
- package/dist/assets/coffeescript-CXYzYf-Y.js +1 -0
- package/dist/assets/coins-BDAh8hDQ.js +1 -0
- package/dist/assets/collections-B58p51lw.js +3 -0
- package/dist/assets/commonlisp-C4OOCwkD.js +1 -0
- package/dist/assets/company-skill-routes-D5LJ1l8M.js +1 -0
- package/dist/assets/company-skill-summary-DnWVmP1S.js +1 -0
- package/dist/assets/configuration-warnings-CZKSfHJv.js +2 -0
- package/dist/assets/connection-owner-D8fNrFqC.js +1 -0
- package/dist/assets/cose-bilkent-JH36ORCC-DFyVDb92.js +1 -0
- package/dist/assets/crystal-BlJXQDvy.js +1 -0
- package/dist/assets/css-DEZwfVpY.js +1 -0
- package/dist/assets/cynefin-EF2NZ3EQ-BkwhfqJ0.js +1 -0
- package/dist/assets/cynefinDiagram-3GCD6N5R-DuGb_wq2.js +62 -0
- package/dist/assets/cypher-z2oFsVv2.js +1 -0
- package/dist/assets/cytoscape.esm-C2vp4vBx.js +321 -0
- package/dist/assets/d-Dkt6y7AQ.js +1 -0
- package/dist/assets/dagre-W4DXFKR2-Bxq_Mhia.js +4 -0
- package/dist/assets/defaultLocale-C2Bpu8Ih.js +1 -0
- package/dist/assets/definition-DxwMBXnu.js +1 -0
- package/dist/assets/diagram-2UJZ2QOL-B-P_hrXV.js +200 -0
- package/dist/assets/diagram-OVF4WLC6-Ds0BqQWH.js +24 -0
- package/dist/assets/diagram-PFPMY2P6-Dpqb2-Cb.js +30 -0
- package/dist/assets/diagram-UMYRVEAY-BJSoxjiu.js +24 -0
- package/dist/assets/diagram-YEKJPTXX-BxaG_9tT.js +41 -0
- package/dist/assets/diagram-ZIFT7M5P-6acvVOtc.js +3 -0
- package/dist/assets/diff-C60bAYOU.js +1 -0
- package/dist/assets/dist-0EWXio4m.js +1 -0
- package/dist/assets/dist-BGvZP_Cl.js +1 -0
- package/dist/assets/dist-BZ7AbEhN.js +1 -0
- package/dist/assets/dist-BlosHr86.js +6 -0
- package/dist/assets/dist-Bmr4uhSk.js +1 -0
- package/dist/assets/dist-C6yMfMNS.js +13 -0
- package/dist/assets/dist-CMZQedYl.js +1 -0
- package/dist/assets/dist-CTlCK4Pe.js +1 -0
- package/dist/assets/dist-C_N_-eaT.js +1 -0
- package/dist/assets/dist-CaUbG4Hl.js +1 -0
- package/dist/assets/dist-Cd7wdKYE.js +39 -0
- package/dist/assets/dist-Cn7-nxjU.js +1 -0
- package/dist/assets/dist-Cnj95_pX.js +1 -0
- package/dist/assets/dist-D9DR7k9k.js +3 -0
- package/dist/assets/dist-DIwsVdS2.js +2 -0
- package/dist/assets/dist-DVE0lLId.js +1 -0
- package/dist/assets/dist-DkAPL4CQ.js +1 -0
- package/dist/assets/dist-Dl6N3kpQ.js +1 -0
- package/dist/assets/dist-DmBvXBzK.js +1 -0
- package/dist/assets/dist-DpgXK0aZ.js +1 -0
- package/dist/assets/dist-gMRyU9GJ.js +7 -0
- package/dist/assets/dist-jQQX2kOU.js +1 -0
- package/dist/assets/dist-lUaUoFTq.js +1 -0
- package/dist/assets/dist-qw1ZF2vD.js +1 -0
- package/dist/assets/dist-rH4qrNAn.js +1 -0
- package/dist/assets/dockerfile-BttNdtK0.js +1 -0
- package/dist/assets/dtd-CCVZU5Da.js +1 -0
- package/dist/assets/dylan-3pmV5wzs.js +1 -0
- package/dist/assets/ebnf-bm-I2WIh.js +1 -0
- package/dist/assets/ebnfDiagram-VR2GEFS7-Ytj3Z5qC.js +1 -0
- package/dist/assets/ecl-BIv3PrZb.js +1 -0
- package/dist/assets/eiffel-DuLnr4-r.js +1 -0
- package/dist/assets/elk-IJKZMXRS-CJurNqqK.js +25 -0
- package/dist/assets/elm-njbaCU-L.js +1 -0
- package/dist/assets/erDiagram-O2IAPWRE-hyXckW2d.js +99 -0
- package/dist/assets/erlang-CuhOC2I8.js +1 -0
- package/dist/assets/eventmodeling-K75KTNOO-D3xQujrh.js +1 -0
- package/dist/assets/factor-CM3-9V3b.js +1 -0
- package/dist/assets/fcl-nWsMJ92o.js +1 -0
- package/dist/assets/flowDiagram-OXPTDLAJ-D4ojBTuY.js +1 -0
- package/dist/assets/folder-plus-BJZSMzuj.js +1 -0
- package/dist/assets/forth-BQ9HrCVY.js +1 -0
- package/dist/assets/fortran-DHJe28ev.js +1 -0
- package/dist/assets/ganttDiagram-R7TSEDQI-C8U_ITl4.js +292 -0
- package/dist/assets/gas-ByO0qYMr.js +1 -0
- package/dist/assets/gherkin-CwOmHL5K.js +1 -0
- package/dist/assets/gitGraph-VSP46ZUC-CDeq3yKT.js +1 -0
- package/dist/assets/gitGraphDiagram-XJZIOB7I-CST3EWE9.js +106 -0
- package/dist/assets/goals-BNJZ4nzg.js +1 -0
- package/dist/assets/googleAccessRemoval-CQIi1dvu.js +1 -0
- package/dist/assets/graphlib-DHhK3saS.js +1 -0
- package/dist/assets/groovy-ByXGF8cx.js +1 -0
- package/dist/assets/haskell-CHSpCNOy.js +1 -0
- package/dist/assets/haxe-P2jh68ck.js +1 -0
- package/dist/assets/http-0jwMmfWP.js +1 -0
- package/dist/assets/idl-DTVVj6r5.js +1 -0
- package/dist/assets/index-BJtnP7H1.js +706 -0
- package/dist/assets/index-z7lcCz2I.css +1 -0
- package/dist/assets/info-OHQRW6UA-CPvTWk7J.js +1 -0
- package/dist/assets/infoDiagram-5W2HQ5XZ-BPUiNdxI.js +2 -0
- package/dist/assets/init-BXPE0p7i.js +1 -0
- package/dist/assets/invite-memory-BKdqfr5K.js +1 -0
- package/dist/assets/ishikawaDiagram-K3B6WC7H-D5Z3rmaA.js +70 -0
- package/dist/assets/issue-detail-CZfjXs0M.js +119 -0
- package/dist/assets/javascript-Cblpdx44.js +1 -0
- package/dist/assets/journeyDiagram-COXZFDF6-CEkwEYdR.js +139 -0
- package/dist/assets/julia-KVJvUu_F.js +1 -0
- package/dist/assets/kanban-definition-P3RFRI5V-8h_R6Qjq.js +89 -0
- package/dist/assets/katex-Du_FPwxl.js +257 -0
- package/dist/assets/line-Ljt_vfsb.js +1 -0
- package/dist/assets/linear-BRQgexd0.js +1 -0
- package/dist/assets/link-DvgFK0mz.js +1 -0
- package/dist/assets/list-filter-BR4_dvwm.js +1 -0
- package/dist/assets/livescript-DSHsJPcD.js +1 -0
- package/dist/assets/log-in-Dvx9-FMC.js +1 -0
- package/dist/assets/lua-Vher-70I.js +1 -0
- package/dist/assets/mathematica-CE9SaVsW.js +1 -0
- package/dist/assets/mbox-JGl1Fgvq.js +1 -0
- package/dist/assets/mcpSkills-76szK_k1.js +1 -0
- package/dist/assets/mermaid-parser.core-BjFu937m.js +7 -0
- package/dist/assets/mermaid.core-B0t95EIS.js +42 -0
- package/dist/assets/mindmap-definition-LZFPQGKD-TVnHYUR4.js +96 -0
- package/dist/assets/mirc-BGWbO906.js +1 -0
- package/dist/assets/mllike-DuNQsEw8.js +1 -0
- package/dist/assets/model-DL5biheO.js +1 -0
- package/dist/assets/modelica-5XCgKQt8.js +1 -0
- package/dist/assets/mscgen-mVFg19ri.js +1 -0
- package/dist/assets/mumps-C7oS353s.js +1 -0
- package/dist/assets/nginx-DXVlpyCz.js +1 -0
- package/dist/assets/nsis-KFC6hioG.js +1 -0
- package/dist/assets/ntriples-5ckCopnn.js +1 -0
- package/dist/assets/octave-D1J2QQNt.js +1 -0
- package/dist/assets/onboarding-state-C5_mIw3o.js +1 -0
- package/dist/assets/ordinal-BJyFM1v8.js +1 -0
- package/dist/assets/oz-CPsllMDD.js +1 -0
- package/dist/assets/packet-JDAUHWVQ-aNGiRWLy.js +1 -0
- package/dist/assets/palette-tokens-CL5ZDrEd.js +1 -0
- package/dist/assets/pascal-B-I6JP0Y.js +1 -0
- package/dist/assets/path-D6mommQw.js +1 -0
- package/dist/assets/pegDiagram-BGZESJAR-DDadxqWQ.js +1 -0
- package/dist/assets/perl-CI8WIWBi.js +1 -0
- package/dist/assets/pie-XZMESJXO-CydFP1hd.js +1 -0
- package/dist/assets/pieDiagram-CAPJLFHJ-KhdUDwDS.js +39 -0
- package/dist/assets/pig-FQI0W3S3.js +1 -0
- package/dist/assets/portable-files-CloN_vbk.js +1 -0
- package/dist/assets/power-sYV-WuqQ.js +1 -0
- package/dist/assets/powershell-BAu6x78A.js +1 -0
- package/dist/assets/prod-C6Q7tISe.js +495 -0
- package/dist/assets/profile-summary-D4LPX-Dv.js +1 -0
- package/dist/assets/properties-BKTTDgau.js +1 -0
- package/dist/assets/protobuf-UWh8gh_j.js +1 -0
- package/dist/assets/pug-C20tNwmy.js +1 -0
- package/dist/assets/puppet-BAHVzCkO.js +1 -0
- package/dist/assets/python-C2DOnsac.js +1 -0
- package/dist/assets/q-Cooe-Nh8.js +1 -0
- package/dist/assets/quadrantDiagram-GDMTTRAM-B1X8K2Fs.js +7 -0
- package/dist/assets/r-CktBKya9.js +1 -0
- package/dist/assets/radar-ABXABTNO-BqodkLpx.js +1 -0
- package/dist/assets/railroad-I3PHUGI6-HmRKXDJj.js +1 -0
- package/dist/assets/railroad-abnf-LNEFI6M7-CkBttaHp.js +1 -0
- package/dist/assets/railroad-ebnf-DWYD2UWJ-C6DBawFA.js +1 -0
- package/dist/assets/railroad-peg-JR7BVNR7-Z9df3u5o.js +1 -0
- package/dist/assets/railroadDiagram-SM67HX2B-2vDUUppL.js +1 -0
- package/dist/assets/requirementDiagram-X7JNWC4A-DAuP39Hc.js +84 -0
- package/dist/assets/rolldown-runtime-DhZMWcEn.js +1 -0
- package/dist/assets/rough.esm-DnC5Tr1g.js +1 -0
- package/dist/assets/rpm-Csj9nLHl.js +1 -0
- package/dist/assets/ruby-bGx9eo-K.js +1 -0
- package/dist/assets/runtime-IAg0vdY9.js +4137 -0
- package/dist/assets/sankeyDiagram-UM26HJRW-ByS54QZK.js +40 -0
- package/dist/assets/sas-Drou_EQ9.js +1 -0
- package/dist/assets/saved-permissions-CPiYtxkZ.js +1 -0
- package/dist/assets/scheme-DcjG9bAf.js +1 -0
- package/dist/assets/scroll-text-CVSt6aO2.js +1 -0
- package/dist/assets/sdk-vrG4HtB4.js +1 -0
- package/dist/assets/search-CG-QtPVH.js +1 -0
- package/dist/assets/send-CH-0xdLm.js +1 -0
- package/dist/assets/sequenceDiagram-ZO4K6R2Y-DvWxKTLK.js +169 -0
- package/dist/assets/shared-D37zfckm.js +1 -0
- package/dist/assets/shell-BSKClwid.js +1 -0
- package/dist/assets/sieve-CcvsXPZo.js +1 -0
- package/dist/assets/simple-mode-B79cVo-x.js +1 -0
- package/dist/assets/sizeCapture-INFHLROL-XURNLuv_.js +1 -0
- package/dist/assets/skill-source-connect-return-eFTeuj7y.js +1 -0
- package/dist/assets/smalltalk-Cmg-4mjQ.js +1 -0
- package/dist/assets/smoke-lab-matrix-C5gR81E3.js +1 -0
- package/dist/assets/solr-Dj8ahEwG.js +1 -0
- package/dist/assets/sparql-LAJYmgfk.js +1 -0
- package/dist/assets/spreadsheet-B8doD_pL.js +1 -0
- package/dist/assets/sql-C3kWxFGw.js +1 -0
- package/dist/assets/src-DYjgETqR.js +1 -0
- package/dist/assets/stateDiagram-v2-TBUQTH76-DtiiZIXq.js +291 -0
- package/dist/assets/stex-CW6K5Nmu.js +1 -0
- package/dist/assets/stylus-BS-Ienrc.js +1 -0
- package/dist/assets/swift-BD82LMDK.js +1 -0
- package/dist/assets/swimlanes-N4OXWK64-BWSEtCbX.js +1 -0
- package/dist/assets/swimlanesDiagram-K3J5GTZL-Bl_9DvHU.js +8 -0
- package/dist/assets/tcl-RZa1cqc-.js +1 -0
- package/dist/assets/textile-C-BY_OGF.js +1 -0
- package/dist/assets/tiddlywiki-C9bm_Oju.js +1 -0
- package/dist/assets/tiki-DJOT-rFT.js +1 -0
- package/dist/assets/timeline-definition-YOQAKGHF-U4QcniMh.js +120 -0
- package/dist/assets/toml-Civ2fTsu.js +1 -0
- package/dist/assets/treeView-D4JQ5SDB-B2tdrtsj.js +1 -0
- package/dist/assets/treemap-SAJKECNS-DodN8j4n.js +1 -0
- package/dist/assets/troff-Lns35Xcq.js +1 -0
- package/dist/assets/ttcn-7vlxVTUK.js +1 -0
- package/dist/assets/ttcn-cfg-B8qhhp6o.js +1 -0
- package/dist/assets/turtle-DTIS1YQ7.js +1 -0
- package/dist/assets/useAgentlessOnboardingAutoOpen-DSWW7Juw.js +1 -0
- package/dist/assets/useAuthorizationWindow-tg3aKEU7.js +1 -0
- package/dist/assets/useDateRange-CnZQr2KO.js +1 -0
- package/dist/assets/useFastResponsesEnabled-B8tHSJ1y.js +1 -0
- package/dist/assets/usePageView-CtFMs34g.js +1 -0
- package/dist/assets/useProfilesData-CWHdMSuL.js +1 -0
- package/dist/assets/useReviewCount-W_bCZ2Hz.js +1 -0
- package/dist/assets/useRoutineFormOptions-CCLMmVSF.js +3 -0
- package/dist/assets/useSummaryDraftStream-NVNYNt72.js +3 -0
- package/dist/assets/useTailscaleConnections-Dy52nCY3.js +1 -0
- package/dist/assets/usecaseDiagram-VIAY4XPW-kEHhqgOj.js +362 -0
- package/dist/assets/vb-BO8UacKu.js +1 -0
- package/dist/assets/vbscript-DWLru3lT.js +1 -0
- package/dist/assets/velocity-BIIn-Nl2.js +1 -0
- package/dist/assets/vennDiagram-BLWOH2XV-NPJU0aCU.js +34 -0
- package/dist/assets/verilog-BVYlmXGg.js +1 -0
- package/dist/assets/vhdl-Cn8cC8Yb.js +1 -0
- package/dist/assets/wardley-7MLQ67FV-bUGKvIPT.js +1 -0
- package/dist/assets/wardleyDiagram-YMQ3BMBF-qtUDHfhb.js +78 -0
- package/dist/assets/webidl-ChvzbZ5-.js +1 -0
- package/dist/assets/xquery-BKN7qEbU.js +1 -0
- package/dist/assets/xychartDiagram-TAQBALBS-C-z57aZj.js +7 -0
- package/dist/assets/yacas-BG9ha7tU.js +1 -0
- package/dist/assets/z80-CB2cGLew.js +1 -0
- package/dist/brands/adapters/LICENSE +21 -0
- package/dist/brands/adapters/README.md +7 -0
- package/dist/brands/adapters/cursor-dark.svg +1 -0
- package/dist/brands/adapters/cursor.svg +1 -0
- package/dist/brands/adapters/gemini-color.svg +1 -0
- package/dist/brands/adapters/grok-dark.svg +1 -0
- package/dist/brands/adapters/grok.svg +1 -0
- package/dist/brands/adapters/hermesagent-dark.svg +1 -0
- package/dist/brands/adapters/hermesagent.svg +1 -0
- package/dist/brands/adapters/kimi-color-light.svg +1 -0
- package/dist/brands/adapters/kimi-color.svg +1 -0
- package/dist/brands/adapters/openai-dot.README.md +7 -0
- package/dist/brands/adapters/openai-dot.svg +3 -0
- package/dist/brands/adapters/pi-dark.svg +1 -0
- package/dist/brands/adapters/pi.svg +1 -0
- package/dist/brands/apps/1password-dark.svg +1 -0
- package/dist/brands/apps/1password.svg +1 -0
- package/dist/brands/apps/LOBE-LICENSE +21 -0
- package/dist/brands/apps/agentmail-dark.svg +16 -0
- package/dist/brands/apps/agentmail.svg +17 -0
- package/dist/brands/apps/airtable.svg +1 -0
- package/dist/brands/apps/anthropic-dark.svg +1 -0
- package/dist/brands/apps/anthropic.svg +1 -0
- package/dist/brands/apps/antigravity.svg +31 -0
- package/dist/brands/apps/api-key-generic.svg +1 -0
- package/dist/brands/apps/arcade.png +0 -0
- package/dist/brands/apps/asana.svg +12 -0
- package/dist/brands/apps/aws-dark.svg +1 -0
- package/dist/brands/apps/aws.svg +1 -0
- package/dist/brands/apps/bedrock.svg +1 -0
- package/dist/brands/apps/beehiiv.png +0 -0
- package/dist/brands/apps/bitly.svg +1 -0
- package/dist/brands/apps/box.svg +1 -0
- package/dist/brands/apps/braintrust-dark.png +0 -0
- package/dist/brands/apps/braintrust.png +0 -0
- package/dist/brands/apps/brex-dark.svg +1 -0
- package/dist/brands/apps/brex.svg +1 -0
- package/dist/brands/apps/browser-use.svg +6 -0
- package/dist/brands/apps/calendly.png +0 -0
- package/dist/brands/apps/candid.png +0 -0
- package/dist/brands/apps/circleback.png +0 -0
- package/dist/brands/apps/clickhouse-dark.svg +1 -0
- package/dist/brands/apps/clickhouse.svg +1 -0
- package/dist/brands/apps/clickup.png +0 -0
- package/dist/brands/apps/cloudflare.svg +1 -0
- package/dist/brands/apps/cloudinary-dark.svg +1 -0
- package/dist/brands/apps/cloudinary.svg +3 -0
- package/dist/brands/apps/coda.svg +1 -0
- package/dist/brands/apps/cognee.png +0 -0
- package/dist/brands/apps/composio-dark.svg +11 -0
- package/dist/brands/apps/composio.svg +16 -0
- package/dist/brands/apps/connection-pool.svg +1 -0
- package/dist/brands/apps/context7-dark.svg +8 -0
- package/dist/brands/apps/context7.svg +8 -0
- package/dist/brands/apps/daytona-dark.svg +1 -0
- package/dist/brands/apps/daytona.svg +1 -0
- package/dist/brands/apps/discord-dark.svg +1 -0
- package/dist/brands/apps/discord.svg +1 -0
- package/dist/brands/apps/ditto.png +0 -0
- package/dist/brands/apps/egnyte.svg +1 -0
- package/dist/brands/apps/embat.svg +1 -0
- package/dist/brands/apps/enterpret.png +0 -0
- package/dist/brands/apps/exa.svg +5 -0
- package/dist/brands/apps/executor.png +0 -0
- package/dist/brands/apps/firecrawl.svg +12 -0
- package/dist/brands/apps/fireflies.svg +76 -0
- package/dist/brands/apps/gauge.png +0 -0
- package/dist/brands/apps/github-copilot-dark.svg +1 -0
- package/dist/brands/apps/github-copilot.svg +1 -0
- package/dist/brands/apps/github-dark.svg +10 -0
- package/dist/brands/apps/github.svg +10 -0
- package/dist/brands/apps/gmail.svg +1 -0
- package/dist/brands/apps/google-calendar.svg +1 -0
- package/dist/brands/apps/google-chat.svg +1 -0
- package/dist/brands/apps/google-docs.svg +1 -0
- package/dist/brands/apps/google-drive.svg +1 -0
- package/dist/brands/apps/google-people.svg +1 -0
- package/dist/brands/apps/google-sheets.svg +1 -0
- package/dist/brands/apps/google-slides.svg +1 -0
- package/dist/brands/apps/google-workspace-search.svg +1 -0
- package/dist/brands/apps/google.svg +1 -0
- package/dist/brands/apps/gsc-wizard.png +0 -0
- package/dist/brands/apps/honcho.svg +33 -0
- package/dist/brands/apps/hugging-face.svg +8 -0
- package/dist/brands/apps/imessage-photon.png +0 -0
- package/dist/brands/apps/jam-dev-dark.svg +1 -0
- package/dist/brands/apps/jam-dev.svg +1 -0
- package/dist/brands/apps/jira-dark.svg +1 -0
- package/dist/brands/apps/jira.svg +4 -0
- package/dist/brands/apps/kernel.svg +3 -0
- package/dist/brands/apps/klaviyo.png +0 -0
- package/dist/brands/apps/linear-dark.svg +5 -0
- package/dist/brands/apps/linear.svg +5 -0
- package/dist/brands/apps/local-falcon.png +0 -0
- package/dist/brands/apps/make-dark.svg +1 -0
- package/dist/brands/apps/make.svg +1 -0
- package/dist/brands/apps/manifest.json +756 -0
- package/dist/brands/apps/manufact-dark.svg +6 -0
- package/dist/brands/apps/manufact.svg +5 -0
- package/dist/brands/apps/mem0.svg +1 -0
- package/dist/brands/apps/microsoft-teams.svg +68 -0
- package/dist/brands/apps/miro-dark.svg +1 -0
- package/dist/brands/apps/miro.svg +4 -0
- package/dist/brands/apps/mixpanel-dark.svg +1 -0
- package/dist/brands/apps/mixpanel.svg +1 -0
- package/dist/brands/apps/monday-dark.png +0 -0
- package/dist/brands/apps/monday.png +0 -0
- package/dist/brands/apps/neon.png +0 -0
- package/dist/brands/apps/netlify-dark.svg +1 -0
- package/dist/brands/apps/netlify.svg +16 -0
- package/dist/brands/apps/notion-dark.svg +1 -0
- package/dist/brands/apps/notion.svg +1 -0
- package/dist/brands/apps/oauth-generic.svg +1 -0
- package/dist/brands/apps/openai-dark.svg +1 -0
- package/dist/brands/apps/openai.svg +1 -0
- package/dist/brands/apps/openrouter-dark.svg +3 -0
- package/dist/brands/apps/openrouter.svg +3 -0
- package/dist/brands/apps/oreilly.svg +1 -0
- package/dist/brands/apps/pagerduty.svg +4 -0
- package/dist/brands/apps/paperclip-notebook-dark.svg +1 -0
- package/dist/brands/apps/paperclip-notebook.svg +1 -0
- package/dist/brands/apps/parallel-dark.svg +11 -0
- package/dist/brands/apps/parallel.svg +11 -0
- package/dist/brands/apps/planetscale-dark.svg +1 -0
- package/dist/brands/apps/planetscale.svg +1 -0
- package/dist/brands/apps/posthog-dark.svg +1 -0
- package/dist/brands/apps/posthog.svg +1 -0
- package/dist/brands/apps/postman.svg +1 -0
- package/dist/brands/apps/railway-dark.svg +1 -0
- package/dist/brands/apps/railway.svg +1 -0
- package/dist/brands/apps/razorpay-dark.svg +1 -0
- package/dist/brands/apps/razorpay.svg +1 -0
- package/dist/brands/apps/resend-dark.svg +1 -0
- package/dist/brands/apps/resend.svg +1 -0
- package/dist/brands/apps/sanity-dark.svg +1 -0
- package/dist/brands/apps/sanity.svg +1 -0
- package/dist/brands/apps/sentry-dark.svg +1 -0
- package/dist/brands/apps/sentry.svg +1 -0
- package/dist/brands/apps/shopify.svg +24 -0
- package/dist/brands/apps/similarweb-dark.svg +1 -0
- package/dist/brands/apps/similarweb.svg +1 -0
- package/dist/brands/apps/slack.png +0 -0
- package/dist/brands/apps/slack.svg +17 -0
- package/dist/brands/apps/speko.svg +16 -0
- package/dist/brands/apps/stripe.svg +11 -0
- package/dist/brands/apps/supabase.svg +15 -0
- package/dist/brands/apps/superagent.png +0 -0
- package/dist/brands/apps/supermemory.png +0 -0
- package/dist/brands/apps/tailscale.png +0 -0
- package/dist/brands/apps/tavily.png +0 -0
- package/dist/brands/apps/telegram.svg +12 -0
- package/dist/brands/apps/telem-dark.svg +9 -0
- package/dist/brands/apps/telem.svg +9 -0
- package/dist/brands/apps/ticket-tailor-dark.svg +1 -0
- package/dist/brands/apps/ticket-tailor.svg +1 -0
- package/dist/brands/apps/ticktick.svg +1 -0
- package/dist/brands/apps/todoist.svg +1 -0
- package/dist/brands/apps/unikraft.svg +1 -0
- package/dist/brands/apps/vercel-dark.svg +1 -0
- package/dist/brands/apps/vercel.svg +1 -0
- package/dist/brands/apps/webflow.svg +1 -0
- package/dist/brands/apps/windsor-ai.png +0 -0
- package/dist/brands/apps/wix-dark.svg +12 -0
- package/dist/brands/apps/wix.svg +12 -0
- package/dist/brands/apps/xai-dark.svg +1 -0
- package/dist/brands/apps/xai.svg +1 -0
- package/dist/brands/apps/xero.svg +1 -0
- package/dist/brands/apps/youcom-dark.svg +13 -0
- package/dist/brands/apps/youcom.svg +13 -0
- package/dist/brands/apps/zapier.svg +1 -0
- package/dist/brands/apps/zep.png +0 -0
- package/dist/brands/claude-color.svg +17 -0
- package/dist/brands/codex-color.svg +17 -0
- package/dist/brands/opencode-logo-dark-square.svg +18 -0
- package/dist/brands/opencode-logo-light-square.svg +18 -0
- package/dist/favicon-16x16.png +0 -0
- package/dist/favicon-32x32.png +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/favicon.svg +7 -0
- package/dist/fonts/InterVariable-Italic.woff2 +0 -0
- package/dist/fonts/InterVariable.woff2 +0 -0
- package/dist/fonts/NOTICE.md +30 -0
- package/dist/fonts/PaperMono-OFL.txt +93 -0
- package/dist/fonts/PaperMono-Variable.woff2 +0 -0
- package/dist/index.html +165 -0
- package/dist/microvac-push-sw.js +37 -0
- package/dist/paperclip-thinking.svg +17 -0
- package/dist/site.webmanifest +30 -0
- package/dist/storybook/grok-comparison.csv +4 -0
- package/dist/sw.js +176 -0
- package/dist/worktree-favicon-16x16.png +0 -0
- package/dist/worktree-favicon-32x32.png +0 -0
- package/dist/worktree-favicon.ico +0 -0
- package/dist/worktree-favicon.svg +9 -0
- package/package.json +20 -4
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var hs=Object.defineProperty;var s=(t,a)=>hs(t,"name",{value:a,configurable:!0});import{a as Kt}from"./rolldown-runtime-DhZMWcEn.js";import{At as at,C as nt,Ct as gs,Gt as fs,I as J,L as rt,St as it,Wt as vs,dt as ot,et as Ae,ii as js,nt as oe,un as Se,v as bs,wt as ys,x as ws,y as ks,zr as Ns}from"./issue-detail-CZfjXs0M.js";import{b as Ce,i as We,y as F}from"./collections-B58p51lw.js";import{t as lt}from"./RepositoryEditor-BT_VAkJu.js";import{$A as Is,$C as As,$S as we,$n as Ss,AC as He,A_ as Cs,Ai as V,Ap as _,BC as Ts,B_ as Ps,Bl as _s,Bu as Rs,CT as le,Cm as de,Cx as Ds,Df as Us,Dm as Bs,E_ as Ke,Em as $t,Ep as Es,Ev as Ls,Ew as Ms,Ex as Os,Fb as M,Gf as qs,H_ as w,Hf as zs,Hu as Te,IC as X,IT as Xe,Ib as Zs,KD as Fs,L as dt,Lb as Vs,MT as Gs,M_ as Ws,Mb as G,Mi as W,Mw as ct,NC as ut,NE as c,Np as pt,OT as Hs,O_ as Jt,Om as Ks,Op as mt,Ow as Pe,Pb as O,Pp as xt,QS as $s,QT as Qt,Qn as _e,RT as Re,Rb as Js,Rp as be,Sm as Qs,Sp as De,Sv as Ys,Tf as Ue,Tm as Xs,To as ea,Tx as ta,UD as sa,Uu as Be,V_ as aa,Vf as Yt,Vp as R,Wf as na,Wp as ht,Ww as ra,XC as ia,Xp as oa,_ as la,__ as Q,_v as Ee,ai as da,bm as ca,br as Le,bt as ua,cC as et,cd as pa,d as ma,df as gt,dl as ft,dy as xa,ei as ha,ff as ga,fy as fa,g as va,gC as Me,gO as ja,g_ as ce,gf as ba,h as ya,hC as $e,hf as wa,hv as ka,hy as vt,iT as jt,ii as bt,is as Oe,jT as Xt,j_ as Na,jb as Ia,ji as yt,kT as Aa,k_ as Sa,ki as wt,kp as kt,lC as Ca,lf as ue,ly as Ta,m as Pa,mb as ye,mf as Nt,mv as _a,my as It,nC as At,ni as Ra,nj as Da,oT as Ua,oi as Ba,on as St,op as L,ox as Ea,p as La,pC as Ct,pT as Ma,pb as Tt,pm as pe,pv as Oa,pw as qa,qC as me,qv as qe,rC as Pt,rd as za,ri as ze,sA as _t,si as Rt,sy as Dt,uf as xe,uy as Ut,v as Za,vC as Bt,vb as ee,vt as Fa,w_ as Ze,wm as Va,ww as Fe,xb as te,xm as Et,xr as Ga,xv as Wa,xw as Lt,yb as se,ym as Ha,zE as y,zT as Ka,z_ as $a,zu as Ja}from"./index-BJtnP7H1.js";import{t as Qa}from"./AnimatedDialogContent-CDLfw-dJ.js";import{t as he}from"./MembershipAction-DTjhGn-L.js";import{t as Y}from"./EnforcementBanner-B-iX466h.js";import{n as Ya,o as Xa,t as en}from"./shared-D37zfckm.js";import{t as ge}from"./MetricCard-CeL9Pdn5.js";import{t as T}from"./EntityRow-BsICt6pd.js";import{t as tn}from"./SkillBinaryFile-DDkhLlfC.js";import{n as sn}from"./ActiveAgentsPanel-BEx06tMt.js";import{a as an,i as nn,n as rn,r as on,s as ln,u as dn}from"./SpekoPhoneCallback-Cqi7AIyH.js";import{t as cn}from"./SpekoProviderSetup-CJI4oXk5.js";import{t as un}from"./SkillSourceTree-DmjlUswf.js";import{t as pn}from"./WebhookUrlWarning-CDygVnDH.js";import{i as mn,n as Mt,r as Ve,t as xn}from"./FilterBar-rCmsTtG4.js";var es={name:"command",size:24,node:[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]]};es.node;var hn=Qt(es),ts={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"}]]};ts.node;var Ot=Qt(ts),m=Kt(Da(),1),e=Kt(Is(),1);function gn({providerId:t}){const a=Yt[t],[n,l]=(0,m.useState)({step:"access",grantKind:"organization",setupComplete:!1,url:a.defaultUrl,auth:a.supportsBrowserAuth?"auto":"none",token:"",headers:[],connectStatus:"idle",connected:!1,identity:null,allAgents:!0,agentIds:[],permissions:{},tools:[],notice:null,refreshing:!1}),u=s(v=>l(x=>({...x,...v})),"edit"),p=s(()=>u({notice:"Design example only. Review the interactive states in Storybook → Apps / Connections. No credentials are saved or sent."}),"explain");return(0,e.jsx)(zs,{companyId:"",connectionId:"design-example",provider:a,state:n,actions:{edit:u,navigate:s(v=>u({step:v}),"navigate"),connect:p,cancelConnect:p,openProvider:p,saveExit:p,resumeDraft:p,finish:p,refresh:p,reconnect:p,disconnect:p},agents:[]})}s(gn,"ConnectExample");function fn(){const[t,a]=(0,m.useState)("zapier");return(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsx)("div",{className:"flex flex-wrap gap-2",children:Object.values(Yt).map(n=>(0,e.jsx)(c,{size:"sm",variant:t===n.id?"default":"outline",onClick:s(()=>a(n.id),"onClick"),children:n.name},n.id))}),(0,e.jsx)(gn,{providerId:t},t)]})}s(fn,"RemoteMcpDesignExample");var vn=`<!doctype html>
|
|
2
|
+
<html><head><style>
|
|
3
|
+
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:system-ui,sans-serif;background:#14171c;color:#e9edf2;display:grid;place-items:center}
|
|
4
|
+
.scene{position:relative;width:100%;height:100%;min-height:90px;background:radial-gradient(ellipse at 50% 120%,#403762 0%,transparent 68%),linear-gradient(110deg,#181c22,#20242c)}
|
|
5
|
+
.grid{position:absolute;inset:0;background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);background-size:20px 20px}
|
|
6
|
+
.label{position:absolute;top:12%;left:7%;font-size:9px;letter-spacing:2px;color:#a9b0bf}.spark{display:inline-block;width:5px;height:5px;border-radius:50%;background:#ac9af7;margin-right:6px;box-shadow:0 0 10px #ac9af7}
|
|
7
|
+
.flow{position:absolute;inset:38% 7% 16%;display:flex;align-items:center;justify-content:space-between;gap:12px}.track{position:absolute;left:10%;right:10%;top:50%;height:1px;background:#505167}.packet{position:absolute;top:-2px;width:5px;height:5px;border-radius:50%;background:#c4b5fd;box-shadow:0 0 9px #b7a0fc;animation:travel 4.8s linear infinite}
|
|
8
|
+
.node{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;width:29%;height:42px;border:1px solid #4b4b60;border-radius:10px;background:#262834;box-shadow:0 4px 12px #0003;font-size:11px;font-weight:500;animation:breathe 4.8s ease-in-out infinite}.node:nth-of-type(3){animation-delay:1.6s}.node:nth-of-type(4){animation-delay:3.2s}.icon{width:15px;height:15px;fill:none;stroke:#c4b5fd;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
|
|
9
|
+
@keyframes travel{0%{left:0;opacity:0}8%{opacity:1}92%{opacity:1}100%{left:100%;opacity:0}}
|
|
10
|
+
@keyframes breathe{0%,65%,100%{transform:translateY(0);border-color:#4b4b60}15%,35%{transform:translateY(-3px);border-color:#a79ade;box-shadow:0 4px 20px #9580d52b}}
|
|
11
|
+
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important}}
|
|
12
|
+
</style></head><body><div class="scene"><div class="grid"></div><div class="label"><span class="spark"></span>ONE IDEA. A WHOLE TEAM.</div><div class="flow"><div class="track"><div class="packet"></div></div><div class="node"><svg class="icon" viewBox="0 0 20 20"><path d="M6 8a4 4 0 1 1 8 0c0 2-2 2-2 5H8c0-3-2-3-2-5M8 16h4" /></svg>Plan</div><div class="node"><svg class="icon" viewBox="0 0 20 20"><path d="m6 6-4 4 4 4m8-8 4 4-4 4m-3-10-2 12" /></svg>Build</div><div class="node"><svg class="icon" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7"/><path d="m6 10 3 3 5-6"/></svg>Review</div></div></div></body></html>
|
|
13
|
+
`,Je={id:"preview-work-together",eyebrow:"New in Microvac",title:"Give your next idea a team",description:"Bring agents, projects, and work together. Set the direction, then follow your team’s progress in Microvac.",image:{path:`assets/${"0".repeat(64)}.png`,alt:"Microvac — ideas become work"},secondaryLink:{kind:"external",label:"Learn more",url:"https://paperclip.ing"},primaryAction:{kind:"route",label:"Explore your projects",path:"/projects"}},jn={...Je,animation:{path:"assets/78bafb6adbfd9da899cdbb5d934b4c0b9df5d419d6f0a5104a87a7b25dcc6bd8.html",alt:"Agents plan, build and review work together."}},bn=`data:text/html;charset=utf-8,${encodeURIComponent(vn)}`;function yn({requirement:t,connections:a,value:n,currentUserId:l,agentId:u,loading:p,error:v,readOnly:x,onChange:I,onConnect:j,onReconnect:C,onRetry:B,adapterType:N,model:A}){const K=a.filter(h=>wa(h,t)&&(!N||Nt(h,N,A))),z=ba(a,t,l),Z=!N||Nt(z??{provider:t.provider,method:t.method??"api_key",mode:"responsible_user"},N,A),$=n?ga(n,t,a,l,u):void 0,P=s((h,S)=>I({provider:t.provider,method:S.method,mode:h,connectionId:S.id,grantId:S.grantId}),"select");return(0,e.jsxs)("section",{className:"flex flex-col gap-4","aria-label":"AI connection",children:[(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)(be,{name:ue[t.provider].name,brandKey:ja(t.provider),logoUrl:ue[t.provider].logo,darkLogoUrl:t.provider==="xai"?"/brands/adapters/grok-dark.svg":void 0,size:32}),(0,e.jsxs)("div",{className:"flex min-w-0 flex-col gap-1",children:[(0,e.jsx)("h3",{className:"text-sm font-semibold",children:"AI connection"}),(0,e.jsxs)("p",{className:"text-xs text-muted-foreground",children:[ue[t.provider].name,n&&n.mode!=="responsible_user"&&` · ${gt(n.provider,n.method)}`]})]})]}),p?(0,e.jsx)("div",{role:"status","aria-label":"Loading AI connections",children:(0,e.jsx)(ye,{className:"h-24 w-full"})}):v?(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("p",{role:"alert",className:"text-sm text-destructive",children:v}),B&&(0,e.jsx)(c,{type:"button",variant:"outline",onClick:B,children:"Retry connections"})]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(oa,{disabled:x,selectedId:n?.mode==="responsible_user"?"responsible_user":n?.connectionId,choices:[{id:"responsible_user",name:"Responsible user’s connection",disabled:!Z,description:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("span",{className:"block",children:["For you: ",(0,e.jsx)("span",{className:we,children:z?.name??"Not connected"})]}),(0,e.jsxs)("span",{className:"block",children:["Other users’ tasks use their own ",ue[t.provider].name," connection."]}),!Z&&(0,e.jsx)("span",{className:"block",children:"Incompatible with this harness and model."})]})},...K.filter(h=>h.ownership==="shared").map(h=>({id:h.id,name:h.name,disabled:!!xe(h),description:(0,e.jsxs)(e.Fragment,{children:["Company shared · ",gt(h.provider,h.method),h.accountLabel?(0,e.jsx)("span",{className:we,children:` · ${h.accountLabel}`}):"",xe(h)?` · ${xe(h)}`:""]})}))],onSelect:s(h=>{if(h==="responsible_user")Z&&I({provider:t.provider,method:z?.method??t.method??(t.provider==="openrouter"||t.provider==="github"?"api_key":"subscription"),mode:"responsible_user"});else{const S=K.find(E=>E.id===h);S&&!xe(S)&&P("shared",S)}},"onSelect")}),$&&(0,e.jsx)("p",{role:"status",className:"text-sm text-destructive",children:$}),!x&&(0,e.jsxs)("div",{className:"flex justify-end gap-2",children:[C&&(0,e.jsx)(c,{type:"button",variant:"outline",onClick:C,children:"Reconnect account"}),(0,e.jsx)(c,{type:"button",variant:"outline",onClick:j,children:"Connect another account"})]})]})]})}s(yn,"AiConnectionPicker");var ss={companyId:"design-example",provider:"anthropic",method:"subscription"},wn={...ss,method:"subscription",id:"example",grantId:"example-grant",name:"My Claude subscription",ownership:"personal",ownerUserId:"example-user",ownerName:"You",status:"connected",isDefault:!0};function kn(){const[t,a]=(0,m.useState)({provider:"anthropic",method:"subscription",mode:"responsible_user"});return(0,e.jsxs)("div",{className:"flex max-w-2xl flex-col gap-5",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Shared AI connection identity, account selection, and existing authentication chrome. The full interactive state matrix lives in Storybook under AI Connections / Review. Example controls below do not connect accounts."}),(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Provider lists and account management use Browse and AppDetail from the Connectors interface. The picker below uses ConnectionChoiceList, also used by ConnectionSetupFlow."}),(0,e.jsx)(yn,{requirement:ss,connections:[wn],value:t,currentUserId:"example-user",agentId:"example-agent",agentName:"Nova",onChange:a,readOnly:!0,onConnect:s(()=>{},"onConnect")}),(0,e.jsx)(pa,{providerName:"OpenAI",value:"",disabled:!0,onChange:s(()=>{},"onChange"),onSubmit:s(()=>{},"onSubmit"),placeholder:"Enter API key here"}),(0,e.jsx)(za,{adapterType:"claude_local",login:{isolated:!0,preparing:!1,status:"sign_in_required",error:null,command:"CLAUDE_CONFIG_DIR='/example/connection-login' claude auth login",retry:s(()=>{},"retry")}})]})}s(kn,"AiConnectionDesignExamples");var Nn={sm:{width:24,height:60},md:{width:34,height:84},lg:{width:46,height:116}},In={slot:"empty agent slot",configured:"agent configured, offline",online:"agent online"},qt=.9,An=[.16,1,.3,1];function Sn(t){return((Math.trunc(t)-1)%10+10)%10+1}s(Sn,"normalizeGradient");function D({state:t,gradient:a=1,size:n="md",glow:l="green",strokeDraw:u=!1,className:p,style:v,"aria-label":x,...I}){const j=typeof n=="string"?Nn[n]:n,C=js(),B=t==="configured"||t==="online",N=Sn(a),A=`linear-gradient(to bottom, var(--agent-${N}a), var(--agent-${N}b))`;return(0,e.jsxs)("div",{role:"img","aria-label":x??In[t],"data-state":t,"data-gradient":N,"data-glow":l,className:y("agent-cap relative isolate mx-auto overflow-hidden rounded-full bg-transparent",t==="online"&&(l==="blue"?"agent-cap-online-blue":"agent-cap-online"),p),style:{width:j.width,height:j.height,...v},...I,children:[(0,e.jsx)("span",{"aria-hidden":"true",className:y("agent-cap-dash agent-cap-layer pointer-events-none absolute inset-0 rounded-full border-2 border-dashed border-muted-foreground/60",t==="slot"?"agent-cap-slot opacity-100":"opacity-0"),style:u&&t==="configured"&&!C?{transitionDelay:`${qt}s`}:void 0}),u?(0,e.jsx)("svg",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0",width:"100%",height:"100%",viewBox:`0 0 ${j.width} ${j.height}`,fill:"none",children:(0,e.jsx)(Us.rect,{x:1,y:1,width:j.width-2,height:j.height-2,rx:(j.width-2)/2,strokeWidth:2,className:"stroke-foreground/70",initial:!1,animate:{pathLength:B?1:0},transition:C?{duration:0}:{duration:qt,ease:An}})}):(0,e.jsx)("span",{"aria-hidden":"true",className:y("agent-cap-stroke agent-cap-layer pointer-events-none absolute inset-0 rounded-full border-2 border-solid border-foreground/70",t==="configured"?"opacity-100":"opacity-0")}),t==="online"?(0,e.jsx)("span",{"aria-hidden":"true",className:"agent-cap-liquid absolute inset-x-0 bottom-0 block h-full",style:{background:A}}):null]})}s(D,"AgentCapsule");function as({rows:t,labelWidth:a=132,className:n}){return(0,e.jsx)("dl",{className:y("divide-y divide-border rounded-md border border-border text-sm",n),children:t.map(l=>(0,e.jsxs)("div",{className:"flex gap-3 px-3 py-2",children:[(0,e.jsx)("dt",{className:"shrink-0 pt-0.5 text-xs font-medium uppercase tracking-normal text-muted-foreground",style:{width:a},children:l.label}),(0,e.jsx)("dd",{className:y("min-w-0 flex-1 break-all text-foreground",l.mono&&"font-mono text-xs"),children:l.value})]},l.label))})}s(as,"BindingsTable");function fe(t){const a=t.replace(/^sha256:/,"");return a.length<=16?`sha256:${a}`:`sha256:${a.slice(0,10)}…${a.slice(-6)}`}s(fe,"shortSha");function Cn(t){return t.split(/\s+/).map(a=>a[0]).filter(Boolean).slice(0,2).join("").toUpperCase()}s(Cn,"initials");function Tn(t,a){const n=a&&t.previousCatalogSha256?(0,e.jsxs)("span",{className:"inline-flex flex-wrap items-center gap-1.5",children:[(0,e.jsx)("span",{className:"text-muted-foreground line-through decoration-amber-500",title:"Previous catalog hash",children:fe(t.previousCatalogSha256)}),(0,e.jsx)("span",{className:"text-amber-600 dark:text-amber-400",title:"Current catalog hash",children:fe(t.catalogSha256)})]}):fe(t.catalogSha256);return[{label:"Application",value:(0,e.jsxs)("span",{children:[t.application,(0,e.jsxs)("span",{className:"ml-1.5 text-xs text-muted-foreground",children:["manifest v",t.manifestVersion]})]})},{label:"Connection",value:t.connection,mono:!0},{label:"Catalog",value:n,mono:!a},{label:"Payload",value:(0,e.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,e.jsx)(He,{className:"h-3.5 w-3.5 shrink-0 text-emerald-600 dark:text-emerald-400"}),(0,e.jsx)("span",{children:fe(t.payloadSha256)}),(0,e.jsx)("span",{className:"font-sans text-(length:--text-micro) uppercase tracking-normal text-muted-foreground",children:"signed"})]}),mono:!0}]}s(Tn,"bindingRows");function Qe({agentName:t="Coder",agentAvatarUrl:a,toolName:n,risk:l,isReadOnly:u,isWrite:p,isDestructive:v,binding:x,input:I,reason:j,policyNumber:C,expiresInLabel:B,variant:N="pending",mobile:A=!1,onApprove:K,onDeny:z,onEditResign:Z,className:$}){const P=N==="stale",h=typeof I=="string"?I:JSON.stringify(I,null,2),S=(0,e.jsx)(c,{size:"sm",onClick:K,disabled:P,className:A?"w-full":void 0,title:P?"Re-issue the request before approving — the catalog hash changed.":void 0,children:"Approve"}),E=(0,e.jsx)(c,{size:"sm",variant:"outline",onClick:z,className:A?"w-full":void 0,children:"Deny"}),ie=(0,e.jsxs)(c,{size:"sm",variant:"outline",onClick:Z,className:A?"w-full":void 0,children:[(0,e.jsx)(ia,{className:"mr-1 h-3.5 w-3.5"}),"Edit & re-sign"]});return(0,e.jsxs)(Ke,{className:y("gap-0 py-0",P&&"border-amber-500/50 dark:border-amber-500/40",$),"data-variant":N,children:[(0,e.jsxs)(Jt,{className:"space-y-3 p-4",children:[(0,e.jsxs)("div",{className:"flex items-start gap-3",children:[(0,e.jsxs)(O,{size:"sm",className:"shrink-0",children:[a?(0,e.jsx)(Js,{src:a,alt:t}):null,(0,e.jsx)(M,{children:Cn(t)})]}),(0,e.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,e.jsxs)("p",{className:"text-sm text-foreground",children:[(0,e.jsx)("span",{className:"font-medium",children:t})," requested approval to call"]}),(0,e.jsx)("p",{className:"mt-0.5 font-mono text-xs text-muted-foreground break-all",children:n})]}),(0,e.jsx)("div",{className:"shrink-0",children:(0,e.jsx)(Ya,{decision:"require_approval"})})]}),(0,e.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,e.jsx)("span",{className:"font-mono text-sm text-foreground",children:n}),(0,e.jsx)(Xa,{risk:l}),(0,e.jsx)(en,{isReadOnly:u,isWrite:p,isDestructive:v})]}),P?(0,e.jsx)(Y,{tone:"warning",title:"Catalog changed since this request was signed.",body:"The application's tool catalog hash no longer matches the one this approval was issued against. Approval is disabled — the agent must edit & re-sign to request again."}):null,(0,e.jsx)(as,{rows:Tn(x,P),labelWidth:A?70:132}),(0,e.jsxs)("div",{className:"space-y-1",children:[(0,e.jsx)("p",{className:"text-xs font-medium uppercase tracking-normal text-muted-foreground",children:"Input"}),(0,e.jsx)("pre",{className:y("overflow-x-auto rounded-md border border-border bg-muted/40 p-3 font-mono text-xs leading-relaxed text-foreground",we),children:h})]}),(0,e.jsxs)("div",{className:"space-y-1",children:[(0,e.jsx)("p",{className:"text-xs font-medium uppercase tracking-normal text-muted-foreground",children:"Why I'm asking"}),(0,e.jsxs)("p",{className:y("text-sm text-muted-foreground",we),children:[j,C!=null?(0,e.jsxs)(e.Fragment,{children:[" ",(0,e.jsxs)("span",{className:"font-medium text-foreground",children:["Policy #",C]})," requires approval here."]}):null]})]})]}),(0,e.jsxs)("div",{className:y("flex gap-2 border-t border-border p-4",A?"flex-col":"flex-wrap items-center justify-between"),children:[(0,e.jsxs)("span",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[(0,e.jsx)(Ma,{className:"h-3.5 w-3.5 shrink-0"}),B??"no expiry set"]}),A?(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[S,E,ie]}):(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[ie,E,S]})]})]})}s(Qe,"ActionCard");function Pn(t){return(0,e.jsx)(Qe,{...t,mobile:!0})}s(Pn,"ActionCardMobile");var d={companyId:"company-storybook",projectId:"project-board-ui",issueId:"issue-thread-interactions",currentUserId:"user-board"};function ae(t){const a=t.requestedResolverPolicy??t.resolverPolicy??"anyone",n=t.effectiveResolverPolicy??a;return{resolverPolicy:a,requestedResolverPolicy:a,effectiveResolverPolicy:n,resolverPolicyProvenance:t.resolverPolicyProvenance??(a==="anyone"?"inherited":"explicit"),effectiveResolverPolicySource:t.effectiveResolverPolicySource??(n===a?"requested":"company_cap"),legacyResolverPolicyAliases:t.legacyResolverPolicyAliases??{requested:_t(a),effective:_t(n)}}}s(ae,"resolverAudienceFields");function zt(t){const a=t.createdAt??new Date("2026-04-20T14:00:00.000Z");return{id:"comment-default",companyId:d.companyId,issueId:d.issueId,authorType:t.authorAgentId?"agent":"user",authorAgentId:null,authorUserId:d.currentUserId,body:"",presentation:null,metadata:null,createdAt:a,updatedAt:t.updatedAt??a,...t}}s(zt,"createComment");function tt(t){return{id:"interaction-suggest-default",companyId:d.companyId,issueId:d.issueId,kind:"suggest_tasks",title:"Suggested issue tree for the first interaction pass",summary:"Draft task creation stays pending until a reviewer accepts it, so the thread can preview structure without mutating the task system.",status:"pending",continuationPolicy:"wake_assignee",createdByAgentId:"agent-codex",createdByUserId:null,resolvedByAgentId:null,resolvedByUserId:null,createdAt:new Date("2026-04-20T14:11:00.000Z"),updatedAt:new Date("2026-04-20T14:11:00.000Z"),resolvedAt:null,payload:{version:1,defaultParentId:"PAP-1709",tasks:[{clientKey:"root-design",title:"Prototype issue-thread interaction cards",description:"Build render-only cards that sit in the issue feed and show suggested tasks before anything is persisted.",priority:"high",assigneeAgentId:"agent-codex",billingCode:"ui-research",labels:["UI","interaction"]},{clientKey:"child-stories",parentClientKey:"root-design",title:"Add Storybook coverage for acceptance and rejection states",description:"Cover pending, accepted, rejected, and collapsed-child previews in a fixture-backed story.",priority:"medium",assigneeAgentId:"agent-qa",labels:["Storybook"]},{clientKey:"child-mixed-thread",parentClientKey:"root-design",title:"Prototype the mixed thread feed",description:"Show comments, activity, live runs, and interaction cards in one chronological feed.",priority:"medium",assigneeAgentId:"agent-codex",labels:["Issue thread"]},{clientKey:"hidden-follow-up",parentClientKey:"child-mixed-thread",title:"Follow-up polish on spacing and answered summaries",description:"Collapse this under the visible task tree so the preview proves the hidden-descendant treatment.",priority:"low",hiddenInPreview:!0}]},result:null,...t,...ae(t)}}s(tt,"createSuggestTasksInteraction");function Ne(t){return{id:"interaction-questions-default",companyId:d.companyId,issueId:d.issueId,kind:"ask_user_questions",title:"Resolve open UX decisions before Phase 1",summary:"This form stays local until the operator submits it, so the responsible only wakes once after the whole answer set is ready.",status:"pending",continuationPolicy:"wake_assignee",createdByAgentId:"agent-codex",createdByUserId:null,resolvedByAgentId:null,resolvedByUserId:null,createdAt:new Date("2026-04-20T14:18:00.000Z"),updatedAt:new Date("2026-04-20T14:18:00.000Z"),resolvedAt:null,payload:{version:1,title:"Before I wire the persistence layer, which preview behavior do you want?",submitLabel:"Send answers",questions:[{id:"collapse-depth",prompt:"How aggressive should the suggested-task preview collapse descendant work?",helpText:"We need enough context to review the tree without making the feed feel like a project plan.",selectionMode:"single",required:!0,options:[{id:"visible-root",label:"Only collapse hidden descendants",description:"Keep top-level and visible child tasks expanded."},{id:"collapse-all",label:"Collapse all descendants by default",description:"Show only root tasks until the operator expands the tree."}]},{id:"post-submit-summary",prompt:"What should the answered-state card emphasize after submission?",helpText:"Pick every summary treatment that would help future reviewers.",selectionMode:"multi",required:!0,options:[{id:"answers-inline",label:"Inline answer pills",description:"Keep the exact operator choices visible under each question."},{id:"summary-note",label:"Short markdown summary",description:"Add a compact narrative summary at the bottom of the card."},{id:"resolver-meta",label:"Resolver metadata",description:"Show who answered and when without opening the raw thread."}]}]},result:null,...t,...ae(t)}}s(Ne,"createAskUserQuestionsInteraction");function f(t){return{id:"interaction-confirmation-default",companyId:d.companyId,issueId:d.issueId,kind:"request_confirmation",title:"Approve the proposed plan",summary:"The responsible is waiting on a direct board decision before continuing from the plan document.",status:"pending",continuationPolicy:"wake_assignee",createdByAgentId:"agent-codex",createdByUserId:null,resolvedByAgentId:null,resolvedByUserId:null,createdAt:new Date("2026-04-20T14:30:00.000Z"),updatedAt:new Date("2026-04-20T14:30:00.000Z"),resolvedAt:null,payload:{version:1,prompt:"Approve the plan and let the responsible start implementation?",acceptLabel:"Approve plan",rejectLabel:"Request revisions",rejectRequiresReason:!0,rejectReasonLabel:"Describe the plan changes needed before approval",detailsMarkdown:"This confirmation watches the `plan` document revision so stale approvals are blocked if the plan changes.",supersedeOnUserComment:!0,target:{type:"issue_document",issueId:d.issueId,key:"plan",revisionId:"11111111-1111-4111-8111-111111111111",revisionNumber:3}},result:null,...t,...ae(t)}}s(f,"createRequestConfirmationInteraction");function H(t){return{id:"interaction-checkbox-default",companyId:d.companyId,issueId:d.issueId,kind:"request_checkbox_confirmation",title:"Choose the stale drafts to delete",summary:"The agent found several stale draft documents and needs the board to confirm exactly which ones to remove.",status:"pending",continuationPolicy:"wake_assignee",createdByAgentId:"agent-codex",createdByUserId:null,resolvedByAgentId:null,resolvedByUserId:null,createdAt:new Date("2026-04-20T14:46:00.000Z"),updatedAt:new Date("2026-04-20T14:46:00.000Z"),resolvedAt:null,payload:{version:1,prompt:"Check the draft documents you want me to delete.",detailsMarkdown:"Only the checked items will be deleted. Leave an item unchecked to keep it for now.",options:[{id:"draft-march-report",label:"Old draft report",description:"Created by QA during the March test pass."},{id:"draft-spec-v1",label:"Spec v1 (superseded)",description:"Replaced by the approved v2 specification."},{id:"draft-scratch-notes",label:"Scratch notes",description:"Unstructured notes from the kickoff call."},{id:"draft-import-sample",label:"Import sample fixture",description:"Temporary fixture used while wiring the importer."}],defaultSelectedOptionIds:[],minSelected:0,maxSelected:null,acceptLabel:"Delete selected",rejectLabel:"Reject",rejectRequiresReason:!1},result:null,...t,...ae(t)}}s(H,"createRequestCheckboxConfirmationInteraction");var _r=tt({}),Rr=tt({id:"interaction-suggest-accepted",status:"accepted",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T14:16:00.000Z"),updatedAt:new Date("2026-04-20T14:16:00.000Z"),result:{version:1,createdTasks:[{clientKey:"root-design",issueId:"issue-created-1",identifier:"PAP-1713",title:"Prototype issue-thread interaction cards"},{clientKey:"child-stories",issueId:"issue-created-2",identifier:"PAP-1714",title:"Add Storybook coverage for acceptance and rejection states",parentIssueId:"issue-created-1",parentIdentifier:"PAP-1713"},{clientKey:"child-mixed-thread",issueId:"issue-created-3",identifier:"PAP-1715",title:"Prototype the mixed thread feed",parentIssueId:"issue-created-1",parentIdentifier:"PAP-1713"},{clientKey:"hidden-follow-up",issueId:"issue-created-4",identifier:"PAP-1716",title:"Follow-up polish on spacing and answered summaries",parentIssueId:"issue-created-3",parentIdentifier:"PAP-1715"}]}}),Dr=tt({id:"interaction-suggest-rejected",status:"rejected",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T14:17:00.000Z"),updatedAt:new Date("2026-04-20T14:17:00.000Z"),result:{version:1,rejectionReason:"Keep the first pass tighter. The hidden follow-on work is useful, but the acceptance story should stay focused on one visible root and one visible child."}}),Ur=Ne({}),Br=Ne({id:"interaction-questions-freetext",payload:{version:1,title:"How should we name the new surface?",submitLabel:"Send answers",questions:[{id:"surface-name",prompt:"What should we call the new surface?",selectionMode:"single",required:!0,options:[{id:"keep-tasks",label:"Keep calling it Tasks"},{id:"rename-work",label:"Rename it Work"},{id:"describe-it",label:"I'll describe it",description:"Tell us the exact name you have in mind.",freeText:!0}]}]}}),Er=Ne({id:"interaction-questions-answered",status:"answered",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T14:24:00.000Z"),updatedAt:new Date("2026-04-20T14:24:00.000Z"),result:{version:1,answers:[{questionId:"collapse-depth",optionIds:["visible-root"]},{questionId:"post-submit-summary",optionIds:["answers-inline","summary-note","resolver-meta"]}],summaryMarkdown:["- Keep visible child tasks expanded when they are part of the main review path.","- Preserve inline answer chips and resolver metadata in the answered state.","- Add a short summary note so future reviewers understand the operator's intent without replaying the form."].join(`
|
|
14
|
+
`)}}),Lr=Ne({id:"interaction-questions-expired-comment",status:"expired",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T14:25:00.000Z"),updatedAt:new Date("2026-04-20T14:25:00.000Z"),result:{version:1,answers:[],expirationReason:"superseded_by_comment",commentId:"22222222-2222-4222-8222-222222222222",summaryMarkdown:null}}),Mr=f({}),Or=f({id:"interaction-confirmation-generic-pending",title:"Confirm next step",summary:"The responsible needs a lightweight yes or no before continuing.",continuationPolicy:"none",payload:{version:1,prompt:"Continue with the current approach?"}}),qr=f({id:"interaction-confirmation-optional-decline",continuationPolicy:"none",payload:{version:1,prompt:"Use the smaller implementation path?",acceptLabel:"Confirm",rejectLabel:"Decline",rejectRequiresReason:!1,declineReasonPlaceholder:"Optional: tell the agent what you'd change."}}),zr=f({id:"interaction-confirmation-no-decline-reason",continuationPolicy:"none",payload:{version:1,prompt:"Close this low-risk follow-up as unnecessary?",acceptLabel:"Close it",rejectLabel:"Keep it",allowDeclineReason:!1}}),Zr=f({id:"interaction-confirmation-accepted",status:"accepted",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T14:34:00.000Z"),updatedAt:new Date("2026-04-20T14:34:00.000Z"),result:{version:1,outcome:"accepted"}}),_n=f({id:"interaction-confirmation-plan-accepted",status:"accepted",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T14:34:00.000Z"),updatedAt:new Date("2026-04-20T14:34:00.000Z"),payload:{version:1,prompt:"Approve the plan and let the responsible start implementation?",acceptLabel:"Approve plan",rejectLabel:"Reject",rejectRequiresReason:!0,declineReasonPlaceholder:"Optional: what would you like revised?",target:{type:"issue_document",issueId:d.issueId,key:"plan",revisionId:"11111111-1111-4111-8111-111111111111",revisionNumber:4}},result:{version:1,outcome:"accepted"}}),Fr=f({..._n,id:"interaction-confirmation-plan-resume-failed",result:{version:1,outcome:"accepted",resumeFailure:{status:"needs_attention",errorCode:"adapter_failed",attempt:3,maxAttempts:3,runId:"11111111-1111-4111-8111-222222222222",recoveryActionId:"33333333-3333-4333-8333-333333333333",updatedAt:"2026-04-20T14:45:00.000Z"}}}),Vr=f({id:"interaction-confirmation-rejected",status:"rejected",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T14:36:00.000Z"),updatedAt:new Date("2026-04-20T14:36:00.000Z"),result:{version:1,outcome:"rejected",reason:"Split the migration and UI work into separate reviewable steps."}}),Gr=f({id:"interaction-confirmation-rejected-no-reason",status:"rejected",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T14:37:00.000Z"),updatedAt:new Date("2026-04-20T14:37:00.000Z"),result:{version:1,outcome:"rejected",reason:null}});function st(t){return new Date(Date.now()+t*6e4).toISOString()}s(st,"expiresInMinutes");var Rn={version:1,actionRequestId:"aaaaaaa1-1111-4111-8111-1111111111a1",invocationId:"bbbbbbb2-2222-4222-8222-2222222222b2",toolName:"google_sheets.append_row",toolDisplayName:"Append row to spreadsheet",connectionId:"ccccccc3-3333-4333-8333-3333333333c3",applicationId:"ddddddd4-4444-4444-8444-4444444444d4",appDisplayName:"Google Sheets",risk:"write",previewMarkdown:`Add **1 row** to the **Q3 Growth Leads** sheet:
|
|
15
|
+
|
|
16
|
+
| Column | Value |
|
|
17
|
+
| --- | --- |
|
|
18
|
+
| Name | Priya Anand |
|
|
19
|
+
| Company | Northwind |
|
|
20
|
+
| Stage | Qualified |
|
|
21
|
+
| Owner | growth-bot |`,argumentsSummaryJson:JSON.stringify({spreadsheetId:"1AbC…xyz",range:"Leads!A2:D2",values:[["Priya Anand","Northwind","Qualified","growth-bot"]],apiKey:"[redacted]"},null,2),argumentsHash:"sha256:9f2c1a7be4d0c8a3",expiresAt:st(42)};function q(t){const{toolAction:a,payload:n,...l}=t;return f({id:"interaction-tool-action-default",title:void 0,summary:void 0,createdByAgentId:"agent-codex",payload:{version:1,prompt:"Approve running this tool call?",acceptLabel:"Approve & run",rejectLabel:"Decline",...n,toolAction:{...Rn,...a}},...l})}s(q,"createToolActionConfirmationInteraction");var Wr=q({id:"interaction-tool-action-pending-write"}),Zt="The release note covers the agreed accessibility checklist, rollout owners, support contacts, and readiness review for the public launch. Launch date: November 8, 2030.",Hr=q({id:"interaction-tool-action-long-proposal",toolAction:{previewMarkdown:`Add the public launch note.
|
|
22
|
+
|
|
23
|
+
**Text:** ${Zt.slice(0,137)}…`,argumentsSummaryJson:JSON.stringify({text:Zt,apiKey:"[redacted]"},null,2)}}),Kr=q({id:"interaction-tool-action-pending-destructive",toolAction:{actionRequestId:"aaaaaaa5-5555-4555-8555-5555555555a5",invocationId:"bbbbbbb6-6666-4666-8666-6666666666b6",toolName:"google_sheets.delete_rows",toolDisplayName:"Delete rows from spreadsheet",risk:"destructive",previewMarkdown:"**Permanently delete 12 rows** (rows 30–41) from the **Q3 Growth Leads** sheet. This cannot be undone.",argumentsSummaryJson:JSON.stringify({spreadsheetId:"1AbC…xyz",range:"Leads!A30:D41",rowCount:12},null,2),argumentsHash:"sha256:1c4e77aa90b3f2d1",expiresAt:st(4)}}),$r=q({id:"interaction-tool-action-running",status:"accepted",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:02:00.000Z"),updatedAt:new Date("2026-04-20T15:02:00.000Z"),result:{version:1,outcome:"accepted",toolAction:{version:1,status:"approved",updatedAt:"2026-04-20T15:02:00.000Z"}}}),Jr=q({id:"interaction-tool-action-executed",status:"accepted",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:02:00.000Z"),updatedAt:new Date("2026-04-20T15:02:12.000Z"),result:{version:1,outcome:"accepted",toolAction:{version:1,status:"executed",resultSummary:"Row 42 added to “Q3 Growth Leads”.",resultHref:"https://docs.google.com/spreadsheets/d/1AbCxyz/edit#gid=0&range=A42",updatedAt:"2026-04-20T15:02:12.000Z"}}}),Qr=q({id:"interaction-tool-action-failed",status:"accepted",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:02:00.000Z"),updatedAt:new Date("2026-04-20T15:02:09.000Z"),result:{version:1,outcome:"accepted",toolAction:{version:1,status:"failed",errorCode:"insufficient_permission",errorMessage:"The caller does not have permission to edit this spreadsheet (Google API 403). Ask the sheet owner to grant edit access to the connected account.",updatedAt:"2026-04-20T15:02:09.000Z"}}}),Yr=q({id:"interaction-tool-action-declined",status:"rejected",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:01:00.000Z"),updatedAt:new Date("2026-04-20T15:01:00.000Z"),result:{version:1,outcome:"rejected",reason:"We don't add leads to this sheet manually — use the CRM sync instead."}}),Xr=q({id:"interaction-tool-action-expired",status:"expired",updatedAt:new Date("2026-04-20T16:00:00.000Z"),resolvedAt:new Date("2026-04-20T16:00:00.000Z"),toolAction:{expiresAt:"2026-04-20T16:00:00.000Z"},result:{version:1,outcome:"superseded_by_comment",toolAction:{version:1,status:"expired",updatedAt:"2026-04-20T16:00:00.000Z"}}}),Dn={version:1,proposalId:"eeeeeee5-5555-4555-8555-5555555555e5",sourceSecretLabel:"OpenAI API key",configPath:"access.evals_openai_api_key",targetAgentId:"ffffffff-6666-4666-8666-6666666666f6",targetAgentName:"EvalsEngineer",justification:"The evaluation runner needs the existing credential under its canonical config name.",expiresAt:st(20160)};function ne(t){const{secretProposal:a,payload:n,...l}=t;return f({id:"interaction-secret-proposal-default",title:void 0,summary:"Review a proposed alias for an existing secret binding.",createdByAgentId:"agent-codex",resolverPolicy:"human_only",requestedResolverPolicy:"human_only",effectiveResolverPolicy:"human_only",payload:{version:1,prompt:"Approve this secret binding?",acceptLabel:"Approve & bind",rejectLabel:"Reject",allowDeclineReason:!0,...n,secretProposal:{...Dn,...a}},...l})}s(ne,"createSecretProposalConfirmationInteraction");var ei=ne({id:"interaction-secret-proposal-pending"});function ns(t={}){const{payload:a,...n}=t;return f({id:"interaction-connection-authorization-default",title:"Connect your Gmail to continue",summary:"Outreach Agent needs your Gmail identity for work running as you.",createdByAgentId:"agent-codex",addresseeUserId:d.currentUserId,resolverPolicy:"human_only",requestedResolverPolicy:"human_only",effectiveResolverPolicy:"human_only",payload:{version:1,prompt:"Connect your Gmail to continue",acceptLabel:"Connect Gmail",rejectLabel:"Not now",...a,connectionAuthorization:{version:1,providerName:"Gmail",connectionName:null,requestingAgentName:"Outreach Agent"},target:{type:"custom",key:"connection:gmail-abc:user:user-dotta",label:"Connect Gmail",href:"https://accounts.google.com/o/oauth2/v2/auth?client_id=paperclip"}},...n})}s(ns,"createConnectionAuthorizationInteraction");var ti=ns({id:"interaction-connection-authorization-pending"}),si=ns({id:"interaction-connection-authorization-resolved",status:"accepted",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:02:00.000Z"),updatedAt:new Date("2026-04-20T15:02:03.000Z"),result:{version:1,outcome:"accepted"}});function U(t={}){return{id:"interaction-connection-intent-default",companyId:d.companyId,issueId:d.issueId,kind:"connection_intent",title:"Connect Notion",summary:"Researcher needs this connection to continue.",status:"pending",continuationPolicy:"wake_assignee",createdByAgentId:"11111111-1111-4111-8111-111111111111",createdByUserId:null,resolvedByAgentId:null,resolvedByUserId:null,addresseeUserId:d.currentUserId,createdAt:new Date("2026-04-20T15:08:00.000Z"),updatedAt:new Date("2026-04-20T15:08:00.000Z"),resolvedAt:null,payload:{version:1,serviceSlug:"notion",serviceName:"Notion",serviceLogoUrl:null,requestingAgentId:"11111111-1111-4111-8111-111111111111",requestingAgentName:"Researcher",phase:"requested"},result:null,resolverPolicy:"human_only",requestedResolverPolicy:"human_only",effectiveResolverPolicy:"human_only",resolverPolicyProvenance:"explicit",effectiveResolverPolicySource:"governed_action",legacyResolverPolicyAliases:{requested:"board_only",effective:"board_only"},...t}}s(U,"createConnectionIntentInteraction");var rs=U(),Un=U({id:"interaction-connection-intent-retry",payload:{version:1,serviceSlug:"notion",serviceName:"Notion",serviceLogoUrl:null,requestingAgentId:"11111111-1111-4111-8111-111111111111",requestingAgentName:"Researcher",phase:"needs_retry"}}),ai=U({id:"interaction-connection-intent-authorizing",payload:{version:1,serviceSlug:"notion",serviceName:"Notion",serviceLogoUrl:null,requestingAgentId:"11111111-1111-4111-8111-111111111111",requestingAgentName:"Researcher",phase:"authorizing"}}),Bn=U({id:"interaction-connection-intent-connected",status:"accepted",result:{version:1,outcome:"connected",connectionId:"22222222-2222-4222-8222-222222222222"},resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:12:00.000Z")}),ni=U({id:"interaction-connection-intent-declined",status:"rejected",result:{version:1,outcome:"declined",reason:"Not right now"},resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:12:00.000Z")}),ri=U({id:"interaction-connection-intent-superseded",status:"expired",result:{version:1,outcome:"superseded"},resolvedAt:new Date("2026-04-20T15:12:00.000Z")}),ii=U({id:"interaction-connection-intent-expired",status:"expired",result:{version:1,outcome:"expired"},resolvedAt:new Date("2026-04-20T15:12:00.000Z")}),oi=ne({id:"interaction-secret-proposal-executed",status:"accepted",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:02:00.000Z"),updatedAt:new Date("2026-04-20T15:02:03.000Z"),result:{version:1,outcome:"accepted",secretProposal:{version:1,status:"executed",updatedAt:"2026-04-20T15:02:03.000Z"}}}),li=ne({id:"interaction-secret-proposal-failed",status:"accepted",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:02:00.000Z"),updatedAt:new Date("2026-04-20T15:02:03.000Z"),result:{version:1,outcome:"accepted",secretProposal:{version:1,status:"failed",errorCode:"binding_snapshot_stale",updatedAt:"2026-04-20T15:02:03.000Z"}}}),di=ne({id:"interaction-secret-proposal-rejected",status:"rejected",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:02:00.000Z"),updatedAt:new Date("2026-04-20T15:02:00.000Z"),result:{version:1,outcome:"rejected",reason:"Use the project-scoped credential instead.",secretProposal:{version:1,status:"rejected",updatedAt:"2026-04-20T15:02:00.000Z"}}}),ci=ne({id:"interaction-secret-proposal-expired",status:"expired",resolvedAt:new Date("2026-05-04T15:02:00.000Z"),updatedAt:new Date("2026-05-04T15:02:00.000Z"),secretProposal:{expiresAt:"2026-05-04T15:02:00.000Z"},result:{version:1,outcome:"superseded_by_newer_request",secretProposal:{version:1,status:"expired",updatedAt:"2026-05-04T15:02:00.000Z"}}}),ui=f({id:"interaction-confirmation-expired-comment",status:"expired",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T14:38:00.000Z"),updatedAt:new Date("2026-04-20T14:38:00.000Z"),result:{version:1,outcome:"superseded_by_comment",commentId:"22222222-2222-4222-8222-222222222222"}}),pi=f({id:"interaction-confirmation-expired-target",status:"expired",resolvedByAgentId:"agent-codex",resolvedAt:new Date("2026-04-20T14:40:00.000Z"),updatedAt:new Date("2026-04-20T14:40:00.000Z"),payload:{version:1,prompt:"Approve the plan and let the responsible start implementation?",acceptLabel:"Approve plan",rejectLabel:"Request revisions",rejectRequiresReason:!0,target:{type:"issue_document",issueId:d.issueId,key:"plan",revisionId:"44444444-4444-4444-8444-444444444444",revisionNumber:4}},result:{version:1,outcome:"stale_target",staleTarget:{type:"issue_document",issueId:d.issueId,key:"plan",revisionId:"11111111-1111-4111-8111-111111111111",revisionNumber:3}}}),mi=f({id:"interaction-confirmation-failed",status:"failed",updatedAt:new Date("2026-04-20T14:42:00.000Z")}),xi=f({id:"interaction-confirmation-agent-addressed",title:"Confirm the deploy window with the release agent",summary:"Directed to the release agent, who owns this response without waiting on the board.",addresseeAgentId:"agent-codex"}),hi=f({id:"interaction-confirmation-not-creator",title:"Independent review of the migration plan",summary:"Asked for a second pair of eyes, so the agent that wrote the plan cannot approve it.",requestedResolverPolicy:"not_creator"}),gi=f({id:"interaction-confirmation-human-only",title:"Approve the customer-facing announcement",summary:"Reserved for a human on the board because it commits the organization publicly.",requestedResolverPolicy:"human_only"}),fi=f({id:"interaction-confirmation-company-capped",title:"Confirm the data retention change",summary:"Asked for an open audience; the organization caps this kind at a human decision.",requestedResolverPolicy:"anyone",effectiveResolverPolicy:"human_only",effectiveResolverPolicySource:"company_cap"}),vi=f({id:"interaction-confirmation-legacy-restricted",title:"Confirm the archived cleanup batch",summary:"Created before Anyone became the default, so it stays restricted until re-created.",requestedResolverPolicy:"not_creator",resolverPolicyProvenance:"legacy_inherited_restriction"}),ji=f({id:"interaction-confirmation-agent-resolved",title:"Approved by the release agent",status:"accepted",createdByAgentId:"agent-codex",resolvedByAgentId:"agent-codex",resolvedByRunId:"run-agent-resolve-1",resolvedAt:new Date("2026-04-20T15:05:00.000Z"),updatedAt:new Date("2026-04-20T15:05:00.000Z"),result:{version:1,outcome:"accepted"}}),bi=f({id:"interaction-confirmation-withdrawn",title:"Withdrawn: approve the plan",status:"cancelled",createdByAgentId:"agent-codex",resolvedByAgentId:"agent-codex",resolvedByRunId:"run-agent-withdraw-1",resolvedAt:new Date("2026-04-20T15:10:00.000Z"),updatedAt:new Date("2026-04-20T15:10:00.000Z"),result:{version:1,outcome:"withdrawn",reason:"Plan superseded by a newer revision; no board decision needed."}}),yi=f({id:"interaction-confirmation-issue-closed",title:"Expired: confirm the migration cutover",status:"expired",resolvedAt:new Date(2026,3,20,15,12,0,0),updatedAt:new Date(2026,3,20,15,12,0,0),result:{version:1,outcome:"issue_closed",reason:"Issue was closed before the confirmation was resolved."}}),wi=H({}),ki=H({id:"interaction-checkbox-bounded",title:"Pick the regions to deploy first",summary:"Choose between two and three regions for the Phase 1 rollout.",payload:{version:1,prompt:"Which regions should we deploy to initially?",detailsMarkdown:"Select at least 2 and at most 3 regions.",options:[{id:"us-west",label:"US West (Oregon)",description:"Lowest latency for our primary user base."},{id:"us-east",label:"US East (Virginia)",description:"Redundancy and east coast coverage."},{id:"eu-west",label:"EU West (Ireland)",description:"GDPR compliance and European users."},{id:"ap-southeast",label:"AP Southeast (Singapore)",description:"Asia-Pacific expansion."}],defaultSelectedOptionIds:["us-west","us-east"],minSelected:2,maxSelected:3,acceptLabel:"Confirm regions",rejectLabel:"Reconsider",rejectRequiresReason:!0,rejectReasonLabel:"What should change about the region set?"}}),Ni=H({id:"interaction-checkbox-accepted",status:"accepted",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T14:49:00.000Z"),updatedAt:new Date("2026-04-20T14:49:00.000Z"),result:{version:1,outcome:"accepted",selectedOptionIds:["draft-march-report","draft-spec-v1"]}}),is=Array.from({length:100},(t,a)=>{const n=a+1;return{id:`record-${n}`,label:`Customer record #${n}`,description:n%4===0?"Flagged as a possible duplicate during the last import.":void 0}}),En=H({id:"interaction-checkbox-many",title:"Select the customer records to archive",summary:"The cleanup job found 100 stale customer records. Confirm which ones to archive.",payload:{version:1,prompt:"Check every customer record you want archived.",detailsMarkdown:"The list scrolls. Use Select all / Clear selection to move quickly.",options:is,defaultSelectedOptionIds:[],minSelected:0,maxSelected:null,acceptLabel:"Archive selected",rejectLabel:"Reject",rejectRequiresReason:!1}}),Ii=H({id:"interaction-checkbox-many-accepted",status:"accepted",title:"Select the customer records to archive",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T14:52:00.000Z"),updatedAt:new Date("2026-04-20T14:52:00.000Z"),payload:En.payload,result:{version:1,outcome:"accepted",selectedOptionIds:is.slice(0,42).map(t=>t.id)}}),Ai=H({id:"interaction-checkbox-rejected",status:"rejected",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T14:50:00.000Z"),updatedAt:new Date("2026-04-20T14:50:00.000Z"),result:{version:1,outcome:"rejected",reason:"Don't delete anything yet — let me confirm with the data owner first."}}),Si=H({id:"interaction-checkbox-stale",status:"expired",resolvedByAgentId:"agent-codex",resolvedAt:new Date("2026-04-20T14:51:00.000Z"),updatedAt:new Date("2026-04-20T14:51:00.000Z"),payload:{version:1,prompt:"Check the draft documents you want me to delete.",acceptLabel:"Delete selected",rejectLabel:"Reject",options:[{id:"draft-march-report",label:"Old draft report"},{id:"draft-spec-v1",label:"Spec v1 (superseded)"}],target:{type:"issue_document",issueId:d.issueId,key:"plan",revisionId:"44444444-4444-4444-8444-444444444444",revisionNumber:4}},result:{version:1,outcome:"stale_target",staleTarget:{type:"issue_document",issueId:d.issueId,key:"plan",revisionId:"11111111-1111-4111-8111-111111111111",revisionNumber:3}}});function re(t){return{id:"interaction-verdicts-default",companyId:d.companyId,issueId:d.issueId,kind:"request_item_verdicts",title:"Review 5 blog posts",summary:"This task drafted five blog posts. Approve the ones that are ready and reject the rest with a reason — each decision fans out on its own.",status:"pending",continuationPolicy:"wake_assignee",createdByAgentId:"agent-codex",createdByUserId:null,resolvedByAgentId:null,resolvedByUserId:null,createdAt:new Date("2026-04-20T15:02:00.000Z"),updatedAt:new Date("2026-04-20T15:02:00.000Z"),resolvedAt:null,payload:{version:1,prompt:"Review the 5 blog posts this task drafted.",detailsMarkdown:"Each approved post publishes immediately; rejected posts go back for a revision pass with your reason attached.",items:[{id:"post-spring-recap",label:"Spring launch recap",description:"820 words · product marketing",previewMarkdown:"**Spring launch recap** — a warm retrospective on the Q1 launch and what shipped.",href:"/PAP/issues/PAP-9001"},{id:"post-changelog-digest",label:"Monthly changelog digest",description:"540 words · engineering",previewMarkdown:"A tidy digest of the month's shipped changes, grouped by area.",href:"/PAP/issues/PAP-9002"},{id:"post-founder-note",label:"Founder's note on reliability",description:"1,100 words · leadership",previewMarkdown:"A candid note on the reliability push and the road ahead.",href:"/PAP/issues/PAP-9003"},{id:"post-customer-story",label:"Customer story: Northwind",description:"760 words · customer marketing",previewMarkdown:"How Northwind cut review time in half with the new workflow.",href:"/PAP/issues/PAP-9004"},{id:"post-hiring-push",label:"We're hiring: platform engineers",description:"420 words · recruiting",previewMarkdown:"An open call for platform engineers to join the team.",href:"/PAP/issues/PAP-9005"}],verdicts:["approve","reject"],requireReasonOn:["reject"],reasonLabel:"Why reject?",allowBulkApprove:!0,supersedeOnUserComment:!0},result:null,...t,...ae(t)}}s(re,"createRequestItemVerdictsInteraction");var Ci=re({}),Ti=re({id:"interaction-verdicts-partial",updatedAt:new Date("2026-04-20T15:08:00.000Z"),result:{version:1,outcome:"resolved",complete:!1,items:[{id:"post-spring-recap",verdict:"approve",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:08:00.000Z")},{id:"post-changelog-digest",verdict:"reject",reason:"Tone is off-brand — too dry. Warm it up and re-submit.",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:08:00.000Z")}]}}),Pi=re({id:"interaction-verdicts-complete",status:"answered",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:14:00.000Z"),updatedAt:new Date("2026-04-20T15:14:00.000Z"),result:{version:1,outcome:"resolved",complete:!0,items:[{id:"post-spring-recap",verdict:"approve",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:08:00.000Z")},{id:"post-changelog-digest",verdict:"reject",reason:"Tone is off-brand — too dry. Warm it up and re-submit.",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:08:00.000Z")},{id:"post-founder-note",verdict:"approve",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:14:00.000Z")},{id:"post-customer-story",verdict:"approve",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:14:00.000Z")},{id:"post-hiring-push",verdict:"reject",reason:"Hold the recruiting post until the req is approved.",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:14:00.000Z")}]}}),_i=re({id:"interaction-verdicts-superseded",status:"expired",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:16:00.000Z"),updatedAt:new Date("2026-04-20T15:16:00.000Z"),result:{version:1,outcome:"superseded_by_comment",complete:!1,commentId:"33333333-3333-4333-8333-333333333333",items:[{id:"post-spring-recap",verdict:"approve",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:08:00.000Z")},{id:"post-changelog-digest",verdict:"reject",reason:"Tone is off-brand — too dry. Warm it up and re-submit.",resolvedByUserId:d.currentUserId,resolvedAt:new Date("2026-04-20T15:08:00.000Z")}]}}),Ln=Array.from({length:24},(t,a)=>{const n=a+1;return{id:`draft-post-${n}`,label:`Draft post #${n}`,description:`${300+n*17} words · auto-generated series`}}),Ri=re({id:"interaction-verdicts-many",title:"Review 24 generated posts",summary:"A batch-generation task produced 24 posts. Decide them in passes; the card stays until all are decided.",payload:{version:1,prompt:"Review the 24 posts this batch produced.",detailsMarkdown:"The expanded list scrolls. Approve all to accept the batch, or decide item by item.",items:Ln,verdicts:["approve","reject"],requireReasonOn:["reject"],reasonLabel:"Why reject?",allowBulkApprove:!0,supersedeOnUserComment:!0}}),Di=[zt({id:"comment-thread-board",body:"Pressure-test first-class issue-thread interactions before we touch persistence. I want to see the cards in the real feed, not in a disconnected mock.",createdAt:new Date("2026-04-20T14:02:00.000Z"),updatedAt:new Date("2026-04-20T14:02:00.000Z")}),zt({id:"comment-thread-agent",authorAgentId:"agent-codex",authorUserId:null,body:"I found the existing issue chat surface and I am adding prototype-only interaction records so the Storybook review can happen before persistence work.",createdAt:new Date("2026-04-20T14:09:00.000Z"),updatedAt:new Date("2026-04-20T14:09:00.000Z"),runId:"run-thread-interaction",runAgentId:"agent-codex"})],Ui=[{id:"event-thread-checkout",createdAt:new Date("2026-04-20T14:01:00.000Z"),actorType:"user",actorId:d.currentUserId,statusChange:{from:"todo",to:"in_progress"}}],Ft=U({id:"interaction-connection-access",title:"Grant Composio access to Researcher?",payload:{...rs.payload,serviceSlug:"composio",serviceName:"Composio",serviceLogoUrl:"/brands/apps/composio.svg",accessRequest:{connectionId:"22222222-2222-4222-8222-222222222222",connectionName:"My Composio",tools:[{catalogEntryId:"33333333-3333-4333-8333-333333333333",toolName:"COMPOSIO_SEARCH_TOOLS",versionHash:"fixture-v1",permission:"allowed"},{catalogEntryId:"44444444-4444-4444-8444-444444444444",toolName:"COMPOSIO_MANAGE_CONNECTIONS",versionHash:"fixture-v1",permission:"ask_first"}]}}}),Bi=U({...Ft,id:"interaction-connection-access-granted",status:"accepted",result:{version:1,outcome:"connected",connectionId:Ft.payload.accessRequest.connectionId}}),Mn=new Set(["local_path","agent_package"]);function ke(t){return Mn.has(t.type)?"unsupported_in_ui":t.pinned?"ok":"unpinned"}s(ke,"sourceWarningCode");function On(t){let a="safe";for(const n of t.sourceRefs){const l=ke(n);if(l==="unsupported_in_ui")return"blocked";l==="unpinned"&&(a="has_warnings")}return a}s(On,"teamRisk");function qn(t){return t.counts.localSkills+t.counts.catalogSkills+t.counts.externalSkillSources}s(qn,"skillCount");function Vt(t){return t.replace(/[-_/]+/g," ").replace(/\b\w/g,a=>a.toUpperCase()).trim()}s(Vt,"titleCase");var zn={markdown_only:{label:"Markdown only",tip:"Contains only markdown and references. No executable content.",tone:"text-emerald-600 dark:text-emerald-300 border-emerald-500/30",Icon:He},assets:{label:"Assets",tip:"Includes static assets (images, fixtures). No executable content.",tone:"text-emerald-600 dark:text-emerald-300 border-emerald-500/30",Icon:He},scripts_executables:{label:"Scripts",tip:"Includes executable scripts that were security-reviewed before bundling.",tone:"text-amber-600 dark:text-amber-300 border-amber-500/30",Icon:$e},external_sources:{label:"External sources",tip:"References external sources resolved at install time.",tone:"text-amber-600 dark:text-amber-300 border-amber-500/30",Icon:$e}};function os({level:t,iconOnly:a=!1}){const n=zn[t],{Icon:l}=n;return(0,e.jsxs)(ee,{children:[(0,e.jsx)(te,{asChild:!0,children:(0,e.jsxs)(w,{variant:"outline",className:y("px-1.5 text-(length:--text-micro)",n.tone),children:[(0,e.jsx)(l,{className:"h-3 w-3"}),!a&&n.label]})}),(0,e.jsx)(se,{children:n.tip})]})}s(os,"TrustChip");function ls(t){switch(t){case"github":return ea;case"url":return Lt;case"local_path":return ra;case"agent_package":return As;case"skills_sh":return Xe;default:return Lt}}s(ls,"sourceKindIcon");function Zn({team:t}){const a=new Set(t.rootAgentSlugs),n=t.agentSlugs.filter(u=>!a.has(u)),l=t.rootAgentSlugs.length>0;return(0,e.jsx)("div",{className:"max-h-72 overflow-auto rounded-md border border-border",children:(0,e.jsxs)("ul",{className:"divide-y divide-border/60",children:[t.rootAgentSlugs.map(u=>(0,e.jsxs)("li",{className:y("flex items-center gap-2 px-3 py-2 text-sm",l&&"border-l-2 border-amber-500/50"),children:[(0,e.jsx)(Ua,{className:"h-3.5 w-3.5 text-amber-500"}),(0,e.jsx)("span",{className:"font-medium",children:Vt(u)}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"root agent"})]},u)),n.map(u=>(0,e.jsxs)("li",{className:"flex items-center gap-2 px-3 py-2 pl-7 text-sm",children:[(0,e.jsx)(et,{className:"h-3.5 w-3.5 text-muted-foreground"}),(0,e.jsx)("span",{children:Vt(u)})]},u)),t.agentSlugs.length===0&&(0,e.jsx)("li",{className:"px-3 py-2 text-xs text-muted-foreground",children:"No agents in this team."})]})})}s(Zn,"TeamHierarchyPreview");function Fn({children:t}){return(0,e.jsx)("h3",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:t})}s(Fn,"SectionHeader");function Vn({skills:t}){return t.length===0?(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"No required skills."}):(0,e.jsx)("ul",{className:"space-y-1",children:t.map(a=>(0,e.jsxs)("li",{className:"flex items-center gap-2 rounded-md border border-border px-3 py-2 text-sm",children:[(0,e.jsx)(Xe,{className:"h-3.5 w-3.5 text-muted-foreground"}),(0,e.jsx)("span",{className:"font-mono text-xs",children:a.ref}),(0,e.jsx)(w,{variant:"outline",className:"ml-auto text-(length:--text-nano)",children:a.type}),a.resolved?(0,e.jsx)(w,{variant:"outline",className:"text-(length:--text-nano) text-emerald-600 dark:text-emerald-300 border-emerald-500/30",children:"resolved"}):(0,e.jsx)(w,{variant:"outline",className:"text-(length:--text-nano) text-amber-600 dark:text-amber-300 border-amber-500/30",children:"external"})]},`${a.type}:${a.ref}`))})}s(Vn,"RequiredSkillsList");function Gn({inputs:t}){return t.length===0?null:(0,e.jsxs)("div",{className:"space-y-1.5",children:[(0,e.jsx)(Fn,{children:"Secrets & env inputs"}),(0,e.jsx)("ul",{className:"space-y-1",children:t.map(a=>(0,e.jsxs)("li",{className:"flex items-center gap-2 rounded-md border border-border px-3 py-2 text-sm",children:[(0,e.jsx)(Ms,{className:"h-3.5 w-3.5 text-muted-foreground"}),(0,e.jsx)("span",{className:"font-mono text-xs uppercase tracking-wide",children:a.key}),(0,e.jsx)(w,{variant:"outline",className:y("ml-auto text-(length:--text-nano)",a.kind==="secret"?"text-rose-600 dark:text-rose-300 border-rose-500/30":"text-muted-foreground"),children:a.kind}),a.requirement==="required"&&(0,e.jsx)(w,{variant:"outline",className:"text-(length:--text-nano)",children:"required"})]},a.key))})]})}s(Gn,"EnvInputsList");function Wn({sources:t}){const a=t.filter(u=>u.type!=="include"),[n,l]=(0,m.useState)(!1);return a.length===0?null:(0,e.jsxs)("div",{className:"space-y-1.5",children:[(0,e.jsxs)("button",{type:"button",onClick:s(()=>l(u=>!u),"onClick"),className:"flex items-center gap-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:[n?(0,e.jsx)(Xt,{className:"h-3 w-3"}):(0,e.jsx)(Aa,{className:"h-3 w-3"}),"External sources · ",a.length]}),n&&(0,e.jsx)("ul",{className:"divide-y divide-border rounded-md border border-border",children:a.map(u=>{const p=ls(u.type),v=ke(u);return(0,e.jsxs)("li",{className:"flex items-center gap-2 px-3 py-2 text-sm",children:[(0,e.jsx)(p,{className:"h-3.5 w-3.5 text-muted-foreground"}),(0,e.jsx)("span",{className:"font-mono text-xs truncate",children:u.ref}),(0,e.jsxs)("span",{className:"ml-auto text-(length:--text-micro)",children:[v==="ok"&&(0,e.jsx)("span",{className:"text-emerald-600 dark:text-emerald-300",children:"Pinned"}),v==="unpinned"&&(0,e.jsx)("span",{className:"text-amber-600 dark:text-amber-300",children:"Unpinned"}),v==="unsupported_in_ui"&&(0,e.jsx)("span",{className:"text-rose-600 dark:text-rose-300",children:"Unsupported in browser install"})]})]},`${u.type}:${u.ref}`)})})]})}s(Wn,"ExternalSourcesList");function Hn({team:t,allowExternalSources:a,allowUnpinnedOptionalSources:n,allowLocalPathSources:l,onChange:u}){const p=t.sourceRefs.filter(x=>x.type!=="include"),v=p.some(x=>ke(x)==="unsupported_in_ui");return(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsxs)("div",{role:"alert",className:"rounded-md border border-amber-500/30 bg-amber-500/10 px-3 py-2.5 text-sm text-amber-700 dark:text-amber-300",children:["This team references ",p.length," external source",p.length===1?"":"s",". Review each one and decide what to allow before continuing."]}),(0,e.jsx)("ul",{className:"divide-y divide-border rounded-md border border-border",children:p.map(x=>{const I=ls(x.type),j=ke(x);return(0,e.jsxs)("li",{className:"flex items-center gap-2 px-3 py-2.5 text-sm",children:[(0,e.jsx)(I,{className:"h-3.5 w-3.5 text-muted-foreground"}),(0,e.jsxs)("div",{className:"min-w-0",children:[(0,e.jsx)("p",{className:"font-mono text-xs truncate",children:x.ref}),(0,e.jsxs)("p",{className:"text-(length:--text-micro) text-muted-foreground",children:[j==="ok"&&"pinned",j==="unpinned"&&"unpinned reference",j==="unsupported_in_ui"&&"not installable from the browser"]})]}),(0,e.jsx)(w,{variant:"outline",className:y("ml-auto text-(length:--text-nano)",j==="unsupported_in_ui"?"text-rose-600 dark:text-rose-300 border-rose-500/30":j==="unpinned"?"text-amber-600 dark:text-amber-300 border-amber-500/30":"text-emerald-600 dark:text-emerald-300 border-emerald-500/30"),children:x.type})]},`${x.type}:${x.ref}`)})}),(0,e.jsxs)("div",{className:"space-y-2.5 rounded-md border border-border p-3",children:[(0,e.jsx)(Ge,{label:"Allow external sources",description:"Resolve github/url skill and team sources at install time.",checked:a,onChange:s(x=>u("external",x),"onChange")}),(0,e.jsx)(Ge,{label:"Allow unpinned optional sources",description:"Permit optional sources that are not pinned to a ref or checksum.",checked:n,onChange:s(x=>u("unpinned",x),"onChange")}),(0,e.jsx)(Ge,{label:"Allow local-path sources",description:"Required for local_path / agent_package sources. Development use only.",checked:l,onChange:s(x=>u("localPath",x),"onChange")})]}),v&&!l&&(0,e.jsx)("p",{className:"text-xs text-rose-600 dark:text-rose-300",children:"This team has local-path sources. Enable “Allow local-path sources” to continue, or install it from the CLI."})]})}s(Hn,"StepSourcePolicy");function Ge({label:t,description:a,checked:n,onChange:l}){return(0,e.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-sm font-medium",children:t}),(0,e.jsx)("p",{className:"text-xs text-muted-foreground",children:a})]}),(0,e.jsx)(Es,{checked:n,onCheckedChange:l})]})}s(Ge,"PolicyToggle");var Kn={already_in_package:{label:"Bundled in package",tone:"text-emerald-600 dark:text-emerald-300 border-emerald-500/30"},catalog_install_required:{label:"Will install from catalog",tone:"text-blue-600 dark:text-blue-300 border-blue-500/30"},external_import_required:{label:"Will import from source",tone:"text-amber-600 dark:text-amber-300 border-amber-500/30"},blocked:{label:"Blocked",tone:"text-rose-600 dark:text-rose-300 border-rose-500/30"}};function $n({team:t,preparations:a}){return(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsx)("div",{role:"alert",className:"rounded-md border border-blue-500/30 bg-blue-500/10 px-3 py-2.5 text-sm text-blue-700 dark:text-blue-300",children:"Before agents are imported, the catalog resolves the skills they depend on. This is the resolution plan."}),(0,e.jsx)("ul",{className:"divide-y divide-border rounded-md border border-border",children:(a??t.requiredSkills.map(Jn)).map(n=>{const l=Kn[n.action];return(0,e.jsxs)("li",{className:"flex items-center gap-2 px-3 py-2.5 text-sm",children:[(0,e.jsx)(Xe,{className:"h-3.5 w-3.5 text-muted-foreground"}),(0,e.jsxs)("div",{className:"min-w-0",children:[(0,e.jsx)("p",{className:"font-mono text-xs truncate",children:n.ref}),n.reason&&(0,e.jsx)("p",{className:"text-(length:--text-micro) text-muted-foreground",children:n.reason})]}),(0,e.jsx)(w,{variant:"outline",className:y("ml-auto text-(length:--text-nano)",l.tone),children:l.label})]},`${n.type}:${n.ref}`)})})]})}s($n,"StepSkillPlan");function Jn(t){return{type:t.type,ref:t.ref,agentSlugs:t.agentSlugs,action:t.type==="catalog"?"catalog_install_required":t.resolved?"already_in_package":"external_import_required",catalogSkillId:t.catalogSkillId??null,catalogSkillKey:t.catalogSkillKey??null,sourceLocator:t.sourceLocator??null,sourceRef:t.sourceRef??null,reason:null}}s(Jn,"toPreparation");function ve({team:t,selected:a,onSelect:n,installed:l}){const u=On(t),p=!!l?.outOfDate;return(0,e.jsxs)("button",{type:"button",onClick:n,className:y("flex w-full flex-col gap-1 border-b border-border/60 px-3 py-2.5 text-left transition-colors hover:bg-accent/30",a&&"bg-accent/40"),children:[(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(et,{className:y("h-3.5 w-3.5 text-muted-foreground",t.kind==="optional"&&"opacity-70")}),(0,e.jsx)("span",{className:y("line-clamp-2 text-(length:--text-compact) font-medium",a&&"text-foreground"),children:t.name}),p&&(0,e.jsxs)(ee,{children:[(0,e.jsx)(te,{asChild:!0,children:(0,e.jsx)("span",{"aria-label":"Update available",className:"inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full border border-amber-500/40 bg-amber-500/10 text-amber-600 dark:text-amber-300",children:(0,e.jsx)(Hs,{className:"h-3 w-3"})})}),(0,e.jsx)(se,{children:"Update available — installed team is out of date"})]}),u!=="safe"&&(0,e.jsxs)(ee,{children:[(0,e.jsx)(te,{asChild:!0,children:(0,e.jsx)($e,{className:y("ml-auto h-3.5 w-3.5",u==="blocked"?"text-rose-500":"text-amber-500")})}),(0,e.jsx)(se,{children:"Has external sources"})]})]}),(0,e.jsxs)("div",{className:"flex items-center gap-1.5 text-(length:--text-micro) text-muted-foreground",children:[(0,e.jsxs)("span",{children:[t.counts.agents,"a · ",t.counts.projects,"p · ",t.counts.routines,"r · ",qn(t),"s"]}),(0,e.jsx)(os,{level:t.trustLevel,iconOnly:!0})]})]})}s(ve,"TeamRow");function Qn({team:t,selected:a=!1,onSelect:n}){return(0,e.jsxs)("button",{type:"button",onClick:n,"aria-pressed":a,className:y("flex aspect-square w-full flex-col gap-2 rounded-lg border border-border bg-card p-4 text-left transition-colors hover:bg-accent/30 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",a&&"ring-2 ring-ring"),children:[(0,e.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,e.jsx)("span",{className:"flex h-8 w-8 items-center justify-center rounded-md border border-border bg-background",children:(0,e.jsx)(et,{className:"h-4 w-4 text-muted-foreground"})}),t.trustLevel!=="markdown_only"&&(0,e.jsx)(os,{level:t.trustLevel,iconOnly:!0})]}),(0,e.jsxs)("div",{className:"space-y-0.5",children:[(0,e.jsx)("h3",{className:"text-sm font-semibold leading-snug",children:t.name}),(0,e.jsxs)("p",{className:"text-xs text-muted-foreground",children:[t.counts.agents," agent",t.counts.agents===1?"":"s"," ·"," ",t.counts.projects," project",t.counts.projects===1?"":"s"," ·"," ",t.counts.routines," routine",t.counts.routines===1?"":"s"]})]}),t.description&&(0,e.jsx)("p",{className:"line-clamp-3 text-xs text-muted-foreground",children:t.description}),t.tags.length>0&&(0,e.jsx)("div",{className:"mt-auto flex flex-wrap gap-1",children:t.tags.map(l=>(0,e.jsx)(w,{variant:"outline",className:"text-(length:--text-nano)",children:l},l))})]})}s(Qn,"TeamCard");var k={id:"paperclipai:bundled:company-defaults:core-exec-team",key:"paperclipai/bundled/company-defaults/core-exec-team",kind:"bundled",category:"company-defaults",slug:"core-exec-team",name:"Core Exec Team",description:"A starter executive team: a CEO who manages a CTO and a CMO, plus a launch project and a weekly standup routine. Installs ready-to-run agents you can customize.",path:"catalog/bundled/company-defaults/core-exec-team",entrypoint:"TEAM.md",schema:"agentcompanies/v1",defaultInstall:!0,recommendedForCompanyTypes:["company-root"],tags:["exec","starter"],counts:{agents:3,projects:1,tasks:1,routines:1,localSkills:1,catalogSkills:1,externalSkillSources:1},rootAgentSlugs:["ceo"],agentSlugs:["ceo","cto","cmo"],projectSlugs:["launch"],requiredSkills:[{type:"catalog",ref:"engineering/code-review",agentSlugs:["cto"],resolved:!0,catalogSkillKey:"engineering/code-review"},{type:"github",ref:"acme/growth-playbook@v1.2.0",agentSlugs:["cmo"],resolved:!1,sourceRef:"v1.2.0"}],envInputs:[{key:"OPENAI_API_KEY",agentSlug:"cto",projectSlug:null,kind:"secret",requirement:"required"},{key:"DEFAULT_TIMEZONE",agentSlug:null,projectSlug:"launch",kind:"plain",requirement:"optional"}],sourceRefs:[{type:"github",ref:"acme/growth-playbook@v1.2.0",pinned:!0},{type:"url",ref:"https://example.com/policies/brand.md",pinned:!1}],files:[{path:"TEAM.md",kind:"team",sizeBytes:2144,sha256:"a1"},{path:"README.md",kind:"readme",sizeBytes:980,sha256:"a2"},{path:"agents/ceo/AGENTS.md",kind:"agent",sizeBytes:1200,sha256:"a3"},{path:"agents/cto/AGENTS.md",kind:"agent",sizeBytes:1100,sha256:"a4"},{path:"agents/cmo/AGENTS.md",kind:"agent",sizeBytes:1050,sha256:"a5"},{path:"projects/launch/PROJECT.md",kind:"project",sizeBytes:640,sha256:"a6"}],trustLevel:"external_sources",compatibility:"compatible",contentHash:"sha256:deadbeefdeadbeefdeadbeefdeadbeef",packageName:"@paperclipai/teams-catalog",packageVersion:"0.1.0"},Yn={...k,id:"paperclipai:optional:software-development:platform-pod",key:"paperclipai/optional/software-development/platform-pod",kind:"optional",category:"software-development",slug:"platform-pod",name:"Platform Engineering Pod",description:"An optional platform pod with a tech lead and two engineers.",recommendedForCompanyTypes:[],counts:{...k.counts,agents:4,routines:2},rootAgentSlugs:["tech-lead"],agentSlugs:["tech-lead","eng-1","eng-2","sre"],trustLevel:"markdown_only",sourceRefs:[]},Gt={...k,id:"paperclipai:optional:research:lab-with-local-source",slug:"lab-with-local-source",name:"Research Lab (local source)",kind:"optional",category:"research",trustLevel:"scripts_executables",sourceRefs:[{type:"url",ref:"https://example.com/unpinned.md",pinned:!1},{type:"local_path",ref:"/Users/dev/skills/secret-sauce",pinned:!1}]},ds={catalogId:k.id,catalogKey:k.key,present:!0,currentContentHash:k.contentHash,installedOriginHashes:["sha256:0000older0000older0000older"],agentCount:3,outOfDate:!0},Xn={...ds,installedOriginHashes:[k.contentHash],outOfDate:!1},er=[{type:"catalog",ref:"engineering/code-review",agentSlugs:["cto"],action:"already_in_package",catalogSkillId:"skill-1",catalogSkillKey:"engineering/code-review",sourceLocator:null,sourceRef:null,reason:null},{type:"github",ref:"acme/growth-playbook@v1.2.0",agentSlugs:["cmo"],action:"external_import_required",catalogSkillId:null,catalogSkillKey:null,sourceLocator:"github.com/acme/growth-playbook",sourceRef:"v1.2.0",reason:"Resolved from GitHub at install time"}],Wt=[{...k,trustLevel:"markdown_only",sourceRefs:[],requiredSkills:[],counts:{...k.counts,localSkills:0,catalogSkills:0,externalSkillSources:0}},{...k,id:"paperclipai:bundled:company-defaults:growth-pod",key:"paperclipai/bundled/company-defaults/growth-pod",slug:"growth-pod",name:"Growth Pod",description:"A lean growth squad: a head of growth managing a content marketer and a data analyst, wired to a launch project and a weekly metrics routine.",tags:["growth","marketing","starter"],counts:{agents:3,projects:1,tasks:0,routines:1,localSkills:0,catalogSkills:0,externalSkillSources:0},rootAgentSlugs:["head-of-growth"],agentSlugs:["head-of-growth","content-marketer","data-analyst"],trustLevel:"assets",sourceRefs:[],requiredSkills:[]},{...k,id:"paperclipai:bundled:company-defaults:support-pod",key:"paperclipai/bundled/company-defaults/support-pod",slug:"support-pod",name:"Support Pod",description:"A two-person support desk with a lead and an agent, plus a triage routine.",tags:["support","ops"],counts:{agents:2,projects:0,tasks:0,routines:1,localSkills:0,catalogSkills:0,externalSkillSources:0},rootAgentSlugs:["support-lead"],agentSlugs:["support-lead","support-agent"],projectSlugs:[],trustLevel:"markdown_only",sourceRefs:[],requiredSkills:[]}];function Ye(t,a,n,l,u){const p=`/api/attachments/${a}/content`;return{id:t,companyId:"demo-company",projectId:null,issueId:"demo-issue",executionWorkspaceId:null,runtimeServiceId:null,type:"artifact",provider:"paperclip",externalId:null,title:l,url:null,status:"active",reviewState:"none",isPrimary:!!u.isPrimary,healthStatus:"unknown",summary:null,createdByRunId:null,createdAt:new Date(u.createdAt),updatedAt:new Date(u.createdAt),metadata:{attachmentId:a,contentType:n,byteSize:u.byteSize,contentPath:p,openPath:p,downloadPath:`${p}?download=1`,originalFilename:l}}}s(Ye,"sampleOutput");var tr=[Ye("wp-vid","aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","video/mp4","q3-summary.mp4",{byteSize:19293798,isPrimary:!0,createdAt:"2026-05-30T12:00:00Z"}),Ye("wp-pdf","bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb","application/pdf","talking-points.pdf",{byteSize:421888,createdAt:"2026-05-30T11:52:00Z"})],sr=[{...Ye("wp-broken","cccccccc-cccc-4ccc-8ccc-cccccccccccc","video/mp4","corrupt-output.mp4",{byteSize:0,isPrimary:!0,createdAt:"2026-05-30T12:01:00Z"}),metadata:{attachmentId:"cccccccc-cccc-4ccc-8ccc-cccccccccccc",contentType:"video/mp4"}}],je={id:"design-guide-task",identifier:"PAP-427",title:"Reconcile the navigation model across operator surfaces",status:"in_progress",priority:"medium",blockerAttention:!1};function o({title:t,children:a}){return(0,e.jsxs)("section",{className:"space-y-4",children:[(0,e.jsx)("h3",{className:"text-sm font-semibold text-muted-foreground uppercase tracking-wide",children:t}),(0,e.jsx)(We,{}),a]})}s(o,"Section");function r({title:t,children:a}){return(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsx)("h4",{className:"text-sm font-medium",children:t}),a]})}s(r,"SubSection");function ar(){const[t,a]=(0,m.useState)(Wt[0]?.id??null);return(0,e.jsx)("div",{className:"grid max-w-2xl gap-4 md:grid-cols-2 lg:grid-cols-3",children:Wt.map(n=>(0,e.jsx)(Qn,{team:n,selected:n.id===t,onSelect:s(()=>a(n.id),"onSelect")},n.id))})}s(ar,"TeamCardShowcase");var Ht=[{id:"dg-github",companyId:"dg",scope:"company",ownerUserId:null,userSecretDefinitionId:null,key:"github_token",name:"GITHUB_TOKEN",provider:"local_encrypted",status:"active",managedMode:"paperclip_managed",externalRef:null,providerConfigId:null,providerMetadata:null,latestVersion:3,description:null,lastResolvedAt:null,lastRotatedAt:null,deletedAt:null,createdByAgentId:null,createdByUserId:null,createdAt:new Date("2026-03-01T10:00:00.000Z"),updatedAt:new Date("2026-03-01T10:00:00.000Z")},{id:"dg-db",companyId:"dg",scope:"company",ownerUserId:null,userSecretDefinitionId:null,key:"db_connection",name:"DB_CONNECTION",provider:"local_encrypted",status:"active",managedMode:"paperclip_managed",externalRef:null,providerConfigId:null,providerMetadata:null,latestVersion:3,description:null,lastResolvedAt:null,lastRotatedAt:null,deletedAt:null,createdByAgentId:null,createdByUserId:null,createdAt:new Date("2026-03-01T10:00:00.000Z"),updatedAt:new Date("2026-03-01T10:00:00.000Z")}];function nr(){const[t,a]=(0,m.useState)({NODE_ENV:{type:"plain",value:"production"},GH_TOKEN:{type:"secret_ref",secretId:"dg-github",version:"latest"},DB_URL:{type:"secret_ref",secretId:"dg-db",version:3},STRIPE_API_KEY:{type:"plain",value:"demo-value-not-a-credential"}});return(0,e.jsx)("div",{className:"max-w-(--sz-640px) rounded-md border border-border p-4",children:(0,e.jsx)(_s,{value:t,secrets:Ht,onChange:s(n=>a(n??{}),"onChange"),onCreateSecret:s(async n=>({...Ht[0],id:`dg-${n}`,key:n,name:n.toUpperCase(),latestVersion:1}),"onCreateSecret")})})}s(nr,"EnvironmentVariablesEditorShowcase");function b({name:t,cssVar:a}){return(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)("div",{className:"h-8 w-8 rounded-md border border-border shrink-0",style:{backgroundColor:`var(${a})`}}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-xs font-mono",children:a}),(0,e.jsx)("p",{className:"text-xs text-muted-foreground",children:t})]})]})}s(b,"Swatch");function rr(){const[t,a]=(0,m.useState)(!0),[n,l]=(0,m.useState)(null),[u,p]=(0,m.useState)(!0);return(0,e.jsxs)("div",{className:"max-w-xl space-y-4",children:[(0,e.jsx)("div",{className:"w-52 rounded-md border border-border p-1",children:(0,e.jsx)(ks,{scope:"subtree",canPause:t,canResume:!t,canCancel:!0,canRestore:!t,onPause:s(()=>a(!1),"onPause"),onResume:s(()=>l("resume"),"onResume"),onCancel:s(()=>l("cancel"),"onCancel"),onRestore:s(()=>l("restore"),"onRestore")})}),(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:t?"Running: type to switch Stop to Send.":"Paused: resume from the menu."}),(0,e.jsx)(vs,{item:{id:"design-project",kind:"project_created",projectId:"example-project",name:"Onboarding improvements",description:"Help new teams reach their first useful result.",timestamp:"2026-09-11T00:00:00Z",repositories:[{id:"1",name:"paperclipai/paperclip",url:"https://github.com/paperclipai/paperclip"}]}}),t?null:(0,e.jsx)(gs,{item:{id:"design-cancelled",kind:"marker",variant:"interrupted",tone:"neutral",label:"Run cancelled",detail:"The run was cancelled before returning an answer.",collapsible:!0}}),(0,e.jsx)($t,{pause:t?null:{scope:"subtree",onResume:s(()=>l("resume"),"onResume")},onAdd:s(async()=>{},"onAdd"),workMode:"standard",stopScope:"subtree",onStop:t?async()=>a(!1):void 0}),(0,e.jsx)(bs,{open:n!==null,onOpenChange:s(v=>{v||l(null)},"onOpenChange"),mode:n??"cancel",scope:"subtree",affectedCount:3,affectedAgentCount:2,loading:!1,pending:!1,valid:!0,wakeAgents:u,onWakeAgentsChange:p,onRetry:s(()=>{},"onRetry"),onApply:s(()=>{a(n!=="cancel"&&u),l(null)},"onApply")})]})}s(rr,"TaskExecutionControlsExample");function ir(){const[t,a]=(0,m.useState)(!0),[n,l]=(0,m.useState)(!0);return(0,e.jsx)("div",{className:"max-w-xl",children:(0,e.jsx)($t,{onAdd:s(async()=>{},"onAdd"),workMode:"standard",takeover:n&&t?{id:"design-question",label:"Question",pendingCount:1,content:(0,e.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,e.jsx)("p",{children:"Should the agent use the existing draft?"}),(0,e.jsxs)("div",{className:"flex gap-2",children:[(0,e.jsx)(c,{size:"sm",onClick:s(()=>l(!1),"onClick"),children:"Use draft"}),(0,e.jsx)(c,{size:"sm",variant:"outline",onClick:s(()=>l(!1),"onClick"),children:"Start fresh"})]})]}),onDismiss:s(()=>a(!1),"onDismiss"),onSkip:s(()=>l(!1),"onSkip")}:null,pendingTakeover:n?{count:1,label:"Question",onOpen:s(()=>a(!0),"onOpen")}:null})})}s(ir,"TaskPendingInputExample");function or(){const[t,a]=(0,m.useState)("closed");return(0,e.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,e.jsx)(c,{variant:"outline",onClick:s(()=>a("empty"),"onClick"),children:"Empty picker"}),(0,e.jsx)(c,{variant:"outline",onClick:s(()=>a("loading"),"onClick"),children:"Loading picker"}),(0,e.jsx)(c,{variant:"outline",onClick:s(()=>a("error"),"onClick"),children:"Failed picker"}),(0,e.jsx)(Ga,{agents:[],open:t!=="closed",onOpenChange:s(n=>{n||a("closed")},"onOpenChange"),onSelect:s(()=>{},"onSelect"),loading:t==="loading",error:t==="error"?new Error("Unavailable"):null,onRetry:s(()=>a("empty"),"onRetry")})]})}s(or,"AgentChatPickerExample");function lr(){const[t,a]=(0,m.useState)("standard");return(0,e.jsxs)("div",{className:"flex max-w-xl items-center gap-2 rounded-xl border border-border bg-card p-3",children:[(0,e.jsx)(Bs,{mode:t,onModeChange:a,onAttachFile:s(()=>{},"onAttachFile"),onGoal:s(()=>{},"onGoal")}),(0,e.jsx)(Ks,{mode:t,onRemove:s(()=>a("standard"),"onRemove")}),(0,e.jsx)("span",{className:"ml-auto text-xs text-muted-foreground",children:"Plus menu · removable mode chip"})]})}s(lr,"ComposerActionsExample");function Ei(){const[t,a]=(0,m.useState)(""),[n,l]=(0,m.useState)(0),[u,p]=(0,m.useState)("todo"),[v,x]=(0,m.useState)("medium"),[I,j]=(0,m.useState)("in_progress"),[C,B]=(0,m.useState)(!0),[N,A]=(0,m.useState)(!1),[K,z]=(0,m.useState)("Click to edit this text"),[Z,$]=(0,m.useState)("Editable Title"),[P,h]=(0,m.useState)("This is an editable description. Click to edit it — the textarea auto-sizes to fit the content without layout shift."),[S,E]=(0,m.useState)([{key:"status",label:"Status",value:"Active"}]),[ie,cs]=(0,m.useState)(!1),[us,ps]=(0,m.useState)(!1),[ms,xs]=(0,m.useState)(!1);return(0,e.jsxs)("div",{className:"space-y-10 max-w-4xl",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h2",{className:"text-xl font-bold",children:"Design Guide"}),(0,e.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:"Every component, style, and pattern used across Microvac."})]}),(0,e.jsxs)(o,{title:"Component Coverage",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"This page should be updated when new UI primitives or app-level patterns ship."}),(0,e.jsxs)("div",{className:"grid gap-6 md:grid-cols-2",children:[(0,e.jsx)(r,{title:"UI primitives",children:(0,e.jsx)("div",{className:"flex flex-wrap gap-2",children:["avatar","badge","breadcrumb","button","card","checkbox","collapsible","command","dialog","dropdown-menu","input","label","popover","resizable-panels","scroll-area","select","separator","sheet","skeleton","tabs","textarea","tooltip"].map(i=>(0,e.jsx)(w,{variant:"outline",className:"font-mono text-(length:--text-nano)",children:i},i))})}),(0,e.jsx)(r,{title:"App components",children:(0,e.jsx)("div",{className:"flex flex-wrap gap-2",children:["StatusBadge","StatusIcon","PriorityIcon","EntityRow","EmptyState","MetricCard","FilterBar","InlineEditor","PageSkeleton","Identity","CommentThread","MarkdownEditor","PropertiesPanel","Sidebar","CommandPalette","EnvironmentVariablesEditor","InlineBanner","BuiltInAgentGate","BuiltInLifecycleChip","CollectionToolbar","IssueRow","ContextualSidebarFrame"].map(i=>(0,e.jsx)(w,{variant:"ghost",className:"font-mono text-(length:--text-nano)",children:i},i))})})]})]}),(0,e.jsx)(o,{title:"Announcements",children:(0,e.jsxs)("div",{className:"grid gap-4 md:grid-cols-2",children:[(0,e.jsx)(Ze,{announcement:jn,imageSrc:"/announcement-preview.svg",animationSrc:bn,onDismiss:s(()=>{},"onDismiss")}),(0,e.jsx)(Ze,{announcement:Je,imageSrc:"/announcement-preview.svg",onDismiss:s(()=>{},"onDismiss")}),(0,e.jsx)(Ze,{announcement:{...Je,image:void 0,secondaryLink:void 0},onDismiss:s(()=>{},"onDismiss")})]})}),(0,e.jsx)(o,{title:"Task Execution Controls",children:(0,e.jsx)(rr,{})}),(0,e.jsx)(o,{title:"Composer actions",children:(0,e.jsx)(lr,{})}),(0,e.jsxs)(o,{title:"Task Collection",children:[(0,e.jsx)("p",{className:"max-w-prose text-sm text-muted-foreground",children:"CollectionToolbar owns shared geometry while each page owns its state and behavior. The canonical task row is opt-in during migration: status leads, unread work uses title emphasis, metadata remains stable, and the task identifier trails."}),(0,e.jsx)(Fa,{context:(0,e.jsx)("span",{className:"text-sm font-medium",children:"Recent tasks"}),search:(0,e.jsx)(Q,{"aria-label":"Search task collection example",placeholder:"Search tasks..."}),controls:(0,e.jsx)(c,{variant:"outline",size:"sm",children:"Filter"}),actions:(0,e.jsx)(c,{size:"sm",children:"New task"}),feedback:(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"1 task · Updated newest first"})}),(0,e.jsx)("div",{className:"overflow-hidden rounded-lg border border-border",children:(0,e.jsx)(ua,{issue:je,presentation:"task",unreadState:"visible",metadata:(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"Updated 12m ago"}),actions:(0,e.jsx)(c,{variant:"ghost",size:"xs",children:"More"})})})]}),(0,e.jsx)(o,{title:"Theme Toggle",children:(0,e.jsx)(r,{title:"Variants",children:(0,e.jsxs)("div",{className:"flex max-w-sm flex-col items-start gap-3",children:[(0,e.jsx)(qe,{}),(0,e.jsx)(qe,{variant:"menu-action"}),(0,e.jsx)(qe,{variant:"compact-menu-action"})]})})}),(0,e.jsxs)(o,{title:"Colors",children:[(0,e.jsx)(r,{title:"Core",children:(0,e.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-4",children:[(0,e.jsx)(b,{name:"Background",cssVar:"--background"}),(0,e.jsx)(b,{name:"Foreground",cssVar:"--foreground"}),(0,e.jsx)(b,{name:"Card",cssVar:"--card"}),(0,e.jsx)(b,{name:"Primary",cssVar:"--primary"}),(0,e.jsx)(b,{name:"Primary foreground",cssVar:"--primary-foreground"}),(0,e.jsx)(b,{name:"Secondary",cssVar:"--secondary"}),(0,e.jsx)(b,{name:"Muted",cssVar:"--muted"}),(0,e.jsx)(b,{name:"Muted foreground",cssVar:"--muted-foreground"}),(0,e.jsx)(b,{name:"Accent",cssVar:"--accent"}),(0,e.jsx)(b,{name:"Destructive",cssVar:"--destructive"}),(0,e.jsx)(b,{name:"Border",cssVar:"--border"}),(0,e.jsx)(b,{name:"Ring",cssVar:"--ring"})]})}),(0,e.jsx)(r,{title:"Sidebar",children:(0,e.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-4",children:[(0,e.jsx)(b,{name:"Sidebar",cssVar:"--sidebar"}),(0,e.jsx)(b,{name:"Sidebar border",cssVar:"--sidebar-border"})]})}),(0,e.jsx)(r,{title:"Chart",children:(0,e.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-4",children:[(0,e.jsx)(b,{name:"Chart 1",cssVar:"--chart-1"}),(0,e.jsx)(b,{name:"Chart 2",cssVar:"--chart-2"}),(0,e.jsx)(b,{name:"Chart 3",cssVar:"--chart-3"}),(0,e.jsx)(b,{name:"Chart 4",cssVar:"--chart-4"}),(0,e.jsx)(b,{name:"Chart 5",cssVar:"--chart-5"})]})})]}),(0,e.jsxs)(o,{title:"Runner activity",children:[(0,e.jsx)(it,{item:{id:"design-runner-activity",kind:"activity_phase",active:!0,summary:"",interstitial:{id:"design-runner-commentary",kind:"message",author:"agent",text:"I’ll inspect the activity feed and check the layout.",interstitial:!0},items:[{id:"design-runner-read",kind:"tool",name:"read",target:"TaskChatRunnerTurn.tsx",status:"completed",detail:"Found the activity groups."},{id:"design-runner-check",kind:"tool",name:"exec_command",target:"pnpm check:token-gates",status:"in_progress"}]}}),(0,e.jsx)(it,{item:{id:"design-runner-completed",kind:"activity_phase",active:!1,summary:"",items:[{id:"design-completed-read",kind:"tool",name:"read",target:"TaskChatRunnerTurn.tsx",status:"completed",detail:"Read the activity groups."},{id:"design-completed-check",kind:"tool",name:"exec_command",target:"pnpm check:token-gates",status:"failed",detail:"A token check needs another pass."}]}})]}),(0,e.jsx)(o,{title:"Typography",children:(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsx)("h2",{className:"text-xl font-bold",children:"Page Title — text-xl font-bold"}),(0,e.jsx)("h2",{className:"text-lg font-semibold",children:"Section Title — text-lg font-semibold"}),(0,e.jsx)("h3",{className:"text-sm font-semibold text-muted-foreground uppercase tracking-wide",children:"Section Heading — text-sm font-semibold uppercase tracking-wide"}),(0,e.jsx)("p",{className:"text-sm font-medium",children:"Card Title — text-sm font-medium"}),(0,e.jsx)("p",{className:"text-sm font-semibold",children:"Card Title Alt — text-sm font-semibold"}),(0,e.jsx)("p",{className:"text-sm",children:"Body text — text-sm"}),(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Muted description — text-sm text-muted-foreground"}),(0,e.jsx)("p",{className:"text-xs text-muted-foreground",children:"Tiny label — text-xs text-muted-foreground"}),(0,e.jsx)("p",{className:"text-sm font-mono text-muted-foreground",children:"Mono identifier — text-sm font-mono text-muted-foreground"}),(0,e.jsx)("p",{className:"text-2xl font-bold",children:"Large stat — text-2xl font-bold"}),(0,e.jsx)("p",{className:"font-mono text-xs",children:"Log/code text — font-mono text-xs"})]})}),(0,e.jsx)(o,{title:"Radius",children:(0,e.jsx)("div",{className:"flex items-end gap-4 flex-wrap",children:[["sm","var(--radius-sm)"],["md","var(--radius-md)"],["lg","var(--radius-lg)"],["xl","var(--radius-xl)"],["full","9999px"]].map(([i,g])=>(0,e.jsxs)("div",{className:"flex flex-col items-center gap-1",children:[(0,e.jsx)("div",{className:"h-12 w-12 bg-primary",style:{borderRadius:g}}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:i})]},i))})}),(0,e.jsxs)(o,{title:"Buttons",children:[(0,e.jsx)(r,{title:"Variants",children:(0,e.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,e.jsx)(c,{variant:"default",children:"Default"}),(0,e.jsx)(c,{variant:"secondary",children:"Secondary"}),(0,e.jsx)(c,{variant:"outline",children:"Outline"}),(0,e.jsx)(c,{variant:"ghost",children:"Ghost"}),(0,e.jsx)(c,{variant:"destructive",children:"Destructive"}),(0,e.jsx)(c,{variant:"link",children:"Link"})]})}),(0,e.jsx)(r,{title:"Sizes",children:(0,e.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,e.jsx)(c,{size:"xs",children:"Extra Small"}),(0,e.jsx)(c,{size:"sm",children:"Small"}),(0,e.jsx)(c,{size:"default",children:"Default"}),(0,e.jsx)(c,{size:"lg",children:"Large"})]})}),(0,e.jsx)(r,{title:"Icon buttons",children:(0,e.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,e.jsx)(c,{variant:"ghost",size:"icon-xs",children:(0,e.jsx)(X,{})}),(0,e.jsx)(c,{variant:"ghost",size:"icon-sm",children:(0,e.jsx)(X,{})}),(0,e.jsx)(c,{variant:"outline",size:"icon",children:(0,e.jsx)(X,{})}),(0,e.jsx)(c,{variant:"outline",size:"icon-lg",children:(0,e.jsx)(X,{})})]})}),(0,e.jsx)(r,{title:"With icons",children:(0,e.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,e.jsxs)(c,{children:[(0,e.jsx)(me,{})," New Issue"]}),(0,e.jsxs)(c,{variant:"outline",children:[(0,e.jsx)(Ct,{})," Upload"]}),(0,e.jsxs)(c,{variant:"destructive",children:[(0,e.jsx)(Me,{})," Delete"]}),(0,e.jsxs)(c,{size:"sm",children:[(0,e.jsx)(me,{})," Add"]})]})}),(0,e.jsx)(r,{title:"States",children:(0,e.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,e.jsx)(c,{disabled:!0,children:"Disabled"}),(0,e.jsx)(c,{variant:"outline",disabled:!0,children:"Disabled Outline"})]})})]}),(0,e.jsx)(o,{title:"Badges",children:(0,e.jsx)(r,{title:"Variants",children:(0,e.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,e.jsx)(w,{variant:"default",children:"Default"}),(0,e.jsx)(w,{variant:"secondary",children:"Secondary"}),(0,e.jsx)(w,{variant:"outline",children:"Outline"}),(0,e.jsx)(w,{variant:"destructive",children:"Destructive"}),(0,e.jsx)(w,{variant:"ghost",children:"Ghost"})]})})}),(0,e.jsxs)(o,{title:"Status System",children:[(0,e.jsx)(r,{title:"StatusBadge (all statuses)",children:(0,e.jsx)("div",{className:"flex items-center gap-2 flex-wrap",children:["active","running","paused","idle","archived","planned","achieved","completed","failed","timed_out","succeeded","error","pending_approval","backlog","todo","in_progress","in_review","blocked","done","terminated","cancelled","pending","revision_requested","approved","rejected"].map(i=>(0,e.jsx)(Ce,{status:i},i))})}),(0,e.jsx)(r,{title:"IssueStatusBadge (brand chip + glyph — PAP-75)",children:(0,e.jsx)("div",{className:"flex items-center gap-2 flex-wrap",children:["backlog","todo","in_progress","in_review","done","blocked","cancelled"].map(i=>(0,e.jsx)(F,{status:i},i))})}),(0,e.jsxs)(r,{title:"Monitoring task",children:[(0,e.jsx)(R,{status:"in_progress",displayStatus:"monitoring",showLabel:!0}),(0,e.jsx)(F,{status:"in_progress",displayStatus:"monitoring"})]}),(0,e.jsxs)(r,{title:"Idle Slack conversation",children:[(0,e.jsx)(R,{status:"in_review",externalConversationState:"waiting",showLabel:!0}),(0,e.jsx)(F,{status:"in_review",externalConversationState:"waiting"})]}),(0,e.jsxs)(r,{title:"StatusIcon (interactive)",children:[(0,e.jsx)("div",{className:"flex items-center gap-3 flex-wrap",children:["backlog","todo","in_progress","in_review","done","cancelled","blocked"].map(i=>(0,e.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,e.jsx)(R,{status:i}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:i})]},i))}),(0,e.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,e.jsx)(R,{status:u,onChange:p}),(0,e.jsxs)("span",{className:"text-sm",children:["Click the icon to change status (current: ",u,")"]})]})]}),!1,(0,e.jsx)(r,{title:"Agent status dots",children:(0,e.jsx)("div",{className:"flex items-center gap-4 flex-wrap",children:["running","active","paused","error","archived"].map(i=>(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)("span",{className:"relative flex h-2.5 w-2.5",children:(0,e.jsx)("span",{className:`inline-flex h-full w-full rounded-full ${Ea[i]??"bg-neutral-400"}`})}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:i})]},i))})}),(0,e.jsx)(r,{title:"Run invocation badges",children:(0,e.jsx)("div",{className:"flex items-center gap-2 flex-wrap",children:[["timer","bg-blue-100 text-blue-700 dark:bg-blue-900/50 dark:text-blue-300"],["assignment","bg-violet-100 text-violet-700 dark:bg-violet-900/50 dark:text-violet-300"],["on_demand","bg-cyan-100 text-cyan-700 dark:bg-cyan-900/50 dark:text-cyan-300"],["automation","bg-muted text-muted-foreground"]].map(([i,g])=>(0,e.jsx)(w,{variant:"ghost",className:`px-1.5 text-(length:--text-nano) ${g}`,children:i},i))})}),(0,e.jsxs)(r,{title:"IssueReferencePill",children:[(0,e.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Used wherever a task is referenced — in markdown, the Related Work tab, and activity summaries. Pass ",(0,e.jsx)("code",{className:"font-mono",children:"status"})," to show the target issue's state at a glance. Use ",(0,e.jsx)("code",{className:"font-mono",children:'variant="property"'})," for compact badges with direct navigation. Pass ",(0,e.jsx)("code",{className:"font-mono",children:"onRemove"})," for a separate blocker removal control with reserved space. Use ",(0,e.jsx)("code",{className:"font-mono",children:"strikethrough"}),' for "removed" contexts.']}),(0,e.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,e.jsx)(J,{issue:{id:"demo-1",identifier:"PAP-123",title:"Identifier only — no status yet"}}),(0,e.jsx)(J,{issue:{id:"demo-2",identifier:"PAP-456",title:"With in_progress status",status:"in_progress"}}),(0,e.jsx)(J,{issue:{id:"demo-3",identifier:"PAP-789",title:"Done status",status:"done"}}),(0,e.jsx)(J,{issue:{id:"demo-4",identifier:"PAP-101",title:"Blocked status",status:"blocked"}}),(0,e.jsx)(J,{onRemove:s(()=>window.alert("Blocker removed"),"onRemove"),issue:{id:"demo-blocker",identifier:"PAP-303",title:"Hover or focus to remove blocker",status:"in_review"}}),(0,e.jsx)(J,{strikethrough:!0,issue:{id:"demo-5",identifier:"PAP-202",title:"Removed (strikethrough)",status:"todo"}})]})]}),(0,e.jsxs)(r,{title:"LockedIssueChip",children:[(0,e.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Existence-only reference to a private task shown from a surface the viewer can see (a blocker edge, a mention). Mono id + lock, dashed muted border,"," ",(0,e.jsx)("strong",{children:"no title, never a link"}),'. Falls back to "Private" when even the identifier is withheld.']}),(0,e.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,e.jsx)(dt,{identifier:"PAP-1234"}),(0,e.jsx)(dt,{identifier:null})]})]})]}),(0,e.jsxs)(o,{title:"Agent Capsule",children:[(0,e.jsxs)("p",{className:"text-sm text-muted-foreground max-w-prose",children:['The brand "capsule is the agent" motif. A single agent reads as a tall pill that moves through three states as it comes to life. The online fill uses the live brand agent-gradient tokens (',(0,e.jsx)("code",{className:"font-mono",children:"--agent-Na"})," →"," ",(0,e.jsx)("code",{className:"font-mono",children:"--agent-Nb"}),"); ",(0,e.jsx)("code",{className:"font-mono",children:"prefers-reduced-motion"})," ","skips the liquid rise and pulses and renders the final state."]}),(0,e.jsx)(r,{title:"States",children:(0,e.jsxs)("div",{className:"flex items-end gap-10",children:[(0,e.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,e.jsx)(D,{state:"slot"}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"slot"})]}),(0,e.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,e.jsx)(D,{state:"configured"}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"configured"})]}),(0,e.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,e.jsx)(D,{state:"online",gradient:5}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"online"})]}),(0,e.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,e.jsx)(D,{state:"online",gradient:5,glow:"blue"}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"online · blue glow"})]})]})}),(0,e.jsx)(r,{title:"Sizes",children:(0,e.jsxs)("div",{className:"flex items-end gap-8",children:[(0,e.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,e.jsx)(D,{state:"online",size:"sm",gradient:1}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"sm"})]}),(0,e.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,e.jsx)(D,{state:"online",size:"md",gradient:4}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"md"})]}),(0,e.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,e.jsx)(D,{state:"online",size:"lg",gradient:8}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"lg"})]}),(0,e.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,e.jsx)(D,{state:"online",size:{width:28,height:96},gradient:6}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"custom px"})]})]})}),(0,e.jsx)(r,{title:"Gradients",children:(0,e.jsx)("div",{className:"flex items-end gap-3 flex-wrap",children:Array.from({length:10},(i,g)=>(0,e.jsxs)("div",{className:"flex flex-col items-center gap-1.5",children:[(0,e.jsx)(D,{state:"online",size:"sm",gradient:g+1}),(0,e.jsx)("span",{className:"text-(length:--text-nano) font-mono text-muted-foreground",children:g+1})]},g))})})]}),(0,e.jsx)(o,{title:"Form Elements",children:(0,e.jsxs)("div",{className:"grid gap-6 md:grid-cols-2",children:[(0,e.jsxs)(r,{title:"Input",children:[(0,e.jsx)(Q,{placeholder:"Default input"}),(0,e.jsx)(Q,{placeholder:"Disabled input",disabled:!0,className:"mt-2"})]}),(0,e.jsx)(r,{title:"Textarea",children:(0,e.jsx)(ce,{placeholder:"Write something..."})}),(0,e.jsx)(r,{title:"Checkbox & Label",children:(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(De,{id:"check1",defaultChecked:!0}),(0,e.jsx)(L,{htmlFor:"check1",children:"Checked item"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(De,{id:"check2"}),(0,e.jsx)(L,{htmlFor:"check2",children:"Unchecked item"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(De,{id:"check3",disabled:!0}),(0,e.jsx)(L,{htmlFor:"check3",children:"Disabled item"})]})]})}),(0,e.jsx)(r,{title:"Inline Editor",children:(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:"Title (single-line)"}),(0,e.jsx)(Ae,{value:Z,onSave:$,as:"h2",className:"text-xl font-bold"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:"Body text (single-line)"}),(0,e.jsx)(Ae,{value:K,onSave:z,as:"p",className:"text-sm"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-xs text-muted-foreground mb-1",children:"Description (multiline, auto-sizing)"}),(0,e.jsx)(Ae,{value:P,onSave:h,as:"p",className:"text-sm text-muted-foreground",placeholder:"Add a description...",multiline:!0})]})]})})]})}),(0,e.jsxs)(o,{title:"Select",children:[(0,e.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Native single-value dropdowns share an inset, theme-aware caret and reserve room for it in the base stylesheet. Multiple-selection lists and controls with a custom icon keep their own appearance."}),(0,e.jsxs)("div",{className:"grid gap-6 md:grid-cols-2",children:[(0,e.jsxs)(r,{title:"Default size",children:[(0,e.jsxs)(mt,{value:I,onValueChange:j,children:[(0,e.jsx)(pt,{className:"w-full",children:(0,e.jsx)(xt,{placeholder:"Select status"})}),(0,e.jsxs)(kt,{children:[(0,e.jsx)(_,{value:"backlog",children:"Backlog"}),(0,e.jsx)(_,{value:"todo",children:"Todo"}),(0,e.jsx)(_,{value:"in_progress",children:"In Progress"}),(0,e.jsx)(_,{value:"in_review",children:"In Review"}),(0,e.jsx)(_,{value:"done",children:"Done"})]})]}),(0,e.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Current value: ",I]})]}),(0,e.jsx)(r,{title:"Small trigger",children:(0,e.jsxs)(mt,{defaultValue:"high",children:[(0,e.jsx)(pt,{size:"sm",className:"w-full",children:(0,e.jsx)(xt,{})}),(0,e.jsxs)(kt,{children:[(0,e.jsx)(_,{value:"critical",children:"Critical"}),(0,e.jsx)(_,{value:"high",children:"High"}),(0,e.jsx)(_,{value:"medium",children:"Medium"}),(0,e.jsx)(_,{value:"low",children:"Low"})]})]})})]})]}),(0,e.jsx)(o,{title:"Dropdown Menu",children:(0,e.jsxs)(Oa,{children:[(0,e.jsx)(Ls,{asChild:!0,children:(0,e.jsxs)(c,{variant:"outline",size:"sm",children:["Quick Actions",(0,e.jsx)(Xt,{className:"h-4 w-4"})]})}),(0,e.jsxs)(ka,{align:"start",className:"w-56",children:[(0,e.jsxs)(Ee,{children:[(0,e.jsx)(Gs,{className:"h-4 w-4"}),"Mark as done",(0,e.jsx)(Ys,{children:"⌘D"})]}),(0,e.jsxs)(Ee,{children:[(0,e.jsx)(Ka,{className:"h-4 w-4"}),"Open docs"]}),(0,e.jsx)(Wa,{}),(0,e.jsx)(_a,{checked:C,onCheckedChange:s(i=>B(i===!0),"onCheckedChange"),children:"Watch issue"}),(0,e.jsxs)(Ee,{variant:"destructive",children:[(0,e.jsx)(Me,{className:"h-4 w-4"}),"Delete issue"]})]})]})}),(0,e.jsx)(o,{title:"Popover",children:(0,e.jsxs)(Ds,{children:[(0,e.jsx)(Os,{asChild:!0,children:(0,e.jsx)(c,{variant:"outline",size:"sm",children:"Open Popover"})}),(0,e.jsxs)(ta,{className:"space-y-2",children:[(0,e.jsx)("p",{className:"text-sm font-medium",children:"Agent heartbeat"}),(0,e.jsx)("p",{className:"text-xs text-muted-foreground",children:"Last run succeeded 24s ago. Next timer run in 9m."}),(0,e.jsx)(c,{size:"xs",children:"Wake now"})]})]})}),(0,e.jsx)(o,{title:"Collapsible",children:(0,e.jsxs)($a,{open:N,onOpenChange:A,className:"space-y-2",children:[(0,e.jsx)(aa,{asChild:!0,children:(0,e.jsxs)(c,{variant:"outline",size:"sm",children:[N?"Hide":"Show"," advanced filters"]})}),(0,e.jsx)(Ps,{className:"rounded-md border border-border p-3",children:(0,e.jsxs)("div",{className:"space-y-2",children:[(0,e.jsx)(L,{htmlFor:"owner-filter",children:"Owner"}),(0,e.jsx)(Q,{id:"owner-filter",placeholder:"Filter by agent name"})]})})]})}),(0,e.jsx)(o,{title:"Sheet",children:(0,e.jsxs)(ma,{children:[(0,e.jsx)(Za,{asChild:!0,children:(0,e.jsx)(c,{variant:"outline",size:"sm",children:"Open Side Panel"})}),(0,e.jsxs)(La,{side:"right",children:[(0,e.jsxs)(va,{children:[(0,e.jsx)(la,{children:"Issue Properties"}),(0,e.jsx)(Pa,{children:"Edit metadata without leaving the current page."})]}),(0,e.jsxs)("div",{className:"space-y-4 px-4",children:[(0,e.jsxs)("div",{className:"space-y-1",children:[(0,e.jsx)(L,{htmlFor:"sheet-title",children:"Title"}),(0,e.jsx)(Q,{id:"sheet-title",defaultValue:"Improve onboarding docs"})]}),(0,e.jsxs)("div",{className:"space-y-1",children:[(0,e.jsx)(L,{htmlFor:"sheet-description",children:"Description"}),(0,e.jsx)(ce,{id:"sheet-description",defaultValue:"Capture setup pitfalls and screenshots."})]})]}),(0,e.jsxs)(ya,{children:[(0,e.jsx)(c,{variant:"outline",children:"Cancel"}),(0,e.jsx)(c,{children:"Save"})]})]})]})}),(0,e.jsx)(o,{title:"Scroll Area",children:(0,e.jsx)(ha,{className:"h-36 rounded-md border border-border",children:(0,e.jsx)("div",{className:"space-y-2 p-3",children:Array.from({length:12}).map((i,g)=>(0,e.jsxs)("div",{className:"rounded-md border border-border p-2 text-sm",children:["Heartbeat run #",g+1,": completed successfully"]},g))})})}),(0,e.jsx)(o,{title:"Command (CMDK)",children:(0,e.jsx)("div",{className:"rounded-md border border-border",children:(0,e.jsxs)(Ha,{children:[(0,e.jsx)(Qs,{placeholder:"Type a command or search..."}),(0,e.jsxs)(Va,{children:[(0,e.jsx)(ca,{children:"No results found."}),(0,e.jsxs)(Et,{heading:"Pages",children:[(0,e.jsxs)(de,{children:[(0,e.jsx)(Fe,{className:"h-4 w-4"}),"Dashboard"]}),(0,e.jsxs)(de,{children:[(0,e.jsx)(le,{className:"h-4 w-4"}),"Issues"]})]}),(0,e.jsx)(Xs,{}),(0,e.jsxs)(Et,{heading:"Actions",children:[(0,e.jsxs)(de,{children:[(0,e.jsx)(hn,{className:"h-4 w-4"}),"Open command palette"]}),(0,e.jsxs)(de,{children:[(0,e.jsx)(me,{className:"h-4 w-4"}),"Create new issue"]})]})]})]})})}),(0,e.jsx)(o,{title:"Breadcrumb",children:(0,e.jsx)(Ra,{children:(0,e.jsxs)(da,{children:[(0,e.jsx)(ze,{children:(0,e.jsx)(bt,{href:"#",children:"Projects"})}),(0,e.jsx)(Rt,{}),(0,e.jsx)(ze,{children:(0,e.jsx)(bt,{href:"#",children:"Microvac App"})}),(0,e.jsx)(Rt,{}),(0,e.jsx)(ze,{children:(0,e.jsx)(Ba,{children:"Issue List"})})]})})}),(0,e.jsxs)(o,{title:"Cards",children:[(0,e.jsxs)(r,{title:"Dashboard agent runs",children:[(0,e.jsx)("div",{className:"grid gap-4 md:grid-cols-2 xl:grid-cols-3",children:["running","queued","succeeded","failed","timed_out","cancelled","interrupted"].map(i=>(0,e.jsx)(sn,{companyId:"design-guide",run:{id:`design-guide-${i}`,agentId:"design-guide-agent",agentName:"CodexCoder",status:i,adapterType:"codex_local",invocationSource:"on_demand",triggerDetail:"manual",startedAt:null,finishedAt:null,createdAt:"2026-09-11T12:00:00Z",issueId:"design-guide-task"},issue:{identifier:"PAP-559",title:"Recreate this wireframe on pages Microvac",status:i==="succeeded"?"done":"in_progress"}},i))}),(0,e.jsx)("p",{className:"text-xs text-muted-foreground",children:"The dashboard and Live runs page use the same compact cards. In-progress task icons animate across the app, including between runs, to represent task workflow status. Live indicators report active execution. Open a run to view its status and transcript."})]}),(0,e.jsx)(r,{title:"Standard Card",children:(0,e.jsxs)(Ke,{children:[(0,e.jsxs)(Na,{children:[(0,e.jsx)(Ws,{children:"Card Title"}),(0,e.jsx)(Sa,{children:"Card description with supporting text."})]}),(0,e.jsx)(Jt,{children:(0,e.jsx)("p",{className:"text-sm",children:"Card content goes here. This is the main body area."})}),(0,e.jsxs)(Cs,{className:"gap-2",children:[(0,e.jsx)(c,{size:"sm",children:"Action"}),(0,e.jsx)(c,{variant:"outline",size:"sm",children:"Cancel"})]})]})}),(0,e.jsx)(r,{title:"Metric Cards",children:(0,e.jsxs)("div",{className:"grid md:grid-cols-2 xl:grid-cols-4 gap-4",children:[(0,e.jsx)(ge,{icon:Re,value:12,label:"Active Agents",description:"+3 this week"}),(0,e.jsx)(ge,{icon:le,value:48,label:"Open Issues"}),(0,e.jsx)(ge,{icon:jt,value:"$1,234",label:"Monthly Cost",description:"Under budget"}),(0,e.jsx)(ge,{icon:Pt,value:"99.9%",label:"Uptime"})]})})]}),(0,e.jsxs)(o,{title:"Tabs",children:[(0,e.jsx)(r,{title:"Default (pill) variant",children:(0,e.jsxs)(wt,{defaultValue:"overview",children:[(0,e.jsxs)(yt,{children:[(0,e.jsx)(W,{value:"overview",children:"Overview"}),(0,e.jsx)(W,{value:"runs",children:"Runs"}),(0,e.jsx)(W,{value:"config",children:"Config"}),(0,e.jsx)(W,{value:"costs",children:"Costs"})]}),(0,e.jsx)(V,{value:"overview",children:(0,e.jsx)("p",{className:"text-sm text-muted-foreground py-4",children:"Overview tab content."})}),(0,e.jsx)(V,{value:"runs",children:(0,e.jsx)("p",{className:"text-sm text-muted-foreground py-4",children:"Runs tab content."})}),(0,e.jsx)(V,{value:"config",children:(0,e.jsx)("p",{className:"text-sm text-muted-foreground py-4",children:"Config tab content."})}),(0,e.jsx)(V,{value:"costs",children:(0,e.jsx)("p",{className:"text-sm text-muted-foreground py-4",children:"Costs tab content."})})]})}),(0,e.jsx)(r,{title:"Line variant",children:(0,e.jsxs)(wt,{defaultValue:"summary",children:[(0,e.jsxs)(yt,{variant:"line",children:[(0,e.jsx)(W,{value:"summary",children:"Summary"}),(0,e.jsx)(W,{value:"details",children:"Details"}),(0,e.jsx)(W,{value:"comments",children:"Comments"})]}),(0,e.jsx)(V,{value:"summary",children:(0,e.jsx)("p",{className:"text-sm text-muted-foreground py-4",children:"Summary content with underline tabs."})}),(0,e.jsx)(V,{value:"details",children:(0,e.jsx)("p",{className:"text-sm text-muted-foreground py-4",children:"Details content."})}),(0,e.jsx)(V,{value:"comments",children:(0,e.jsx)("p",{className:"text-sm text-muted-foreground py-4",children:"Comments content."})})]})})]}),(0,e.jsxs)(o,{title:"Entity Rows",children:[(0,e.jsxs)("div",{className:"border border-border rounded-md",children:[(0,e.jsx)(T,{leading:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(R,{status:"in_progress"}),!1]}),identifier:"PAP-001",title:"Implement authentication flow",subtitle:"Responsible: Agent Alpha",trailing:(0,e.jsx)(F,{status:"in_progress"}),onClick:s(()=>{},"onClick")}),(0,e.jsx)(T,{leading:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(R,{status:"done"}),!1]}),identifier:"PAP-002",title:"Set up CI/CD pipeline",subtitle:"Completed 2 days ago",trailing:(0,e.jsx)(F,{status:"done"}),onClick:s(()=>{},"onClick")}),(0,e.jsx)(T,{leading:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(R,{status:"todo"}),!1]}),identifier:"PAP-003",title:"Write API documentation",trailing:(0,e.jsx)(F,{status:"todo"}),onClick:s(()=>{},"onClick")}),(0,e.jsx)(T,{leading:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(R,{status:"blocked"}),!1]}),identifier:"PAP-004",title:"Deploy to production",subtitle:"Blocked by PAP-001",trailing:(0,e.jsx)(F,{status:"blocked"}),selected:!0})]}),(0,e.jsx)(r,{title:"Membership action",children:(0,e.jsxs)("div",{className:"border border-border rounded-md",children:[(0,e.jsx)(T,{title:"Joined resource",subtitle:"Hover or focus the row to reveal the reserved action slot.",className:"group",trailing:(0,e.jsx)(he,{state:"joined",resourceName:"Joined resource",onJoin:s(()=>{},"onJoin"),onLeave:s(()=>{},"onLeave")})}),(0,e.jsx)(T,{title:"Left resource",subtitle:"Persistent action with dimmed row content.",className:"group text-foreground/55",trailing:(0,e.jsx)(he,{state:"left",resourceName:"Left resource",onJoin:s(()=>{},"onJoin"),onLeave:s(()=>{},"onLeave")})}),(0,e.jsx)(T,{title:"Leaving resource",subtitle:"Disabled while the optimistic mutation is pending.",className:"group text-foreground/55",trailing:(0,e.jsx)(he,{state:"left",pending:!0,pendingState:"left",resourceName:"Leaving resource",onJoin:s(()=>{},"onJoin"),onLeave:s(()=>{},"onLeave")})}),(0,e.jsx)(T,{title:"Joining resource",subtitle:"The target state is visible immediately while the server confirms.",className:"group",trailing:(0,e.jsx)(he,{state:"joined",pending:!0,pendingState:"joined",resourceName:"Joining resource",onJoin:s(()=>{},"onJoin"),onLeave:s(()=>{},"onLeave")})})]})})]}),(0,e.jsxs)(o,{title:"Filter Bar",children:[(0,e.jsx)(xn,{filters:S,onRemove:s(i=>E(g=>g.filter(Ie=>Ie.key!==i)),"onRemove"),onClear:s(()=>E([]),"onClear")}),S.length===0&&(0,e.jsx)(c,{variant:"outline",size:"sm",onClick:s(()=>E([{key:"status",label:"Status",value:"Active"}]),"onClick"),children:"Reset filters"})]}),(0,e.jsxs)(o,{title:"Avatars",children:[(0,e.jsx)(r,{title:"Sizes",children:(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)(O,{size:"sm",children:(0,e.jsx)(M,{children:"SM"})}),(0,e.jsx)(O,{children:(0,e.jsx)(M,{children:"DF"})}),(0,e.jsx)(O,{size:"lg",children:(0,e.jsx)(M,{children:"LG"})})]})}),(0,e.jsx)(r,{title:"Group",children:(0,e.jsxs)(Zs,{children:[(0,e.jsx)(O,{children:(0,e.jsx)(M,{children:"A1"})}),(0,e.jsx)(O,{children:(0,e.jsx)(M,{children:"A2"})}),(0,e.jsx)(O,{children:(0,e.jsx)(M,{children:"A3"})}),(0,e.jsx)(Vs,{children:"+5"})]})})]}),(0,e.jsx)(o,{title:"App logos",children:(0,e.jsx)(r,{title:"Official marks and runtime fallback",children:(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)(be,{name:"Notion",logoUrl:"/brands/apps/notion.svg",darkLogoUrl:"/brands/apps/notion-dark.svg",size:36}),(0,e.jsx)(be,{name:"Jira",logoUrl:"/brands/apps/jira.svg",darkLogoUrl:"/brands/apps/jira-dark.svg",size:44}),(0,e.jsx)(be,{name:"Fallback",logoUrl:"/brands/apps/does-not-exist.svg",size:36})]})})}),(0,e.jsxs)(o,{title:"Agent personas",children:[(0,e.jsx)(r,{title:"Stable palette identities",children:(0,e.jsx)("div",{className:"flex flex-wrap gap-3",children:sa.map(i=>(0,e.jsx)(Ia,{appearance:Fs(i),size:48,label:i},i))})}),(0,e.jsxs)(r,{title:"Onboarding and live character",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Place one live character beside the agent name. Onboarding uses a larger padded frame. Onboarding and agent headers follow the pointer across the page; other placements track within their region. Full-page examples are in Storybook under Agents / Personas / Full pages."}),(0,e.jsxs)("div",{className:"flex gap-4",children:[(0,e.jsx)(ft,{muted:!0,state:"sleepy",motion:"still",size:128}),(0,e.jsx)(ft,{size:128})]})]})]}),(0,e.jsxs)(o,{title:"Human identity",children:[(0,e.jsx)(r,{title:"Sizes",children:(0,e.jsxs)("div",{className:"flex items-center gap-6",children:[(0,e.jsx)(G,{name:"Alex Morgan",size:"sm"}),(0,e.jsx)(G,{name:"Alex Morgan"}),(0,e.jsx)(G,{name:"Alex Morgan",size:"lg"})]})}),(0,e.jsx)(r,{title:"Initials derivation",children:(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)(G,{name:"Casey Jordan",size:"sm"}),(0,e.jsx)(G,{name:"Alpha",size:"sm"}),(0,e.jsx)(G,{name:"Quinn Lee",size:"sm"})]})}),(0,e.jsx)(r,{title:"Custom initials",children:(0,e.jsx)(G,{name:"Backend Service",initials:"BS",size:"sm"})})]}),(0,e.jsx)(o,{title:"Tooltips",children:(0,e.jsxs)("div",{className:"flex items-center gap-4",children:[(0,e.jsxs)(ee,{children:[(0,e.jsx)(te,{asChild:!0,children:(0,e.jsx)(c,{variant:"outline",size:"sm",children:"Hover me"})}),(0,e.jsx)(se,{children:"This is a tooltip"})]}),(0,e.jsxs)(ee,{children:[(0,e.jsx)(te,{asChild:!0,children:(0,e.jsx)(c,{variant:"ghost",size:"icon-sm",children:(0,e.jsx)(ut,{})})}),(0,e.jsx)(se,{children:"Settings"})]})]})}),(0,e.jsx)(o,{title:"Dialog",children:(0,e.jsxs)(Dt,{children:[(0,e.jsx)(vt,{asChild:!0,children:(0,e.jsx)(c,{variant:"outline",children:"Open Dialog"})}),(0,e.jsxs)(Ta,{children:[(0,e.jsxs)(fa,{children:[(0,e.jsx)(It,{children:"Dialog Title"}),(0,e.jsx)(Ut,{children:"This is a sample dialog showing the standard layout with header, content, and footer."})]}),(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)(L,{children:"Name"}),(0,e.jsx)(Q,{placeholder:"Enter a name",className:"mt-1.5"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)(L,{children:"Description"}),(0,e.jsx)(ce,{placeholder:"Describe...",className:"mt-1.5"})]})]}),(0,e.jsxs)(xa,{children:[(0,e.jsx)(c,{variant:"outline",children:"Cancel"}),(0,e.jsx)(c,{children:"Save"})]})]})]})}),(0,e.jsx)(o,{title:"Empty State",children:(0,e.jsx)("div",{className:"border border-border rounded-md",children:(0,e.jsx)(St,{icon:Pe,message:"No items to show. Create your first one to get started.",action:"Create Item",onAction:s(()=>{},"onAction")})})}),(0,e.jsx)(o,{title:"Progress Bars (Budget)",children:(0,e.jsx)("div",{className:"space-y-3",children:[{label:"Under budget (40%)",pct:40,color:"bg-green-400"},{label:"Warning (75%)",pct:75,color:"bg-yellow-400"},{label:"Over budget (95%)",pct:95,color:"bg-red-400"}].map(({label:i,pct:g,color:Ie})=>(0,e.jsxs)("div",{className:"space-y-1",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:i}),(0,e.jsxs)("span",{className:"text-xs font-mono",children:[g,"%"]})]}),(0,e.jsx)("div",{className:"w-full h-2 bg-muted rounded-full overflow-hidden",children:(0,e.jsx)("div",{className:`h-full rounded-full transition-(--tp-width-background-color) duration-150 ${Ie}`,style:{width:`${g}%`}})})]},i))})}),(0,e.jsx)(o,{title:"Log Viewer",children:(0,e.jsxs)("div",{className:"bg-neutral-950 rounded-lg p-3 font-mono text-xs max-h-80 overflow-y-auto",children:[(0,e.jsx)("div",{className:"text-foreground",children:"[12:00:01] INFO Agent started successfully"}),(0,e.jsx)("div",{className:"text-foreground",children:"[12:00:02] INFO Processing task PAP-001"}),(0,e.jsx)("div",{className:"text-yellow-400",children:"[12:00:05] WARN Rate limit approaching (80%)"}),(0,e.jsx)("div",{className:"text-foreground",children:"[12:00:08] INFO Task PAP-001 completed"}),(0,e.jsx)("div",{className:"text-red-400",children:"[12:00:12] ERROR Connection timeout to upstream service"}),(0,e.jsx)("div",{className:"text-blue-300",children:"[12:00:12] SYS Retrying connection in 5s..."}),(0,e.jsx)("div",{className:"text-foreground",children:"[12:00:17] INFO Reconnected successfully"}),(0,e.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,e.jsxs)("span",{className:"relative flex h-1.5 w-1.5",children:[(0,e.jsx)("span",{className:"absolute inline-flex h-full w-full rounded-full bg-blue-400 animate-pulse"}),(0,e.jsx)("span",{className:"inline-flex h-full w-full rounded-full bg-blue-500"})]}),(0,e.jsx)("span",{className:"text-blue-600 dark:text-blue-400",children:"Live"})]})]})}),(0,e.jsx)(o,{title:"Property Row Pattern",children:(0,e.jsxs)("div",{className:"border border-border rounded-md p-4 space-y-1 max-w-sm",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between py-1.5",children:[(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"Status"}),(0,e.jsx)(Ce,{status:"active"})]}),!1,(0,e.jsxs)("div",{className:"flex items-center justify-between py-1.5",children:[(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"Responsible"}),(0,e.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,e.jsx)(O,{size:"sm",children:(0,e.jsx)(M,{children:"A"})}),(0,e.jsx)("span",{className:"text-xs",children:"Agent Alpha"})]})]}),(0,e.jsxs)("div",{className:"flex items-center justify-between py-1.5",children:[(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"Created"}),(0,e.jsx)("span",{className:"text-xs",children:"Jan 15, 2025"})]})]})}),(0,e.jsxs)(o,{title:"Navigation Patterns",children:[(0,e.jsxs)(r,{title:"Independent MCP connections",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Zapier, Arcade, Composio and Executor each own a connection. Their controlled setup views share Access → Connect. Tool discovery completes setup. Saved connections reuse the standard Permissions action list and per-action Test dialog. Storybook’s Apps / Connections groups use in-memory provider fixtures."}),(0,e.jsx)(fn,{})]}),(0,e.jsxs)(r,{title:"Setup wizard",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Shared by connection setup and trigger previews. Setup navigation takes over the section sidebar; each step owns a single footer."}),(0,e.jsxs)("div",{className:"max-w-sm space-y-6",children:[(0,e.jsx)(qs,{inline:!0,labels:["Choose trigger","Configure","Review"],step:n,availableStep:2,onSelect:l}),(0,e.jsx)(na,{onSaveExit:s(()=>l(0),"onSaveExit"),children:(0,e.jsx)(c,{onClick:s(()=>l((n+1)%3),"onClick"),children:"Continue"})})]})]}),(0,e.jsxs)(r,{title:"Agent chat picker",children:[(0,e.jsx)(or,{}),(0,e.jsx)(r,{title:"Agent conversation sidebar",children:(0,e.jsxs)("div",{className:"flex flex-wrap gap-4",children:[(0,e.jsx)("div",{className:"h-96 w-60",children:(0,e.jsx)(Le,{agents:[],onSelect:s(()=>{},"onSelect"),onBrowse:s(()=>{},"onBrowse")})}),(0,e.jsx)("div",{className:"h-96 w-60",children:(0,e.jsx)(Le,{agents:[],loading:!0})}),(0,e.jsx)("div",{className:"h-96 w-60",children:(0,e.jsx)(Le,{agents:[],error:new Error("Unavailable"),onRetry:s(()=>{},"onRetry")})})]})})]}),(0,e.jsxs)(r,{title:"Sidebar nav items",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Layout accepts sidebarSections to compose additional SidebarSection groups inside the shared sidebar. Use SidebarNavItem for each row, with sibling action buttons for starring or menus. The Chats section shows starred agents, the earliest-created agent when unstarred, then four recent agents without duplicates. Compose and star controls share a vertical column. Compose appears on hover or keyboard focus and remains visible on touch; starred icons remain visible. The picker searches all company agents by name or role without a subtitle, count, continuation labels, or footer. Task breadcrumbs support leading identity and trailing actions beside the label, including single-item task headers; see the Agent chat Storybook."}),(0,e.jsxs)(Ke,{className:"block w-60 p-3 space-y-0.5",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-md text-sm font-medium bg-accent text-accent-foreground",children:[(0,e.jsx)(Fe,{className:"h-4 w-4"}),"Dashboard"]}),(0,e.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-md text-sm font-medium text-muted-foreground hover:bg-accent/50 hover:text-accent-foreground cursor-pointer",children:[(0,e.jsx)(le,{className:"h-4 w-4"}),"Issues",(0,e.jsx)(w,{variant:"ghost",className:"ml-auto bg-primary text-primary-foreground px-1.5",children:"12"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-md text-sm font-medium text-muted-foreground hover:bg-accent/50 hover:text-accent-foreground cursor-pointer",children:[(0,e.jsx)(Re,{className:"h-4 w-4"}),"Agents"]}),(0,e.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-md text-sm font-medium text-muted-foreground hover:bg-accent/50 hover:text-accent-foreground cursor-pointer",children:[(0,e.jsx)(ct,{className:"h-4 w-4"}),"Projects"]})]})]}),(0,e.jsx)(r,{title:"View toggle",children:(0,e.jsxs)("div",{className:"flex items-center border border-border rounded-md w-fit",children:[(0,e.jsxs)("button",{className:"px-3 py-1.5 text-xs font-medium bg-accent text-foreground rounded-l-md",children:[(0,e.jsx)(Ot,{className:"h-3.5 w-3.5 inline mr-1"}),"List"]}),(0,e.jsxs)("button",{className:"px-3 py-1.5 text-xs font-medium text-muted-foreground hover:bg-accent/50 rounded-r-md",children:[(0,e.jsx)(Bt,{className:"h-3.5 w-3.5 inline mr-1"}),"Org"]})]})})]}),(0,e.jsx)(o,{title:"Grouped List (Issues pattern)",children:(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 px-4 py-2 bg-muted/50 rounded-t-md",children:[(0,e.jsx)(R,{status:"in_progress"}),(0,e.jsx)("span",{className:"text-sm font-medium",children:"In Progress"}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground ml-1",children:"2"})]}),(0,e.jsxs)("div",{className:"border border-border rounded-b-md",children:[(0,e.jsx)(T,{leading:void 0,identifier:"PAP-101",title:"Build agent heartbeat system",onClick:s(()=>{},"onClick")}),(0,e.jsx)(T,{leading:void 0,identifier:"PAP-102",title:"Add cost tracking dashboard",onClick:s(()=>{},"onClick")})]})]})}),(0,e.jsx)(o,{title:"Comment Thread Pattern",children:(0,e.jsxs)("div",{className:"space-y-3 max-w-2xl",children:[(0,e.jsx)("h3",{className:"text-sm font-semibold",children:"Comments (2)"}),(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsxs)("div",{className:"rounded-md border border-border p-3",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,e.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:"Agent"}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"Jan 15, 2025"})]}),(0,e.jsx)("p",{className:"text-sm",children:"Started working on the authentication module. Will need API keys configured."})]}),(0,e.jsxs)("div",{className:"rounded-md border border-border p-3",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,e.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:"Human"}),(0,e.jsx)("span",{className:"text-xs text-muted-foreground",children:"Jan 16, 2025"})]}),(0,e.jsx)("p",{className:"text-sm",children:"API keys have been added to the vault. Please proceed."})]})]}),(0,e.jsxs)("div",{className:"space-y-2",children:[(0,e.jsx)(ce,{placeholder:"Leave a comment...",rows:3}),(0,e.jsx)(c,{size:"sm",children:"Comment"})]})]})}),(0,e.jsx)(o,{title:"Cost Table Pattern",children:(0,e.jsx)("div",{className:"border border-border rounded-lg overflow-hidden",children:(0,e.jsxs)("table",{className:"w-full text-xs",children:[(0,e.jsx)("thead",{className:"border-b border-border bg-accent/20",children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{className:"text-left px-3 py-2 font-medium text-muted-foreground",children:"Model"}),(0,e.jsx)("th",{className:"text-left px-3 py-2 font-medium text-muted-foreground",children:"Tokens"}),(0,e.jsx)("th",{className:"text-left px-3 py-2 font-medium text-muted-foreground",children:"Cost"})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{className:"border-b border-border",children:[(0,e.jsx)("td",{className:"px-3 py-2",children:"claude-sonnet-4-20250514"}),(0,e.jsx)("td",{className:"px-3 py-2 font-mono",children:"1.2M"}),(0,e.jsx)("td",{className:"px-3 py-2 font-mono",children:"$18.00"})]}),(0,e.jsxs)("tr",{className:"border-b border-border",children:[(0,e.jsx)("td",{className:"px-3 py-2",children:"claude-haiku-4-20250506"}),(0,e.jsx)("td",{className:"px-3 py-2 font-mono",children:"500k"}),(0,e.jsx)("td",{className:"px-3 py-2 font-mono",children:"$1.25"})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{className:"px-3 py-2 font-medium",children:"Total"}),(0,e.jsx)("td",{className:"px-3 py-2 font-mono",children:"1.7M"}),(0,e.jsx)("td",{className:"px-3 py-2 font-mono font-medium",children:"$19.25"})]})]})]})})}),(0,e.jsxs)(o,{title:"Skeletons",children:[(0,e.jsx)(r,{title:"Individual",children:(0,e.jsxs)("div",{className:"space-y-2",children:[(0,e.jsx)(ye,{className:"h-4 w-48"}),(0,e.jsx)(ye,{className:"h-8 w-full max-w-sm"}),(0,e.jsx)(ye,{className:"h-20 w-full"})]})}),(0,e.jsx)(r,{title:"Page Skeleton (list)",children:(0,e.jsx)("div",{className:"border border-border rounded-md p-4",children:(0,e.jsx)(Tt,{variant:"list"})})}),(0,e.jsx)(r,{title:"Page Skeleton (detail)",children:(0,e.jsx)("div",{className:"border border-border rounded-md p-4",children:(0,e.jsx)(Tt,{variant:"detail"})})}),(0,e.jsx)(r,{title:"Task conversation loading",children:(0,e.jsxs)("div",{className:"grid gap-6 md:grid-cols-2",children:[(0,e.jsx)("div",{className:"relative h-96 overflow-hidden rounded-md border border-border",children:(0,e.jsx)(ot,{mobile:!1,streamlined:!0,coordinator:!1})}),(0,e.jsx)("div",{className:"coordinator-workspace relative h-96 overflow-hidden rounded-md border border-border",children:(0,e.jsx)(ot,{mobile:!0,streamlined:!0,coordinator:!0})})]})})]}),(0,e.jsx)(o,{title:"Separator",children:(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Horizontal"}),(0,e.jsx)(We,{}),(0,e.jsxs)("div",{className:"flex items-center gap-4 h-8",children:[(0,e.jsx)("span",{className:"text-sm",children:"Left"}),(0,e.jsx)(We,{orientation:"vertical"}),(0,e.jsx)("span",{className:"text-sm",children:"Right"})]})]})}),(0,e.jsxs)(o,{title:"Team Catalog",children:[(0,e.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Components from the Team Catalog browse/install surface (",(0,e.jsx)("code",{className:"font-mono text-xs",children:"/teams-catalog"}),"). Fixtures are shared with the Storybook stories."]}),(0,e.jsxs)(r,{title:"TeamRow (browse list)",children:[(0,e.jsxs)("div",{className:"w-(--sz-28rem) rounded-md border border-border",children:[(0,e.jsx)("div",{className:"px-3 py-2 text-(length:--text-micro) font-semibold uppercase tracking-wide text-muted-foreground",children:"Bundled · 1"}),(0,e.jsx)(ve,{team:k,selected:!0,onSelect:s(()=>{},"onSelect")}),(0,e.jsx)("div",{className:"px-3 py-2 text-(length:--text-micro) font-semibold uppercase tracking-wide text-muted-foreground",children:"Optional · 2"}),(0,e.jsx)(ve,{team:Yn,selected:!1,onSelect:s(()=>{},"onSelect")}),(0,e.jsx)("div",{className:"px-3 py-2 text-(length:--text-micro) font-semibold uppercase tracking-wide text-muted-foreground",children:"Installed · 2"}),(0,e.jsx)(ve,{team:k,selected:!1,onSelect:s(()=>{},"onSelect"),installed:ds}),(0,e.jsx)(ve,{team:Gt,selected:!1,onSelect:s(()=>{},"onSelect"),installed:Xn})]}),(0,e.jsxs)("p",{className:"mt-2 text-xs text-muted-foreground",children:["Installed teams collapse under ",(0,e.jsx)("code",{className:"font-mono",children:"INSTALLED · N"}),"; an out-of-date install (server ",(0,e.jsx)("code",{className:"font-mono",children:"originHash"})," ≠ catalog ",(0,e.jsx)("code",{className:"font-mono",children:"contentHash"}),") shows the amber ",(0,e.jsx)("code",{className:"font-mono",children:"↑"})," badge (PAP-10256)."]})]}),(0,e.jsxs)(r,{title:"TeamCard (onboarding grid)",children:[(0,e.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Square tile for the onboarding “Pick a starter team” grid. Selected tile gets"," ",(0,e.jsx)("code",{className:"font-mono",children:"ring-2 ring-ring"}),". Drives the"," ",(0,e.jsx)("code",{className:"font-mono",children:"useInstallTeamCatalogEntry"})," simplified flow."]}),(0,e.jsx)(ar,{})]}),(0,e.jsx)(r,{title:"TeamHierarchyPreview",children:(0,e.jsx)("div",{className:"max-w-md",children:(0,e.jsx)(Zn,{team:k})})}),(0,e.jsx)(r,{title:"RequiredSkillsList",children:(0,e.jsx)("div",{className:"max-w-xl",children:(0,e.jsx)(Vn,{skills:k.requiredSkills})})}),(0,e.jsx)(r,{title:"EnvInputsList",children:(0,e.jsx)("div",{className:"max-w-xl",children:(0,e.jsx)(Gn,{inputs:k.envInputs})})}),(0,e.jsx)(r,{title:"ExternalSourcesList",children:(0,e.jsx)("div",{className:"max-w-xl",children:(0,e.jsx)(Wn,{sources:k.sourceRefs})})}),(0,e.jsx)(r,{title:"Source policy step (StepSourcePolicy)",children:(0,e.jsx)("div",{className:"max-w-xl rounded-md border border-border p-4",children:(0,e.jsx)(Hn,{team:Gt,allowExternalSources:ie,allowUnpinnedOptionalSources:us,allowLocalPathSources:ms,onChange:s((i,g)=>{i==="external"&&cs(g),i==="unpinned"&&ps(g),i==="localPath"&&xs(g)},"onChange")})})}),(0,e.jsx)(r,{title:"Skill plan step (StepSkillPlan)",children:(0,e.jsx)("div",{className:"max-w-xl rounded-md border border-border p-4",children:(0,e.jsx)($n,{team:k,preparations:er})})})]}),(0,e.jsx)(o,{title:"Common Icons (Lucide)",children:(0,e.jsx)("div",{className:"grid grid-cols-4 md:grid-cols-6 gap-4",children:[["Inbox",Pe],["ListTodo",Ot],["CircleDot",le],["Hexagon",ct],["Target",Bt],["LayoutDashboard",Fe],["Bot",Re],["DollarSign",jt],["History",Ts],["Search",X],["Plus",me],["Trash2",Me],["Settings",ut],["User",Ca],["Mail",qa],["Upload",Ct],["Zap",Pt]].map(([i,g])=>(0,e.jsxs)("div",{className:"flex flex-col items-center gap-1.5 p-2",children:[(0,e.jsx)(g,{className:"h-4 w-4 text-muted-foreground"}),(0,e.jsx)("span",{className:"text-(length:--text-nano) text-muted-foreground font-mono",children:i})]},i))})}),(0,e.jsx)(o,{title:"Keyboard Shortcuts",children:(0,e.jsx)("div",{className:"border border-border rounded-md divide-y divide-border text-sm",children:[["Cmd+K / Ctrl+K","Open Command Palette"],["C","New Issue (outside inputs)"],["[","Toggle Sidebar"],["]","Toggle Properties Panel"],["Enter / Shift+Enter","Submit task message / add a new line (Command/Ctrl+Enter is available in Experimental settings)"]].map(([i,g])=>(0,e.jsxs)("div",{className:"flex items-center justify-between px-4 py-2",children:[(0,e.jsx)("span",{className:"text-muted-foreground",children:g}),(0,e.jsx)("kbd",{className:"px-2 py-0.5 text-xs font-mono bg-muted rounded border border-border",children:i})]},i))})}),(0,e.jsxs)(o,{title:"Issue Output Surface",children:[(0,e.jsx)(r,{title:"Multiple outputs (primary video + 'Also produced')",children:(0,e.jsx)(rt,{workProducts:tr})}),(0,e.jsx)(r,{title:"Degraded output (invalid / failed attachment metadata)",children:(0,e.jsx)(rt,{workProducts:sr})}),(0,e.jsx)(r,{title:"Empty state",children:(0,e.jsx)("p",{className:"text-xs text-muted-foreground",children:"When an issue has produced no artifact work products, the Output section renders nothing at all (no placeholder card)."})})]}),(0,e.jsxs)(o,{title:"Tools & Access",children:[(0,e.jsxs)(r,{title:"EnforcementBanner — default / denied-detected",children:[(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsx)(Y,{companyId:"",forceVariant:"default",recentDenialCount:0}),(0,e.jsx)(Y,{companyId:"",forceVariant:"denied-detected",recentDenialCount:3})]}),(0,e.jsxs)("p",{className:"mt-2 text-xs text-muted-foreground",children:["Persistent at the top of the Tools & Access surface. Tints to ",(0,e.jsx)("code",{children:"denied-detected"})," when governed tool calls were denied or failed in the last hour. Observability only — enforcement lives in the tool gateway."]})]}),(0,e.jsxs)(r,{title:"EnforcementBanner — presentational tones (info / warning / error)",children:[(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsx)(Y,{tone:"info",title:"Effective access — server resolved.",body:"This is exactly what the tool gateway will accept. Profile and policy edits reflect within ~5s; the prompt cannot expand it."}),(0,e.jsx)(Y,{tone:"warning",title:"Local stdio is local code execution, not a security sandbox.",body:"A local-stdio slot runs with the orchestrator's privileges. Only bind trusted commands; quarantine anything you would not run yourself."}),(0,e.jsx)(Y,{tone:"error",title:"Runtime failed closed.",body:"The supervisor is restarting (attempt 2/3). The gateway returns runtime-error and the agent does not see partial output."})]}),(0,e.jsxs)("p",{className:"mt-2 text-xs text-muted-foreground",children:["Static governance copy with a tone. Used for the PAP-10400 trust-tier banner on Runtime and the effective-access banner on Agent → Tools. Pass ",(0,e.jsx)("code",{children:"title"}),"/",(0,e.jsx)("code",{children:"body"})," and an optional"," ",(0,e.jsx)("code",{children:"icon"}),"."]})]}),(0,e.jsxs)(r,{title:"Action approval card — pending / stale (surfaces 11/12)",children:[(0,e.jsxs)("div",{className:"grid gap-4 lg:grid-cols-2",children:[(0,e.jsx)(Qe,{toolName:"slack.post_message",risk:"medium",isWrite:!0,binding:{application:"Slack",manifestVersion:"2.4.1",connection:"https://slack.com/api · acme-workspace",catalogSha256:"sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",payloadSha256:"sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae"},input:{channel:"#launch",text:"Deploy v2 is live 🎉",unfurl_links:!1},reason:"This tool can write to your workspace, so a human signs off before the agent posts.",policyNumber:7,expiresInLabel:"expires in 23h 51m"}),(0,e.jsx)(Qe,{variant:"stale",toolName:"slack.post_message",risk:"medium",isWrite:!0,binding:{application:"Slack",manifestVersion:"2.4.1",connection:"https://slack.com/api · acme-workspace",catalogSha256:"sha256:7d793037a0760186574b0282f2f435e7a4b1b2b0b822cd15d6c15b0f00a0e3f1",previousCatalogSha256:"sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",payloadSha256:"sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae"},input:{channel:"#launch",text:"Deploy v2 is live 🎉",unfurl_links:!1},reason:"This tool can write to your workspace, so a human signs off before the agent posts.",policyNumber:7,expiresInLabel:"expires in 18h 02m"})]}),(0,e.jsxs)("p",{className:"mt-2 text-xs text-muted-foreground",children:["Signed payload sha256 + expiry surface on every variant (PAP-10400). The"," ",(0,e.jsx)("code",{children:"stale"})," variant tints the border amber, banners the catalog-hash mismatch, strikes through the previous hash next to the current one, and renders ",(0,e.jsx)("code",{children:"Approve"})," disabled until the request is re-issued."]})]}),(0,e.jsxs)(r,{title:"Action approval card — mobile (390×844, surface 99)",children:[(0,e.jsx)("div",{className:"w-(--sz-390px) max-w-full rounded-xl border border-border bg-background p-3",children:(0,e.jsx)(Pn,{toolName:"slack.post_message",risk:"medium",isWrite:!0,binding:{application:"Slack",manifestVersion:"2.4.1",connection:"https://slack.com/api · acme-workspace",catalogSha256:"sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",payloadSha256:"sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae"},input:{channel:"#launch",text:"Deploy v2 is live 🎉"},reason:"This tool can write to your workspace, so a human signs off before the agent posts.",policyNumber:7,expiresInLabel:"expires in 23h 51m"})}),(0,e.jsx)("p",{className:"mt-2 text-xs text-muted-foreground",children:"Identical content; the three buttons stack full-width in the order Approve / Deny / Edit & re-sign, and the bindings table uses a 70px label column."})]}),(0,e.jsxs)(r,{title:"BindingsTable (reused in the audit row drilldown)",children:[(0,e.jsx)(as,{rows:[{label:"Application",value:"Slack · manifest v2.4.1"},{label:"Connection",value:"https://slack.com/api · acme-workspace",mono:!0},{label:"Catalog",value:"sha256:9f86d081…f00a08",mono:!0},{label:"Payload",value:"sha256:2c26b46b…66e7ae",mono:!0}]}),(0,e.jsxs)("p",{className:"mt-2 text-xs text-muted-foreground",children:["Two-column key/value block with mono values. Lives inside ",(0,e.jsx)("code",{children:"ActionCard"})," and is reused standalone in the audit row drilldown."]})]}),(0,e.jsxs)(r,{title:"Tool-access status keys (StatusBadge)",children:[(0,e.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:["allowed","denied","block","require-approval","redacted","rate-limit","deferred","hidden","quarantined","healthy","degraded","runtime-error","unchecked"].map(i=>(0,e.jsx)(Ce,{status:i},i))}),(0,e.jsxs)("p",{className:"mt-2 text-xs text-muted-foreground",children:["Policy decisions, connection/runtime health, and catalog quarantine all route through the canonical"," ",(0,e.jsx)("code",{children:"StatusBadge"})," keys defined in ",(0,e.jsx)("code",{children:"lib/status-colors"}),"."]})]}),(0,e.jsx)(r,{title:"EmptyState (canonical, with description + action)",children:(0,e.jsx)(St,{icon:Pe,message:"No connections yet",description:"Add a connection to an application to configure credentials and discover its tools.",action:"New connection",onAction:s(()=>{},"onAction")})})]}),(0,e.jsxs)(o,{title:"GitHub skill sources",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"The shared FileTree explorer layout puts disclosure controls beside selection, with compact folder chains, equal-height rows, inline skill descriptions, and trailing status badges. Folders select descendant packages; package checkboxes select only that package, independently of nested skills. Included files use aligned rows without individual checkboxes (`getCheckboxState` returns null); package rows use `renderNodeExtra` for file counts and inspection. Use arrow keys to navigate and Space to select."}),(0,e.jsx)(dr,{}),(0,e.jsx)(tn,{file:{skillId:"example",path:"assets/example.bin",kind:"asset",content:"AAECAw==",encoding:"base64",language:null,markdown:!1,editable:!1}})]}),(0,e.jsxs)(o,{title:"Source Repositories",children:[(0,e.jsx)(r,{title:"Empty and disconnected",children:(0,e.jsx)(lt,{selected:[],onChange:s(()=>{},"onChange"),state:"disconnected",onConnect:s(()=>{},"onConnect"),onRetry:s(()=>{},"onRetry")})}),(0,e.jsx)(r,{title:"Selected and searchable",children:(0,e.jsx)(lt,{selected:[{id:"1",fullName:"paperclipai/paperclip",url:"https://github.com/paperclipai/paperclip",connections:["Your GitHub"]}],available:[{id:"2",fullName:"paperclipai/docs",url:"https://github.com/paperclipai/docs",connections:["Company GitHub"]}],onChange:s(()=>{},"onChange"),onConnect:s(()=>{},"onConnect"),onRetry:s(()=>{},"onRetry")})}),(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Loading, errors, empty search, mobile, and short viewports are covered in the Project repos Storybook stories."})]}),(0,e.jsxs)(o,{title:"Environment Variables Editor",children:[(0,e.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Reusable env-var editor (agents, projects, environments, routines). One shared grid, an in-field Text/Secret source switch, a fuzzy secret picker with a pinned “Create secret” item, automatic sensitive-value detection, and inline secret-health warnings. See the Storybook ",(0,e.jsx)("span",{className:"font-mono",children:"Product/Environment Variables Editor"})," stories for all 10 states."]}),(0,e.jsx)(nr,{})]}),(0,e.jsxs)(o,{title:"Tasks created from a task",children:[(0,e.jsx)(r,{title:"Subtasks and created work are independent",children:(0,e.jsx)("div",{className:"max-w-xl",children:(0,e.jsx)(oe,{subtasks:[je],createdTasks:[{...je,projectId:"design-board",project:{id:"design-board",name:"Board UI"}},{...je,id:"design-followup",identifier:"PAP-428",title:"Write release notes",status:"todo",projectId:null}],projects:[]})})}),(0,e.jsxs)(r,{title:"Empty, loading and failed",children:[(0,e.jsx)(oe,{subtasks:[],createdTasks:[],projects:[]}),(0,e.jsx)(oe,{subtasks:[],createdTasks:[],projects:[],isLoading:!0}),(0,e.jsx)(oe,{subtasks:[],createdTasks:[],projects:[],hasError:!0,onRetry:s(()=>{},"onRetry")})]})]}),(0,e.jsxs)(o,{title:"Disposition recovery notice",children:[(0,e.jsx)(r,{title:"Needs attention, with inspectable details",children:(0,e.jsx)(ys,{snapshot:{kind:"disposition_repair_escalated",actionId:"design-recovery",attemptCount:2,maxAttempts:2,reason:"unchanged_source_state_exhausted",assigneeAgentId:null},defaultExpanded:!0})}),(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Storybook’s Recovery notice stories show the actionable, pending, acknowledged, unavailable, failed, and mobile states using this production component."})]}),(0,e.jsxs)(o,{title:"Pending task input above composer",children:[(0,e.jsx)("p",{className:"mb-3 text-sm text-muted-foreground",children:"A decision card sits above the ordinary message composer. Dismiss the card to keep a reopen control, or resolve it to clear the pending state."}),(0,e.jsx)(ir,{})]}),(0,e.jsxs)(o,{title:"Execution recovery",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Recovery runs in the background. Task lists keep their ordinary status without execution badges. Active transcript headers keep saying Working during automatic recovery. Recovery decisions and attempts belong in the run log; there is no execution status card or reconciliation form."}),(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"When retained-file recovery needs another authorized request, the source task and run inspector offer Recover saved files. This queues the existing file-preservation worker. Work remains held until the server verifies the saved files; a queued acknowledgement does not mean that recovery finished."})]}),(0,e.jsx)(o,{title:"Cloud sign-in unavailable",children:(0,e.jsx)(Ss,{cloud:{managed:!0,managedBy:"paperclip-cloud",cloudBaseUrl:null,stackSlug:null},returnTo:"/"})}),(0,e.jsxs)(o,{title:"Saved provider API keys",children:[(0,e.jsx)(Ue,{options:[{id:"example",label:"Claude API key (Your key)",binding:{type:"user_secret_ref",key:"ANTHROPIC_API_KEY",version:"latest"}}],value:"example",onChange:s(()=>{},"onChange"),loading:!1,error:!1}),(0,e.jsx)(Ue,{options:[],value:"",onChange:s(()=>{},"onChange"),loading:!0,error:!1}),(0,e.jsx)(Ue,{options:[],value:"",onChange:s(()=>{},"onChange"),loading:!1,error:!0})]}),(0,e.jsx)(o,{title:"Voice conversations",children:(0,e.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,e.jsx)(At,{state:"working",agentName:"Company Phone Agent",onStart:s(()=>{},"onStart"),onMute:s(()=>{},"onMute"),onEnd:s(()=>{},"onEnd"),onResumeAudio:s(()=>{},"onResumeAudio")}),(0,e.jsx)(At,{state:"failed",agentName:"Company Phone Agent",error:"Microphone access was denied. Allow access in your browser, then try again.",onStart:s(()=>{},"onStart"),onMute:s(()=>{},"onMute"),onEnd:s(()=>{},"onEnd"),onResumeAudio:s(()=>{},"onResumeAudio")}),(0,e.jsx)($s,{agentName:"Company Phone Agent",entries:[{id:"ack",source:"agent",text:"I’m checking that now.",final:!0},{id:"followup",source:"user",text:"Include the revised delivery address too.",final:!0}]})]})}),(0,e.jsxs)(o,{title:"Speko provider setup",children:[(0,e.jsx)(rn,{onSave:s(()=>{},"onSave")}),(0,e.jsx)(nn,{onRetry:s(()=>{},"onRetry")}),(0,e.jsxs)("div",{className:"divide-y divide-border border-y border-border",children:[(0,e.jsx)(on,{presentation:"activity",entry:{session:{id:"demo-call",companyId:"demo",endpointId:"demo",issueId:"demo-task",assignedAgentId:"demo-agent",state:"ended",mode:"browser",generation:1,callerAuthority:"member",replyCursor:0,createdAt:"2026-10-07T17:00:00Z",expiresAt:"2026-10-07T17:10:00Z",endedAt:"2026-10-07T17:02:00Z",errorCode:null},report:{status:"pending",costMicroUsd:null,durationSeconds:null,updatedAt:null,transcript:[]}}}),(0,e.jsx)(an,{presentation:"activity",call:{id:"demo-missed",state:"expired",createdAt:"2026-10-07T17:00:00Z",updatedAt:"2026-10-07T17:02:00Z"}})]}),(0,e.jsx)(dn,{onRefresh:s(()=>{},"onRefresh"),onSave:s(()=>{},"onSave")}),(0,e.jsx)(ln,{call:{id:"demo",state:"awaiting_approval",approvalCode:"123456",createdAt:"2026-10-07T17:00:00Z",expiresAt:"2026-10-07T17:02:00Z",sessionId:null},onDecide:s(()=>{},"onDecide")}),(0,e.jsx)(cn,{agentName:"Company Phone Agent",callbackUrl:"https://paperclip.example/api/voice-webhooks/example/tools",credentials:{},onChange:s(()=>{},"onChange"),onConnect:s(()=>{},"onConnect")})]}),(0,e.jsxs)(o,{title:"External agent invitation",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Match the harness picker with provider cards. Connection checks reflect confirmed server evidence. AnimatedDialogContent resizes to its content using motion tokens and respects reduced motion."}),(0,e.jsx)(Te,{onSelect:s(()=>{},"onSelect")}),(0,e.jsx)(Rs,{state:{phase:"testing"}}),(0,e.jsx)(Te,{museEnabled:!0,onSelect:s(()=>{},"onSelect")}),(0,e.jsx)(Be,{state:{paired:!0,receiverDetected:!0,backgroundReplyVerified:!1,ready:!1}}),(0,e.jsx)(Be,{state:{paired:!0,receiverDetected:!0,backgroundReplyVerified:!0,ready:!1,problem:"agent_unavailable"}}),(0,e.jsx)(Be,{state:{paired:!0,receiverDetected:!0,backgroundReplyVerified:!0,ready:!0}}),(0,e.jsx)(Ja,{connection:{enabled:!1,publicOrigin:null,agentStatus:"idle",agentLifecycleState:"ready",canConfigureConnection:!0,binding:null,usage:null,cost:null},onTest:s(()=>{},"onTest"),onRepair:s(()=>{},"onRepair"),onPause:s(()=>{},"onPause"),onDisconnect:s(()=>{},"onDisconnect"),onRefresh:s(()=>{},"onRefresh"),onAttest:s(()=>{},"onAttest")}),(0,e.jsxs)(Dt,{children:[(0,e.jsx)(vt,{asChild:!0,children:(0,e.jsx)(c,{variant:"outline",children:"Preview invitation modal"})}),(0,e.jsx)(Qa,{children:(0,e.jsxs)("div",{className:"space-y-4 p-6",children:[(0,e.jsx)(It,{children:"Invite an external agent"}),(0,e.jsx)(Ut,{children:"Choose an agent you already use."}),(0,e.jsx)(Te,{onSelect:s(()=>{},"onSelect")})]})})]})]}),(0,e.jsxs)(o,{title:"Browser setup prompt",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Use AgentSetupPrompt for prompts handed to an external agent: connections, webhook setup, onboarding, and task handoffs. One click copies the complete prompt, opens its preview, and confirms success inline; clipboard failures offer selectable text."}),(0,e.jsx)(ht,{prompt:"Design guide example. This is a preview, not a real provider setup request."}),(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"For a named recipient, pass the optional agent name and logo. The same copy feedback, preview, and manual clipboard recovery apply."}),(0,e.jsx)(ht,{prompt:"Design guide example for Dot. No live pairing code.",label:"Copy setup prompt",title:"Connect your Dot",agent:{name:"Dot",src:"/brands/adapters/openai-dot.svg"}})]}),(0,e.jsxs)(o,{title:"Connection Intent",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"The task card is the dialog host for the shared connection setup flow. Provider forms, validation, OAuth, access selection, and completion come from the same feature module as the full-page Apps setup; this card owns only audience, dialog, and task refresh behavior. Pending connections stay in the timeline beside a usable composer. The independently addressable Connections/In-task connections stories cover access, OAuth recovery, narrow layouts, completion, and historical outcomes. AgentMail uses an inline API-key field with fixed access defaults; its field and direct key-page link are shared with Apps setup."}),(0,e.jsxs)("div",{className:"grid gap-4 xl:grid-cols-3",children:[(0,e.jsx)(Se,{interaction:rs,currentUserId:d.currentUserId}),(0,e.jsx)(Se,{interaction:Un,currentUserId:d.currentUserId}),(0,e.jsx)(Se,{interaction:Bn,currentUserId:d.currentUserId})]})]}),(0,e.jsxs)(o,{title:"AgentMail API key",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"AgentMail setup has two steps: pick an agent, then pick an email address. Ask for the API key alongside the agent only when needed. Keep address errors beside the field and additional settings under Advanced options."}),(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Preview only. This field does not save or submit a credential."}),(0,e.jsx)("div",{className:"max-w-md",children:(0,e.jsx)(Ns,{value:t,onChange:a})})]}),(0,e.jsxs)(o,{title:"Resizable Panels",children:[(0,e.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Design-system wrapper over ",(0,e.jsx)("span",{className:"font-mono",children:"react-resizable-panels"})," ","(Skill Studio D2). Drag a handle to resize; panels accept percentage or pixel (",(0,e.jsx)("span",{className:"font-mono",children:'minSize="240px"'}),") constraints and the middle panel is collapsible. Use anywhere a split view is needed."]}),(0,e.jsx)("div",{className:"h-48 max-w-2xl overflow-hidden rounded-md border border-border",children:(0,e.jsxs)(mn,{children:[(0,e.jsx)(Ve,{id:"a",minSize:"120px",className:"bg-muted/30",children:(0,e.jsx)("div",{className:"flex h-full items-center justify-center text-xs text-muted-foreground",children:"Panel A"})}),(0,e.jsx)(Mt,{}),(0,e.jsx)(Ve,{id:"b",minSize:"120px",collapsible:!0,collapsedSize:"40px",className:"bg-muted/10",children:(0,e.jsx)("div",{className:"flex h-full items-center justify-center text-xs text-muted-foreground",children:"Panel B (collapsible)"})}),(0,e.jsx)(Mt,{}),(0,e.jsx)(Ve,{id:"c",minSize:"120px",className:"bg-muted/30",children:(0,e.jsx)("div",{className:"flex h-full items-center justify-center text-xs text-muted-foreground",children:"Panel C"})})]})})]}),(0,e.jsx)(o,{title:"Webhook URL warnings",children:(0,e.jsx)("div",{className:"space-y-3",children:["http://localhost:3100","https://paperclip.internal","https://paperclip.example-tailnet.ts.net","http://paperclip.example.com","not-a-url"].map(i=>(0,e.jsx)(pn,{url:i},i))})}),(0,e.jsxs)(o,{title:"Inline Banner",children:[(0,e.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Token-backed full-width notice (",(0,e.jsx)("span",{className:"font-mono",children:"brandBanner"})," tones). Use"," ",(0,e.jsx)("span",{className:"font-mono",children:"info"})," for provenance/context and"," ",(0,e.jsx)("span",{className:"font-mono",children:"warning"})," for paused/attention. Supports an optional bold title and a trailing actions slot. Replaces hand-rolled"," ",(0,e.jsx)("span",{className:"font-mono",children:"bg-yellow-*"}),"/",(0,e.jsx)("span",{className:"font-mono",children:"bg-blue-*"})," ","banners."]}),(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsxs)(pe,{tone:"info",title:"Built-in agent",actions:(0,e.jsx)(c,{variant:"outline",size:"sm",children:"Reset to defaults"}),children:["Ships with Microvac and powers ",(0,e.jsx)("strong",{children:"Briefs"}),". It can be paused but not deleted."]}),(0,e.jsx)(pe,{tone:"warning",title:"Briefs is paused.",actions:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(c,{variant:"ghost",size:"sm",children:"View agent"}),(0,e.jsx)(c,{size:"sm",children:"Resume agent"})]}),children:"Its built-in agent was paused 2 days ago, so new briefs aren't being generated."}),(0,e.jsx)(pe,{tone:"danger",title:"Summary generation failed.",actions:(0,e.jsx)(c,{size:"sm",children:"Retry"}),children:"The linked issue reached a terminal state before a summary was written."}),(0,e.jsx)(pe,{tone:"info",compact:!0,children:"Compact variant for embedding inside dialogs and modals."})]})]}),(0,e.jsxs)(o,{title:"Text attachment tabs",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Uploaded text opens in a named task tab. Markdown offers Rendered and Raw icon controls; every text file has a download action."}),(0,e.jsxs)("div",{className:"grid gap-4 md:grid-cols-2",children:[(0,e.jsx)(nt,{title:"README.md",text:`# Project notes
|
|
24
|
+
|
|
25
|
+
Review the **original** file.`,markdown:!0,downloadUrl:"data:text/markdown,%23%20Project%20notes"}),(0,e.jsx)(nt,{title:"notes.txt",text:"Plain text stays literal: <example>",markdown:!1,downloadUrl:"data:text/plain,Plain%20text"})]})]}),(0,e.jsxs)(o,{title:"Connection recovery",children:[(0,e.jsx)(r,{title:"Waiting for server",children:(0,e.jsx)(_e,{temporary:!0,retrying:!1,onRetry:s(()=>{},"onRetry")})}),(0,e.jsx)(r,{title:"Checking connection",children:(0,e.jsx)(_e,{temporary:!0,retrying:!0,onRetry:s(()=>{},"onRetry")})}),(0,e.jsx)(r,{title:"Access check failed",children:(0,e.jsx)(_e,{temporary:!1,retrying:!1,onRetry:s(()=>{},"onRetry")})})]}),(0,e.jsxs)(o,{title:"Browser session footer",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Fit to pane follows the visible panel. Fixed viewport presets and session actions live in the footer menu. Costs stay in task reporting. The idle countdown appears only in the final five minutes. Full panel, activity, and settings states are in Storybook under Browser Use."}),["running","idle","closing-soon","closed"].map(i=>(0,e.jsx)(r,{title:i==="closing-soon"?"Closing soon":i,children:(0,e.jsx)(ws,{browser:{id:"design-browser",sessionId:"design-session",issueId:"design-task",status:i==="closing-soon"?"idle":i,runStatus:"completed",progress:null,error:null,costCents:15,idleDeadline:new Date(i==="closing-soon"?282e3:6e5).toISOString(),expiresAt:null,createdAt:new Date(0).toISOString()},now:0,onControl:s(()=>{},"onControl"),onReconnect:s(()=>{},"onReconnect"),onResize:s(()=>{},"onResize")})},i))]}),(0,e.jsxs)(o,{title:"Browser activity in the task feed",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Each browser appears once at its opening time among the task messages. Its status updates in place; the action opens its side-panel tab."}),["starting","running","idle","closed","failed"].map(i=>(0,e.jsx)(r,{title:i,children:(0,e.jsx)(fs,{browser:{id:`design-${i}`,sessionId:`design-${i}`,issueId:"design-task",status:i,runStatus:"completed",progress:null,error:null,costCents:0,idleDeadline:null,expiresAt:null,createdAt:new Date(0).toISOString()},onOpen:s(()=>{},"onOpen")})},i))]}),(0,e.jsxs)(o,{title:"Media artifacts",children:[(0,e.jsx)("p",{className:"text-sm text-muted-foreground",children:"Images and videos use gallery tiles. The whole tile opens the task gallery; files and links keep compact, fully clickable rows. Task/Artifact Gallery in Storybook covers playable videos, mixed files, narrow panels, and unavailable previews."}),(0,e.jsxs)("div",{className:"grid max-w-2xl grid-cols-1 gap-3 sm:grid-cols-2",children:[(0,e.jsx)(at,{id:"design-image",title:"Launch artwork",contentPath:"/announcement-preview.svg",contentType:"image/svg+xml",originalFilename:"launch.svg",detail:"Image"}),(0,e.jsx)(at,{id:"design-video",title:"Video preview unavailable",contentPath:"",contentType:"video/mp4",originalFilename:"preview.mp4",detail:"Video"})]})]}),(0,e.jsx)(o,{title:"AI Connections",children:(0,e.jsx)(kn,{})}),(0,e.jsxs)(o,{title:"Built-in Agent Lifecycle Chips",children:[(0,e.jsxs)("p",{className:"text-sm text-muted-foreground",children:["A derived lifecycle chip (amber) for attention states. The lifecycle chip is separate from the agent status vocabulary and only shows for"," ",(0,e.jsx)("span",{className:"font-mono",children:"needs_setup"})," / ",(0,e.jsx)("span",{className:"font-mono",children:"pending_approval"}),"."]}),(0,e.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,e.jsx)(Oe,{status:"needs_setup"}),(0,e.jsx)(Oe,{status:"pending_approval"}),(0,e.jsx)(Oe,{status:"needs_setup",compact:!0})]}),(0,e.jsxs)("p",{className:"mt-3 text-sm text-muted-foreground",children:[(0,e.jsx)("span",{className:"font-mono",children:"<BuiltInAgentGate agentKey>"})," composes"," ",(0,e.jsx)("span",{className:"font-mono",children:"PageSkeleton"})," + ",(0,e.jsx)("span",{className:"font-mono",children:"EmptyState"})," ","+ ",(0,e.jsx)("span",{className:"font-mono",children:"InlineBanner"})," to render the loading / setup / pending-approval / paused / ready states of a feature that depends on a built-in agent."]})]})]})}s(Ei,"DesignGuide");function dr(){const t=[{path:".agents/review/SKILL.md",name:"Review",description:"Review changes before release.",error:null,inspection:{requirements:null,references:[],warnings:[],files:[{path:"SKILL.md",kind:"skill",sizeBytes:120,encoding:"utf8",executable:!1},{path:"scripts/check.sh",kind:"script",sizeBytes:45,encoding:"utf8",executable:!0}]}},{path:".agents/review/nested/SKILL.md",name:"Nested skill",description:"An independently selected package.",error:null,note:"New skill"},{path:"broken/SKILL.md",name:"Needs attention",description:null,error:"Missing required description."}],[a,n]=(0,m.useState)(new Set(t.map(p=>p.path))),[l,u]=(0,m.useState)([]);return(0,e.jsx)(un,{candidates:t,selected:a,excludedFolders:l,onChange:s((p,v)=>{n(p),u(v)},"onChange")})}s(dr,"SkillSourceTreeShowcase");export{Ei as DesignGuide};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var Ae=Object.defineProperty;var a=(e,n)=>Ae(e,"name",{value:n,configurable:!0});import{a as ge}from"./rolldown-runtime-DhZMWcEn.js";import{$t as ye,Tt as xe,Ut as re,_t as ke,bt as ee,gt as we,ht as Ie,ii as $e,mt as Pe,vt as be,xt as Te,yt as G}from"./issue-detail-CZfjXs0M.js";import{$A as Ee,Dp as Ne,Em as qe,JC as De,L_ as We,NE as X,Tg as he,U as de,ZC as Ue,_u as Fe,du as Le,nj as Ve,nu as Oe,oE as Be,o_ as Ke,su as ze,tu as He,yu as ie,zC as fe}from"./index-BJtnP7H1.js";function ue(e){return[...e.matchAll(/\S+/gu)].length}a(ue,"wordCount");function pe(e,n){const r=[...e.matchAll(/\S+\s*/gu)];if(n>=r.length)return e;if(n<=0)return"";const i=r[Math.floor(n)-1];return i?e.slice(0,i.index+i[0].length):""}a(pe,"revealWords");function Ye(e,n){return pe(e,Math.max(1,Math.ceil(ue(e)*Math.min(1,Math.max(0,n)))))}a(Ye,"revealWordProgress");var o=ge(Ve(),1),A=a(e=>new Date(Date.UTC(2026,9,15,17,12,e)).toISOString(),"ts"),b=a((e,n,r,i)=>({id:e,companyId:"synthetic-company",agentId:"synthetic-agent",runId:"synthetic-run",seq:e,eventType:n,stream:"system",level:"info",color:null,message:null,createdAt:new Date(A(e)),payload:{prpEvent:{schema:"paperclip.prp.event.v1",sourceEventId:`synthetic-event-${e}`,sourceSeq:e,sourceInstanceId:"synthetic-runner",sourceKind:"runner",runId:"synthetic-run",normalizedSessionId:"synthetic-session",eventType:n,schemaVersion:1,priority:1,emittedAt:A(e),payload:r,...i?{itemId:i}:{}}}}),"event"),j=a((e=!0,n="summary",r="I’ll check the component alias and file list before explaining how the count was obtained.")=>[b(1,"item.started",{kind:"reasoning",channel:n,text:""},"reasoning-1"),b(2,"item.delta",{text:r},"reasoning-1"),...e?[b(3,"item.completed",{kind:"reasoning",channel:n,text:r},"reasoning-1")]:[]],"reasoning"),I=a((e,n,r=!1)=>b(e,"item.completed",{kind:"assistant_message",channel:r?"final":"progress",text:n},`message-${e}`),"commentary"),_=a((e,n="read_file",r=!0,i=!1,d={})=>[b(e,"item.started",{kind:"dynamicToolCall",item:{type:"tool_use",id:`tool-${e}`,name:n,input:n==="exec_command"?{command:d.command??"rg --files ui/src/components/ui"}:{path:"ui/components.json"}}},`tool-${e}`),...r?[b(e+1,"item.completed",{kind:"dynamicToolCall",item:{type:"tool_result",id:`tool-${e}`,tool_use_id:`tool-${e}`,result:i?"Synthetic command failed: the reconnect test timed out.":d.result??(n==="read_file"?'{ "aliases": { "ui": "@/components/ui" } }':"26 component source files · three project-specific wrappers"),is_error:i}},`tool-${e}`)]:[]],"tool"),J="The follow-up asks how I arrived at the count. I’ll check the repository configuration and file list, then explain the method.",te=`## Done
|
|
2
|
+
|
|
3
|
+
I checked the configured component directory and excluded test files.
|
|
4
|
+
|
|
5
|
+
- **26 component source files** in \`ui/src/components/ui/\`.
|
|
6
|
+
- Three are project-specific wrappers; 23 are registry-style components.
|
|
7
|
+
- No code changes were needed.
|
|
8
|
+
|
|
9
|
+
\`\`\`sh
|
|
10
|
+
rg --files ui/src/components/ui | rg "\\.tsx$"
|
|
11
|
+
\`\`\``,Y=a(()=>[...j(),I(4,J),..._(5),I(8,"The alias points to `ui/src/components/ui/`. I’m checking the filenames and separating registry components from local wrappers."),..._(9,"exec_command",!1)],"workingEvents"),Z=a(()=>[...Y().slice(0,-1),..._(9,"exec_command"),I(12,te,!0)],"completedEvents"),m=a((e,n="running",r={})=>({entries:G(e),status:n,...r}),"snapshot"),h=a((e,n,r,i)=>({id:e,label:n,group:r,build:i}),"example"),R=a((e,n,r,i,d={})=>h(e,n,r,()=>({entries:i,status:"running",...d})),"direct");function _e(e){return{human:{id:"preview-request",kind:"message",author:"human",isCurrentUser:!0,text:"How many UI components are in this project?",timestamp:"10:10 AM"},response:{id:"preview-response",kind:"message",author:"agent",authorName:e,text:`Done
|
|
12
|
+
|
|
13
|
+
- Counted **26 component source files** in \`ui/src/components/ui/\`.
|
|
14
|
+
- The count excludes test files. Three files are project-specific wrappers.
|
|
15
|
+
- Verified the list directly from the repository; no changes were needed.`,timestamp:"10:11 AM",channel:"final"},entries:G(Z())}}a(_e,"previewHistory");var L=a((e,n=!1)=>({kind:"runtime_request",ts:A(15),requestId:`preview-${n?"question":"permission"}`,requestKind:n?"elicitation":"command_approval",turnId:"synthetic-turn",requestType:n?"input":"permission",status:e,prompt:n?"Which reconnect behavior should I verify?":"Allow running the focused reconnect tests?",choices:n?[]:[{key:"accept",label:"Allow once"},{key:"decline",label:"Deny"}],fields:[],questionSet:n?{schema:"paperclip.question_set.v1",title:"Choose a reconnect policy",questions:[{id:"policy",prompt:"Which reconnect policy should I test?",required:!0,answerMode:"single_select",options:[{id:"bounded",label:"Bounded retry",description:"Stop after three attempts."},{id:"manual",label:"Manual recovery",description:"Ask before reconnecting."}]}]}:null,resolvedAction:e==="resolved"?"accept":null}),"permission"),Ge=["plan","tool_execution","research","delegation","model_identity","context","artifact","review","hook","memory","safety","terminal","wait","provider_notice"],q=[h("staging-conversation","Conversation · live work (staging layout)","Conversation",()=>m(Y())),h("session-start","Starting · waiting for activity","Conversation",()=>m([],"running")),h("runner-queued","Queued · waiting to start","Conversation",()=>m([],"queued",{emptyMessage:"Waiting to start…"})),h("thinking","Thinking · live reasoning","Conversation",()=>m(j(!1))),...["summary","detail","unknown"].map(e=>h(`reasoning-${e}`,`Reasoning · ${e==="unknown"?"lifecycle only":e}`,"Reasoning and tools",()=>m(j(!1,e,e==="unknown"?"":void 0)))),h("tool-call","Tool · reading files","Reasoning and tools",()=>m([...j(),I(4,J),..._(5,"read_file",!1)])),h("working","Tool · running a command","Reasoning and tools",()=>m(Y())),h("tool-completed","Tool · completed","Reasoning and tools",()=>m([...j(),I(4,J),..._(5)])),h("tool-failed","Tool · failed","Reasoning and tools",()=>m([...j(),I(4,J),..._(5,"exec_command",!0,!0)])),h("tool-interrupted","Tool · interrupted","Reasoning and tools",()=>m([..._(5,"exec_command",!1)],"cancelled")),h("responding","Commentary · streaming","Conversation",()=>m([...j(),I(4,J),..._(5),b(8,"item.started",{kind:"assistant_message",channel:"progress",text:""},"streaming"),b(9,"item.delta",{text:"The earlier answer counted files in the directory configured for UI components. I’m checking the exact filenames so the explanation is reproducible."},"streaming")])),h("streaming-final","Final answer · streaming","Conversation",()=>m([...Z().slice(0,-1),b(12,"item.started",{kind:"assistant_message",channel:"final",text:""},"final"),b(13,"item.delta",{text:te},"final")])),h("completed","Completed · answer and Activity disclosure","Conversation",()=>m(Z(),"succeeded")),h("activity-phases","Completed · multiple activity groups","Conversation",()=>m(Z(),"succeeded")),...["failed","timed_out","cancelled"].map(e=>h(`runner-${e}`,`Run · ${e.replaceAll("_"," ")}`,"Run outcomes",()=>m([...j(),..._(5,"exec_command",!1)],e))),h("runner-running","Native runner · live activity","Native runner",()=>m(Y(),"running",{renderer:"native"})),h("runner-succeeded","Native runner · completed response","Native runner",()=>m(Z(),"succeeded",{renderer:"native"})),...["failed","timed_out","cancelled"].map(e=>h(`native-${e}`,`Native runner · ${e.replaceAll("_"," ")}`,"Native runner",()=>m([...j(),..._(5,"exec_command",!1),b(15,"run.terminal",{schema:"paperclip.prp.terminal.v1",turnTerminalState:e==="cancelled"?"cancelled":"failed",runTerminalState:e==="cancelled"?"cancelled":"failed",reportedWorkDisposition:"needs_review",stopReason:{schema:"paperclip.stop_reason.v1",code:"synthetic_provider_stop",message:e==="cancelled"?"The synthetic run was cancelled.":"The synthetic test process stopped before a final reply."}})],e,{renderer:"native"}))),h("native-streaming","Native runner · streaming final response","Native runner",()=>m([...j(),..._(5),b(12,"item.started",{kind:"assistant_message",channel:"final",text:""},"final"),b(13,"item.delta",{text:te},"final")],"running",{renderer:"native"})),h("native-starting","Native runner · starting","Native runner",()=>m([],"queued",{renderer:"native"})),h("native-reconnecting","Native runner · activity unavailable","Native runner",()=>m(Y(),"running",{renderer:"native",activityUnavailable:!0})),h("native-steering","Native runner · continued after steering","Native runner",()=>m(Y(),"running",{renderer:"native",continuedAfterSteering:!0})),...["pending","queued"].map(e=>h(`message-${e}`,`Human message · ${e}`,"Messages and composer",()=>m([],"queued",{messageState:e}))),...["leaf","subtree"].map(e=>h(`paused-${e}`,e==="leaf"?"Task paused · draft preserved":"Subtree paused · draft preserved","Messages and composer",()=>m([],"cancelled",{paused:e}))),...["neutral","info","success","warning","danger"].map(e=>h(`notice-${e}`,`System notice · ${e}`,"Messages and composer",()=>m([],"succeeded",{notice:e}))),...["pending","resolved","expired","cancelled"].map(e=>R(`permission-${e}`,`Permission request · ${e}`,"Requests and results",[L("pending"),...e!=="pending"?[L(e)]:[]],{emptyMessage:"Waiting for permission…"})),R("permission-denied","Permission request · denied","Requests and results",[{...L("resolved"),resolvedAction:"decline"}]),R("question-text","Question · free-text input","Requests and results",[{...L("pending",!0),questionSet:null,fields:[{name:"delay",label:"Reconnect delay",placeholder:"For example, 30 seconds"}]}],{emptyMessage:"Waiting for your answer…"}),...["pending","resolved","expired","cancelled"].map(e=>R(`question-${e}`,`Question · ${e}`,"Requests and results",[L("pending",!0),...e!=="pending"?[{...L(e,!0),response:e==="resolved"?{schema:"paperclip.question_response.v1",answers:{policy:{selectedOptionIds:["bounded"]}}}:null}]:[]],{emptyMessage:"Waiting for your answer…"})),...["done","blocked","needs_review","yielded"].map(e=>R(`result-${e}`,`Run result · ${e.replaceAll("_"," ")}`,"Requests and results",[{kind:"run_result",ts:A(20),disposition:e,summary:"The reconnect implementation is ready for review.",objectiveSatisfied:e==="done",verification:[{commandOrCheck:"Reconnect tests",status:"passed",detail:"12 cases passed"},{commandOrCheck:"Live provider smoke test",status:"not_run",detail:"No provider is contacted by this preview"}],remainingWork:e==="done"?[]:[{description:"Review the recovery message.",blocksCompletion:!0}],blocker:e==="blocked"?{reasonCode:"review_required",unblockAction:"Confirm the recovery behavior.",scope:"current_track"}:null,artifacts:[]}],{renderer:"native",status:e==="yielded"?"running":"succeeded"})),...Ge.map(e=>R(`provider-${e}`,`Provider activity · ${e.replaceAll("_"," ")}`,"Provider and workspace",[{kind:"provider_activity",ts:A(10),family:e,eventType:`synthetic.${e}`,status:"completed",title:`${e.replaceAll("_"," ")} activity`,summary:"Synthetic provider activity using the shipped transcript contract.",payload:e==="plan"?{steps:[{stepId:"read",body:"Inspect the reconnect boundary",status:"completed"},{stepId:"test",body:"Run focused tests",status:"in_progress"},{stepId:"review",body:"Review recovery messages",status:"pending"}]}:e==="delegation"?{children:[{childId:"reviewer",role:"Test reviewer",status:"completed",summary:"Checked the reconnect cases."},{childId:"writer",role:"Documentation writer",status:"running",activitySummary:"Updating recovery examples"}]}:e==="tool_execution"?{name:"pnpm test:run",operation:"execute",transport:"process",output:`PASS reconnect.test.ts
|
|
16
|
+
12 tests passed`,outputTruncated:!1}:{summary:"Synthetic provider activity details.",message:"No provider or agent is contacted."}}],{renderer:"native"})),...["running","failed","interrupted","informational"].map(e=>R(`provider-status-${e}`,`Provider activity · ${e}`,"Provider and workspace",[{kind:"provider_activity",ts:A(10),family:"tool_execution",eventType:"synthetic.tool",status:e,title:"Running reconnect tests",summary:e==="failed"?"The reconnect test timed out.":"Checking reconnect behavior.",payload:{name:"pnpm test:run",operation:"execute",transport:"process",output:e==="failed"?`FAIL reconnect.test.ts
|
|
17
|
+
Expected reconnect after 3 attempts; received timeout.`:"Checking reconnect tests…"}}],{renderer:"native"})),R("workspace-changes","Workspace · diff summary","Provider and workspace",[{kind:"workspace_change",ts:A(15),changeSetId:"synthetic-changes",revision:1,source:"runner_verified",complete:!0,patchArtifactRef:null,totals:{files:1,additions:1,deletions:1},files:[{path:"connectors/reconnect.ts",operation:"modify",previousPath:null,additions:1,deletions:1,binary:!1,diff:`- const delay = 1000;
|
|
18
|
+
+ const delay = Math.min(attempt * 1000, 30_000);`}]}],{renderer:"native"}),R("workspace-file","Workspace · code preview","Provider and workspace",[{kind:"workspace_file_reference",ts:A(15),referenceId:"synthetic-file",source:"harness_reported",path:"connectors/reconnect.ts",displayName:"Reconnect implementation",mediaType:"text/typescript",presentation:"code",line:12,preview:"export const retryDelay = (attempt: number) => Math.min(attempt * 1000, 30_000);",previewTruncated:!1,contentDigest:null}],{renderer:"native"}),R("live-token-cost","Usage · run and provider totals","Provider and workspace",[{kind:"result",ts:A(18),text:"",inputTokens:12e3,outputTokens:1800,cachedTokens:4e3,costUsd:.042,subtype:"paperclip_runner_usage",isError:!1,errors:[]},{kind:"result",ts:A(19),text:"Cumulative provider usage includes earlier turns.",inputTokens:5e4,outputTokens:6e3,cachedTokens:16e3,costUsd:.19,subtype:"paperclip_runner_session_usage",isError:!1,errors:[]}])],Qe={"human-message":"staging-conversation","agent-message":"completed","responding-burst":"responding",running:"working",diff:"workspace-changes","awaiting-approval":"permission-pending","runtime-input":"question-pending",interrupted:"runner-cancelled",refused:"permission-denied",truncated:"runner-failed","plan-todo":"provider-plan","tool-pending":"tool-call","tool-in_progress":"working","tool-rejected":"permission-denied"},F=[{label:"Starting",units:.25},{label:"Thinking",units:.5},{label:"Commentary",units:.5},{label:"Reading files",units:.5},{label:"Reviewing the component list",units:.5},{label:"Running a command",units:.75},{label:"Writing the answer",units:1},{label:"Follow-up · queued",units:.5},{label:"Planning the verification",units:.5},{label:"Clarification · demo answer follows automatically",units:.75},{label:"Answered · bounded retry",units:.5},{label:"Permission · demo approval follows automatically",units:.75},{label:"Running focused tests",units:.75},{label:"Test failed · inspecting the timeout",units:.75},{label:"Explaining the retry",units:.5},{label:"Retrying the focused test",units:.75},{label:"Reviewing the file preview and usage",units:.75},{label:"Writing the verification result",units:1}];var Je="Thanks. Can you also verify the reconnect behavior and show me the relevant code?",se=`## Verification complete
|
|
19
|
+
|
|
20
|
+
The bounded retry behavior passed the focused checks on retry.
|
|
21
|
+
|
|
22
|
+
- The first test attempt timed out; the second passed.
|
|
23
|
+
- The implementation caps the reconnect delay at 30 seconds.
|
|
24
|
+
- No source files were changed.
|
|
25
|
+
|
|
26
|
+
This is synthetic preview data; no command or provider was contacted.`;function ce(e,n){const r="I’ll check the component directory configured for this project, then count the source files and exclude tests.",i="I’ll inspect the component alias first, then check the file list. No code changes are needed.",d="The alias points to `ui/src/components/ui/`. I’m separating registry components from local wrappers.";if(e===0)return{entries:[],status:"queued"};const f=a(p=>Ye(p,Math.min(1,n*2)),"text");if(e>=7){if(e===7)return m([],"queued",{emptyMessage:"Waiting to start…"});const p=[...q.find(c=>c.id==="provider-plan").build().entries];e>=9&&p.push({...L(e>9?"resolved":"pending",!0),response:e>9?{schema:"paperclip.question_response.v1",answers:{policy:{selectedOptionIds:["bounded"]}}}:null}),e>=11&&p.push(L(e>11?"resolved":"pending"));const y=a((c,v,$=!1)=>_(c,"exec_command",v,$,{command:"pnpm exec vitest run reconnect.test.ts",result:"PASS reconnect.test.ts · 12 cases passed"}),"test");return e>=12&&p.push(...G(y(20,e>12,!0))),e>=14&&p.push(...G([I(23,e===14?f("The test process timed out before returning a result. I’ll retry the focused check once and inspect the bounded delay implementation."):"The test process timed out before returning a result. I’ll retry the focused check once and inspect the bounded delay implementation.")])),e>=15&&p.push(...G(y(24,e>15))),e>=16&&p.push(...q.find(c=>c.id==="workspace-file").build().entries,...q.find(c=>c.id==="live-token-cost").build().entries),e>=17&&p.push(...G([b(28,"item.started",{kind:"assistant_message",channel:"final",text:""},"verification-final"),b(29,"item.delta",{text:e===17?f(se):se},"verification-final"),...e>17?[b(30,"item.completed",{kind:"assistant_message",channel:"final",text:se},"verification-final")]:[]])),{entries:p,status:e>=F.length?"succeeded":"running"}}const s=j(e>1,"summary",e===1?f(r):r);return e>=2&&s.push(I(4,e===2?f(i):i)),e>=3&&s.push(..._(5,"read_file",e>3)),e>=4&&s.push(I(8,e===4?f(d):d)),e>=5&&s.push(..._(9,"exec_command",e>5)),e===6&&s.push(b(12,"item.started",{kind:"assistant_message",channel:"final",text:""},"playback-final"),b(13,"item.delta",{text:f(te)},"playback-final")),m(s)}a(ce,"conversationPlaybackSnapshot");var t=ge(Ee(),1);function Ze({settled:e,activity:n,children:r}){const i=$e(),d=(0,o.useRef)(null),[f,s]=(0,o.useState)(!1);(0,o.useLayoutEffect)(()=>{e||(d.current=n,s(!1))},[e,n]);const p=e&&!!d.current&&i===!1&&!f,y=e&&!p;return(0,o.useEffect)(()=>{if(!p)return;const c=getComputedStyle(document.documentElement),v=["--motion-conversation-handoff-fade","--motion-conversation-handoff-fold","--motion-duration-fast"].reduce((w,P)=>w+re(c.getPropertyValue(P)),0),$=window.setTimeout(()=>s(!0),v);return()=>window.clearTimeout($)},[p]),(0,t.jsxs)("div",{"data-testid":"task-chat-turn-handoff","data-handoff-state":p?"settling":e?"settled":"live",children:[(0,t.jsx)("div",{className:"conversation-handoff-activity","data-testid":"task-chat-handoff-activity","data-collapsing":e?"true":"false","aria-hidden":e||void 0,inert:e||void 0,onTransitionEnd:a(c=>{c.target===c.currentTarget&&c.propertyName==="grid-template-rows"&&e&&s(!0)},"onTransitionEnd"),children:(0,t.jsx)("div",{className:"min-h-0 overflow-hidden",children:e?p?d.current:null:n})}),(0,t.jsx)("div",{"data-testid":"task-chat-handoff-response",children:r(y)})]})}a(Ze,"TaskChatTurnHandoff");function ve({settled:e,snapshot:n,items:r,response:i,settledItems:d}){const f=r.find(c=>c.kind==="protocol"&&c.surface==="runtime_request"&&c.status==="pending"),s=r.find(c=>c.kind==="message"&&c.channel==="final"),p=(0,o.useMemo)(()=>s?[{...i,text:s.text,timestamp:void 0,attachedTurn:void 0}]:[],[i,s]),y=a(c=>(0,t.jsx)(xe,{copyText:c.text}),"actions");return(0,t.jsx)(Ze,{settled:e,activity:e?null:(0,t.jsxs)(ye,{items:r,children:[f?null:(0,t.jsx)(we,{status:n.status,startedAtMs:null,toolSummary:ke(n.entries)}),(0,t.jsx)(de.Provider,{value:!0,children:(0,t.jsx)(be,{items:r.filter(c=>c!==f),excludeFinal:!0,emptyMessage:n.emptyMessage})}),f?(0,t.jsx)(Te,{item:f,presentation:"takeover"},f.id):null]}),children:a(c=>(0,t.jsx)(de.Provider,{value:!0,children:(0,t.jsx)(ee,{scroll:!1,className:"p-0 md:p-0",items:c?d:p,renderMessageActions:c?y:void 0})}),"children")})}a(ve,"ConversationPlaybackTurn");function ae(e,n,r,i=!1,d=74e3){const f=ie(n,{runId:r,agentName:e.authorName,running:!1}),s={id:`${r}:turn`,kind:"turn",settled:!0,historical:!0,items:Fe(f),summary:Oe(n,{durationMs:d,failed:i})};return He([e,s],new Map([[s.id,{agentKey:"synthetic-agent",agentName:e.authorName,parts:[{entries:n,durationMs:d,failed:i}]}]]))}a(ae,"settledPreviewReply");function Xe({header:e,agentName:n,agent:r,onShowSavedThread:i}){const[d,f]=(0,o.useState)(0),[s,p]=(0,o.useState)(!1),[y,c]=(0,o.useState)(!1),[v,$]=(0,o.useState)(0),[w,P]=(0,o.useState)(0),M=(0,o.useRef)(0);(0,o.useEffect)(()=>{const k=getComputedStyle(document.documentElement);P(re(k.getPropertyValue("--motion-sandbox-playback-step"))),M.current=re(k.getPropertyValue("--motion-sandbox-stream-tick"))},[]);const D=F.reduce((k,N)=>k+N.units*w,0),x=s&&D>0&&d>=D;(0,o.useEffect)(()=>{if(!y||!w||!M.current)return;const k=window.setInterval(()=>f(N=>Math.min(D,N+M.current)),M.current);return()=>window.clearInterval(k)},[y,w,D]),(0,o.useEffect)(()=>{x&&c(!1)},[x]);let V=0,u=0;for(const k of F){if(d<V+k.units*w)break;V+=k.units*w,u++}const S=w&&u<F.length?(d-V)/(F[u].units*w):1,C=(0,o.useMemo)(()=>ce(u,S),[u,S]),Q=(0,o.useMemo)(()=>ie(C.entries,{runId:"conversation-playback",agentName:n,running:!x}),[C,n,x]),oe=(0,o.useMemo)(()=>_e(n).human,[n]),W=u>=7,T=(0,o.useMemo)(()=>W?ce(6,1):C,[W,C]),U=(0,o.useMemo)(()=>W?ie(T.entries,{runId:"playback-count",agentName:n,running:!1}):Q,[W,T,Q,n]),O=(0,o.useMemo)(()=>({id:"playback-response",kind:"message",author:"agent",authorName:n,agent:r,channel:"final",text:te,timestamp:"10:11 AM"}),[n,r]),B=(0,o.useMemo)(()=>({id:"playback-verification",kind:"message",author:"agent",authorName:n,agent:r,channel:"final",text:se,timestamp:"10:13 AM"}),[n,r]),z=(0,o.useMemo)(()=>ae(O,ce(6,1).entries,"playback-count",!1,F.slice(0,7).reduce((k,N)=>k+N.units*w,0)),[O,w]),E=(0,o.useMemo)(()=>x?ae(B,C.entries,"conversation-playback",!1,F.slice(7).reduce((k,N)=>k+N.units*w,0)):[],[x,B,C.entries,w]),K=(0,o.useMemo)(()=>[{id:"playback-follow-up",kind:"message",author:"human",isCurrentUser:!0,text:Je,timestamp:"10:12 AM"}],[]),ne=a(()=>{f(0),$(k=>k+1),p(!0),c(!0)},"restart");return(0,t.jsxs)("section",{className:"flex min-h-0 flex-1 flex-col","data-testid":"conversation-playback","data-playback-state":x?"complete":y?"playing":s?"paused":"idle","data-playback-stage":u,children:[(0,t.jsxs)("div",{className:"flex shrink-0 flex-wrap items-center gap-2 border-b border-border bg-background py-2 text-xs",children:[(0,t.jsxs)(X,{size:"sm",variant:"outline",disabled:!w,onClick:a(()=>!s||x?ne():c(k=>!k),"onClick"),children:[x?(0,t.jsx)(fe,{}):y?(0,t.jsx)(Ue,{}):(0,t.jsx)(De,{}),x?"Replay conversation":y?"Pause":s?"Resume conversation":"Play conversation"]}),s&&!x?(0,t.jsxs)(X,{size:"sm",variant:"ghost",onClick:ne,children:[(0,t.jsx)(fe,{}),"Replay"]}):null,i?(0,t.jsx)(X,{size:"sm",variant:"ghost",onClick:i,children:"Show saved thread"}):null,(0,t.jsx)("span",{className:"text-muted-foreground",role:"status",children:s?x?"Conversation complete":`${y?"":"Paused · "}${F[u]?.label}`:"Watch a typical conversation · synthetic preview"})]}),(0,t.jsx)(ee,{header:e,items:s?[oe]:[],contentKey:`${d}:${v}`,tail:s?(0,t.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,t.jsx)(ve,{settled:W,snapshot:T,items:U,response:O,settledItems:z}),W?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ee,{scroll:!1,className:"p-0 md:p-0",items:K}),(0,t.jsx)(ve,{settled:x,snapshot:C,items:Q,response:B,settledItems:E})]}):null]}):void 0},v)]})}a(Xe,"ConversationPlayback");function it({children:e,header:n,agentName:r,agent:i,defaultConversation:d,previewMode:f="catalog"}){const[s,p]=Be(),y=s.get("threadPreview")??(d?"staging-conversation":"saved"),c=Qe[y]??y,v=c==="all"||q.some(u=>u.id===c)?c:"saved",[$,w]=(0,o.useState)(0),{enabled:P}=Ke(),M=(0,o.useRef)(null),D=We(),x=a(u=>p(S=>{const C=new URLSearchParams(S);return C.set("threadPreview",u),C},{replace:!0}),"choose"),V=v==="all"?q:q.filter(u=>u.id===v);return(0,o.useEffect)(()=>{M.current&&(M.current.scrollTop=0)},[v]),f==="playback"&&v!=="saved"?(0,t.jsx)(he,{mode:P?"streamlined":"production",children:(0,t.jsx)(Xe,{header:n,agentName:r,agent:i,onShowSavedThread:a(()=>x("saved"),"onShowSavedThread")})}):(0,t.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col","data-testid":"sandbox-task-thread","data-preview-state":v,children:[(0,t.jsxs)("div",{className:"flex shrink-0 flex-wrap items-center gap-2 border-b border-border bg-background py-2 text-xs",children:[(0,t.jsx)("label",{htmlFor:"sandbox-thread-state",className:"font-normal text-foreground",children:"Thread preview"}),(0,t.jsxs)(Ne,{id:"sandbox-thread-state",value:v,onChange:a(u=>x(u.target.value),"onChange"),className:"w-auto min-w-0 max-w-full text-xs","aria-label":"Thread preview state",children:[(0,t.jsx)("option",{value:"saved",children:"Saved thread"}),(0,t.jsxs)("option",{value:"all",children:["All states (",q.length,")"]}),[...new Set(q.map(u=>u.group))].map(u=>(0,t.jsx)("optgroup",{label:u,children:q.filter(S=>S.group===u).map(S=>(0,t.jsx)("option",{value:S.id,children:S.label},S.id))},u))]}),v!=="saved"?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(X,{size:"sm",variant:"outline",onClick:a(()=>w(u=>u+1),"onClick"),children:"Reset / replay"}),(0,t.jsx)(X,{size:"sm",variant:"ghost",onClick:a(()=>x("saved"),"onClick"),children:"Show saved thread"}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"Production renderers · synthetic data · preview actions stay local"})]}):null]}),v==="saved"?e:(0,t.jsx)(he,{mode:P?"streamlined":"production",children:(0,t.jsxs)("div",{ref:M,onScroll:D,className:`scrollbar-while-scrolling flex min-h-0 flex-1 flex-col ${v==="all"?"overflow-y-auto":""}`,"data-testid":"sandbox-thread-viewport",children:[v==="all"?(0,t.jsx)("div",{className:"mx-auto w-full max-w-(--tc-shell-max-w) pt-3",children:n}):null,V.map(u=>(0,t.jsx)(et,{example:u,header:n,agentName:r,agent:i,replay:v!=="all",streamlined:P},`${v}:${u.id}:${$}`))]})})]})}a(it,"DesignSandboxTaskThread");function et({example:e,header:n,agentName:r,agent:i,replay:d,streamlined:f}){const s=(0,o.useMemo)(()=>e.build(),[e]),p=(0,o.useRef)(Date.now()-4e4),[y,c]=(0,o.useState)(d?1:1/0),[v,$]=(0,o.useState)({}),[w,P]=(0,o.useState)({}),[M,D]=(0,o.useState)(!1),[x,V]=(0,o.useState)(!1),[u,S]=(0,o.useState)(!1),[C,Q]=(0,o.useState)("standard"),[oe,W]=(0,o.useState)([]),T=M?"cancelled":s.status,U=ze(T),O=(0,o.useMemo)(()=>ie(s.entries,{runId:`synthetic-${e.id}`,agentName:r,running:!U}),[s,e.id,r,U]),B=O.reduce((l,g)=>g.kind==="message"&&g.streaming?Math.max(l,ue(g.text)):g.kind==="thinking"&&g.streaming?Math.max(l,ue(g.lines.join(`
|
|
27
|
+
`))):l,0);(0,o.useEffect)(()=>{if(!d||!B)return;const l=re(getComputedStyle(document.documentElement).getPropertyValue("--motion-sandbox-word-tick"));if(!l||window.matchMedia("(prefers-reduced-motion: reduce)").matches){c(1/0);return}const g=window.setInterval(()=>c(H=>H>=B?(window.clearInterval(g),1/0):H+1),l);return()=>window.clearInterval(g)},[d,B]);const z=O.map(l=>{if(l.kind==="message"&&l.streaming)return{...l,text:pe(l.text,y)};if(l.kind==="thinking"&&l.streaming)return{...l,lines:[pe(l.lines.join(`
|
|
28
|
+
`),y)]};if(l.kind==="protocol"&&l.surface==="runtime_request"&&v[l.id]){const g=v[l.id];return{...l,status:"resolved",resolvedAction:g.action,..."response"in g?{response:g.response}:{}}}return l}),E=z.find(l=>l.kind==="protocol"&&l.surface==="runtime_request"&&l.status==="pending"),K=a((l,g)=>$(H=>({...H,[l.id]:g})),"runtimeDecision"),ne=(0,o.useMemo)(()=>{const l=_e(r);return[l.human,...ae({...l.response,agent:i},l.entries,`synthetic-${e.id}-history`)]},[r,i,e.id]),k=a(l=>l.author==="agent"&&!l.streaming?(0,t.jsx)(xe,{copyText:l.text,feedback:{activeVote:w[l.id]??null,sharingPreference:"allowed",termsUrl:null,onVote:a(async g=>{P(H=>({...H,[l.id]:g}))},"onVote")}}):null,"actions"),N={id:"synthetic-followup",kind:"message",author:"human",isCurrentUser:!0,text:"Tell me your method for finding this out.",timestamp:"10:12 AM",optimistic:s.messageState},le=U&&!s.renderer?Le(O,{allowFallback:!0}):void 0,me=["failed","timed_out","cancelled"].includes(T),Se=s.notice?[{id:"synthetic-notice",kind:"message",author:"system",text:"Synthetic workspace notice. Expand this row to inspect the details.",timestamp:"10:13 AM",presentation:{kind:"system_notice",tone:s.notice,title:`Workspace preview · ${s.notice}`,detailsDefaultOpen:!1,density:"compact"}}]:[],Ce=[...ne,N,...le?ae({...le,interstitial:!1,streaming:!1,authorName:r,agent:i,timestamp:"10:13 AM"},s.entries,`synthetic-${e.id}`,me):[],...Se,...oe],je=!le&&!s.paused&&!s.notice&&!s.messageState,Me=d||!!(E||s.paused||s.messageState),Re=(0,o.useMemo)(()=>new Map([[i?.id??"synthetic-agent",i??{id:"synthetic-agent",name:r}]]),[i,r]);return(0,t.jsxs)("section",{className:`flex min-w-0 flex-1 flex-col ${d?"min-h-0":"pt-4"}`,"data-preview-case":e.id,"data-preview-renderer":s.renderer??"transcript","aria-label":e.label,children:[d?null:(0,t.jsx)("h3",{className:"mx-auto mb-3 w-full max-w-(--tc-shell-max-w) border-t border-border pt-4 text-xs font-normal text-muted-foreground",children:e.label}),(0,t.jsx)(ee,{items:Ce,scroll:d,header:d?n:void 0,className:d?"pt-3":void 0,renderMessageActions:k,onRuntimeRequestDecision:K,tail:je?(0,t.jsx)(t.Fragment,{children:s.renderer==="native"?(0,t.jsx)(Ie,{runId:`synthetic-${e.id}`,agentName:r,agent:i,items:z,status:T,startedAtMs:T==="queued"?null:p.current,finishedAtMs:U?p.current+4e4:null,activityUnavailable:s.activityUnavailable,continuedAfterSteering:s.continuedAfterSteering,onRuntimeRequestDecision:K}):(0,t.jsxs)(ye,{items:z,children:[(0,t.jsx)(we,{status:T,startedAtMs:T==="queued"?null:p.current,finishedAtMs:U?p.current+4e4:null,toolSummary:ke(s.entries)}),(0,t.jsx)(de.Provider,{value:d,children:(0,t.jsx)(be,{items:z,emptyMessage:s.emptyMessage??"Waiting for transcript…",onRuntimeRequestDecision:K})}),me?(0,t.jsx)(ee,{items:[{id:"synthetic-run-stop",kind:"marker",variant:"interrupted",tone:T==="cancelled"?"neutral":"error",collapsible:!0,label:T==="cancelled"?"Run cancelled":T==="timed_out"?"Run timed out":"Run failed",detail:T==="cancelled"?"The synthetic run was stopped; no saved task was changed.":"Synthetic provider failure: the test process stopped before a final reply was available."}],scroll:!1}):null]})}):null}),Me?(0,t.jsx)(Pe,{mobile:!1,streamlined:f,children:(0,t.jsx)(qe,{agentMap:Re,modelAgents:i?new Map([[i.id,i]]):void 0,currentAssigneeValue:`agent:${i?.id??"synthetic-agent"}`,enableReassign:!0,reassignOptions:[{id:`agent:${i?.id??"synthetic-agent"}`,label:r}],workMode:C,onWorkModeChange:Q,placeholder:`Message ${r} — synthetic reply…`,draftKey:`paperclip:design-sandbox:synthetic-thread:${e.id}`,onStop:U?void 0:async()=>D(!0),pause:s.paused&&!x?{scope:s.paused,onResume:a(async()=>V(!0),"onResume")}:null,takeover:E&&!u?{id:E.id,label:E.requestType==="permission"?"Permission":"Questions",pendingCount:1,content:(0,t.jsx)(Te,{item:E,presentation:"takeover",onRuntimeRequestDecision:K}),onDismiss:a(()=>S(!0),"onDismiss"),onSkip:a(()=>K(E,{action:"cancel"}),"onSkip")}:null,pendingTakeover:E&&u?{count:1,label:"1 pending input",onOpen:a(()=>S(!1),"onOpen")}:null,onAdd:a(async l=>W(g=>[...g,{id:`local-human-${g.length}`,kind:"message",author:"human",text:l,timestamp:"Just now",isCurrentUser:!0},{id:`local-agent-${g.length}`,kind:"message",author:"agent",authorName:r,agent:i,text:"Preview reply received. This exchange exists only in your browser; no agent was started.",timestamp:"Just now"}]),"onAdd")})}):null]})}a(et,"PreviewCase");export{it as default};
|