openpond 0.2.12 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-server.d.ts +6 -0
- package/dist/app-server.js +1 -1
- package/dist/chunks/{actions-command-GF4Y7XF4.js → actions-command-Q5HXY5XD.js} +1 -1
- package/dist/chunks/{app-layer-2GL42D4P.js → app-layer-S6H572UM.js} +1 -1
- package/dist/chunks/{app-server-runtime-24KZ44ZT.js → app-server-runtime-BHZQNP3K.js} +1 -1
- package/dist/chunks/{apps-CABD3NMT.js → apps-K5HMFAPI.js} +1 -1
- package/dist/chunks/{chunk-GHN2HOZZ.js → chunk-3GLSX322.js} +2 -2
- package/dist/chunks/{chunk-UM2K7YHI.js → chunk-3V5FPSOK.js} +1 -1
- package/dist/chunks/{chunk-NWSHAK3L.js → chunk-3YH3S5U2.js} +1 -1
- package/dist/chunks/chunk-6C2EXO4H.js +5 -0
- package/dist/chunks/{chunk-VTNKXJMD.js → chunk-BVYAP3M6.js} +1 -1
- package/dist/chunks/{chunk-4LEX4GTH.js → chunk-ECH6PXVK.js} +1 -1
- package/dist/chunks/{chunk-645ZCJMN.js → chunk-NYPLOXEP.js} +1 -1
- package/dist/chunks/{chunk-L564A7TY.js → chunk-O7SI3RQJ.js} +1 -1
- package/dist/chunks/chunk-OW4KET6I.js +5 -0
- package/dist/chunks/{chunk-RTHNSE6G.js → chunk-Q3KAKIVM.js} +1 -1
- package/dist/chunks/{chunk-USXJTOD5.js → chunk-ZMRT4B4H.js} +14 -14
- package/dist/chunks/{chunk-VAKLZZUV.js → chunk-ZZWAUD7I.js} +328 -328
- package/dist/chunks/{cli-5CB2IOBD.js → cli-2BUMKLMW.js} +1 -1
- package/dist/chunks/{configuration-command-ZLORYSWN.js → configuration-command-Q7XVBZ2E.js} +1 -1
- package/dist/chunks/{core-commands-ZG7XHCIV.js → core-commands-6GZ7T4SK.js} +1 -1
- package/dist/chunks/{desktop-test-VHPQRCW4.js → desktop-test-EKPOPWTL.js} +1 -1
- package/dist/chunks/{extension-B25YICMA.js → extension-A2BWJMRQ.js} +1 -1
- package/dist/chunks/{help-A3WX4THT.js → help-MTWG7AXZ.js} +1 -1
- package/dist/chunks/{opchat-54TLTDTZ.js → opchat-4QGK6MRL.js} +1 -1
- package/dist/chunks/{organizations-BUWM3YH7.js → organizations-TTUM577J.js} +1 -1
- package/dist/chunks/{profile-3WAMFPYW.js → profile-C33CIJOV.js} +1 -1
- package/dist/chunks/{project-agent-MODOYPZH.js → project-agent-5P3ALPRY.js} +1 -1
- package/dist/chunks/{sandbox-command-E5NLILGZ.js → sandbox-command-CEIXSDW2.js} +1 -1
- package/dist/chunks/{sandbox-template-JXBTBECW.js → sandbox-template-KTKWVKZ7.js} +1 -1
- package/dist/chunks/src-SKYU7PDL.js +319 -0
- package/dist/chunks/{src-DCKMDSJG.js → src-ZAF6VEWJ.js} +1 -1
- package/dist/chunks/{teams-bot-PBZVFB5A.js → teams-bot-O7IFQ3L6.js} +1 -1
- package/dist/chunks/{workspaces-A6ONMJW5.js → workspaces-MXYF6QTH.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/web/assets/{App-Br9-pOIC.js → App-BqgpZNh-.js} +33 -33
- package/dist/web/assets/{AppDialog-C6Xd84LF.js → AppDialog-BCzsyF8y.js} +1 -1
- package/dist/web/assets/{AppTerminalPanel-CjLTHGd7.js → AppTerminalPanel-Cqtaoc93.js} +2 -2
- package/dist/web/assets/{AppsView-BaOXLPG_.js → AppsView-BHz8ruGV.js} +1 -1
- package/dist/web/assets/{BrowserSidebar-C1UHkaci.js → BrowserSidebar-vrHh2y_s.js} +1 -1
- package/dist/web/assets/{CartesianChart-CC6gURj1.js → CartesianChart-C5PgQkxh.js} +1 -1
- package/dist/web/assets/{CollaborationTabs-D3v9jxIV.js → CollaborationTabs-OSqxEZgD.js} +1 -1
- package/dist/web/assets/{CommandMenu-DZJ4xot1.js → CommandMenu-XMeH3T6m.js} +1 -1
- package/dist/web/assets/{CommunityView-VElVyeHB.js → CommunityView-BPsy_BnG.js} +1 -1
- package/dist/web/assets/{ComposerCreateImproveStrip-D_Pldm1h.js → ComposerCreateImproveStrip-Bsh9eyj1.js} +1 -1
- package/dist/web/assets/{GetStartedView-Ciy_6VB-.js → GetStartedView-Ay67q9mX.js} +1 -1
- package/dist/web/assets/HostedModelLearningReview-C8PfSxcz.js +1 -0
- package/dist/web/assets/{HostedModelLearningSettings-Cba2jDOj.js → HostedModelLearningSettings-MG_1VD7H.js} +1 -1
- package/dist/web/assets/{LabModelVersionDetailPage-YGGjl8dY.js → LabModelVersionDetailPage-CPkCZhBg.js} +1 -1
- package/dist/web/assets/{LabSkillSidebar-D55wufz-.js → LabSkillSidebar-Y06Ghxe7.js} +1 -1
- package/dist/web/assets/{LabsRoute-BvJAvcAo.js → LabsRoute-CBy4evwc.js} +4 -4
- package/dist/web/assets/{MainChatThread-CQ9hEgUz.js → MainChatThread-CqG9WewR.js} +2 -2
- package/dist/web/assets/{MainPane-CH2CUmxD.js → MainPane-CQVCd0hz.js} +4 -4
- package/dist/web/assets/{MarkdownText-B7CT2cwK.js → MarkdownText-BSXFJB5s.js} +1 -1
- package/dist/web/assets/{Messages-9_Bf5Lii.js → Messages-CcKLreir.js} +1 -1
- package/dist/web/assets/{NativeSkillSidebar-BIpYM4uF.js → NativeSkillSidebar-BF4T1Tuy.js} +1 -1
- package/dist/web/assets/{NewExperienceSwitcher-D6RLDRgD.js → NewExperienceSwitcher-BH2-_iQt.js} +1 -1
- package/dist/web/assets/{NewProjectDialog-DlnYnpsm.js → NewProjectDialog-BSkPgqLX.js} +1 -1
- package/dist/web/assets/{OutputsPage-D1JY14ij.js → OutputsPage-DBAfj1e_.js} +1 -1
- package/dist/web/assets/{ProjectsPage-kRy0z4oP.js → ProjectsPage-DOTViI5-.js} +1 -1
- package/dist/web/assets/{RightChatPanelStack-D0Zdekbb.js → RightChatPanelStack-D3wuMm3F.js} +1 -1
- package/dist/web/assets/{RightSidebarHomePanel-BCW78Zbx.js → RightSidebarHomePanel-DLP1LFoX.js} +1 -1
- package/dist/web/assets/{ScheduledWorkPage-D2iewjFh.js → ScheduledWorkPage-BETU42Pi.js} +1 -1
- package/dist/web/assets/{SettingsView-CLSg--Vp.css → SettingsView-B9Tn0_zX.css} +1 -1
- package/dist/web/assets/SettingsView-D2eKwMH6.js +9 -0
- package/dist/web/assets/{TeamChatView-BhcWyJXF.js → TeamChatView-ytGArG3p.js} +1 -1
- package/dist/web/assets/{TerminalOverlay-GXVklUL1.js → TerminalOverlay-FV-T6Vk6.js} +1 -1
- package/dist/web/assets/{TrainingCreationPanel-DPEt3Kcq.js → TrainingCreationPanel-D7UhsNpa.js} +1 -1
- package/dist/web/assets/{TrainingDraftPanel-BiYk2Ti6.js → TrainingDraftPanel-BZ4ZhYbm.js} +1 -1
- package/dist/web/assets/{UsageSettingsSection-DOR-WjP_.js → UsageSettingsSection-Ml9cMCUi.js} +1 -1
- package/dist/web/assets/{WorkSidebarPanel-MFyj6kAC.js → WorkSidebarPanel-DZZK0_vI.js} +1 -1
- package/dist/web/assets/{WorkspaceDiffPanel-Dhk5IRNe.js → WorkspaceDiffPanel-CSLiV2LC.js} +3 -3
- package/dist/web/assets/{WorkspaceEnvironmentMenu-CR-2HGxj.js → WorkspaceEnvironmentMenu-dqDA6sik.js} +1 -1
- package/dist/web/assets/{WorkspaceGitDialogs-YTvn4Rpj.js → WorkspaceGitDialogs-C9ptN_7-.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-C_NHJaDf.js → WorkspaceMonacoEditor-BOa6xAaO.js} +3 -3
- package/dist/web/assets/{arrow-up-right-B_joTAq0.js → arrow-up-right-Qq_YNPUt.js} +1 -1
- package/dist/web/assets/{chat-file-links-CtG3brZZ.js → chat-file-links-z54bmvhH.js} +1 -1
- package/dist/web/assets/chevron-up-CIrVx_eP.js +1 -0
- package/dist/web/assets/{clipboard-BuMCABK6.js → clipboard-C_cLfHiu.js} +1 -1
- package/dist/web/assets/{cloud-upload-Cx6hdgxq.js → cloud-upload-B1A_725d.js} +1 -1
- package/dist/web/assets/{cssMode-DgBmbKa2.js → cssMode-DKjB86V7.js} +1 -1
- package/dist/web/assets/{folder-open-CbqwcgQ4.js → folder-open-BAqrqIkA.js} +1 -1
- package/dist/web/assets/{folder-plus-DsZqlrho.js → folder-plus-Aw6rEy1D.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-DI-UCrjd.js → git-commit-horizontal-75RSWQ3Q.js} +1 -1
- package/dist/web/assets/{htmlMode-BuyogX60.js → htmlMode-CH03ACqd.js} +1 -1
- package/dist/web/assets/{index-BPeus0zA.js → index-C0gdp_hv.js} +2 -2
- package/dist/web/assets/{info-Csd_7rfz.js → info-CXzXdZ1o.js} +1 -1
- package/dist/web/assets/{jsonMode-DflDpOXZ.js → jsonMode-Bvmzl5ln.js} +1 -1
- package/dist/web/assets/{lspLanguageFeatures-C_Z8VeHY.js → lspLanguageFeatures-BKXLyuIE.js} +1 -1
- package/dist/web/assets/{minimize-2-CiM53hsa.js → minimize-2-C-6SC3Bs.js} +1 -1
- package/dist/web/assets/{monaco.contribution-JwSEb0Jo.js → monaco.contribution-BON5T_eJ.js} +2 -2
- package/dist/web/assets/{monaco.contribution-CGcq8kux.js → monaco.contribution-BwSCuTR3.js} +2 -2
- package/dist/web/assets/{monaco.contribution-CRL61P2H.js → monaco.contribution-Cv_QTWVQ.js} +2 -2
- package/dist/web/assets/{monaco.contribution-BINeU8ff.js → monaco.contribution-rtAnmt_x.js} +2 -2
- package/dist/web/assets/{play-DkIcSdr1.js → play-BnkiBq8x.js} +1 -1
- package/dist/web/assets/{python--dgmZUVn.js → python-Rd5MxRAN.js} +1 -1
- package/dist/web/assets/{refresh-cw-DgmxGLBV.js → refresh-cw-BISaiIBt.js} +1 -1
- package/dist/web/assets/{save-C_D7xpZD.js → save-BcVbYiGU.js} +1 -1
- package/dist/web/assets/{square-BcHQSDWK.js → square-Bn32OIid.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-8waBinRS.js → toggleHighContrast-DDw4wPS9.js} +1 -1
- package/dist/web/assets/{tsMode-BBuDuuGt.js → tsMode-Dt73U5ww.js} +1 -1
- package/dist/web/assets/{upload-C7vLlEEp.js → upload-AB1N3bCZ.js} +1 -1
- package/dist/web/assets/{useLocalAgentSchedules-Bjl2NojO.js → useLocalAgentSchedules-D7QTyYKj.js} +1 -1
- package/dist/web/assets/{wifi-off-BLh536Wc.js → wifi-off-BAX1UWLx.js} +1 -1
- package/dist/web/assets/{workers-B6wHgIsA.js → workers-DE3-vPyS.js} +1 -1
- package/dist/web/assets/{yaml-8rW7oQNv.js → yaml-C0JBPZbg.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/dist/chunks/chunk-4LSZK4MF.js +0 -6
- package/dist/chunks/chunk-F5JZYYKU.js +0 -5
- package/dist/chunks/src-IBMTL45C.js +0 -319
- package/dist/web/assets/HostedModelLearningReview-__PVEYUw.js +0 -1
- package/dist/web/assets/SettingsView-JjtvXV3D.js +0 -9
- package/dist/web/assets/chevron-up-BKSpg6hY.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as d,j as e}from"./index-BPeus0zA.js";import{v as C,w as je,aX as pe,dr as be,bl as ve,X as ye,aK as re,g as we,t as Ne,aB as U,ds as ge}from"./App-Br9-pOIC.js";import{R as q,u as ke}from"./useLocalAgentSchedules-Bjl2NojO.js";import{a as Se,P as B,T as ie}from"./chat-file-links-CtG3brZZ.js";import{P as X}from"./play-DkIcSdr1.js";import{R as Re}from"./refresh-cw-DgmxGLBV.js";import{S as Ce}from"./save-C_D7xpZD.js";import{M as Ae}from"./minimize-2-CiM53hsa.js";const De=3e4;function $e(s){const[t,n]=d.useState([]),[l,c]=d.useState([]),[f,u]=d.useState(null),[h,a]=d.useState(!1),[r,j]=d.useState(null),[N,w]=d.useState(()=>new Set);async function m(i,p){p&&a(!0);try{const x=await C.hostedSavedWork(i);n(x.definitions),c(x.runs),u(x.webBaseUrl??null),j(null)}catch(x){j(H(x))}finally{p&&a(!1)}}d.useEffect(()=>{if(!s){n([]),c([]),u(null),j(null),a(!1);return}let i=!1;const p=async $=>{if(!i){$&&a(!0);try{const k=await C.hostedSavedWork(s);if(i)return;n(k.definitions),c(k.runs),u(k.webBaseUrl??null),j(null)}catch(k){i||j(H(k))}finally{!i&&$&&a(!1)}}};p(!0);const x=window.setInterval(()=>{p(!1)},De);return()=>{i=!0,window.clearInterval(x)}},[s]);async function y(){s&&await m(s,!0)}async function b(i){s&&(await C.createHostedSavedWork(s,i),await m(s,!1))}async function R(i,p){await D(i,async x=>{await C.updateHostedSavedWork(x,i,p)})}async function g(i){await D(i,async p=>{await C.deleteHostedSavedWork(p,i)})}async function W(i){await D(i,async p=>{await C.runHostedSavedWork(p,i,crypto.randomUUID())})}async function D(i,p){if(!(!s||N.has(i))){M(i,!0);try{await p(s),await m(s,!1)}catch(x){throw j(H(x)),x}finally{M(i,!1)}}}function M(i,p){w(x=>{const $=new Set(x);return p?$.add(i):$.delete(i),$})}return{create:b,definitions:t,error:r,loading:h,pendingScheduleIds:N,refresh:y,remove:g,run:W,runs:l,update:R,webBaseUrl:f}}function H(s){return s instanceof Error?s.message:String(s)}const Ee=3e4;function Te(s){const[t,n]=d.useState([]),[l,c]=d.useState([]),[f,u]=d.useState(!1),[h,a]=d.useState(null),[r,j]=d.useState(()=>new Set),N=d.useCallback(async m=>{if(s){m&&u(!0);try{const y=await C.chatWorkflows(s);n(y.workflows),c(y.runs),a(null)}catch(y){a(y instanceof Error?y.message:String(y))}finally{m&&u(!1)}}},[s]);d.useEffect(()=>{if(!s){n([]),c([]),a(null),u(!1);return}N(!0);const m=window.setInterval(()=>{N(!1)},Ee);return()=>window.clearInterval(m)},[s,N]);async function w(m,y){if(!r.has(m)){j(b=>new Set(b).add(m));try{await y(),await N(!1)}catch(b){throw a(b instanceof Error?b.message:String(b)),b}finally{j(b=>{const R=new Set(b);return R.delete(m),R})}}}return{workflows:t,runs:l,loading:f,error:h,pendingIds:r,refresh:()=>N(!0),update:(m,y)=>w(m,()=>C.updateChatWorkflow(s,m,y)),remove:m=>w(m,()=>C.deleteChatWorkflow(s,m)),run:m=>w(m,()=>C.runChatWorkflow(s,m))}}const de="openpond.scheduled-work.view.v1";function Q(s=ce()){try{return s?.getItem(de)==="list"?"list":"calendar"}catch{return"calendar"}}function Me(s,t=ce()){try{t?.setItem(de,s)}catch{}}function ce(){if(typeof window>"u")return null;try{return je}catch{return null}}function A(s,t){if(!s)return"None";const n=new Date(s);if(!Number.isFinite(n.getTime()))return"None";try{return n.toLocaleString(void 0,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",...t?{timeZone:t,timeZoneName:"short"}:{}})}catch{return n.toLocaleString()}}function oe(s){return O(s.replaceAll("_"," "))}function O(s){return s.replace(/^./,t=>t.toUpperCase())}function ue(s){const[t="0",n="00"]=s.split(":");return new Date(2020,0,1,Number(t),Number(n)).toLocaleTimeString(void 0,{hour:"numeric",minute:"2-digit"})}function Ie({run:s}){const t=s.error||s.stderr||s.stdout;return e.jsxs("details",{className:"scheduled-run-row",children:[e.jsxs("summary",{children:[e.jsxs("span",{children:[e.jsx("strong",{children:oe(s.status)}),e.jsx("small",{children:A(s.createdAt,null)})]}),e.jsx("span",{className:"scheduled-run-trigger",children:s.trigger==="manual"?"Manual":"Scheduled"})]}),t?e.jsx("pre",{children:t}):null]})}function We({onOpen:s,run:t}){return e.jsxs("button",{className:"scheduled-run-row hosted",onClick:s,type:"button",children:[e.jsxs("span",{children:[e.jsx("strong",{children:oe(t.status)}),e.jsx("small",{children:A(t.createdAt,null)})]}),e.jsxs("span",{className:"scheduled-run-trigger",children:[O(t.triggerKind)," ",e.jsx(re,{size:11})]}),t.deliveryError?e.jsx("p",{children:t.deliveryError}):null]})}function G({children:s,detailExpanded:t,label:n,onClose:l,onDetailResizeStart:c,onToggleDetailExpanded:f}){return e.jsxs("aside",{"aria-label":n,className:`workspace-diff-panel scheduled-detail${t?" expanded":""}`,children:[t?null:e.jsx("div",{"aria-label":"Resize schedule details","aria-orientation":"vertical",className:"workspace-diff-resize-handle",onPointerDown:c,role:"separator"}),e.jsxs("div",{className:"workspace-diff-topbar",children:[e.jsx("div",{className:"workspace-diff-tabs",role:"tablist","aria-label":"Schedule details",children:e.jsxs("button",{"aria-selected":"true",className:"workspace-diff-tab active",role:"tab",type:"button",children:[e.jsx(be,{size:14}),e.jsx("span",{children:"Schedule"})]})}),e.jsxs("div",{className:"workspace-diff-toolbar-actions",children:[e.jsx("button",{"aria-label":t?"Dock schedule details":"Expand schedule details",className:"diff-icon-button",onClick:f,title:t?"Dock schedule details":"Expand schedule details",type:"button",children:t?e.jsx(Ae,{size:14}):e.jsx(ve,{size:14})}),e.jsx("button",{"aria-label":"Close schedule details",className:"diff-icon-button",onClick:l,title:"Close schedule details",type:"button",children:e.jsx(ye,{size:14})})]})]}),e.jsx("div",{className:"scheduled-detail-body",children:s})]})}function E({children:s,title:t}){return e.jsxs("section",{className:"scheduled-detail-section",children:[e.jsx("div",{className:"scheduled-detail-section-heading",children:e.jsx("h3",{children:t})}),s]})}function S({label:s,value:t}){return e.jsxs("div",{children:[e.jsx("dt",{children:s}),e.jsx("dd",{children:t})]})}function V({children:s}){return e.jsx("p",{className:"scheduled-empty",children:s})}function he({label:s}){return e.jsxs("div",{className:"scheduled-loading",role:"status",children:[e.jsx(pe,{className:"scheduled-spin",size:16}),e.jsx("span",{children:s})]})}const Le=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function ze({items:s,onSelect:t,selectedKey:n}){const[l,c]=d.useState(()=>ee(new Date)),f=d.useMemo(()=>Pe(l),[l]),u=d.useMemo(()=>Fe(s),[s]),h=new Intl.DateTimeFormat(void 0,{month:"long",year:"numeric"}).format(l),a=s.filter(r=>!xe(r.nextRunAt));return e.jsxs("div",{className:"scheduled-calendar",children:[e.jsxs("div",{className:"scheduled-calendar-toolbar",children:[e.jsx("strong",{children:h}),e.jsxs("div",{children:[e.jsx("button",{"aria-label":"Previous month",className:"scheduled-icon-button",onClick:()=>c(se(l,-1)),type:"button",children:e.jsx(we,{size:15})}),e.jsx("button",{className:"scheduled-calendar-today",onClick:()=>c(ee(new Date)),type:"button",children:"Today"}),e.jsx("button",{"aria-label":"Next month",className:"scheduled-icon-button",onClick:()=>c(se(l,1)),type:"button",children:e.jsx(Se,{size:15})})]})]}),e.jsxs("div",{className:"scheduled-calendar-grid",role:"grid","aria-label":h,children:[Le.map(r=>e.jsx("div",{className:"scheduled-calendar-weekday",role:"columnheader",children:r},r)),f.map(r=>{const j=Y(r),N=u.get(j)??[],w=r.getMonth()!==l.getMonth(),m=j===Y(new Date);return e.jsxs("div",{className:`scheduled-calendar-day${w?" outside":""}${m?" today":""}`,role:"gridcell",children:[e.jsx("span",{className:"scheduled-calendar-day-number",children:r.getDate()}),e.jsx("div",{className:"scheduled-calendar-events",children:N.map(y=>e.jsxs("button",{"aria-current":n===y.key?"true":void 0,className:`scheduled-calendar-event${y.enabled?"":" paused"}`,onClick:()=>t(y.key),title:y.title,type:"button",children:[e.jsx("span",{children:Ze(y.nextRunAt)}),e.jsx("strong",{children:y.title})]},y.key))})]},j)})]}),a.length?e.jsxs("div",{className:"scheduled-calendar-unscheduled",children:[e.jsx("span",{children:"No upcoming run"}),e.jsx("div",{children:a.map(r=>e.jsx("button",{onClick:()=>t(r.key),type:"button",children:r.title},r.key))})]}):null]})}function Pe(s){const t=new Date(s.getFullYear(),s.getMonth(),1),n=new Date(t);return n.setDate(t.getDate()-t.getDay()),Array.from({length:42},(l,c)=>{const f=new Date(n);return f.setDate(n.getDate()+c),f})}function Fe(s){const t=new Map;for(const n of s){const l=xe(n.nextRunAt);if(!l)continue;const c=Y(l);t.set(c,[...t.get(c)??[],n])}for(const n of t.values())n.sort((l,c)=>l.nextRunAt.localeCompare(c.nextRunAt));return t}function xe(s){if(!s)return null;const t=new Date(s);return Number.isNaN(t.getTime())?null:t}function Y(s){return`${s.getFullYear()}-${String(s.getMonth()+1).padStart(2,"0")}-${String(s.getDate()).padStart(2,"0")}`}function ee(s){return new Date(s.getFullYear(),s.getMonth(),1)}function se(s,t){return new Date(s.getFullYear(),s.getMonth()+t,1)}function Ze(s){return new Intl.DateTimeFormat(void 0,{hour:"numeric",minute:"2-digit"}).format(new Date(s))}function _e({cadence:s,onSelect:t,schedule:n,selected:l}){return e.jsxs("button",{"aria-current":l?"true":void 0,className:"scheduled-list-row",onClick:t,type:"button",children:[e.jsx("span",{className:`scheduled-status-dot ${n.enabled?"active":"paused"}`}),e.jsxs("span",{className:"scheduled-list-copy",children:[e.jsx("span",{className:"scheduled-list-title",children:e.jsx("strong",{children:n.scheduleName})}),e.jsx("span",{children:n.localProjectName}),e.jsxs("small",{children:[s,n.nextRunAt?` · Next ${A(n.nextRunAt,n.timezone)}`:" · No next run"]})]})]})}function Oe({cadence:s,definition:t,onSelect:n,schedule:l,selected:c}){return e.jsxs("button",{"aria-current":c?"true":void 0,className:"scheduled-list-row",onClick:n,type:"button",children:[e.jsx("span",{className:`scheduled-status-dot ${l.enabled?"active":"paused"}`}),e.jsxs("span",{className:"scheduled-list-copy",children:[e.jsxs("span",{className:"scheduled-list-title",children:[e.jsx("strong",{children:t.name}),e.jsx("small",{className:"scheduled-environment-badge hosted",children:"Hosted"})]}),e.jsx("span",{children:t.prompt}),e.jsxs("small",{children:[s,l.nextRunAt?` · Next ${A(l.nextRunAt,l.timeZone)}`:" · No next run"]})]})]})}function Ue({cadence:s,onSelect:t,selected:n,workflow:l}){return e.jsxs("button",{"aria-current":n?"true":void 0,className:"scheduled-list-row",onClick:t,type:"button",children:[e.jsx("span",{className:`scheduled-status-dot ${l.enabled?"active":"paused"}`}),e.jsxs("span",{className:"scheduled-list-copy",children:[e.jsxs("span",{className:"scheduled-list-title",children:[e.jsx("strong",{children:l.name}),e.jsx("small",{className:"scheduled-environment-badge",children:"Chat"})]}),e.jsx("span",{children:l.prompt}),e.jsxs("small",{children:["Runs in ",l.sessionTitle," · ",s,l.nextRunAt?` · Next ${A(l.nextRunAt,l.recurrence.timeZone)}`:" · No next run"]})]})]})}function Ke(s,t){return s.filter(n=>t==="active"?n.enabled:t==="paused"?!n.enabled:!0).sort((n,l)=>{const c=n.nextRunAt?new Date(n.nextRunAt).getTime():Number.POSITIVE_INFINITY,f=l.nextRunAt?new Date(l.nextRunAt).getTime():Number.POSITIVE_INFINITY;return c-f||n.name.localeCompare(l.name)})}function J(s){const t=ue(s.localTime);return s.kind==="once"?`Once on ${s.startDate} at ${t} · ${s.timeZone}`:s.kind==="weekdays"?`Weekdays at ${t} · ${s.timeZone}`:s.kind==="weekly"?`${s.weekdays?.map(O).join(", ")??"Weekly"} at ${t} · ${s.timeZone}`:s.kind==="monthly"?`Monthly on day ${s.dayOfMonth??1} at ${t} · ${s.timeZone}`:`Daily at ${t} · ${s.timeZone}`}function He({detailExpanded:s,onClose:t,onDelete:n,onDetailResizeStart:l,onRun:c,onToggle:f,onToggleDetailExpanded:u,pending:h,runs:a,workflow:r}){return e.jsxs(G,{detailExpanded:s,label:`${r.name} details`,onClose:t,onDetailResizeStart:l,onToggleDetailExpanded:u,children:[e.jsx("div",{className:"scheduled-detail-header",children:e.jsxs("div",{children:[e.jsxs("div",{className:"scheduled-detail-title-row",children:[e.jsx("h2",{children:"Workflow details"}),e.jsx("span",{children:r.enabled?"Active":"Paused"})]}),e.jsx("p",{children:r.name})]})}),e.jsx(E,{title:"Prompt",children:e.jsx("pre",{className:"scheduled-prompt",children:r.prompt})}),e.jsxs(E,{title:"Delivery",children:[e.jsxs("dl",{className:"scheduled-detail-fields",children:[e.jsx(S,{label:"Runs in",value:r.sessionTitle}),e.jsx(S,{label:"Cadence",value:J(r.recurrence)}),e.jsx(S,{label:"Next run",value:A(r.nextRunAt,r.recurrence.timeZone)}),e.jsx(S,{label:"Last run",value:A(r.lastRunAt,r.recurrence.timeZone)})]}),r.lastError?e.jsx("p",{className:"scheduled-detail-error",children:r.lastError}):null]}),e.jsxs("div",{className:"scheduled-detail-actions",children:[e.jsxs("button",{disabled:h,onClick:()=>{c()},type:"button",children:[e.jsx(q,{size:15}),e.jsx("span",{children:"Run now"})]}),e.jsxs("button",{disabled:h,onClick:()=>{f()},type:"button",children:[r.enabled?e.jsx(B,{size:15}):e.jsx(X,{size:15}),e.jsx("span",{children:r.enabled?"Pause":"Resume"})]}),e.jsxs("button",{disabled:h,onClick:()=>{n()},type:"button",children:[e.jsx(ie,{size:15}),e.jsx("span",{children:"Delete"})]})]}),e.jsx(E,{title:"Runs",children:a.length===0?e.jsx("p",{className:"scheduled-no-runs",children:"No runs yet."}):e.jsx("div",{className:"scheduled-run-list",children:a.map(j=>e.jsxs("div",{className:"scheduled-run-row",children:[e.jsx("span",{children:O(j.status)}),e.jsx("small",{children:A(j.createdAt,r.recurrence.timeZone)}),j.error?e.jsx("p",{children:j.error}):null]},j.id))})})]})}const Ve=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"];function ms({connection:s,detailOpen:t,detailExpanded:n,onDetailOpenChange:l,onDetailResizeStart:c,onToggleDetailExpanded:f}){const u=$e(s),h=Te(s),a=ke(s),[r,j]=d.useState("all"),[N,w]=d.useState(Q);Ne(()=>w(Q()));const[m,y]=d.useState(!1),[b,R]=d.useState(null),g=d.useMemo(()=>Be(u.definitions),[u.definitions]),W=d.useMemo(()=>Xe(g,r),[r,g]),D=d.useMemo(()=>Ge(a.schedules,r),[r,a.schedules]),M=d.useMemo(()=>Ke(h.workflows,r),[h.workflows,r]),i=g.find(o=>_(o.schedule.id)===b)??null,p=a.schedules.find(o=>F(o.id)===b)??null,x=h.workflows.find(o=>Z(o.id)===b)??null,$=i?u.runs.filter(o=>o.scheduleId===i.schedule.id):[],k=d.useMemo(()=>Je(M,D,W),[M,D,W]),K=d.useMemo(()=>k.map(Qe),[k]);U(u.error,{prefix:"Workflows"}),U(a.error,{prefix:"Local schedules"}),U(h.error,{prefix:"Chat workflows"}),d.useEffect(()=>{b&&!i&&!p&&!x&&R(null)},[x,i,p,b]),d.useEffect(()=>{!t&&b&&R(null)},[t,b]),d.useEffect(()=>()=>l(!1),[l]);function T(o){R(o),l(!0)}function I(){R(null),l(!1)}function z(o){w(o),Me(o)}async function P(){y(!0);try{await Promise.all([u.refresh(),a.refresh(),h.refresh()])}finally{y(!1)}}return e.jsxs("section",{"aria-label":"Workflows",className:`scheduled-work-view${i||p||x?" detail-open":""}${n?" detail-expanded":""}`,children:[e.jsx("div",{className:"scheduled-work-scroll",children:e.jsxs("div",{className:"scheduled-work-content",children:[e.jsxs("header",{className:"scheduled-work-header",children:[e.jsxs("div",{"aria-label":"Workflow view",className:"scheduled-view-tabs",role:"tablist",children:[e.jsx("button",{"aria-selected":N==="calendar",className:N==="calendar"?"active":void 0,onClick:()=>z("calendar"),role:"tab",type:"button",children:"Calendar"}),e.jsx("button",{"aria-selected":N==="list",className:N==="list"?"active":void 0,onClick:()=>z("list"),role:"tab",type:"button",children:"List"})]}),e.jsxs("div",{className:"scheduled-work-header-actions",children:[e.jsx("button",{"aria-label":"Refresh schedules",className:"scheduled-icon-button",disabled:!s||u.loading||a.loading||h.loading,onClick:()=>{P()},title:"Refresh schedules",type:"button",children:e.jsx(Re,{className:m?"scheduled-spin":void 0,size:16})}),e.jsxs("label",{className:"scheduled-filter",children:[e.jsx(ge,{"aria-hidden":"true",size:16}),e.jsxs("select",{"aria-label":"Schedule filter",onChange:o=>j(o.target.value),value:r,children:[e.jsx("option",{value:"active",children:"Active"}),e.jsx("option",{value:"paused",children:"Paused"}),e.jsx("option",{value:"all",children:"All"})]})]})]})]}),e.jsx("section",{"aria-busy":u.loading||a.loading||h.loading,className:"scheduled-list",children:s?(u.loading||a.loading||h.loading)&&g.length===0&&a.schedules.length===0&&h.workflows.length===0?e.jsx(he,{label:"Loading schedules"}):u.error&&a.error&&g.length===0&&a.schedules.length===0?e.jsx(V,{children:"Schedules are unavailable. Refresh to try again."}):k.length===0?e.jsx(V,{children:"Create a scheduled task here or ask for one in Work."}):N==="calendar"?e.jsx(ze,{items:K,onSelect:T,selectedKey:b}):e.jsx("div",{className:"scheduled-list-rows",children:k.map(o=>o.kind==="chat"?e.jsx(Ue,{cadence:J(o.workflow.recurrence),onSelect:()=>T(Z(o.workflow.id)),selected:b===Z(o.workflow.id),workflow:o.workflow},Z(o.workflow.id)):o.kind==="local"?e.jsx(_e,{cadence:fe(o.schedule),onSelect:()=>T(F(o.schedule.id)),schedule:o.schedule,selected:b===F(o.schedule.id)},F(o.schedule.id)):e.jsx(Oe,{cadence:es(o.row.schedule),definition:o.row.definition,onSelect:()=>T(_(o.row.schedule.id)),schedule:o.row.schedule,selected:b===_(o.row.schedule.id)},_(o.row.schedule.id)))}):e.jsx(V,{children:"Connect to OpenPond to view scheduled Work."})})]})}),i?e.jsx(qe,{onClose:I,onDelete:async()=>{await u.remove(i.schedule.id),I()},onRun:()=>u.run(i.schedule.id),onSave:o=>u.update(i.schedule.id,o),onToggle:()=>u.update(i.schedule.id,{enabled:!i.schedule.enabled}),pending:u.pendingScheduleIds.has(i.schedule.id),row:i,runs:$,detailExpanded:n,onDetailResizeStart:c,onToggleDetailExpanded:f,webBaseUrl:u.webBaseUrl},`${i.schedule.id}:${i.definition.version}:${i.schedule.configurationVersion}`):x?e.jsx(He,{detailExpanded:n,onClose:I,onDelete:async()=>{await h.remove(x.id),I()},onDetailResizeStart:c,onRun:()=>h.run(x.id),onToggle:()=>h.update(x.id,{enabled:!x.enabled}),onToggleDetailExpanded:f,pending:h.pendingIds.has(x.id),runs:h.runs.filter(o=>o.workflowId===x.id),workflow:x},x.id):p?e.jsx(Ye,{connection:s,onClose:I,onRun:()=>a.run(p),onToggle:()=>a.toggle(p),pending:a.pendingScheduleIds.has(p.id),schedule:p,detailExpanded:n,onDetailResizeStart:c,onToggleDetailExpanded:f},p.id):null]})}function Ye({connection:s,detailExpanded:t,onClose:n,onDetailResizeStart:l,onRun:c,onToggleDetailExpanded:f,onToggle:u,pending:h,schedule:a}){const r=ns(s,a.id);return U(r.error,{prefix:"Local schedule runs"}),e.jsxs(G,{detailExpanded:t,label:`${a.scheduleName} details`,onClose:n,onDetailResizeStart:l,onToggleDetailExpanded:f,children:[e.jsx("div",{className:"scheduled-detail-header",children:e.jsxs("div",{children:[e.jsxs("div",{className:"scheduled-detail-title-row",children:[e.jsx("h2",{children:"Schedule details"}),e.jsx("span",{children:a.enabled?"Active":"Paused"})]}),e.jsx("p",{children:a.scheduleName})]})}),e.jsxs(E,{title:"Task",children:[e.jsxs("dl",{className:"scheduled-detail-fields",children:[e.jsx(S,{label:"Environment",value:"Local"}),e.jsx(S,{label:"Project",value:a.localProjectName}),e.jsx(S,{label:"Agent",value:a.agentName}),e.jsx(S,{label:"Action",value:a.targetAction})]}),e.jsx("pre",{className:"scheduled-prompt",children:ts(a)})]}),e.jsxs(E,{title:"Schedule",children:[e.jsxs("dl",{className:"scheduled-detail-fields",children:[e.jsx(S,{label:"Cadence",value:fe(a)}),e.jsx(S,{label:"Expression",value:a.scheduleExpression}),e.jsx(S,{label:"Timezone",value:a.timezone??"Local time"}),e.jsx(S,{label:"Next run",value:A(a.nextRunAt,a.timezone)}),e.jsx(S,{label:"Last run",value:A(a.lastRunAt,a.timezone)})]}),a.lastError?e.jsx("p",{className:"scheduled-detail-error",children:a.lastError}):null]}),e.jsxs("div",{className:"scheduled-detail-actions",children:[e.jsxs("button",{disabled:h,onClick:()=>{c()},type:"button",children:[e.jsx(q,{size:15}),e.jsx("span",{children:"Run now"})]}),e.jsxs("button",{disabled:h,onClick:()=>{u()},type:"button",children:[a.enabled?e.jsx(B,{size:15}):e.jsx(X,{size:15}),e.jsx("span",{children:a.enabled?"Pause":"Resume"})]})]}),e.jsx(E,{title:"Runs",children:r.loading&&r.runs.length===0?e.jsx(he,{label:"Loading runs"}):r.runs.length===0?e.jsx("p",{className:"scheduled-no-runs",children:"No runs yet."}):e.jsx("div",{className:"scheduled-run-list",children:r.runs.map(j=>e.jsx(Ie,{run:j},j.id))})})]})}function qe({detailExpanded:s,onClose:t,onDelete:n,onDetailResizeStart:l,onRun:c,onSave:f,onToggleDetailExpanded:u,onToggle:h,pending:a,row:r,runs:j,webBaseUrl:N}){const w=ss(r.schedule),[m,y]=d.useState(r.definition.name),[b,R]=d.useState(r.definition.prompt),[g,W]=d.useState(w.kind),[D,M]=d.useState(w.timeZone),[i,p]=d.useState(w.startDate),[x,$]=d.useState(w.localTime),[k,K]=d.useState(w.weekdays?.[0]??"monday"),[T,I]=d.useState(w.dayOfMonth??1),z=j[0]?.conversationId??null,P=N?le(N,z):null,o=m!==r.definition.name||b!==r.definition.prompt||g!==w.kind||D!==w.timeZone||i!==w.startDate||x!==w.localTime||k!==(w.weekdays?.[0]??"monday")||T!==(w.dayOfMonth??1);async function me(v){v.preventDefault(),await f({name:m,prompt:b,recurrence:{version:1,kind:g,timeZone:D,startDate:i,localTime:x,end:{kind:"never"},...g==="weekly"?{weekdays:[k]}:{},...g==="monthly"?{dayOfMonth:T}:{}}})}return e.jsx(G,{detailExpanded:s,label:`${r.definition.name} details`,onClose:t,onDetailResizeStart:l,onToggleDetailExpanded:u,children:e.jsxs("form",{onSubmit:me,children:[e.jsxs("div",{className:"scheduled-detail-header",children:[e.jsx("div",{children:e.jsxs("div",{className:"scheduled-detail-title-row",children:[e.jsx("h2",{children:"Schedule details"}),e.jsx("span",{children:r.schedule.enabled?"Active":"Paused"})]})}),e.jsx("div",{className:"scheduled-detail-header-controls",children:e.jsx("button",{"aria-label":"Delete schedule",className:"scheduled-icon-button",disabled:a,onClick:()=>{n()},title:"Delete schedule",type:"button",children:e.jsx(ie,{size:16})})})]}),e.jsxs(E,{title:"Task",children:[e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Name"}),e.jsx("input",{maxLength:180,onChange:v=>y(v.target.value),required:!0,value:m})]}),e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Prompt"}),e.jsx("textarea",{onChange:v=>R(v.target.value),required:!0,value:b})]})]}),e.jsxs(E,{title:"Schedule",children:[e.jsxs("div",{className:"scheduled-field-grid",children:[e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Repeat"}),e.jsxs("select",{onChange:v=>W(v.target.value),value:g,children:[e.jsx("option",{value:"once",children:"Once"}),e.jsx("option",{value:"daily",children:"Daily"}),e.jsx("option",{value:"weekdays",children:"Weekdays"}),e.jsx("option",{value:"weekly",children:"Weekly"}),e.jsx("option",{value:"monthly",children:"Monthly"})]})]}),g==="weekly"?e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Day"}),e.jsx("select",{onChange:v=>K(v.target.value),value:k,children:Ve.map(v=>e.jsx("option",{value:v,children:O(v)},v))})]}):g==="monthly"?e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Day of month"}),e.jsx("input",{max:31,min:1,onChange:v=>I(Number(v.target.value)),type:"number",value:T})]}):null,e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Start date"}),e.jsx("input",{onChange:v=>p(v.target.value),required:!0,type:"date",value:i})]}),e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Time"}),e.jsx("input",{onChange:v=>$(v.target.value),required:!0,type:"time",value:x})]}),e.jsxs("label",{className:"scheduled-field scheduled-field-wide",children:[e.jsx("span",{children:"Timezone"}),e.jsx("input",{onChange:v=>M(v.target.value),required:!0,value:D})]})]}),e.jsxs("p",{className:"scheduled-next-run",children:["Next run: ",A(r.schedule.nextRunAt,w.timeZone)]})]}),e.jsxs("div",{className:"scheduled-detail-actions",children:[o?e.jsxs("button",{disabled:a,type:"submit",children:[e.jsx(Ce,{size:15}),e.jsx("span",{children:"Save"})]}):null,e.jsxs("button",{disabled:a,onClick:()=>{c()},type:"button",children:[e.jsx(q,{size:15}),e.jsx("span",{children:"Run now"})]}),e.jsxs("button",{disabled:a,onClick:()=>{h()},type:"button",children:[r.schedule.enabled?e.jsx(B,{size:15}):e.jsx(X,{size:15}),e.jsx("span",{children:r.schedule.enabled?"Pause":"Resume"})]})]}),e.jsxs("button",{className:"scheduled-open-chat",disabled:a||!P,onClick:()=>{P&&ae(P,z)},type:"button",children:[e.jsx("span",{children:"Open hosted chat"}),e.jsx(re,{size:14})]}),e.jsx(E,{title:"Runs",children:j.length===0?e.jsx("p",{className:"scheduled-no-runs",children:"No runs yet."}):e.jsx("div",{className:"scheduled-run-list",children:j.map(v=>e.jsx(We,{onOpen:()=>{N&&ae(le(N,v.conversationId),v.conversationId)},run:v},v.id))})})]})})}function Be(s){return s.flatMap(t=>t.schedules.map(n=>({definition:t,schedule:n})))}function Xe(s,t){return s.filter(n=>t==="active"?n.schedule.enabled:t==="paused"?!n.schedule.enabled:!0).sort((n,l)=>L(n.schedule.nextRunAt)-L(l.schedule.nextRunAt)||n.definition.name.localeCompare(l.definition.name))}function Ge(s,t){return s.filter(n=>t==="active"?n.enabled:t==="paused"?!n.enabled:!0).sort((n,l)=>L(n.nextRunAt)-L(l.nextRunAt)||n.scheduleName.localeCompare(l.scheduleName))}function Je(s,t,n){return[...s.map(l=>({kind:"chat",workflow:l})),...t.map(l=>({kind:"local",schedule:l})),...n.map(l=>({kind:"hosted",row:l}))].sort((l,c)=>{const f=L(te(l)),u=L(te(c));if(f!==u)return f-u;const h=ne(l),a=ne(c);return h.localeCompare(a)})}function Qe(s){return s.kind==="chat"?{enabled:s.workflow.enabled,key:Z(s.workflow.id),nextRunAt:s.workflow.nextRunAt,title:s.workflow.name}:s.kind==="local"?{enabled:s.schedule.enabled,key:F(s.schedule.id),nextRunAt:s.schedule.nextRunAt,title:s.schedule.scheduleName}:{enabled:s.row.schedule.enabled,key:_(s.row.schedule.id),nextRunAt:s.row.schedule.nextRunAt,title:s.row.definition.name}}function es(s){const t=s.recurrence;return t?J(t):s.expression??"Manual"}function te(s){return s.kind==="chat"?s.workflow.nextRunAt:s.kind==="local"?s.schedule.nextRunAt:s.row.schedule.nextRunAt}function ne(s){return s.kind==="chat"?s.workflow.name:s.kind==="local"?s.schedule.scheduleName:s.row.definition.name}function fe(s){const t=s.timezone?` · ${s.timezone}`:"";if(s.scheduleType==="rate")return`Every ${s.scheduleExpression}${t}`;const n=s.scheduleExpression.trim().split(/\s+/);if(n.length===5&&/^\d+$/.test(n[0])&&/^\d+$/.test(n[1])){const l=ue(`${n[1].padStart(2,"0")}:${n[0].padStart(2,"0")}`);if(n[2]==="*"&&n[3]==="*"&&n[4]==="*")return`Daily at ${l}${t}`;if(n[2]==="*"&&n[3]==="*"&&n[4]==="MON-FRI")return`Weekdays at ${l}${t}`}return`Cron ${s.scheduleExpression}${t}`}function ss(s){return s.recurrence??{version:1,kind:"daily",timeZone:s.timeZone||as(),startDate:ls(),localTime:"08:00",end:{kind:"never"}}}function ts(s){const t=s.input.prompt;return typeof t=="string"&&t.trim()?t.trim():Object.keys(s.input).length>0?JSON.stringify(s.input,null,2):"No task input configured."}function ns(s,t){const[n,l]=d.useState([]),[c,f]=d.useState(!1),[u,h]=d.useState(null);return d.useEffect(()=>{if(!s){l([]),f(!1),h(null);return}let a=!1;return f(!0),C.localAgentScheduleRuns(s,t,{limit:20}).then(r=>{a||(l(r.runs),h(null))}).catch(r=>{a||h(rs(r))}).finally(()=>{a||f(!1)}),()=>{a=!0}},[s,t]),{error:u,loading:c,runs:n}}function F(s){return`local:${s}`}function Z(s){return`chat:${s}`}function _(s){return`hosted:${s}`}function le(s,t){const n=new URL(s);return n.pathname=t?`/sandboxes/work/${encodeURIComponent(t)}`:"/sandboxes/work",n.search="",n.hash="",n.toString()}async function ae(s,t){const n=window.openpond?.browser;n?.openExternal&&(await n.openExternal({conversationId:t??"hosted-scheduled-work",url:s})).ok||window.open(s,"_blank","noopener,noreferrer")}function L(s){if(!s)return Number.MAX_SAFE_INTEGER;const t=new Date(s).getTime();return Number.isFinite(t)?t:Number.MAX_SAFE_INTEGER}function ls(){return new Date().toISOString().slice(0,10)}function as(){return Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC"}function rs(s){return s instanceof Error?s.message:String(s)}export{ms as ScheduledWorkPage,Je as combineScheduleRows,Ge as filterAndSortLocalSchedules,Xe as filterAndSortSchedules,A as formatScheduledRunAt,le as hostedConversationUrl,fe as localScheduleCadence,es as scheduleCadence,Be as scheduledRows};
|
|
1
|
+
import{r as d,j as e}from"./index-C0gdp_hv.js";import{v as C,w as je,aX as pe,dr as be,bl as ve,X as ye,aK as re,g as we,t as Ne,aB as U,ds as ge}from"./App-BqgpZNh-.js";import{R as q,u as ke}from"./useLocalAgentSchedules-D7QTyYKj.js";import{a as Se,P as B,T as ie}from"./chat-file-links-z54bmvhH.js";import{P as X}from"./play-BnkiBq8x.js";import{R as Re}from"./refresh-cw-BISaiIBt.js";import{S as Ce}from"./save-BcVbYiGU.js";import{M as Ae}from"./minimize-2-C-6SC3Bs.js";const De=3e4;function $e(s){const[t,n]=d.useState([]),[l,c]=d.useState([]),[f,u]=d.useState(null),[h,a]=d.useState(!1),[r,j]=d.useState(null),[N,w]=d.useState(()=>new Set);async function m(i,p){p&&a(!0);try{const x=await C.hostedSavedWork(i);n(x.definitions),c(x.runs),u(x.webBaseUrl??null),j(null)}catch(x){j(H(x))}finally{p&&a(!1)}}d.useEffect(()=>{if(!s){n([]),c([]),u(null),j(null),a(!1);return}let i=!1;const p=async $=>{if(!i){$&&a(!0);try{const k=await C.hostedSavedWork(s);if(i)return;n(k.definitions),c(k.runs),u(k.webBaseUrl??null),j(null)}catch(k){i||j(H(k))}finally{!i&&$&&a(!1)}}};p(!0);const x=window.setInterval(()=>{p(!1)},De);return()=>{i=!0,window.clearInterval(x)}},[s]);async function y(){s&&await m(s,!0)}async function b(i){s&&(await C.createHostedSavedWork(s,i),await m(s,!1))}async function R(i,p){await D(i,async x=>{await C.updateHostedSavedWork(x,i,p)})}async function g(i){await D(i,async p=>{await C.deleteHostedSavedWork(p,i)})}async function W(i){await D(i,async p=>{await C.runHostedSavedWork(p,i,crypto.randomUUID())})}async function D(i,p){if(!(!s||N.has(i))){M(i,!0);try{await p(s),await m(s,!1)}catch(x){throw j(H(x)),x}finally{M(i,!1)}}}function M(i,p){w(x=>{const $=new Set(x);return p?$.add(i):$.delete(i),$})}return{create:b,definitions:t,error:r,loading:h,pendingScheduleIds:N,refresh:y,remove:g,run:W,runs:l,update:R,webBaseUrl:f}}function H(s){return s instanceof Error?s.message:String(s)}const Ee=3e4;function Te(s){const[t,n]=d.useState([]),[l,c]=d.useState([]),[f,u]=d.useState(!1),[h,a]=d.useState(null),[r,j]=d.useState(()=>new Set),N=d.useCallback(async m=>{if(s){m&&u(!0);try{const y=await C.chatWorkflows(s);n(y.workflows),c(y.runs),a(null)}catch(y){a(y instanceof Error?y.message:String(y))}finally{m&&u(!1)}}},[s]);d.useEffect(()=>{if(!s){n([]),c([]),a(null),u(!1);return}N(!0);const m=window.setInterval(()=>{N(!1)},Ee);return()=>window.clearInterval(m)},[s,N]);async function w(m,y){if(!r.has(m)){j(b=>new Set(b).add(m));try{await y(),await N(!1)}catch(b){throw a(b instanceof Error?b.message:String(b)),b}finally{j(b=>{const R=new Set(b);return R.delete(m),R})}}}return{workflows:t,runs:l,loading:f,error:h,pendingIds:r,refresh:()=>N(!0),update:(m,y)=>w(m,()=>C.updateChatWorkflow(s,m,y)),remove:m=>w(m,()=>C.deleteChatWorkflow(s,m)),run:m=>w(m,()=>C.runChatWorkflow(s,m))}}const de="openpond.scheduled-work.view.v1";function Q(s=ce()){try{return s?.getItem(de)==="list"?"list":"calendar"}catch{return"calendar"}}function Me(s,t=ce()){try{t?.setItem(de,s)}catch{}}function ce(){if(typeof window>"u")return null;try{return je}catch{return null}}function A(s,t){if(!s)return"None";const n=new Date(s);if(!Number.isFinite(n.getTime()))return"None";try{return n.toLocaleString(void 0,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",...t?{timeZone:t,timeZoneName:"short"}:{}})}catch{return n.toLocaleString()}}function oe(s){return O(s.replaceAll("_"," "))}function O(s){return s.replace(/^./,t=>t.toUpperCase())}function ue(s){const[t="0",n="00"]=s.split(":");return new Date(2020,0,1,Number(t),Number(n)).toLocaleTimeString(void 0,{hour:"numeric",minute:"2-digit"})}function Ie({run:s}){const t=s.error||s.stderr||s.stdout;return e.jsxs("details",{className:"scheduled-run-row",children:[e.jsxs("summary",{children:[e.jsxs("span",{children:[e.jsx("strong",{children:oe(s.status)}),e.jsx("small",{children:A(s.createdAt,null)})]}),e.jsx("span",{className:"scheduled-run-trigger",children:s.trigger==="manual"?"Manual":"Scheduled"})]}),t?e.jsx("pre",{children:t}):null]})}function We({onOpen:s,run:t}){return e.jsxs("button",{className:"scheduled-run-row hosted",onClick:s,type:"button",children:[e.jsxs("span",{children:[e.jsx("strong",{children:oe(t.status)}),e.jsx("small",{children:A(t.createdAt,null)})]}),e.jsxs("span",{className:"scheduled-run-trigger",children:[O(t.triggerKind)," ",e.jsx(re,{size:11})]}),t.deliveryError?e.jsx("p",{children:t.deliveryError}):null]})}function G({children:s,detailExpanded:t,label:n,onClose:l,onDetailResizeStart:c,onToggleDetailExpanded:f}){return e.jsxs("aside",{"aria-label":n,className:`workspace-diff-panel scheduled-detail${t?" expanded":""}`,children:[t?null:e.jsx("div",{"aria-label":"Resize schedule details","aria-orientation":"vertical",className:"workspace-diff-resize-handle",onPointerDown:c,role:"separator"}),e.jsxs("div",{className:"workspace-diff-topbar",children:[e.jsx("div",{className:"workspace-diff-tabs",role:"tablist","aria-label":"Schedule details",children:e.jsxs("button",{"aria-selected":"true",className:"workspace-diff-tab active",role:"tab",type:"button",children:[e.jsx(be,{size:14}),e.jsx("span",{children:"Schedule"})]})}),e.jsxs("div",{className:"workspace-diff-toolbar-actions",children:[e.jsx("button",{"aria-label":t?"Dock schedule details":"Expand schedule details",className:"diff-icon-button",onClick:f,title:t?"Dock schedule details":"Expand schedule details",type:"button",children:t?e.jsx(Ae,{size:14}):e.jsx(ve,{size:14})}),e.jsx("button",{"aria-label":"Close schedule details",className:"diff-icon-button",onClick:l,title:"Close schedule details",type:"button",children:e.jsx(ye,{size:14})})]})]}),e.jsx("div",{className:"scheduled-detail-body",children:s})]})}function E({children:s,title:t}){return e.jsxs("section",{className:"scheduled-detail-section",children:[e.jsx("div",{className:"scheduled-detail-section-heading",children:e.jsx("h3",{children:t})}),s]})}function S({label:s,value:t}){return e.jsxs("div",{children:[e.jsx("dt",{children:s}),e.jsx("dd",{children:t})]})}function V({children:s}){return e.jsx("p",{className:"scheduled-empty",children:s})}function he({label:s}){return e.jsxs("div",{className:"scheduled-loading",role:"status",children:[e.jsx(pe,{className:"scheduled-spin",size:16}),e.jsx("span",{children:s})]})}const Le=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function ze({items:s,onSelect:t,selectedKey:n}){const[l,c]=d.useState(()=>ee(new Date)),f=d.useMemo(()=>Pe(l),[l]),u=d.useMemo(()=>Fe(s),[s]),h=new Intl.DateTimeFormat(void 0,{month:"long",year:"numeric"}).format(l),a=s.filter(r=>!xe(r.nextRunAt));return e.jsxs("div",{className:"scheduled-calendar",children:[e.jsxs("div",{className:"scheduled-calendar-toolbar",children:[e.jsx("strong",{children:h}),e.jsxs("div",{children:[e.jsx("button",{"aria-label":"Previous month",className:"scheduled-icon-button",onClick:()=>c(se(l,-1)),type:"button",children:e.jsx(we,{size:15})}),e.jsx("button",{className:"scheduled-calendar-today",onClick:()=>c(ee(new Date)),type:"button",children:"Today"}),e.jsx("button",{"aria-label":"Next month",className:"scheduled-icon-button",onClick:()=>c(se(l,1)),type:"button",children:e.jsx(Se,{size:15})})]})]}),e.jsxs("div",{className:"scheduled-calendar-grid",role:"grid","aria-label":h,children:[Le.map(r=>e.jsx("div",{className:"scheduled-calendar-weekday",role:"columnheader",children:r},r)),f.map(r=>{const j=Y(r),N=u.get(j)??[],w=r.getMonth()!==l.getMonth(),m=j===Y(new Date);return e.jsxs("div",{className:`scheduled-calendar-day${w?" outside":""}${m?" today":""}`,role:"gridcell",children:[e.jsx("span",{className:"scheduled-calendar-day-number",children:r.getDate()}),e.jsx("div",{className:"scheduled-calendar-events",children:N.map(y=>e.jsxs("button",{"aria-current":n===y.key?"true":void 0,className:`scheduled-calendar-event${y.enabled?"":" paused"}`,onClick:()=>t(y.key),title:y.title,type:"button",children:[e.jsx("span",{children:Ze(y.nextRunAt)}),e.jsx("strong",{children:y.title})]},y.key))})]},j)})]}),a.length?e.jsxs("div",{className:"scheduled-calendar-unscheduled",children:[e.jsx("span",{children:"No upcoming run"}),e.jsx("div",{children:a.map(r=>e.jsx("button",{onClick:()=>t(r.key),type:"button",children:r.title},r.key))})]}):null]})}function Pe(s){const t=new Date(s.getFullYear(),s.getMonth(),1),n=new Date(t);return n.setDate(t.getDate()-t.getDay()),Array.from({length:42},(l,c)=>{const f=new Date(n);return f.setDate(n.getDate()+c),f})}function Fe(s){const t=new Map;for(const n of s){const l=xe(n.nextRunAt);if(!l)continue;const c=Y(l);t.set(c,[...t.get(c)??[],n])}for(const n of t.values())n.sort((l,c)=>l.nextRunAt.localeCompare(c.nextRunAt));return t}function xe(s){if(!s)return null;const t=new Date(s);return Number.isNaN(t.getTime())?null:t}function Y(s){return`${s.getFullYear()}-${String(s.getMonth()+1).padStart(2,"0")}-${String(s.getDate()).padStart(2,"0")}`}function ee(s){return new Date(s.getFullYear(),s.getMonth(),1)}function se(s,t){return new Date(s.getFullYear(),s.getMonth()+t,1)}function Ze(s){return new Intl.DateTimeFormat(void 0,{hour:"numeric",minute:"2-digit"}).format(new Date(s))}function _e({cadence:s,onSelect:t,schedule:n,selected:l}){return e.jsxs("button",{"aria-current":l?"true":void 0,className:"scheduled-list-row",onClick:t,type:"button",children:[e.jsx("span",{className:`scheduled-status-dot ${n.enabled?"active":"paused"}`}),e.jsxs("span",{className:"scheduled-list-copy",children:[e.jsx("span",{className:"scheduled-list-title",children:e.jsx("strong",{children:n.scheduleName})}),e.jsx("span",{children:n.localProjectName}),e.jsxs("small",{children:[s,n.nextRunAt?` · Next ${A(n.nextRunAt,n.timezone)}`:" · No next run"]})]})]})}function Oe({cadence:s,definition:t,onSelect:n,schedule:l,selected:c}){return e.jsxs("button",{"aria-current":c?"true":void 0,className:"scheduled-list-row",onClick:n,type:"button",children:[e.jsx("span",{className:`scheduled-status-dot ${l.enabled?"active":"paused"}`}),e.jsxs("span",{className:"scheduled-list-copy",children:[e.jsxs("span",{className:"scheduled-list-title",children:[e.jsx("strong",{children:t.name}),e.jsx("small",{className:"scheduled-environment-badge hosted",children:"Hosted"})]}),e.jsx("span",{children:t.prompt}),e.jsxs("small",{children:[s,l.nextRunAt?` · Next ${A(l.nextRunAt,l.timeZone)}`:" · No next run"]})]})]})}function Ue({cadence:s,onSelect:t,selected:n,workflow:l}){return e.jsxs("button",{"aria-current":n?"true":void 0,className:"scheduled-list-row",onClick:t,type:"button",children:[e.jsx("span",{className:`scheduled-status-dot ${l.enabled?"active":"paused"}`}),e.jsxs("span",{className:"scheduled-list-copy",children:[e.jsxs("span",{className:"scheduled-list-title",children:[e.jsx("strong",{children:l.name}),e.jsx("small",{className:"scheduled-environment-badge",children:"Chat"})]}),e.jsx("span",{children:l.prompt}),e.jsxs("small",{children:["Runs in ",l.sessionTitle," · ",s,l.nextRunAt?` · Next ${A(l.nextRunAt,l.recurrence.timeZone)}`:" · No next run"]})]})]})}function Ke(s,t){return s.filter(n=>t==="active"?n.enabled:t==="paused"?!n.enabled:!0).sort((n,l)=>{const c=n.nextRunAt?new Date(n.nextRunAt).getTime():Number.POSITIVE_INFINITY,f=l.nextRunAt?new Date(l.nextRunAt).getTime():Number.POSITIVE_INFINITY;return c-f||n.name.localeCompare(l.name)})}function J(s){const t=ue(s.localTime);return s.kind==="once"?`Once on ${s.startDate} at ${t} · ${s.timeZone}`:s.kind==="weekdays"?`Weekdays at ${t} · ${s.timeZone}`:s.kind==="weekly"?`${s.weekdays?.map(O).join(", ")??"Weekly"} at ${t} · ${s.timeZone}`:s.kind==="monthly"?`Monthly on day ${s.dayOfMonth??1} at ${t} · ${s.timeZone}`:`Daily at ${t} · ${s.timeZone}`}function He({detailExpanded:s,onClose:t,onDelete:n,onDetailResizeStart:l,onRun:c,onToggle:f,onToggleDetailExpanded:u,pending:h,runs:a,workflow:r}){return e.jsxs(G,{detailExpanded:s,label:`${r.name} details`,onClose:t,onDetailResizeStart:l,onToggleDetailExpanded:u,children:[e.jsx("div",{className:"scheduled-detail-header",children:e.jsxs("div",{children:[e.jsxs("div",{className:"scheduled-detail-title-row",children:[e.jsx("h2",{children:"Workflow details"}),e.jsx("span",{children:r.enabled?"Active":"Paused"})]}),e.jsx("p",{children:r.name})]})}),e.jsx(E,{title:"Prompt",children:e.jsx("pre",{className:"scheduled-prompt",children:r.prompt})}),e.jsxs(E,{title:"Delivery",children:[e.jsxs("dl",{className:"scheduled-detail-fields",children:[e.jsx(S,{label:"Runs in",value:r.sessionTitle}),e.jsx(S,{label:"Cadence",value:J(r.recurrence)}),e.jsx(S,{label:"Next run",value:A(r.nextRunAt,r.recurrence.timeZone)}),e.jsx(S,{label:"Last run",value:A(r.lastRunAt,r.recurrence.timeZone)})]}),r.lastError?e.jsx("p",{className:"scheduled-detail-error",children:r.lastError}):null]}),e.jsxs("div",{className:"scheduled-detail-actions",children:[e.jsxs("button",{disabled:h,onClick:()=>{c()},type:"button",children:[e.jsx(q,{size:15}),e.jsx("span",{children:"Run now"})]}),e.jsxs("button",{disabled:h,onClick:()=>{f()},type:"button",children:[r.enabled?e.jsx(B,{size:15}):e.jsx(X,{size:15}),e.jsx("span",{children:r.enabled?"Pause":"Resume"})]}),e.jsxs("button",{disabled:h,onClick:()=>{n()},type:"button",children:[e.jsx(ie,{size:15}),e.jsx("span",{children:"Delete"})]})]}),e.jsx(E,{title:"Runs",children:a.length===0?e.jsx("p",{className:"scheduled-no-runs",children:"No runs yet."}):e.jsx("div",{className:"scheduled-run-list",children:a.map(j=>e.jsxs("div",{className:"scheduled-run-row",children:[e.jsx("span",{children:O(j.status)}),e.jsx("small",{children:A(j.createdAt,r.recurrence.timeZone)}),j.error?e.jsx("p",{children:j.error}):null]},j.id))})})]})}const Ve=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"];function ms({connection:s,detailOpen:t,detailExpanded:n,onDetailOpenChange:l,onDetailResizeStart:c,onToggleDetailExpanded:f}){const u=$e(s),h=Te(s),a=ke(s),[r,j]=d.useState("all"),[N,w]=d.useState(Q);Ne(()=>w(Q()));const[m,y]=d.useState(!1),[b,R]=d.useState(null),g=d.useMemo(()=>Be(u.definitions),[u.definitions]),W=d.useMemo(()=>Xe(g,r),[r,g]),D=d.useMemo(()=>Ge(a.schedules,r),[r,a.schedules]),M=d.useMemo(()=>Ke(h.workflows,r),[h.workflows,r]),i=g.find(o=>_(o.schedule.id)===b)??null,p=a.schedules.find(o=>F(o.id)===b)??null,x=h.workflows.find(o=>Z(o.id)===b)??null,$=i?u.runs.filter(o=>o.scheduleId===i.schedule.id):[],k=d.useMemo(()=>Je(M,D,W),[M,D,W]),K=d.useMemo(()=>k.map(Qe),[k]);U(u.error,{prefix:"Workflows"}),U(a.error,{prefix:"Local schedules"}),U(h.error,{prefix:"Chat workflows"}),d.useEffect(()=>{b&&!i&&!p&&!x&&R(null)},[x,i,p,b]),d.useEffect(()=>{!t&&b&&R(null)},[t,b]),d.useEffect(()=>()=>l(!1),[l]);function T(o){R(o),l(!0)}function I(){R(null),l(!1)}function z(o){w(o),Me(o)}async function P(){y(!0);try{await Promise.all([u.refresh(),a.refresh(),h.refresh()])}finally{y(!1)}}return e.jsxs("section",{"aria-label":"Workflows",className:`scheduled-work-view${i||p||x?" detail-open":""}${n?" detail-expanded":""}`,children:[e.jsx("div",{className:"scheduled-work-scroll",children:e.jsxs("div",{className:"scheduled-work-content",children:[e.jsxs("header",{className:"scheduled-work-header",children:[e.jsxs("div",{"aria-label":"Workflow view",className:"scheduled-view-tabs",role:"tablist",children:[e.jsx("button",{"aria-selected":N==="calendar",className:N==="calendar"?"active":void 0,onClick:()=>z("calendar"),role:"tab",type:"button",children:"Calendar"}),e.jsx("button",{"aria-selected":N==="list",className:N==="list"?"active":void 0,onClick:()=>z("list"),role:"tab",type:"button",children:"List"})]}),e.jsxs("div",{className:"scheduled-work-header-actions",children:[e.jsx("button",{"aria-label":"Refresh schedules",className:"scheduled-icon-button",disabled:!s||u.loading||a.loading||h.loading,onClick:()=>{P()},title:"Refresh schedules",type:"button",children:e.jsx(Re,{className:m?"scheduled-spin":void 0,size:16})}),e.jsxs("label",{className:"scheduled-filter",children:[e.jsx(ge,{"aria-hidden":"true",size:16}),e.jsxs("select",{"aria-label":"Schedule filter",onChange:o=>j(o.target.value),value:r,children:[e.jsx("option",{value:"active",children:"Active"}),e.jsx("option",{value:"paused",children:"Paused"}),e.jsx("option",{value:"all",children:"All"})]})]})]})]}),e.jsx("section",{"aria-busy":u.loading||a.loading||h.loading,className:"scheduled-list",children:s?(u.loading||a.loading||h.loading)&&g.length===0&&a.schedules.length===0&&h.workflows.length===0?e.jsx(he,{label:"Loading schedules"}):u.error&&a.error&&g.length===0&&a.schedules.length===0?e.jsx(V,{children:"Schedules are unavailable. Refresh to try again."}):k.length===0?e.jsx(V,{children:"Create a scheduled task here or ask for one in Work."}):N==="calendar"?e.jsx(ze,{items:K,onSelect:T,selectedKey:b}):e.jsx("div",{className:"scheduled-list-rows",children:k.map(o=>o.kind==="chat"?e.jsx(Ue,{cadence:J(o.workflow.recurrence),onSelect:()=>T(Z(o.workflow.id)),selected:b===Z(o.workflow.id),workflow:o.workflow},Z(o.workflow.id)):o.kind==="local"?e.jsx(_e,{cadence:fe(o.schedule),onSelect:()=>T(F(o.schedule.id)),schedule:o.schedule,selected:b===F(o.schedule.id)},F(o.schedule.id)):e.jsx(Oe,{cadence:es(o.row.schedule),definition:o.row.definition,onSelect:()=>T(_(o.row.schedule.id)),schedule:o.row.schedule,selected:b===_(o.row.schedule.id)},_(o.row.schedule.id)))}):e.jsx(V,{children:"Connect to OpenPond to view scheduled Work."})})]})}),i?e.jsx(qe,{onClose:I,onDelete:async()=>{await u.remove(i.schedule.id),I()},onRun:()=>u.run(i.schedule.id),onSave:o=>u.update(i.schedule.id,o),onToggle:()=>u.update(i.schedule.id,{enabled:!i.schedule.enabled}),pending:u.pendingScheduleIds.has(i.schedule.id),row:i,runs:$,detailExpanded:n,onDetailResizeStart:c,onToggleDetailExpanded:f,webBaseUrl:u.webBaseUrl},`${i.schedule.id}:${i.definition.version}:${i.schedule.configurationVersion}`):x?e.jsx(He,{detailExpanded:n,onClose:I,onDelete:async()=>{await h.remove(x.id),I()},onDetailResizeStart:c,onRun:()=>h.run(x.id),onToggle:()=>h.update(x.id,{enabled:!x.enabled}),onToggleDetailExpanded:f,pending:h.pendingIds.has(x.id),runs:h.runs.filter(o=>o.workflowId===x.id),workflow:x},x.id):p?e.jsx(Ye,{connection:s,onClose:I,onRun:()=>a.run(p),onToggle:()=>a.toggle(p),pending:a.pendingScheduleIds.has(p.id),schedule:p,detailExpanded:n,onDetailResizeStart:c,onToggleDetailExpanded:f},p.id):null]})}function Ye({connection:s,detailExpanded:t,onClose:n,onDetailResizeStart:l,onRun:c,onToggleDetailExpanded:f,onToggle:u,pending:h,schedule:a}){const r=ns(s,a.id);return U(r.error,{prefix:"Local schedule runs"}),e.jsxs(G,{detailExpanded:t,label:`${a.scheduleName} details`,onClose:n,onDetailResizeStart:l,onToggleDetailExpanded:f,children:[e.jsx("div",{className:"scheduled-detail-header",children:e.jsxs("div",{children:[e.jsxs("div",{className:"scheduled-detail-title-row",children:[e.jsx("h2",{children:"Schedule details"}),e.jsx("span",{children:a.enabled?"Active":"Paused"})]}),e.jsx("p",{children:a.scheduleName})]})}),e.jsxs(E,{title:"Task",children:[e.jsxs("dl",{className:"scheduled-detail-fields",children:[e.jsx(S,{label:"Environment",value:"Local"}),e.jsx(S,{label:"Project",value:a.localProjectName}),e.jsx(S,{label:"Agent",value:a.agentName}),e.jsx(S,{label:"Action",value:a.targetAction})]}),e.jsx("pre",{className:"scheduled-prompt",children:ts(a)})]}),e.jsxs(E,{title:"Schedule",children:[e.jsxs("dl",{className:"scheduled-detail-fields",children:[e.jsx(S,{label:"Cadence",value:fe(a)}),e.jsx(S,{label:"Expression",value:a.scheduleExpression}),e.jsx(S,{label:"Timezone",value:a.timezone??"Local time"}),e.jsx(S,{label:"Next run",value:A(a.nextRunAt,a.timezone)}),e.jsx(S,{label:"Last run",value:A(a.lastRunAt,a.timezone)})]}),a.lastError?e.jsx("p",{className:"scheduled-detail-error",children:a.lastError}):null]}),e.jsxs("div",{className:"scheduled-detail-actions",children:[e.jsxs("button",{disabled:h,onClick:()=>{c()},type:"button",children:[e.jsx(q,{size:15}),e.jsx("span",{children:"Run now"})]}),e.jsxs("button",{disabled:h,onClick:()=>{u()},type:"button",children:[a.enabled?e.jsx(B,{size:15}):e.jsx(X,{size:15}),e.jsx("span",{children:a.enabled?"Pause":"Resume"})]})]}),e.jsx(E,{title:"Runs",children:r.loading&&r.runs.length===0?e.jsx(he,{label:"Loading runs"}):r.runs.length===0?e.jsx("p",{className:"scheduled-no-runs",children:"No runs yet."}):e.jsx("div",{className:"scheduled-run-list",children:r.runs.map(j=>e.jsx(Ie,{run:j},j.id))})})]})}function qe({detailExpanded:s,onClose:t,onDelete:n,onDetailResizeStart:l,onRun:c,onSave:f,onToggleDetailExpanded:u,onToggle:h,pending:a,row:r,runs:j,webBaseUrl:N}){const w=ss(r.schedule),[m,y]=d.useState(r.definition.name),[b,R]=d.useState(r.definition.prompt),[g,W]=d.useState(w.kind),[D,M]=d.useState(w.timeZone),[i,p]=d.useState(w.startDate),[x,$]=d.useState(w.localTime),[k,K]=d.useState(w.weekdays?.[0]??"monday"),[T,I]=d.useState(w.dayOfMonth??1),z=j[0]?.conversationId??null,P=N?le(N,z):null,o=m!==r.definition.name||b!==r.definition.prompt||g!==w.kind||D!==w.timeZone||i!==w.startDate||x!==w.localTime||k!==(w.weekdays?.[0]??"monday")||T!==(w.dayOfMonth??1);async function me(v){v.preventDefault(),await f({name:m,prompt:b,recurrence:{version:1,kind:g,timeZone:D,startDate:i,localTime:x,end:{kind:"never"},...g==="weekly"?{weekdays:[k]}:{},...g==="monthly"?{dayOfMonth:T}:{}}})}return e.jsx(G,{detailExpanded:s,label:`${r.definition.name} details`,onClose:t,onDetailResizeStart:l,onToggleDetailExpanded:u,children:e.jsxs("form",{onSubmit:me,children:[e.jsxs("div",{className:"scheduled-detail-header",children:[e.jsx("div",{children:e.jsxs("div",{className:"scheduled-detail-title-row",children:[e.jsx("h2",{children:"Schedule details"}),e.jsx("span",{children:r.schedule.enabled?"Active":"Paused"})]})}),e.jsx("div",{className:"scheduled-detail-header-controls",children:e.jsx("button",{"aria-label":"Delete schedule",className:"scheduled-icon-button",disabled:a,onClick:()=>{n()},title:"Delete schedule",type:"button",children:e.jsx(ie,{size:16})})})]}),e.jsxs(E,{title:"Task",children:[e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Name"}),e.jsx("input",{maxLength:180,onChange:v=>y(v.target.value),required:!0,value:m})]}),e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Prompt"}),e.jsx("textarea",{onChange:v=>R(v.target.value),required:!0,value:b})]})]}),e.jsxs(E,{title:"Schedule",children:[e.jsxs("div",{className:"scheduled-field-grid",children:[e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Repeat"}),e.jsxs("select",{onChange:v=>W(v.target.value),value:g,children:[e.jsx("option",{value:"once",children:"Once"}),e.jsx("option",{value:"daily",children:"Daily"}),e.jsx("option",{value:"weekdays",children:"Weekdays"}),e.jsx("option",{value:"weekly",children:"Weekly"}),e.jsx("option",{value:"monthly",children:"Monthly"})]})]}),g==="weekly"?e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Day"}),e.jsx("select",{onChange:v=>K(v.target.value),value:k,children:Ve.map(v=>e.jsx("option",{value:v,children:O(v)},v))})]}):g==="monthly"?e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Day of month"}),e.jsx("input",{max:31,min:1,onChange:v=>I(Number(v.target.value)),type:"number",value:T})]}):null,e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Start date"}),e.jsx("input",{onChange:v=>p(v.target.value),required:!0,type:"date",value:i})]}),e.jsxs("label",{className:"scheduled-field",children:[e.jsx("span",{children:"Time"}),e.jsx("input",{onChange:v=>$(v.target.value),required:!0,type:"time",value:x})]}),e.jsxs("label",{className:"scheduled-field scheduled-field-wide",children:[e.jsx("span",{children:"Timezone"}),e.jsx("input",{onChange:v=>M(v.target.value),required:!0,value:D})]})]}),e.jsxs("p",{className:"scheduled-next-run",children:["Next run: ",A(r.schedule.nextRunAt,w.timeZone)]})]}),e.jsxs("div",{className:"scheduled-detail-actions",children:[o?e.jsxs("button",{disabled:a,type:"submit",children:[e.jsx(Ce,{size:15}),e.jsx("span",{children:"Save"})]}):null,e.jsxs("button",{disabled:a,onClick:()=>{c()},type:"button",children:[e.jsx(q,{size:15}),e.jsx("span",{children:"Run now"})]}),e.jsxs("button",{disabled:a,onClick:()=>{h()},type:"button",children:[r.schedule.enabled?e.jsx(B,{size:15}):e.jsx(X,{size:15}),e.jsx("span",{children:r.schedule.enabled?"Pause":"Resume"})]})]}),e.jsxs("button",{className:"scheduled-open-chat",disabled:a||!P,onClick:()=>{P&&ae(P,z)},type:"button",children:[e.jsx("span",{children:"Open hosted chat"}),e.jsx(re,{size:14})]}),e.jsx(E,{title:"Runs",children:j.length===0?e.jsx("p",{className:"scheduled-no-runs",children:"No runs yet."}):e.jsx("div",{className:"scheduled-run-list",children:j.map(v=>e.jsx(We,{onOpen:()=>{N&&ae(le(N,v.conversationId),v.conversationId)},run:v},v.id))})})]})})}function Be(s){return s.flatMap(t=>t.schedules.map(n=>({definition:t,schedule:n})))}function Xe(s,t){return s.filter(n=>t==="active"?n.schedule.enabled:t==="paused"?!n.schedule.enabled:!0).sort((n,l)=>L(n.schedule.nextRunAt)-L(l.schedule.nextRunAt)||n.definition.name.localeCompare(l.definition.name))}function Ge(s,t){return s.filter(n=>t==="active"?n.enabled:t==="paused"?!n.enabled:!0).sort((n,l)=>L(n.nextRunAt)-L(l.nextRunAt)||n.scheduleName.localeCompare(l.scheduleName))}function Je(s,t,n){return[...s.map(l=>({kind:"chat",workflow:l})),...t.map(l=>({kind:"local",schedule:l})),...n.map(l=>({kind:"hosted",row:l}))].sort((l,c)=>{const f=L(te(l)),u=L(te(c));if(f!==u)return f-u;const h=ne(l),a=ne(c);return h.localeCompare(a)})}function Qe(s){return s.kind==="chat"?{enabled:s.workflow.enabled,key:Z(s.workflow.id),nextRunAt:s.workflow.nextRunAt,title:s.workflow.name}:s.kind==="local"?{enabled:s.schedule.enabled,key:F(s.schedule.id),nextRunAt:s.schedule.nextRunAt,title:s.schedule.scheduleName}:{enabled:s.row.schedule.enabled,key:_(s.row.schedule.id),nextRunAt:s.row.schedule.nextRunAt,title:s.row.definition.name}}function es(s){const t=s.recurrence;return t?J(t):s.expression??"Manual"}function te(s){return s.kind==="chat"?s.workflow.nextRunAt:s.kind==="local"?s.schedule.nextRunAt:s.row.schedule.nextRunAt}function ne(s){return s.kind==="chat"?s.workflow.name:s.kind==="local"?s.schedule.scheduleName:s.row.definition.name}function fe(s){const t=s.timezone?` · ${s.timezone}`:"";if(s.scheduleType==="rate")return`Every ${s.scheduleExpression}${t}`;const n=s.scheduleExpression.trim().split(/\s+/);if(n.length===5&&/^\d+$/.test(n[0])&&/^\d+$/.test(n[1])){const l=ue(`${n[1].padStart(2,"0")}:${n[0].padStart(2,"0")}`);if(n[2]==="*"&&n[3]==="*"&&n[4]==="*")return`Daily at ${l}${t}`;if(n[2]==="*"&&n[3]==="*"&&n[4]==="MON-FRI")return`Weekdays at ${l}${t}`}return`Cron ${s.scheduleExpression}${t}`}function ss(s){return s.recurrence??{version:1,kind:"daily",timeZone:s.timeZone||as(),startDate:ls(),localTime:"08:00",end:{kind:"never"}}}function ts(s){const t=s.input.prompt;return typeof t=="string"&&t.trim()?t.trim():Object.keys(s.input).length>0?JSON.stringify(s.input,null,2):"No task input configured."}function ns(s,t){const[n,l]=d.useState([]),[c,f]=d.useState(!1),[u,h]=d.useState(null);return d.useEffect(()=>{if(!s){l([]),f(!1),h(null);return}let a=!1;return f(!0),C.localAgentScheduleRuns(s,t,{limit:20}).then(r=>{a||(l(r.runs),h(null))}).catch(r=>{a||h(rs(r))}).finally(()=>{a||f(!1)}),()=>{a=!0}},[s,t]),{error:u,loading:c,runs:n}}function F(s){return`local:${s}`}function Z(s){return`chat:${s}`}function _(s){return`hosted:${s}`}function le(s,t){const n=new URL(s);return n.pathname=t?`/sandboxes/work/${encodeURIComponent(t)}`:"/sandboxes/work",n.search="",n.hash="",n.toString()}async function ae(s,t){const n=window.openpond?.browser;n?.openExternal&&(await n.openExternal({conversationId:t??"hosted-scheduled-work",url:s})).ok||window.open(s,"_blank","noopener,noreferrer")}function L(s){if(!s)return Number.MAX_SAFE_INTEGER;const t=new Date(s).getTime();return Number.isFinite(t)?t:Number.MAX_SAFE_INTEGER}function ls(){return new Date().toISOString().slice(0,10)}function as(){return Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC"}function rs(s){return s instanceof Error?s.message:String(s)}export{ms as ScheduledWorkPage,Je as combineScheduleRows,Ge as filterAndSortLocalSchedules,Xe as filterAndSortSchedules,A as formatScheduledRunAt,le as hostedConversationUrl,fe as localScheduleCadence,es as scheduleCadence,Be as scheduledRows};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.settings-shell{position:relative;display:grid;grid-template-columns:300px minmax(0,1fr);height:100%;min-height:0;background:var(--bg)}.settings-shell.harness-diff-open{grid-template-columns:300px minmax(0,1fr) minmax(380px,max(380px,min(var(--diff-panel-width, 480px),48vw)))}.settings-shell>.workspace-diff-panel{z-index:3;grid-column:3;grid-row:1}.settings-shell.harness-diff-expanded{grid-template-columns:300px minmax(0,1fr)}.settings-shell.harness-diff-expanded>.settings-content{display:none}.settings-shell.harness-diff-expanded>.workspace-diff-panel{grid-column:2;border-left:0}.settings-window-controls{position:absolute;z-index:4;top:12px;right:12px;display:inline-flex;align-items:center;gap:8px;height:20px;-webkit-app-region:no-drag;app-region:no-drag}.settings-window-controls .topbar-diff-button:disabled{cursor:default;opacity:.4}.settings-drag-region{position:absolute;z-index:2;top:0;right:0;left:300px;height:43px;-webkit-app-region:drag;app-region:drag}.settings-sidebar{min-height:0;border-right:1px solid var(--border);background:#101010;padding:12px 7px 0}.settings-shell.platform-macos .settings-sidebar{padding-top:43px}.settings-back{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:32px;border:0;border-radius:12px;background:transparent;color:#8e8e8e;padding:0 10px;text-align:left;font-size:13px}.settings-back span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-back:hover{color:var(--text);background:#ffffff0f}.settings-nav{display:grid;gap:3px;margin-top:10px}.settings-nav-group{display:grid;gap:3px}.settings-nav-group+.settings-nav-group{margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.06)}.settings-nav-heading{padding:3px 10px 5px;color:#8a8a8a;font-size:11px;font-weight:600}.settings-nav-item{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;min-height:29px;border:0;border-radius:10px;background:transparent;color:#f5f5f5;padding:0 10px;text-align:left;font-size:13px}.settings-nav-item.active{background:#2a2a2a}.settings-content{min-width:0;min-height:0;overflow:auto;padding:64px max(48px,12vw);scrollbar-width:none}.settings-content-wide{padding-inline:clamp(24px,5vw,72px)}.settings-stacked-sections{display:grid;gap:34px}.account-settings-embedded{border-top:1px solid rgba(255,255,255,.07);padding-top:28px}.settings-content::-webkit-scrollbar{display:none}.account-settings{display:grid;gap:28px;max-width:760px}.profile-settings{container-name:profile-view;container-type:inline-size;width:min(1120px,100%);max-width:none;min-width:0;margin-inline:auto}.account-settings h1{margin:0 0 24px;color:#f7f7f7;font-size:22px;font-weight:500;letter-spacing:0}.account-settings-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:0 0 24px}.account-settings-title h1{margin:0}.account-settings-title-actions{display:flex;align-items:center;gap:6px;margin-left:auto}@media(max-width:980px){.settings-shell,.settings-shell.harness-diff-open,.settings-shell.harness-diff-expanded{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.settings-drag-region{left:0}.settings-sidebar,.settings-shell.platform-macos .settings-sidebar{display:flex;min-width:0;gap:8px;overflow-x:auto;border-right:0;border-bottom:1px solid var(--border);padding:44px 14px 10px;scrollbar-width:none}.settings-sidebar::-webkit-scrollbar{display:none}.settings-back{flex:0 0 auto;width:auto}.settings-back span,.settings-nav-heading{display:none}.settings-nav,.settings-nav-group{display:flex;flex:0 0 auto;gap:3px;margin:0}.settings-nav-group+.settings-nav-group{margin:0;padding:0 0 0 8px;border-top:0;border-left:1px solid rgba(255,255,255,.06)}.settings-nav-item{display:inline-flex;flex:0 0 auto;width:auto;padding-inline:10px}.settings-content,.settings-content-wide{grid-column:1;grid-row:2;padding:28px 18px}.settings-shell.harness-diff-expanded>.workspace-diff-panel{grid-column:1;grid-row:2}}.configuration-settings header h1{margin-bottom:12px}.configuration-settings header p,.configuration-settings details p{color:var(--muted);font-size:13px;line-height:1.6}.configuration-settings details{min-width:0;border:1px solid var(--border);border-radius:12px;padding:16px}.configuration-settings summary{cursor:pointer;font-size:14px;font-weight:500}.configuration-settings textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);padding:14px;line-height:1.6;font-size:13px}.configuration-actions{display:flex;flex-wrap:wrap;gap:8px;margin-block:12px}.configuration-settings button,.configuration-settings select{border:1px solid var(--border);border-radius:8px;background:#242424;color:var(--text);padding:8px 12px}.configuration-settings button:disabled{opacity:.5;cursor:default}.configuration-settings table{width:100%;border-collapse:collapse;font-size:12px}.configuration-settings th,.configuration-settings td{text-align:left;padding:8px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.configuration-settings pre{overflow:auto;font-size:12px}.configuration-settings code{overflow-wrap:anywhere}.configuration-banner{margin-bottom:24px}.configuration-page h2{font-size:16px;font-weight:500;margin:0}.account-summary,.account-list,.provider-settings-form,.diagnostics-log-panel,.settings-footnote{border:1px solid var(--border);border-radius:16px;background:#181818}.account-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 18px}.account-summary-main>div{display:grid;gap:5px}.account-summary span,.account-summary small,.account-list-heading small,.account-details span,.product-row span,.settings-footnote span,.empty-account-list span{color:#9b9b9b;font-size:12px}.account-summary strong{color:#f7f7f7;font-size:15px}.account-summary-main{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:12px;min-width:0}.account-summary .account-summary-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.account-summary-main>div{min-width:0}.account-summary-main strong,.account-summary-main small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-summary-meta{display:flex;align-items:center;gap:8px;min-width:0}.account-summary-meta small{flex:0 1 auto;max-width:min(260px,44vw)}.account-summary-meta .account-summary-copy{max-width:min(520px,52vw);overflow:visible;text-overflow:clip;white-space:normal;line-height:1.35}.account-team-dropdown.compact{flex:0 1 auto;justify-self:auto;min-width:0}.account-team-dropdown.compact .dropdown-trigger{max-width:220px;height:24px;padding:0 6px}.account-team-dropdown .dropdown-menu{min-width:100%}.private-account-email{display:inline-block;filter:blur(4px);transition:filter .12s ease;-webkit-user-select:none;user-select:none}.private-account-email:hover,.private-account-email:focus-visible{filter:none;-webkit-user-select:text;user-select:text}.private-account-email:focus-visible{outline:1px solid rgba(58,163,255,.55);outline-offset:2px}.provider-settings-form{overflow:visible;position:relative;z-index:1}.provider-settings-form>.account-list-heading{border-bottom:0}.provider-state-pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;max-width:150px;border-radius:999px;padding:0 9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;background:#ffffff14;color:#bdbdbd}.provider-state-pill.muted{background:#ffffff14;color:#bdbdbd}.provider-row-status.muted{color:#bdbdbd}.provider-state-pill.ready{background:#50c87821;color:#8ddfa8}.provider-state-pill.configured{background:#3aa3ff21;color:#8fc8ff}.provider-state-pill.warning{background:#ff7a2f21;color:#ffad7d}.provider-manager-panel{border:1px solid var(--border);border-radius:16px;background:#181818;overflow:hidden}.provider-manager-scroll{display:grid;max-height:568px;overflow-y:auto;scrollbar-color:#343434 #161616;scrollbar-width:thin}.provider-manager-heading{align-items:center}.provider-manager-title-row{display:inline-flex;align-items:center;gap:12px;min-width:0}.settings-check-row.provider-subscription-filter{display:inline-flex;align-items:center;gap:6px;grid-template-columns:none;max-width:none;padding:0;color:#bdbdbd;font-size:12px;white-space:nowrap;cursor:pointer}.settings-check-row.provider-subscription-filter>span{display:block;min-width:0}.settings-check-row.provider-subscription-filter input[type=checkbox]{width:14px;height:14px;margin:0;border-radius:4px}.settings-check-row.provider-subscription-filter input[type=checkbox]:before{width:7px;height:4px}.provider-manager-empty{border:0;border-radius:0;background:transparent;padding:22px 16px}.provider-manager-scroll::-webkit-scrollbar,.provider-details-dialog::-webkit-scrollbar{width:10px}.provider-manager-scroll::-webkit-scrollbar-track,.provider-details-dialog::-webkit-scrollbar-track{background:#161616}.provider-manager-scroll::-webkit-scrollbar-thumb,.provider-details-dialog::-webkit-scrollbar-thumb{border:2px solid #161616;border-radius:999px;background:#343434}.provider-manager-scroll::-webkit-scrollbar-thumb:hover,.provider-details-dialog::-webkit-scrollbar-thumb:hover{background:#464646}.provider-manager-row{display:grid;grid-template-columns:44px minmax(160px,1fr) minmax(240px,.82fr) auto;align-items:center;gap:14px;min-height:48px;padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.06)}.provider-manager-row:last-child{border-bottom:0}.provider-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:28px}.provider-toggle input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.provider-toggle input:disabled{cursor:default}.provider-toggle span{position:relative;width:34px;height:20px;border-radius:999px;background:#ffffff1f;transition:background .12s ease}.provider-toggle span:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#b8b8b8;transition:transform .12s ease,background .12s ease}.provider-toggle input:checked+span{background:#06b6d452}.provider-toggle input:checked+span:after{transform:translate(14px);background:var(--cyan)}.provider-toggle input:focus-visible+span{outline:1px solid rgba(6,182,212,.6);outline-offset:2px}.provider-toggle input:disabled+span{opacity:.48}.provider-row-main{min-width:0}.provider-row-main strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#f2f2f2}.provider-row-status{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;min-width:0;color:#bdbdbd;font-size:12px}.provider-row-status span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.provider-row-status.ready{color:var(--cyan)}.provider-row-status.configured{color:#8fc8ff}.provider-row-status.warning{color:#ffad7d}.provider-row-status .settings-spin{flex:0 0 auto}.provider-details-button{width:86px}.provider-dialog-backdrop{z-index:90}.provider-details-dialog{width:min(760px,calc(100vw - 36px));max-height:min(760px,calc(100vh - 52px));overflow:auto;scrollbar-color:#343434 #161616;scrollbar-width:thin}.provider-dialog-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;padding:20px 48px 16px 20px;border-bottom:1px solid rgba(255,255,255,.08)}.provider-dialog-header h2{margin:0;color:#f6f6f6;font-size:18px;font-weight:620}.provider-dialog-header span{color:#9b9b9b;font-size:12px}.provider-dialog-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;padding:8px 20px 14px}.provider-dialog-stats div{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:10px;min-height:32px}.provider-dialog-stats .provider-dialog-error{grid-column:1 / -1}.provider-dialog-stats dt{color:#9b9b9b;font-size:12px}.provider-dialog-stats dd{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f2f2f2;font-size:13px}.provider-dialog-body{display:grid;gap:12px;padding-bottom:6px}.provider-card-form{display:grid;gap:12px;padding:0 20px 16px}.provider-card-form+.provider-card-form{padding-top:2px;border-top:1px solid rgba(255,255,255,.06)}.provider-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.provider-mode-tabs{justify-self:stretch;width:auto;margin:12px 20px 0}.provider-credential-panel,.provider-subscription-panel{display:grid;gap:12px;min-width:0}.credential-form .provider-dialog-note{margin:0}.provider-credential-panel .settings-button-row,.provider-subscription-panel .settings-button-row{padding:0}.provider-dialog-note{display:flex;align-items:center;gap:8px;margin:0 20px 20px;border:1px solid rgba(255,122,47,.22);border-radius:10px;background:#ff7a2f14;padding:10px 12px;color:#ffad7d;font-size:13px}.provider-dialog-note.xai-provider-note,.provider-dialog-note.subscription-provider-note{border-color:#3aa3ff33;background:#3aa3ff14;color:#9bd0ff}.provider-dialog-note code{border-radius:4px;background:#ffffff14;padding:1px 4px;color:#f2f2f2;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}.codex-provider-actions{padding:0 20px 20px}.provider-validation-message strong{white-space:pre-line}.account-dialog-advanced-fields{display:grid;gap:12px}.provider-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 16px 12px}.provider-settings-grid.single{grid-template-columns:minmax(0,1fr);max-width:380px}.settings-path-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;max-width:640px;padding:14px 16px 12px}.lsp-language-list{display:grid}.lsp-language-row{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(150px,.7fr) minmax(180px,1.2fr);align-items:end;gap:12px;min-width:0;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.lsp-language-row:last-child{border-bottom:0}.lsp-language-label{display:grid;gap:4px;min-width:0;padding-bottom:7px}.lsp-language-label strong{color:#f6f6f6;font-size:13px;font-weight:550}.lsp-language-label span{color:#9b9b9b;font-size:12px}.lsp-status-row{display:grid;grid-template-columns:minmax(0,1fr) auto}.lsp-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;border-radius:999px;padding:0 9px;white-space:nowrap;font-size:12px;background:#242424;color:#bdbdbd}.lsp-status-pill.found{background:#50c87821;color:#8ddfa8}.lsp-status-pill.missing,.lsp-status-pill.error{background:#ff7a2f21;color:#ffad7d}.lsp-status-pill.disabled{background:#ffffff14;color:#a8a8a8}.settings-select-field{position:relative;display:grid;gap:6px;min-width:0}.settings-select-field span{color:#9b9b9b;font-size:12px}.settings-select-field small{min-width:0;color:#8f8f8f;font-size:11px;line-height:1.35}.settings-select-field input,.settings-select-field select{width:100%;min-width:0;height:36px;border:1px solid rgba(255,255,255,.08);border-radius:8px;outline:0;background:#101010;color:var(--text);padding:0 10px;font-size:13px}.settings-select-field select{appearance:none;background:linear-gradient(45deg,transparent 50%,#9b9b9b 50%) calc(100% - 16px) 50% / 5px 5px no-repeat,linear-gradient(135deg,#9b9b9b 50%,transparent 50%) calc(100% - 11px) 50% / 5px 5px no-repeat,#101010;padding-right:32px}.settings-select-field input:focus,.settings-select-field select:focus{border-color:#06b6d480}.settings-check-row{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;max-width:560px;padding:2px 16px 16px;color:var(--text)}.settings-check-row input[type=checkbox]{-webkit-appearance:none;appearance:none;display:grid;place-content:center;width:16px;height:16px;margin:2px 0 0;border:1px solid rgba(255,255,255,.18);border-radius:5px;outline:0;background:#101010;cursor:pointer;transition:border-color .12s ease,background .12s ease,opacity .12s ease}.settings-check-row input[type=checkbox]:before{content:"";width:8px;height:5px;margin-top:-1px;border-bottom:2px solid #061317;border-left:2px solid #061317;transform:rotate(-45deg) scale(0);transition:transform .12s ease}.settings-check-row input[type=checkbox]:checked{border-color:#06b6d4e0;background:var(--cyan)}.settings-check-row input[type=checkbox]:checked:before{transform:rotate(-45deg) scale(1)}.settings-check-row input[type=checkbox]:focus-visible{outline:2px solid rgba(6,182,212,.35);outline-offset:2px}.settings-check-row input[type=checkbox]:disabled{cursor:not-allowed;opacity:.48}.settings-check-row span{display:grid;gap:4px;min-width:0}.settings-check-row strong{font-size:13px;font-weight:500}.settings-check-row small{color:#8d8d8d;font-size:12px;line-height:1.4}.settings-check-row.compact{padding:0}.settings-check-row.inline{max-width:none}.subagents-settings{max-width:980px}.subagent-settings-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin-bottom:0}.subagent-settings-title-row h1{margin:0}.subagent-settings-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.subagent-settings-form{display:grid;gap:18px;min-width:0}.subagent-settings-section{display:grid;gap:12px;min-width:0;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.08)}.subagent-settings-card-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0}.subagent-settings-card-header>div{min-width:0}.subagent-settings-card-header>div>span{min-width:0;overflow:hidden;color:#f2f2f2;font-size:14px;font-weight:620;text-overflow:ellipsis;white-space:nowrap}.subagent-settings-card-header>div>small{min-width:0;color:#9b9b9b;font-size:12px;line-height:1.35}.subagent-field-grid{display:grid;gap:12px;min-width:0}.subagent-field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.subagent-field-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.subagent-role-list{display:grid;min-width:0}.subagent-role-row{display:grid;gap:12px;min-width:0;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08)}.subagent-role-row:first-child{padding-top:0}.subagent-role-row.disabled{opacity:.64}.subagent-role-header{grid-template-columns:minmax(0,1fr) auto}.subagent-role-title{display:grid;gap:3px;min-width:0}.subagent-role-title span,.subagent-role-title small{min-width:0;overflow:hidden;text-overflow:ellipsis}.subagent-role-title span{color:#f2f2f2;font-size:14px;font-weight:620;white-space:nowrap}.subagent-role-title small{color:#9b9b9b;font-size:12px;line-height:1.35}.subagent-role-controls{display:grid;grid-template-columns:minmax(220px,1.25fr) repeat(3,minmax(140px,.75fr));align-items:end;gap:12px;min-width:0}.subagent-role-budget-grid{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));align-items:end;gap:12px;min-width:0}.subagents-settings .provider-toggle{width:44px;height:30px}.subagents-settings .provider-toggle>span{width:40px;height:22px;border:1px solid rgba(255,255,255,.1);background:#ffffff1a}.subagents-settings .provider-toggle>span:after{top:2px;left:2px;width:16px;height:16px;background:#a9a9a9}.subagents-settings .provider-toggle input:checked+span{border-color:#06b6d46b;background:#06b6d442}.subagents-settings .provider-toggle input:checked+span:after{transform:translate(18px);background:var(--cyan)}@media(max-width:820px){.subagent-field-grid.two,.subagent-field-grid.four,.subagent-role-controls,.subagent-role-budget-grid{grid-template-columns:minmax(0,1fr)}}.settings-radio-group{display:grid;gap:10px;padding:0 16px 16px;max-width:640px}.settings-radio-row{display:flex;align-items:flex-start;gap:10px;min-width:0;color:var(--text)}.settings-radio-row input{margin-top:3px}.settings-radio-row span{display:grid;gap:4px;min-width:0}.settings-radio-row strong{font-size:13px;font-weight:500}.settings-radio-row small{color:#8d8d8d;font-size:12px;line-height:1.4}.personalization-editor{padding:0 16px 14px}.settings-select-field textarea{width:100%;min-width:0;min-height:210px;resize:vertical;border:1px solid rgba(255,255,255,.08);border-radius:8px;outline:0;background:#101010;color:var(--text);padding:11px 12px;font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.settings-select-field textarea:focus{border-color:#3aa3ff73}.settings-button-row{display:flex;flex-wrap:wrap;gap:10px;padding:0 16px 16px}@media(max-width:820px){.provider-status-grid,.provider-card-grid,.provider-deferred-grid{grid-template-columns:minmax(0,1fr)}.provider-state-pill{position:static;justify-self:start;margin:0 16px 10px}.provider-status-card>.account-list-heading{padding-right:16px}}.settings-button-row.compact{padding:0}.settings-heading-actions{display:inline-flex;align-items:center;gap:9px;min-width:0}.settings-heading-actions small{min-width:0}.settings-heading-input{width:min(240px,34vw);min-width:120px;height:32px;border:1px solid rgba(255,255,255,.08);border-radius:8px;outline:0;background:#101010;color:var(--text);padding:0 10px;font-size:13px}.settings-heading-input:focus{border-color:#3aa3ff73}.settings-primary,.settings-secondary,.settings-icon-button,.inline-action{display:inline-flex;align-items:center;justify-content:center;border:0;background:#2a2a2a;color:#f5f5f5}.settings-primary{gap:7px;height:34px;margin:0 16px 16px;border-radius:10px;padding:0 12px;font-size:13px}.settings-secondary{gap:7px;height:34px;border-radius:10px;padding:0 12px;font-size:13px}.settings-secondary.compact{height:28px;border-radius:8px;padding:0 9px;font-size:12px}.settings-icon-button{width:32px;height:32px;border-radius:8px;padding:0}.settings-icon-button.primary,.settings-icon-button.active{background:#353535;color:#fff}.settings-icon-button.ghost{background:transparent;color:#a8a8a8}.settings-button-row .settings-primary,.settings-button-row .settings-icon-button{margin:0}.settings-primary:hover:not(:disabled),.settings-secondary:hover:not(:disabled),.settings-icon-button:hover:not(:disabled),.inline-action:hover:not(:disabled){background:#363636}.settings-icon-button.ghost:hover:not(:disabled){background:#ffffff0f;color:#fff}.settings-primary:disabled,.settings-secondary:disabled,.settings-icon-button:disabled,.inline-action:disabled{opacity:.5}.subagent-save-button{margin:0}.subagent-save-button.dirty:not(:disabled){background:var(--cyan);color:#061317}.subagent-save-button.dirty:hover:not(:disabled){background:#22d3ee}.settings-spin{animation:settings-spin .9s linear infinite}@media(max-width:820px){.provider-manager-row{grid-template-columns:36px minmax(120px,1fr) minmax(120px,.8fr) auto;gap:10px}.provider-details-button{width:74px}.provider-card-grid,.provider-dialog-stats,.subagent-role-controls,.provider-dialog-header{grid-template-columns:minmax(0,1fr)}}@keyframes settings-spin{to{transform:rotate(360deg)}}.account-list{overflow:hidden}.account-list-heading{display:flex;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid var(--border);color:#f5f5f5;font-size:13px}.account-list-note{margin:0;padding:10px 16px;border-bottom:1px solid rgba(255,255,255,.06);color:#9b9b9b;font-size:12px}.account-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:66px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.account-row:last-child{border-bottom:0}.profile-footline{color:#9b9b9b;font-size:11px}.profile-footline.warning{color:#ffad7d}.profile-control-panel{display:grid;gap:12px;padding:0}.profile-control-panel.inline{margin-top:10px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:#ffffff06;padding:14px 16px}.profile-control-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.profile-control-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:8px}.profile-hosted-status{display:inline-flex;align-items:center;min-height:32px;gap:7px;border-left:1px solid var(--border);margin-left:2px;padding-left:12px;color:var(--muted);white-space:nowrap}.profile-hosted-status>span{font-size:11px}.profile-hosted-status>strong{max-width:180px;overflow:hidden;color:var(--text);font-size:12px;font-weight:560;text-overflow:ellipsis}.profile-local-status{min-width:0;max-width:min(520px,48vw);overflow:hidden;color:var(--muted);font-size:11px;line-height:1.4;text-align:right;text-overflow:ellipsis;white-space:nowrap}.profile-local-status.dirty,.profile-local-status.pending_commit{color:#d7ae59}.profile-local-status.error{color:#db7779}.profile-commit-dialog,.profile-path-dialog,.profile-sync-dialog{width:min(460px,calc(100vw - 34px))}.profile-sync-dialog{width:min(520px,calc(100vw - 34px))}.profile-sync-explainer{margin:0;color:#b8b8b8;font-size:12px;line-height:1.5}.profile-dialog-summary{display:grid;gap:4px;min-width:0;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#ffffff09;padding:10px 12px}.profile-dialog-summary strong,.profile-dialog-summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-dialog-summary strong{color:#f6f6f6;font-size:13px;font-weight:620}.profile-dialog-summary span{color:#aaa;font-size:12px}.profile-dialog-diff-list{display:grid;gap:7px;max-height:min(260px,36vh);overflow:auto;scrollbar-color:#484848 transparent}.profile-dialog-diff-row{display:grid;gap:3px;min-width:0;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:#ffffff06;padding:9px 10px}.profile-dialog-diff-row.warning{border-color:#ffc45738;background:#ffc45714}.profile-dialog-diff-row strong,.profile-dialog-diff-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-dialog-diff-row strong{color:#f4f4f4;font-size:12px;font-weight:620}.profile-dialog-diff-row span{color:#aaa;font-size:12px}.profile-dialog-warning{border:1px solid rgba(255,122,47,.28);border-radius:9px;background:#ff7a2f17;color:#ffad7d;padding:9px 10px;font-size:12px}.profile-commit-dialog .git-dialog-footer,.profile-path-dialog .git-dialog-footer,.profile-sync-dialog .git-dialog-footer{flex-wrap:wrap}.account-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:17px;background:#06b6d41f;color:var(--cyan);font-weight:650;overflow:hidden}.account-avatar img{width:100%;height:100%;object-fit:cover}.account-details{display:grid;gap:3px;min-width:0}.account-details strong,.account-details span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-details strong{color:#f6f6f6;font-size:14px;font-weight:550}.account-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.active-pill,.account-state{display:inline-flex;align-items:center;justify-content:center;min-height:24px;border-radius:12px;padding:0 9px;white-space:nowrap;font-size:12px}.active-pill{background:#3aa3ff24;color:#77bdff}.inline-action{gap:5px;min-height:24px;border-radius:12px;padding:0 10px;white-space:nowrap;font-size:12px}.inline-action.danger{background:#eb57571a;color:#ff9b9b}.inline-action.danger:hover:not(:disabled){background:#eb57572e;color:#ffc0c0}.account-remove-action{width:24px;padding:0}.account-state{background:#242424;color:#bdbdbd}.account-state.signed_in{background:#50c87821;color:#8ddfa8}.account-state.signed_out,.account-state.auth_error{background:#ff7a2f21;color:#ffad7d}.account-state.ready{background:#50c87821;color:#8ddfa8}.account-state.warning{background:#ffc45724;color:#ffd38a}.account-state.loading{background:#3aa3ff24;color:#77bdff}.account-state.disabled{background:#ffffff12;color:#858585}.empty-account-list{display:grid;gap:5px;padding:18px 16px}.empty-account-list strong{color:#f5f5f5;font-size:14px}.product-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.product-row:last-child{border-bottom:0}.product-row div{display:grid;gap:3px;min-width:0}.product-row strong,.product-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-row strong{color:#f6f6f6;font-size:13px;font-weight:550}.profile-agent-list{border:0;border-radius:0;background:transparent}.profile-agent-list-heading{border-bottom:0;padding:0 0 10px}.profile-table-frame{width:100%;overflow-x:auto;border:1px solid var(--border);border-radius:9px;background:var(--panel)}.profile-data-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.profile-agent-table{min-width:600px}.profile-agent-column{width:38%}.profile-action-column{width:18%}.profile-check-column{width:16%}.profile-sync-column{width:28%}.profile-data-table th,.profile-data-table td{min-width:0;border-right:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07);padding:12px 14px;text-align:left;vertical-align:middle}.profile-data-table th:last-child,.profile-data-table td:last-child{border-right:0}.profile-data-table tbody tr:last-child td{border-bottom:0}.profile-data-table th{padding-block:10px;background:var(--panel-soft);color:#858585;font-size:11px;font-weight:560}.profile-data-table strong,.profile-data-table span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-data-table strong{color:#f6f6f6;font-size:13px;font-weight:550}.profile-skill-list{border:0;border-radius:0;background:transparent}.profile-skill-heading-actions{display:inline-flex;align-items:center;gap:10px}.profile-skill-table{min-width:820px}.profile-skill-name-column{width:23%}.profile-skill-trigger-column{width:29%}.profile-skill-status-column{width:10%}.profile-skill-source-column{width:22%}.profile-skill-actions-column{width:16%}.profile-skill-description{overflow:hidden;color:#a9a9a9;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.profile-skill-source{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-skill-actions{display:inline-flex;align-items:center;gap:8px;min-width:0}.profile-agent-table .profile-schedule-actions{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;justify-content:flex-end;gap:6px;min-width:0}.profile-schedule-expression{flex:1 1 auto;min-width:0;color:#a9a9a9;font-size:12px;text-align:right}.profile-agent-table .profile-schedule-controls{display:inline-flex;align-items:center;flex:0 0 auto;flex-wrap:nowrap;gap:6px;min-width:max-content;white-space:nowrap}.profile-schedule-button{width:28px;height:28px;flex:0 0 auto}.profile-agent-list-note{padding:8px 16px 12px}.profile-agent-identity{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:12px;min-width:0}.profile-agent-identity>div{display:grid;gap:3px;min-width:0}.profile-agent-action{min-width:0}.profile-agent-action span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a9a9a9;font-size:12px}.profile-status-text{display:inline-flex;align-items:center;gap:6px;min-width:0;color:#bdbdbd;font-size:12px;white-space:nowrap}.profile-status-text:before{content:"";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:currentColor;opacity:.85}.profile-status-text.ready{color:#8ddfa8}.profile-status-text.warning{color:#ffd38a}.profile-status-text.loading{color:#77bdff}.profile-status-text.disabled{color:#858585}@container profile-view (max-width: 840px){.profile-control-toolbar{align-items:flex-start;flex-direction:column}.profile-local-status{max-width:100%;text-align:left}}.settings-footnote{display:flex;justify-content:space-between;gap:18px;min-width:0;max-width:100%;padding:12px 16px}.settings-footnote.warning{border-color:#ff7a2f3d}.settings-footnote strong{min-width:0;overflow-wrap:anywhere;white-space:normal;word-break:break-word;color:#d9d9d9;font-size:12px;font-weight:500}.account-build-footnote{align-items:center}.account-build-details{display:grid;gap:4px;min-width:0}.account-build-version,.account-build-actions{display:flex;align-items:center;gap:8px}.account-build-context{display:inline-flex;align-items:center;min-height:20px;border-radius:999px;padding:0 7px;background:#ffffff14;color:#bdbdbd;font-size:11px;font-weight:500}.account-build-context.development{background:#3aa3ff21;color:#8fc8ff}.account-build-actions{flex:0 0 auto;justify-content:flex-end}.account-build-actions .settings-primary,.account-build-actions .settings-secondary{margin:0}.account-build-actions .settings-primary.compact{height:28px;border-radius:8px;padding:0 9px;font-size:12px}.account-error-footnote{align-items:flex-start}.account-error-footnote strong{flex:1 1 420px;max-width:min(620px,75%);color:#ffbd96;line-height:1.45;text-align:right}.diagnostics-log-panel{overflow:hidden}.diagnostics-log-actions{justify-content:flex-end;flex-wrap:wrap}.diagnostics-error-list{display:grid;align-content:start;max-height:min(34vh,340px);overflow:auto;scrollbar-color:#424242 transparent}.diagnostics-error-entry{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;padding:12px 14px;border-top:1px solid rgba(255,255,255,.06);color:#ffb0a4;content-visibility:auto;contain-intrinsic-size:86px}.diagnostics-error-entry:first-child{border-top:0}.diagnostics-error-entry svg{margin-top:2px;color:#ff8f7d}.diagnostics-error-body{display:grid;gap:6px;min-width:0}.diagnostics-error-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;min-width:0}.diagnostics-error-title strong{min-width:0;color:#f4f4f4;font-size:13px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}.diagnostics-error-title time,.diagnostics-error-meta{color:#9b9b9b;font-size:12px}.diagnostics-error-meta{display:flex;flex-wrap:wrap;gap:6px}.diagnostics-error-meta span{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diagnostics-error-detail{min-width:0}.diagnostics-error-detail summary{width:fit-content;cursor:pointer;color:#d8d8d8;font-size:12px}.diagnostics-error-detail pre{max-height:180px;margin:8px 0 0;overflow:auto;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#0f0f0f;color:#dcdcdc;padding:9px 10px;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.diagnostics-error-empty{display:grid;place-items:center;min-height:120px;color:#8f8f8f;font-size:13px}.diagnostics-log-viewer{display:grid;align-content:start;max-height:min(46vh,420px);min-height:260px;overflow:auto;background:#0f0f0f;scrollbar-color:#424242 transparent}.diagnostics-log-entry{display:grid;grid-template-columns:118px minmax(0,1fr);gap:10px;min-width:max-content;padding:5px 12px;border-bottom:1px solid rgba(255,255,255,.045);content-visibility:auto;contain-intrinsic-size:26px}.diagnostics-log-source{color:#8f8f8f;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:nowrap}.diagnostics-log-entry code{color:#dcdcdc;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:pre}.diagnostics-log-empty{display:grid;place-items:center;min-height:260px;color:#8f8f8f;font-size:13px}.diagnostics-log-dir{display:flex;justify-content:space-between;gap:18px;padding:10px 14px;border-top:1px solid rgba(255,255,255,.06)}.diagnostics-log-dir span{color:#9b9b9b;font-size:12px}.diagnostics-log-dir strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d9d9d9;font-size:12px;font-weight:500}.remote-access-summary{align-items:flex-start}.remote-access-summary .account-summary-actions{flex-wrap:wrap}.remote-access-icon,.remote-access-peer-dot{display:grid;place-items:center;width:34px;height:34px;border-radius:17px;background:#ffffff12;color:#9d9d9d}.remote-access-icon.configured{background:#3aa3ff21;color:#77bdff}.remote-access-icon.online{background:#50c87821;color:#8ddfa8}.remote-access-link-heading{align-items:center}.remote-access-link-heading>div{display:grid;gap:3px;min-width:0}.remote-access-link-heading span,.remote-access-link-heading small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remote-access-value-row{align-items:flex-start}.remote-access-value-row div{gap:6px}.remote-access-value-row strong.flash{animation:remote-access-title-flash 1.5s ease-out}.remote-access-value-row code{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dcdcdc;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.remote-access-peer-row{grid-template-columns:38px minmax(0,1fr) auto auto}.remote-access-environment{display:grid}.remote-access-environment-row{display:grid;min-height:62px;border-bottom:1px solid rgba(255,255,255,.06)}.remote-access-environment-row:last-child{border-bottom:0}.remote-access-environment-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.remote-access-environment-row.two{grid-template-columns:repeat(2,minmax(0,1fr))}.remote-access-environment-cell{display:grid;align-content:center;gap:5px;min-width:0;padding:12px 16px;border-right:1px solid rgba(255,255,255,.06)}.remote-access-environment-cell:last-child{border-right:0}.remote-access-environment-cell strong,.remote-access-environment-cell span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remote-access-environment-cell strong{color:#f6f6f6;font-size:13px;font-weight:550}.remote-access-environment-cell span{color:#9b9b9b;font-size:12px}.remote-access-peer-dot{width:11px;height:11px;justify-self:center;border-radius:999px;background:#555}.remote-access-peer-dot.online{background:#58d68d;box-shadow:0 0 0 4px #58d68d1f}.remote-access-config{overflow:hidden;border:1px solid var(--border);border-radius:16px;background:#181818}.remote-access-config pre{max-height:260px;margin:0;overflow:auto;background:#0f0f0f;color:#dcdcdc;padding:14px 16px;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:pre}@keyframes remote-access-title-flash{0%,to{color:#f6f6f6;text-shadow:none}18%,55%{color:#ffbc8f;text-shadow:0 0 12px rgba(255,156,86,.35)}}@media(max-width:720px){.remote-access-environment-row.three,.remote-access-environment-row.two{grid-template-columns:1fr}.remote-access-environment-cell{min-height:56px;border-right:0;border-bottom:1px solid rgba(255,255,255,.06)}.remote-access-environment-cell:last-child{border-bottom:0}}.compute-settings{gap:16px}.compute-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.compute-title-row h1{margin:0}.dataset-storage-intro{max-width:680px;margin:7px 0 0;color:#999;font-size:13px;line-height:1.5}.dataset-storage-list{min-width:0}.dataset-storage-row small.dataset-storage-error{color:#df8e8e}.compute-summary-main{grid-template-columns:minmax(0,1fr)}.compute-section-heading{padding:4px 2px 0;border:0}.compute-device-default{padding-top:0}.model-storage-picker{display:grid;gap:6px;max-width:640px;padding:14px 16px 16px}.model-storage-label{color:#9b9b9b;font-size:12px;white-space:nowrap}.model-storage-control-row{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:8px}.model-storage-select{width:100%;min-width:0;height:36px;border:1px solid rgba(255,255,255,.08);border-radius:8px;outline:0;appearance:none;background:linear-gradient(45deg,transparent 50%,#9b9b9b 50%) calc(100% - 16px) 50% / 5px 5px no-repeat,linear-gradient(135deg,#9b9b9b 50%,transparent 50%) calc(100% - 11px) 50% / 5px 5px no-repeat,#101010;color:var(--text);padding:0 32px 0 10px;font-size:13px}.model-storage-select:focus{border-color:#06b6d480}.model-storage-add{width:36px;height:36px}.model-storage-dialog{width:min(520px,calc(100vw - 34px))}.model-storage-dialog-note{border:1px solid rgba(143,200,255,.16);border-radius:9px;background:#8fc8ff12;color:#b4cae0;padding:9px 10px;font-size:12px;line-height:1.45}.compute-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;border-top:1px solid var(--border)}.compute-row:first-of-type{border-top:0}.compute-row>div{display:grid;gap:4px;min-width:0}.compute-row strong{color:#f1f1f1;font-size:13px;font-weight:570}.compute-row small{overflow-wrap:anywhere;color:#9b9b9b;font-size:12px}.compute-row>span{flex:0 0 auto;color:#b7b7b7;font-size:12px}.compute-diagnostics{border:1px solid var(--border);border-radius:12px;color:#b7b7b7;padding:12px 14px;font-size:12px}.compute-diagnostics summary{color:#dedede;cursor:pointer}.compute-diagnostics ul{margin:10px 0 0;padding-left:18px}.compute-heading-actions{display:flex;align-items:center;gap:8px}.compute-download-row{display:grid;gap:10px;padding:13px 16px;border-top:1px solid var(--border)}.compute-download-row>div{display:grid;gap:4px}.compute-download-row strong{color:#f1f1f1;font-size:13px}.compute-download-row small{overflow-wrap:anywhere;color:#9b9b9b;font-size:12px}.compute-download-row progress{width:100%;height:5px;accent-color:var(--cyan)}@media(max-width:720px){.compute-row{align-items:flex-start;flex-direction:column;gap:7px}}.notification-settings-card{overflow:hidden}.notification-mode-list{display:grid}.notification-mode-option{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:11px;min-height:66px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.06);background:transparent;cursor:pointer}.notification-mode-option:last-child{border-bottom:0}.notification-mode-option:hover{background:#ffffff09}.notification-mode-option.selected{background:#3aa3ff13}.notification-mode-option input{width:15px;height:15px;margin:2px 0 0;accent-color:#3aa3ff}.notification-mode-option>span,.notification-thread-copy{display:grid;min-width:0;gap:4px}.notification-mode-option strong,.notification-thread-copy strong{color:#f4f4f4;font-size:13px;font-weight:560}.notification-mode-option small,.notification-thread-copy small{color:#9b9b9b;font-size:12px;line-height:1.4}.notification-thread-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:66px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.notification-thread-row:last-of-type{border-bottom:0}.notification-thread-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#3aa3ff1c;color:#8fc8ff}.notification-thread-icon.muted{background:#ffffff0f;color:#929292}.notification-settings-error{padding:11px 16px;border-top:1px solid rgba(255,98,98,.2);background:#ff626212;color:#ffb0b0;font-size:12px}@media(max-width:760px){.notification-thread-row{grid-template-columns:32px minmax(0,1fr)}.notification-thread-row>.settings-secondary{grid-column:2;justify-self:start}}.harness-history-settings{width:min(1080px,100%);max-width:none;margin-inline:auto}.harness-history-settings .account-settings-title>div{display:grid;gap:7px}.harness-history-settings .account-settings-title p,.harness-section-heading p{margin:0;color:#999;font-size:12px;line-height:1.5}.harness-page-title{align-items:flex-start}.harness-page-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.harness-page-header-actions .settings-primary,.harness-page-header-actions .settings-secondary{margin:0}.harness-page-toggle{display:flex;align-items:center;gap:8px;min-height:30px;color:#a8a8a8;font-size:11px;cursor:pointer}.harness-page-sections{display:grid;gap:28px}.harness-history-card time,.harness-route-card time,.harness-history-card footer,.harness-route-card small{color:#8f8f8f;font-size:11px}.harness-release-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:62px;padding:11px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.harness-release-row:last-child{border-bottom:0}.harness-release-row>div{display:grid;gap:4px;min-width:0}.harness-release-row strong{color:#f2f2f2;font-size:13px;font-weight:600}.harness-release-row span{color:#929292;font-size:11px}.harness-inline-actions,.harness-review-actions,.harness-history-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.harness-current-pill,.harness-status,.harness-validation-status{display:inline-flex;align-items:center;width:max-content;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:#ffffff0a;color:#bdbdbd;padding:3px 7px;font-size:10px;font-weight:650}.harness-current-pill,.harness-status-advanced,.harness-validation-status.passed{border-color:#70b98b40;background:#70b98b1a;color:#9ed3b1}.harness-status-conflict,.harness-validation-status.failed,.harness-validation-status.blocked{border-color:#da707040;background:#da70701a;color:#e8a0a0}.harness-history-section{display:grid;gap:10px}.harness-section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px}.harness-section-heading>div{display:grid;gap:5px}.harness-section-heading h2{margin:0;color:#f3f3f3;font-size:15px;font-weight:600}.harness-section-heading>span{color:#888;font-size:12px}.harness-section-heading>.harness-section-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.harness-section-actions .settings-primary,.harness-section-actions .settings-secondary{height:28px;margin:0;border-radius:8px;padding:0 9px;font-size:12px}.harness-history-card,.harness-route-card,.harness-empty{border:1px solid var(--border);border-radius:14px;background:#181818;padding:15px 16px}.harness-history-card{display:grid;gap:13px}.harness-history-card>header{display:flex;align-items:start;justify-content:space-between;gap:18px}.harness-history-card>header>div{display:grid;gap:7px;min-width:0}.harness-history-card h2{margin:0;color:#f1f1f1;font-size:14px;font-weight:600;line-height:1.4}.harness-history-card>p,.harness-route-card p{margin:0;color:#b5b5b5;font-size:12px;line-height:1.5}.harness-history-kicker{display:flex;align-items:center;gap:8px;color:#999;font-size:11px;text-transform:capitalize}.harness-history-release-flow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#878787;font-size:11px}.harness-history-release-flow code{color:#c8c8c8;font-size:11px}.harness-history-card footer{display:flex;justify-content:space-between;gap:12px;padding-top:2px}.harness-history-card footer code{color:#aaa;font-size:10px}.harness-review-metrics{display:flex;flex-wrap:wrap;gap:8px 16px;color:#929292;font-size:11px}.harness-review-metrics strong{color:#d4d4d4;font-weight:600}.harness-review-lineage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid rgba(255,255,255,.06);border-radius:10px}.harness-review-lineage>div{display:grid;gap:4px;padding:10px 11px;border-right:1px solid rgba(255,255,255,.06)}.harness-review-lineage>div:last-child{border-right:0}.harness-review-lineage span{color:#888;font-size:10px}.harness-review-lineage code{color:#bdbdbd;font-size:10px}.harness-review-lineage .linked code{color:#9ed3b1}.harness-qualification-card small{line-height:1.5}.harness-history-details{border-top:1px solid rgba(255,255,255,.06);padding-top:10px}.harness-history-details summary{cursor:pointer;color:#cfcfcf;font-size:12px}.harness-edit-list{display:grid;gap:9px;margin-top:10px}.harness-edit{overflow:hidden;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:#111}.harness-edit>div{display:grid;gap:3px;padding:9px 11px}.harness-edit strong{color:#e7e7e7;font-size:11px;font-weight:600}.harness-edit span{color:#929292;font-size:11px}.harness-edit pre{max-height:340px;overflow:auto;margin:0;border-top:1px solid rgba(255,255,255,.06);padding:11px;color:#c9c9c9;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap}.harness-edit>p{margin:0;padding:10px 11px;color:#999;font-size:11px}.harness-validation-list{display:grid;gap:6px}.harness-validation-list>div{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px;color:#999;font-size:11px}.harness-validation-list strong{color:#c8c8c8;font-size:11px;font-weight:600;text-transform:capitalize}.harness-route-card{display:grid;gap:8px}.harness-route-card>div{display:flex;align-items:center;gap:9px}.harness-route-card strong{color:#e7e7e7;font-size:12px;text-transform:capitalize}.harness-route-card time{margin-left:auto}.harness-empty{color:#989898;font-size:12px;line-height:1.5}.harness-empty.compact{border-radius:11px;padding:12px 14px}.harness-activity-list,.harness-disclosure-list{overflow:hidden;border:1px solid var(--border);border-radius:14px;background:#181818}.harness-activity-list>article{display:grid;grid-template-columns:116px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:58px;border-bottom:1px solid rgba(255,255,255,.06);padding:10px 14px}.harness-activity-list>article:last-child,.harness-disclosure-row:last-child{border-bottom:0}.harness-disclosure-list>.harness-empty{border:0;border-radius:0;background:transparent}.harness-activity-list>article>span,.harness-activity-list time{color:#8e8e8e;font-size:11px}.harness-activity-list>article>div{display:grid;gap:3px;min-width:0}.harness-activity-list strong{overflow:hidden;color:#e4e4e4;font-size:12px;font-weight:580;text-overflow:ellipsis;white-space:nowrap}.harness-activity-list small{color:#8f8f8f;font-size:10px;text-transform:capitalize}.harness-disclosure-row{border-bottom:1px solid rgba(255,255,255,.06)}.harness-disclosure-row>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:58px;padding:10px 14px;cursor:pointer;list-style:none}.harness-disclosure-row>summary::-webkit-details-marker{display:none}.harness-disclosure-row>summary:hover{background:#ffffff09}.harness-disclosure-row>summary:after{content:"›";grid-column:5;color:#777;font-size:17px;transition:transform .12s ease}.harness-disclosure-row[open]>summary:after{transform:rotate(90deg)}.harness-disclosure-row>summary strong{overflow:hidden;color:#e6e6e6;font-size:12px;font-weight:580;text-overflow:ellipsis;white-space:nowrap}.harness-disclosure-row>summary small,.harness-disclosure-row>summary time,.harness-disclosure-body>small{color:#8d8d8d;font-size:10px}.harness-disclosure-body{display:grid;gap:12px;border-top:1px solid rgba(255,255,255,.05);padding:14px}.harness-disclosure-body>p{margin:0;color:#b2b2b2;font-size:12px;line-height:1.5}.harness-compact-metadata{display:flex;flex-wrap:wrap;gap:12px 26px;margin:0}.harness-compact-metadata>div{display:grid;gap:3px}.harness-compact-metadata dt{color:#818181;font-size:10px}.harness-compact-metadata dd{margin:0;color:#c3c3c3;font-size:11px}.harness-evidence-list{display:grid;gap:6px;margin:10px 0 0;padding:0;list-style:none}.harness-evidence-list li{display:grid;grid-template-columns:minmax(100px,1fr) auto auto;gap:12px;color:#999;font-size:10px}.harness-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:14px;background:#181818}.harness-table{width:100%;border-collapse:collapse;font-size:11px}.harness-table th{border-bottom:1px solid rgba(255,255,255,.08);color:#888;padding:9px 12px;text-align:left;font-weight:550}.harness-table td{border-bottom:1px solid rgba(255,255,255,.055);color:#aaa;padding:10px 12px;vertical-align:middle}.harness-table tbody tr:last-child td{border-bottom:0}.harness-table td code{color:#c7c7c7;font-size:10px}.harness-release-identity{display:grid;gap:3px}.harness-release-identity strong{color:#dfdfdf;font-size:11px;font-weight:600}.harness-release-table th:nth-child(4),.harness-release-table td:nth-child(4){text-align:right}.harness-release-table td:nth-child(4)>span{margin-left:auto}.harness-release-table td:last-child{width:1%;white-space:nowrap}.harness-refiner-table td:nth-child(2) strong{color:#e5e5e5;font-size:11px;font-weight:600}.harness-refiner-table td:last-child{width:1%;white-space:nowrap}.harness-table-icon-action{display:inline-grid;place-items:center;width:28px;height:28px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:transparent;color:#999}.harness-table-icon-action:hover:not(:disabled),.harness-table-icon-action:focus-visible{border-color:#ffffff2b;background:#ffffff0e;color:#e1e1e1}.harness-table-icon-action:disabled{opacity:.45;cursor:not-allowed}.harness-route-table td:nth-child(1),.harness-route-table td:nth-child(2){max-width:360px;line-height:1.45}.harness-route-table td p{margin:0}.harness-route-table td:nth-child(1) p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:5}.harness-route-table th:last-child,.harness-route-table td:last-child{width:1%;white-space:nowrap}.harness-review-status-table td{white-space:nowrap}.harness-details-dialog-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;background:#000000a6;padding:24px}.harness-details-dialog{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(720px,100%);max-height:min(760px,calc(100vh - 48px));overflow:hidden;border:1px solid var(--border);border-radius:16px;background:#181818;box-shadow:0 24px 80px #0000007a}.harness-details-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid rgba(255,255,255,.07);padding:16px 18px}.harness-details-dialog>header>div{display:grid;gap:7px}.harness-details-dialog h2,.harness-details-dialog h3,.harness-details-dialog p{margin:0}.harness-details-dialog h2{color:#eee;font-size:15px;font-weight:600;line-height:1.4}.harness-details-dialog h3{color:#ddd;font-size:12px;font-weight:600}.harness-details-dialog>header p{color:#999;font-size:11px;line-height:1.5}.harness-details-dialog>header>button{display:grid;flex:0 0 auto;place-items:center;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#999}.harness-details-dialog>header>button:hover{background:#ffffff0f;color:#eee}.harness-details-dialog-body{display:grid;gap:20px;overflow:auto;padding:18px}.harness-details-dialog-body>section{display:grid;gap:10px}.harness-details-dialog-body .harness-edit-list{margin-top:0}.harness-release-diff-sidebar{z-index:3;grid-template-rows:41px 42px minmax(0,1fr)}.harness-release-diff-sidebar .workspace-diff-topbar{border-bottom:1px solid var(--border)}.harness-release-diff-meta{justify-content:space-between;gap:12px;padding:0 12px;color:#9b9b9b;font-size:11px}.harness-release-diff-meta>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.harness-release-diff-meta code{flex:0 0 auto;color:#c6c6c6;font-size:10px}.harness-release-diff-body{min-width:0;min-height:0;overflow:hidden}.harness-release-diff-body>.workspace-file-preview,.harness-release-diff-body>.workspace-diff-preview{height:100%}.harness-release-diff-files{height:100%;overflow:auto}.harness-release-diff-summary{display:flex;align-items:center;gap:9px;min-height:38px;border-bottom:1px solid rgba(255,255,255,.06);padding:0 14px;color:#a8a8a8;font-size:11px}.harness-release-diff-summary>span:first-child{margin-right:auto}.harness-release-diff-file{display:grid;grid-template-columns:22px minmax(0,1fr) auto auto;align-items:center;gap:9px;width:100%;min-height:38px;border:0;border-bottom:1px solid rgba(255,255,255,.055);background:transparent;color:#d1d1d1;padding:0 14px;text-align:left;font-size:11px}.harness-release-diff-file:hover,.harness-release-diff-file:focus-visible{background:#ffffff0e}.harness-release-diff-file>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.harness-release-diff-file small{font-size:10px}.harness-release-diff-status{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#ffffff0f;color:#aaa;font-size:10px;font-weight:700}.harness-release-diff-status.added{color:#9ed3b1}.harness-release-diff-status.deleted{color:#e8a0a0}.harness-release-diff-status.modified{color:#d8c18c}@media(max-width:640px){.harness-page-title{gap:16px}.harness-page-header-actions{width:100%;flex-wrap:wrap;justify-content:flex-start}.harness-history-card>header,.harness-section-heading{align-items:start;flex-direction:column}.harness-section-actions{width:100%}.harness-validation-list>div{grid-template-columns:auto minmax(0,1fr)}.harness-validation-list>div>span:last-child{grid-column:1 / -1}.harness-review-lineage{grid-template-columns:minmax(0,1fr)}.harness-review-lineage>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.06)}.harness-review-lineage>div:last-child{border-bottom:0}.harness-activity-list>article{grid-template-columns:minmax(0,1fr) auto}.harness-activity-list>article>span{grid-column:1 / -1}.harness-disclosure-row>summary{grid-template-columns:auto minmax(0,1fr) auto}.harness-disclosure-row>summary small{grid-column:2}.harness-disclosure-row>summary time{display:none}.harness-disclosure-row>summary:after{grid-column:3;grid-row:1}}@media(max-width:980px){.settings-shell.harness-diff-open>.workspace-diff-panel{position:fixed;inset:0;z-index:10;display:grid;width:100%;border-left:0}}.profile-view.profile-page{width:min(1120px,calc(100% - 56px));gap:0;padding:20px 0 56px}.profile-page .account-settings{gap:20px;max-width:none}.profile-page .profile-selector-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px}.profile-page .profile-selector-control{position:relative;display:inline-grid;align-items:center;min-width:220px}.profile-page .profile-selector-control select{width:100%;height:32px;appearance:none;border:1px solid var(--border);border-radius:7px;outline:0;background:var(--panel);color:var(--text);padding:0 34px 0 11px;font:inherit;font-size:12px;font-weight:600;cursor:pointer}.profile-page .profile-selector-control select:focus-visible{border-color:color-mix(in srgb,var(--text) 32%,var(--border));box-shadow:0 0 0 2px #ffffff12}.profile-page .profile-selector-control select:disabled{cursor:default;opacity:.55}.profile-page .profile-selector-control>svg{position:absolute;right:10px;color:var(--muted);pointer-events:none}.profile-page .profile-selector-actions{display:flex;align-items:center;gap:6px}.profile-page .profile-settings-menu-root{position:relative}.profile-page .profile-settings-menu-trigger{width:30px;height:30px;border-radius:7px}.profile-page .profile-settings-menu{position:absolute;z-index:20;top:calc(100% + 6px);right:0;display:grid;width:194px;padding:5px;border:0;border-radius:8px;background:var(--panel);box-shadow:0 14px 36px #00000052}.profile-page .profile-settings-menu>button{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;min-height:32px;padding:6px 8px;border:0;border-radius:6px;background:transparent;color:var(--muted-strong);font:inherit;font-size:11px;text-align:left;cursor:pointer}.profile-page .profile-settings-menu>button:hover:not(:disabled),.profile-page .profile-settings-menu>button:focus-visible{outline:0;background:var(--hover);color:var(--text)}.profile-page .profile-settings-menu>button:disabled{cursor:default;opacity:.5}.profile-page .profile-settings-menu>button>span{display:grid;gap:1px;min-width:0}.profile-page .profile-settings-menu>button strong{font-weight:500}.profile-page .profile-settings-menu>button small{overflow:hidden;color:var(--muted);font-size:9px;font-weight:450;text-overflow:ellipsis;white-space:nowrap}.profile-page .profile-settings-menu-separator{height:1px;margin:4px 6px;background:var(--border)}.profile-page .account-list-heading{gap:12px;color:var(--text);font-size:12px;font-weight:600}.profile-page .account-list-heading small{font-size:10px;font-weight:450}.profile-page .profile-agent-list-heading{padding-bottom:8px}.profile-page .profile-catalog-row{min-height:48px;gap:10px;padding:9px 12px}.profile-page .profile-agent-identity{grid-template-columns:18px minmax(0,1fr);gap:9px}.profile-page .profile-agent-identity>svg{width:16px;height:16px}.profile-page .profile-agent-identity>div{gap:2px}.profile-page .profile-catalog-row strong,.profile-page .profile-data-table strong{font-size:12px;font-weight:560}.profile-page .profile-catalog-row .profile-agent-identity span,.profile-page .profile-catalog-source,.profile-page .profile-catalog-summary,.profile-page .profile-agent-action span,.profile-page .profile-schedule-expression,.profile-page .profile-skill-description,.profile-page .profile-status-text{font-size:11px}.profile-page .settings-secondary{height:30px;gap:6px;border-radius:7px;padding:0 10px;font-size:11px}.profile-page .settings-secondary.compact{height:26px;border-radius:6px;padding:0 8px;font-size:10px}.profile-page .profile-control-panel,.profile-page .profile-control-toolbar{gap:8px}.profile-page .profile-control-actions{gap:6px}.profile-page .profile-hosted-status{min-height:30px;padding-left:10px}.profile-page .profile-hosted-status>span,.profile-page .profile-local-status{font-size:10px}.profile-page .profile-hosted-status>strong{font-size:11px}.profile-page .settings-help{max-width:760px;margin:0 0 8px;color:var(--muted);font-size:11px;line-height:1.5}.profile-page .profile-data-table th,.profile-page .profile-data-table td{padding:9px 11px;font-size:11px}.profile-page .profile-data-table th{padding-block:8px;font-size:10px}.profile-page .profile-schedule-button{width:26px;height:26px}.profile-page .profile-agent-table .profile-schedule-actions{grid-template-columns:max-content max-content;justify-content:start}.profile-page .profile-schedule-expression{text-align:left}.profile-page .profile-agent-table .profile-schedule-controls{justify-content:flex-start}@media(max-width:760px){.profile-view.profile-page{width:min(100% - 28px,1120px);padding-top:16px}.profile-page .profile-selector-bar{align-items:stretch;flex-direction:column}.profile-page .profile-selector-control{width:100%}.profile-page .profile-selector-actions{justify-content:flex-end}}.profile-workflows{display:grid;gap:12px;padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.profile-workflows-header h3{margin:0;color:var(--text);font-size:13px}.profile-workflows-header p,.profile-workflows-row p,.profile-workflows-row small{margin:4px 0 0;color:var(--muted);font-size:11px}.profile-workflows-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--border);border-radius:8px}.profile-workflows-row strong{color:var(--text);font-size:12px}.profile-workflows button{padding:6px 10px;border:1px solid var(--border);border-radius:7px;background:var(--panel);color:var(--text);cursor:pointer}.profile-workflows button:disabled{cursor:default;opacity:.55}.profile-workflows-form{display:grid;gap:8px}.profile-workflows-form textarea,.profile-workflows-form pre{box-sizing:border-box;width:100%;min-height:90px;margin:0;padding:10px;border:1px solid var(--border);border-radius:7px;background:var(--background);color:var(--text);font:11px/1.5 monospace}.profile-workflows-form pre{min-height:0;max-height:160px;overflow:auto}.profile-catalog-list{border:0;border-radius:0;background:transparent}.profile-catalog-row{display:grid;grid-template-columns:minmax(180px,1.35fr) minmax(68px,.4fr) minmax(90px,.5fr) minmax(180px,1fr) auto;width:100%;border:0;border-bottom:1px solid rgba(255,255,255,.06);background:transparent;color:inherit;text-align:left;cursor:pointer}.profile-catalog-row:hover,.profile-catalog-row:focus-visible,.profile-catalog-row.selected{outline:0;background:#ffffff0b}.profile-catalog-row[aria-disabled=true]{cursor:wait;opacity:.6}.profile-catalog-source,.profile-catalog-summary{color:var(--muted);font-size:12px}.profile-remove-button{display:inline-flex;align-items:center;gap:6px}.profile-catalog-actions{display:inline-flex;align-items:center;gap:6px;overflow:visible}.profile-publication-dialog{width:min(720px,calc(100vw - 32px));max-height:min(880px,calc(100vh - 32px));overflow-y:auto}.profile-publication-fieldset{display:grid;gap:6px;margin:0;border:1px solid var(--border);border-radius:9px;padding:10px 12px 12px}.profile-publication-fieldset legend{padding:0 5px;color:var(--muted);font-size:12px;font-weight:600}.profile-publication-provider,.profile-publication-selection{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:9px;padding:6px;border-radius:7px}.profile-publication-selection{grid-template-columns:auto 1fr}.profile-publication-provider:hover,.profile-publication-selection:hover{background:#ffffff0a}.profile-publication-provider span,.profile-publication-selection span{display:grid;gap:2px;min-width:0}.profile-publication-provider small,.profile-publication-selection small,.profile-publication-empty{color:var(--muted);font-size:12px}.profile-publication-target-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.profile-add-source-options{display:flex;flex-wrap:wrap;gap:8px 16px}.profile-add-source-options label{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}.profile-publication-preview{display:grid;gap:9px}.profile-publication-warning{border-radius:7px;background:#ffc65817;color:#ffd38a;padding:8px 10px;font-size:12px}.profile-publication-file-list{display:grid;max-height:360px;overflow:auto;border:1px solid var(--border);border-radius:8px}.profile-publication-file-list>div{display:flex;justify-content:space-between;gap:14px;padding:7px 9px;border-bottom:1px solid rgba(255,255,255,.055);font-family:var(--font-mono);font-size:11px}.profile-publication-file-list>div:last-child{border-bottom:0}.profile-publication-file-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-publication-file-list small{flex:0 0 auto;color:var(--muted)}.profile-publication-preview details code{display:block;padding:3px 0;color:var(--muted);font-size:11px}@container profile-view (max-width: 840px){.profile-catalog-row{grid-template-columns:1fr auto}.profile-catalog-source,.profile-catalog-summary{display:none}.profile-catalog-actions{grid-column:1 / -1;flex-wrap:wrap}}.skills-settings{max-width:980px}.skills-settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.skills-settings-header h1{margin-bottom:8px}.skills-settings-header p{max-width:680px;margin:0;color:var(--muted);font-size:13px;line-height:1.55}.github-extensions-heading{align-items:center}.github-extensions-heading-actions,.github-extension-row-actions{display:flex;align-items:center;gap:8px}.github-extension-add{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.75fr) minmax(150px,.55fr) auto;align-items:end;gap:12px;padding:16px;border-bottom:1px solid rgba(255,255,255,.06)}.github-extension-add-copy,.github-extension-add label,.github-extension-preview>div{display:grid;gap:5px}.github-extension-add-copy strong,.github-extension-preview strong{font-size:13px}.github-extension-add-copy span,.github-extension-add label>span,.github-extension-preview span{color:var(--muted);font-size:11px;line-height:1.45}.github-extension-add input{width:100%;height:34px;border:1px solid rgba(255,255,255,.1);border-radius:9px;background:#0000002e;color:var(--text);padding:0 10px;outline:none}.github-extension-add input:focus{border-color:#22d3ee73}.github-extension-message{padding:10px 16px;border-bottom:1px solid rgba(255,255,255,.06);font-size:12px}.github-extension-message.error{color:#fca5a5;background:#f871710f}.github-extension-preview{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(240px,1fr) auto;align-items:center;gap:16px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.06);background:#22d3ee09}.github-extension-preview-skills{display:flex!important;flex-direction:row;flex-wrap:wrap;gap:6px!important}.github-extension-preview-skills>span{border-radius:999px;background:#ffffff0f;padding:4px 7px}.github-extension-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:76px;border-bottom:1px solid rgba(255,255,255,.06)}.github-extension-row:last-child{border-bottom:0}.github-extension-open{display:grid;grid-template-columns:34px minmax(220px,1.2fr) minmax(180px,.8fr) auto 16px;align-items:center;gap:12px;min-width:0;min-height:76px;border:0;background:transparent;color:var(--text);padding:12px 0 12px 16px;text-align:left}.github-extension-open:hover,.github-extension-open:focus-visible{background:#ffffff0b}.github-extension-open:focus-visible{outline:1px solid rgba(34,211,238,.46);outline-offset:-1px}.github-extension-open:disabled{cursor:default;opacity:.64}.github-extension-row-actions{padding-right:16px}.github-extension-row-actions .danger:hover:not(:disabled){color:#fca5a5;background:#f8717117}.native-skills-list{border:1px solid rgba(255,255,255,.08);border-radius:14px;background:#ffffff05}.personal-skill-row{cursor:default}.personal-skill-row:hover{background:transparent}.skills-settings-empty{padding:18px 16px;color:var(--muted);font-size:12px}.native-skill-row{display:grid;grid-template-columns:34px minmax(220px,1.2fr) minmax(180px,.8fr) auto 16px;align-items:center;gap:12px;width:100%;min-height:72px;border:0;border-bottom:1px solid rgba(255,255,255,.06);background:transparent;color:var(--text);padding:12px 16px;text-align:left}.native-skill-row:last-child{border-bottom:0}.native-skill-row:hover,.native-skill-row:focus-visible{background:#ffffff0b}.native-skill-row:focus-visible{outline:1px solid rgba(34,211,238,.46);outline-offset:-1px}.native-skill-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#22d3ee17;color:#67e8f9}.native-skill-identity,.native-skill-provider{display:grid;gap:4px;min-width:0}.native-skill-identity strong,.native-skill-provider strong,.native-skill-identity span,.native-skill-provider span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.native-skill-identity strong{font-size:13px;font-weight:620}.native-skill-identity span,.native-skill-provider span{color:var(--muted);font-size:11px}.native-skill-provider strong{color:#d8d8d8;font-size:12px;font-weight:560}.native-skill-provider span{font-family:var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace)}.native-skill-status{border-radius:999px;background:#4ade8017;color:#86efac;padding:5px 8px;font-size:10px;font-weight:650;white-space:nowrap}.native-skill-status.invalid{background:#f8717117;color:#fca5a5}.native-skill-row>svg{color:#737373}@media(max-width:760px){.skills-settings-header{flex-direction:column;gap:12px}.native-skill-row{grid-template-columns:34px minmax(0,1fr) 16px}.github-extension-add{grid-template-columns:1fr;align-items:stretch}.github-extension-preview{grid-template-columns:1fr}.github-extension-row{grid-template-columns:minmax(0,1fr) auto}.github-extension-open{grid-template-columns:34px minmax(0,1fr) 16px}.github-extension-open .native-skill-provider,.github-extension-open .native-skill-status,.native-skill-provider,.native-skill-status{display:none}}
|
|
1
|
+
.settings-shell{position:relative;display:grid;grid-template-columns:300px minmax(0,1fr);height:100%;min-height:0;background:var(--bg)}.settings-shell.harness-diff-open{grid-template-columns:300px minmax(0,1fr) minmax(380px,max(380px,min(var(--diff-panel-width, 480px),48vw)))}.settings-shell>.workspace-diff-panel{z-index:3;grid-column:3;grid-row:1}.settings-shell.harness-diff-expanded{grid-template-columns:300px minmax(0,1fr)}.settings-shell.harness-diff-expanded>.settings-content{display:none}.settings-shell.harness-diff-expanded>.workspace-diff-panel{grid-column:2;border-left:0}.settings-window-controls{position:absolute;z-index:4;top:12px;right:12px;display:inline-flex;align-items:center;gap:8px;height:20px;-webkit-app-region:no-drag;app-region:no-drag}.settings-window-controls .topbar-diff-button:disabled{cursor:default;opacity:.4}.settings-drag-region{position:absolute;z-index:2;top:0;right:0;left:300px;height:43px;-webkit-app-region:drag;app-region:drag}.settings-sidebar{min-height:0;border-right:1px solid var(--border);background:#101010;padding:12px 7px 0}.settings-shell.platform-macos .settings-sidebar{padding-top:43px}.settings-back{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:32px;border:0;border-radius:12px;background:transparent;color:#8e8e8e;padding:0 10px;text-align:left;font-size:13px}.settings-back span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-back:hover{color:var(--text);background:#ffffff0f}.settings-nav{display:grid;gap:3px;margin-top:10px}.settings-nav-group{display:grid;gap:3px}.settings-nav-group+.settings-nav-group{margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.06)}.settings-nav-heading{padding:3px 10px 5px;color:#8a8a8a;font-size:11px;font-weight:600}.settings-nav-item{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;min-height:29px;border:0;border-radius:10px;background:transparent;color:#f5f5f5;padding:0 10px;text-align:left;font-size:13px}.settings-nav-item.active{background:#2a2a2a}.settings-content{min-width:0;min-height:0;overflow:auto;padding:64px max(48px,12vw);scrollbar-width:none}.settings-content-wide{padding-inline:clamp(24px,5vw,72px)}.settings-stacked-sections{display:grid;gap:34px}.account-settings-embedded{border-top:1px solid rgba(255,255,255,.07);padding-top:28px}.settings-content::-webkit-scrollbar{display:none}.account-settings{display:grid;gap:28px;max-width:760px}.profile-settings{container-name:profile-view;container-type:inline-size;width:min(1120px,100%);max-width:none;min-width:0;margin-inline:auto}.account-settings h1{margin:0 0 24px;color:#f7f7f7;font-size:22px;font-weight:500;letter-spacing:0}.account-settings-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:0 0 24px}.account-settings-title h1{margin:0}.account-settings-title-actions{display:flex;align-items:center;gap:6px;margin-left:auto}@media(max-width:980px){.settings-shell,.settings-shell.harness-diff-open,.settings-shell.harness-diff-expanded{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.settings-drag-region{left:0}.settings-sidebar,.settings-shell.platform-macos .settings-sidebar{display:flex;min-width:0;gap:8px;overflow-x:auto;border-right:0;border-bottom:1px solid var(--border);padding:44px 14px 10px;scrollbar-width:none}.settings-sidebar::-webkit-scrollbar{display:none}.settings-back{flex:0 0 auto;width:auto}.settings-back span,.settings-nav-heading{display:none}.settings-nav,.settings-nav-group{display:flex;flex:0 0 auto;gap:3px;margin:0}.settings-nav-group+.settings-nav-group{margin:0;padding:0 0 0 8px;border-top:0;border-left:1px solid rgba(255,255,255,.06)}.settings-nav-item{display:inline-flex;flex:0 0 auto;width:auto;padding-inline:10px}.settings-content,.settings-content-wide{grid-column:1;grid-row:2;padding:28px 18px}.settings-shell.harness-diff-expanded>.workspace-diff-panel{grid-column:1;grid-row:2}}.configuration-settings header h1{margin-bottom:12px}.configuration-settings header p,.configuration-settings details p{color:var(--muted);font-size:13px;line-height:1.6}.configuration-settings details{min-width:0;border:1px solid var(--border);border-radius:12px;padding:16px}.configuration-settings summary{cursor:pointer;font-size:14px;font-weight:500}.configuration-settings textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);padding:14px;line-height:1.6;font-size:13px}.configuration-actions{display:flex;flex-wrap:wrap;gap:8px;margin-block:12px}.configuration-settings button,.configuration-settings select{border:1px solid var(--border);border-radius:8px;background:#242424;color:var(--text);padding:8px 12px}.configuration-settings button:disabled{opacity:.5;cursor:default}.configuration-settings table{width:100%;border-collapse:collapse;font-size:12px}.configuration-settings th,.configuration-settings td{text-align:left;padding:8px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.configuration-settings pre{overflow:auto;font-size:12px}.configuration-settings code{overflow-wrap:anywhere}.configuration-banner{margin-bottom:24px}.configuration-page h2{font-size:16px;font-weight:500;margin:0}.account-summary,.account-list,.provider-settings-form,.diagnostics-log-panel,.settings-footnote{border:1px solid var(--border);border-radius:16px;background:#181818}.account-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 18px}.account-summary-main>div{display:grid;gap:5px}.account-summary span,.account-summary small,.account-list-heading small,.account-details span,.product-row span,.settings-footnote span,.empty-account-list span{color:#9b9b9b;font-size:12px}.account-summary strong{color:#f7f7f7;font-size:15px}.account-summary-main{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:12px;min-width:0}.account-summary .account-summary-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.account-summary-main>div{min-width:0}.account-summary-main strong,.account-summary-main small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-summary-meta{display:flex;align-items:center;gap:8px;min-width:0}.account-summary-meta small{flex:0 1 auto;max-width:min(260px,44vw)}.account-summary-meta .account-summary-copy{max-width:min(520px,52vw);overflow:visible;text-overflow:clip;white-space:normal;line-height:1.35}.account-team-dropdown.compact{flex:0 1 auto;justify-self:auto;min-width:0}.account-team-dropdown.compact .dropdown-trigger{max-width:220px;height:24px;padding:0 6px}.account-team-dropdown .dropdown-menu{min-width:100%}.private-account-email{display:inline-block;filter:blur(4px);transition:filter .12s ease;-webkit-user-select:none;user-select:none}.private-account-email:hover,.private-account-email:focus-visible{filter:none;-webkit-user-select:text;user-select:text}.private-account-email:focus-visible{outline:1px solid rgba(58,163,255,.55);outline-offset:2px}.provider-settings-form{overflow:visible;position:relative;z-index:1}.provider-settings-form>.account-list-heading{border-bottom:0}.provider-state-pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;max-width:150px;border-radius:999px;padding:0 9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;background:#ffffff14;color:#bdbdbd}.provider-state-pill.muted{background:#ffffff14;color:#bdbdbd}.provider-row-status.muted{color:#bdbdbd}.provider-state-pill.ready{background:#50c87821;color:#8ddfa8}.provider-state-pill.configured{background:#3aa3ff21;color:#8fc8ff}.provider-state-pill.warning{background:#ff7a2f21;color:#ffad7d}.provider-manager-panel{border:1px solid var(--border);border-radius:16px;background:#181818;overflow:hidden}.provider-manager-scroll{display:grid;max-height:568px;overflow-y:auto;scrollbar-color:#343434 #161616;scrollbar-width:thin}.provider-manager-heading{align-items:center}.provider-manager-title-row{display:inline-flex;align-items:center;gap:12px;min-width:0}.settings-check-row.provider-subscription-filter{display:inline-flex;align-items:center;gap:6px;grid-template-columns:none;max-width:none;padding:0;color:#bdbdbd;font-size:12px;white-space:nowrap;cursor:pointer}.settings-check-row.provider-subscription-filter>span{display:block;min-width:0}.settings-check-row.provider-subscription-filter input[type=checkbox]{width:14px;height:14px;margin:0;border-radius:4px}.settings-check-row.provider-subscription-filter input[type=checkbox]:before{width:7px;height:4px}.provider-manager-empty{border:0;border-radius:0;background:transparent;padding:22px 16px}.provider-manager-scroll::-webkit-scrollbar,.provider-details-dialog::-webkit-scrollbar{width:10px}.provider-manager-scroll::-webkit-scrollbar-track,.provider-details-dialog::-webkit-scrollbar-track{background:#161616}.provider-manager-scroll::-webkit-scrollbar-thumb,.provider-details-dialog::-webkit-scrollbar-thumb{border:2px solid #161616;border-radius:999px;background:#343434}.provider-manager-scroll::-webkit-scrollbar-thumb:hover,.provider-details-dialog::-webkit-scrollbar-thumb:hover{background:#464646}.provider-manager-row{display:grid;grid-template-columns:44px minmax(160px,1fr) minmax(240px,.82fr) auto;align-items:center;gap:14px;min-height:48px;padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.06)}.provider-manager-row:last-child{border-bottom:0}.provider-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:28px}.provider-toggle input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.provider-toggle input:disabled{cursor:default}.provider-toggle span{position:relative;width:34px;height:20px;border-radius:999px;background:#ffffff1f;transition:background .12s ease}.provider-toggle span:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#b8b8b8;transition:transform .12s ease,background .12s ease}.provider-toggle input:checked+span{background:#06b6d452}.provider-toggle input:checked+span:after{transform:translate(14px);background:var(--cyan)}.provider-toggle input:focus-visible+span{outline:1px solid rgba(6,182,212,.6);outline-offset:2px}.provider-toggle input:disabled+span{opacity:.48}.provider-row-main{min-width:0}.provider-row-main strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#f2f2f2}.provider-row-status{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;min-width:0;color:#bdbdbd;font-size:12px}.provider-row-status span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.provider-row-status.ready{color:var(--cyan)}.provider-row-status.configured{color:#8fc8ff}.provider-row-status.warning{color:#ffad7d}.provider-row-status .settings-spin{flex:0 0 auto}.provider-details-button{width:86px}.provider-dialog-backdrop{z-index:90}.provider-details-dialog{width:min(760px,calc(100vw - 36px));max-height:min(760px,calc(100vh - 52px));overflow:auto;scrollbar-color:#343434 #161616;scrollbar-width:thin}.provider-dialog-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;padding:20px 48px 16px 20px;border-bottom:1px solid rgba(255,255,255,.08)}.provider-dialog-header h2{margin:0;color:#f6f6f6;font-size:18px;font-weight:620}.provider-dialog-header span{color:#9b9b9b;font-size:12px}.provider-dialog-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;padding:8px 20px 14px}.provider-dialog-stats div{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:10px;min-height:32px}.provider-dialog-stats .provider-dialog-error{grid-column:1 / -1}.provider-dialog-stats dt{color:#9b9b9b;font-size:12px}.provider-dialog-stats dd{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f2f2f2;font-size:13px}.provider-dialog-body{display:grid;gap:12px;padding-bottom:6px}.provider-card-form{display:grid;gap:12px;padding:0 20px 16px}.provider-card-form+.provider-card-form{padding-top:2px;border-top:1px solid rgba(255,255,255,.06)}.provider-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.provider-mode-tabs{justify-self:stretch;width:auto;margin:12px 20px 0}.provider-credential-panel,.provider-subscription-panel{display:grid;gap:12px;min-width:0}.credential-form .provider-dialog-note{margin:0}.provider-credential-panel .settings-button-row,.provider-subscription-panel .settings-button-row{padding:0}.provider-dialog-note{display:flex;align-items:center;gap:8px;margin:0 20px 20px;border:1px solid rgba(255,122,47,.22);border-radius:10px;background:#ff7a2f14;padding:10px 12px;color:#ffad7d;font-size:13px}.provider-dialog-note.xai-provider-note,.provider-dialog-note.subscription-provider-note{border-color:#3aa3ff33;background:#3aa3ff14;color:#9bd0ff}.provider-dialog-note code{border-radius:4px;background:#ffffff14;padding:1px 4px;color:#f2f2f2;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}.codex-provider-actions{padding:0 20px 20px}.provider-validation-message strong{white-space:pre-line}.account-dialog-advanced-fields{display:grid;gap:12px}.provider-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 16px 12px}.provider-settings-grid.single{grid-template-columns:minmax(0,1fr);max-width:380px}.settings-path-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;max-width:640px;padding:14px 16px 12px}.lsp-language-list{display:grid}.lsp-language-row{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(150px,.7fr) minmax(180px,1.2fr);align-items:end;gap:12px;min-width:0;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.lsp-language-row:last-child{border-bottom:0}.lsp-language-label{display:grid;gap:4px;min-width:0;padding-bottom:7px}.lsp-language-label strong{color:#f6f6f6;font-size:13px;font-weight:550}.lsp-language-label span{color:#9b9b9b;font-size:12px}.lsp-status-row{display:grid;grid-template-columns:minmax(0,1fr) auto}.lsp-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;border-radius:999px;padding:0 9px;white-space:nowrap;font-size:12px;background:#242424;color:#bdbdbd}.lsp-status-pill.found{background:#50c87821;color:#8ddfa8}.lsp-status-pill.missing,.lsp-status-pill.error{background:#ff7a2f21;color:#ffad7d}.lsp-status-pill.disabled{background:#ffffff14;color:#a8a8a8}.settings-select-field{position:relative;display:grid;gap:6px;min-width:0}.settings-select-field span{color:#9b9b9b;font-size:12px}.settings-select-field small{min-width:0;color:#8f8f8f;font-size:11px;line-height:1.35}.settings-select-field input,.settings-select-field select{width:100%;min-width:0;height:36px;border:1px solid rgba(255,255,255,.08);border-radius:8px;outline:0;background:#101010;color:var(--text);padding:0 10px;font-size:13px}.settings-select-field select{appearance:none;background:linear-gradient(45deg,transparent 50%,#9b9b9b 50%) calc(100% - 16px) 50% / 5px 5px no-repeat,linear-gradient(135deg,#9b9b9b 50%,transparent 50%) calc(100% - 11px) 50% / 5px 5px no-repeat,#101010;padding-right:32px}.settings-select-field input:focus,.settings-select-field select:focus{border-color:#06b6d480}.settings-check-row{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;max-width:560px;padding:2px 16px 16px;color:var(--text)}.settings-check-row input[type=checkbox]{-webkit-appearance:none;appearance:none;display:grid;place-content:center;width:16px;height:16px;margin:2px 0 0;border:1px solid rgba(255,255,255,.18);border-radius:5px;outline:0;background:#101010;cursor:pointer;transition:border-color .12s ease,background .12s ease,opacity .12s ease}.settings-check-row input[type=checkbox]:before{content:"";width:8px;height:5px;margin-top:-1px;border-bottom:2px solid #061317;border-left:2px solid #061317;transform:rotate(-45deg) scale(0);transition:transform .12s ease}.settings-check-row input[type=checkbox]:checked{border-color:#06b6d4e0;background:var(--cyan)}.settings-check-row input[type=checkbox]:checked:before{transform:rotate(-45deg) scale(1)}.settings-check-row input[type=checkbox]:focus-visible{outline:2px solid rgba(6,182,212,.35);outline-offset:2px}.settings-check-row input[type=checkbox]:disabled{cursor:not-allowed;opacity:.48}.settings-check-row span{display:grid;gap:4px;min-width:0}.settings-check-row strong{font-size:13px;font-weight:500}.settings-check-row small{color:#8d8d8d;font-size:12px;line-height:1.4}.settings-check-row.compact{padding:0}.settings-check-row.inline{max-width:none}.subagents-settings{max-width:980px}.subagent-settings-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin-bottom:0}.subagent-settings-title-row h1{margin:0}.subagent-settings-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.subagent-settings-form{display:grid;gap:18px;min-width:0}.subagent-settings-section{display:grid;gap:12px;min-width:0;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.08)}.subagent-settings-card-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0}.subagent-settings-card-header>div{min-width:0}.subagent-settings-card-header>div>span{min-width:0;overflow:hidden;color:#f2f2f2;font-size:14px;font-weight:620;text-overflow:ellipsis;white-space:nowrap}.subagent-settings-card-header>div>small{min-width:0;color:#9b9b9b;font-size:12px;line-height:1.35}.subagent-field-grid{display:grid;gap:12px;min-width:0}.subagent-field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.subagent-field-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.subagent-role-list{display:grid;min-width:0}.subagent-role-row{display:grid;gap:12px;min-width:0;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08)}.subagent-role-row:first-child{padding-top:0}.subagent-role-row.disabled{opacity:.64}.subagent-role-header{grid-template-columns:minmax(0,1fr) auto}.subagent-role-title{display:grid;gap:3px;min-width:0}.subagent-role-title span,.subagent-role-title small{min-width:0;overflow:hidden;text-overflow:ellipsis}.subagent-role-title span{color:#f2f2f2;font-size:14px;font-weight:620;white-space:nowrap}.subagent-role-title small{color:#9b9b9b;font-size:12px;line-height:1.35}.subagent-role-controls{display:grid;grid-template-columns:minmax(220px,1.25fr) repeat(3,minmax(140px,.75fr));align-items:end;gap:12px;min-width:0}.subagent-role-budget-grid{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));align-items:end;gap:12px;min-width:0}.subagents-settings .provider-toggle{width:44px;height:30px}.subagents-settings .provider-toggle>span{width:40px;height:22px;border:1px solid rgba(255,255,255,.1);background:#ffffff1a}.subagents-settings .provider-toggle>span:after{top:2px;left:2px;width:16px;height:16px;background:#a9a9a9}.subagents-settings .provider-toggle input:checked+span{border-color:#06b6d46b;background:#06b6d442}.subagents-settings .provider-toggle input:checked+span:after{transform:translate(18px);background:var(--cyan)}@media(max-width:820px){.subagent-field-grid.two,.subagent-field-grid.four,.subagent-role-controls,.subagent-role-budget-grid{grid-template-columns:minmax(0,1fr)}}.settings-radio-group{display:grid;gap:10px;padding:0 16px 16px;max-width:640px}.settings-radio-row{display:flex;align-items:flex-start;gap:10px;min-width:0;color:var(--text)}.settings-radio-row input{margin-top:3px}.settings-radio-row span{display:grid;gap:4px;min-width:0}.settings-radio-row strong{font-size:13px;font-weight:500}.settings-radio-row small{color:#8d8d8d;font-size:12px;line-height:1.4}.personalization-editor{padding:0 16px 14px}.settings-select-field textarea{width:100%;min-width:0;min-height:210px;resize:vertical;border:1px solid rgba(255,255,255,.08);border-radius:8px;outline:0;background:#101010;color:var(--text);padding:11px 12px;font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.settings-select-field textarea:focus{border-color:#3aa3ff73}.settings-button-row{display:flex;flex-wrap:wrap;gap:10px;padding:0 16px 16px}@media(max-width:820px){.provider-status-grid,.provider-card-grid,.provider-deferred-grid{grid-template-columns:minmax(0,1fr)}.provider-state-pill{position:static;justify-self:start;margin:0 16px 10px}.provider-status-card>.account-list-heading{padding-right:16px}}.settings-button-row.compact{padding:0}.settings-heading-actions{display:inline-flex;align-items:center;gap:9px;min-width:0}.settings-heading-actions small{min-width:0}.settings-heading-input{width:min(240px,34vw);min-width:120px;height:32px;border:1px solid rgba(255,255,255,.08);border-radius:8px;outline:0;background:#101010;color:var(--text);padding:0 10px;font-size:13px}.settings-heading-input:focus{border-color:#3aa3ff73}.settings-primary,.settings-secondary,.settings-icon-button,.inline-action{display:inline-flex;align-items:center;justify-content:center;border:0;background:#2a2a2a;color:#f5f5f5}.settings-primary{gap:7px;height:34px;margin:0 16px 16px;border-radius:10px;padding:0 12px;font-size:13px}.settings-secondary{gap:7px;height:34px;border-radius:10px;padding:0 12px;font-size:13px}.settings-secondary.compact{height:28px;border-radius:8px;padding:0 9px;font-size:12px}.settings-icon-button{width:32px;height:32px;border-radius:8px;padding:0}.settings-icon-button.primary,.settings-icon-button.active{background:#353535;color:#fff}.settings-icon-button.ghost{background:transparent;color:#a8a8a8}.settings-button-row .settings-primary,.settings-button-row .settings-icon-button{margin:0}.settings-primary:hover:not(:disabled),.settings-secondary:hover:not(:disabled),.settings-icon-button:hover:not(:disabled),.inline-action:hover:not(:disabled){background:#363636}.settings-icon-button.ghost:hover:not(:disabled){background:#ffffff0f;color:#fff}.settings-primary:disabled,.settings-secondary:disabled,.settings-icon-button:disabled,.inline-action:disabled{opacity:.5}.subagent-save-button{margin:0}.subagent-save-button.dirty:not(:disabled){background:var(--cyan);color:#061317}.subagent-save-button.dirty:hover:not(:disabled){background:#22d3ee}.settings-spin{animation:settings-spin .9s linear infinite}@media(max-width:820px){.provider-manager-row{grid-template-columns:36px minmax(120px,1fr) minmax(120px,.8fr) auto;gap:10px}.provider-details-button{width:74px}.provider-card-grid,.provider-dialog-stats,.subagent-role-controls,.provider-dialog-header{grid-template-columns:minmax(0,1fr)}}@keyframes settings-spin{to{transform:rotate(360deg)}}.account-list{overflow:hidden}.account-list-heading{display:flex;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid var(--border);color:#f5f5f5;font-size:13px}.account-list-note{margin:0;padding:10px 16px;border-bottom:1px solid rgba(255,255,255,.06);color:#9b9b9b;font-size:12px}.account-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:66px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.account-row:last-child{border-bottom:0}.profile-footline{color:#9b9b9b;font-size:11px}.profile-footline.warning{color:#ffad7d}.profile-control-panel{display:grid;gap:12px;padding:0}.profile-control-panel.inline{margin-top:10px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:#ffffff06;padding:14px 16px}.profile-control-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.profile-control-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:8px}.profile-hosted-status{display:inline-flex;align-items:center;min-height:32px;gap:7px;border-left:1px solid var(--border);margin-left:2px;padding-left:12px;color:var(--muted);white-space:nowrap}.profile-hosted-status>span{font-size:11px}.profile-hosted-status>strong{max-width:180px;overflow:hidden;color:var(--text);font-size:12px;font-weight:560;text-overflow:ellipsis}.profile-local-status{min-width:0;max-width:min(520px,48vw);overflow:hidden;color:var(--muted);font-size:11px;line-height:1.4;text-align:right;text-overflow:ellipsis;white-space:nowrap}.profile-local-status.dirty,.profile-local-status.pending_commit{color:#d7ae59}.profile-local-status.error{color:#db7779}.profile-commit-dialog,.profile-path-dialog,.profile-sync-dialog{width:min(460px,calc(100vw - 34px))}.profile-sync-dialog{width:min(520px,calc(100vw - 34px))}.profile-sync-explainer{margin:0;color:#b8b8b8;font-size:12px;line-height:1.5}.profile-dialog-summary{display:grid;gap:4px;min-width:0;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#ffffff09;padding:10px 12px}.profile-dialog-summary strong,.profile-dialog-summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-dialog-summary strong{color:#f6f6f6;font-size:13px;font-weight:620}.profile-dialog-summary span{color:#aaa;font-size:12px}.profile-dialog-diff-list{display:grid;gap:7px;max-height:min(260px,36vh);overflow:auto;scrollbar-color:#484848 transparent}.profile-dialog-diff-row{display:grid;gap:3px;min-width:0;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:#ffffff06;padding:9px 10px}.profile-dialog-diff-row.warning{border-color:#ffc45738;background:#ffc45714}.profile-dialog-diff-row strong,.profile-dialog-diff-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-dialog-diff-row strong{color:#f4f4f4;font-size:12px;font-weight:620}.profile-dialog-diff-row span{color:#aaa;font-size:12px}.profile-dialog-warning{border:1px solid rgba(255,122,47,.28);border-radius:9px;background:#ff7a2f17;color:#ffad7d;padding:9px 10px;font-size:12px}.profile-commit-dialog .git-dialog-footer,.profile-path-dialog .git-dialog-footer,.profile-sync-dialog .git-dialog-footer{flex-wrap:wrap}.account-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:17px;background:#06b6d41f;color:var(--cyan);font-weight:650;overflow:hidden}.account-avatar img{width:100%;height:100%;object-fit:cover}.account-details{display:grid;gap:3px;min-width:0}.account-details strong,.account-details span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-details strong{color:#f6f6f6;font-size:14px;font-weight:550}.account-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.active-pill,.account-state{display:inline-flex;align-items:center;justify-content:center;min-height:24px;border-radius:12px;padding:0 9px;white-space:nowrap;font-size:12px}.active-pill{background:#3aa3ff24;color:#77bdff}.inline-action{gap:5px;min-height:24px;border-radius:12px;padding:0 10px;white-space:nowrap;font-size:12px}.inline-action.danger{background:#eb57571a;color:#ff9b9b}.inline-action.danger:hover:not(:disabled){background:#eb57572e;color:#ffc0c0}.account-remove-action{width:24px;padding:0}.account-state{background:#242424;color:#bdbdbd}.account-state.signed_in{background:#50c87821;color:#8ddfa8}.account-state.signed_out,.account-state.auth_error{background:#ff7a2f21;color:#ffad7d}.account-state.ready{background:#50c87821;color:#8ddfa8}.account-state.warning{background:#ffc45724;color:#ffd38a}.account-state.loading{background:#3aa3ff24;color:#77bdff}.account-state.disabled{background:#ffffff12;color:#858585}.empty-account-list{display:grid;gap:5px;padding:18px 16px}.empty-account-list strong{color:#f5f5f5;font-size:14px}.product-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.product-row:last-child{border-bottom:0}.product-row div{display:grid;gap:3px;min-width:0}.product-row strong,.product-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-row strong{color:#f6f6f6;font-size:13px;font-weight:550}.profile-agent-list{border:0;border-radius:0;background:transparent}.profile-agent-list-heading{border-bottom:0;padding:0 0 10px}.profile-table-frame{width:100%;overflow-x:auto;border:1px solid var(--border);border-radius:9px;background:var(--panel)}.profile-data-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.profile-agent-table{min-width:600px}.profile-agent-column{width:38%}.profile-action-column{width:18%}.profile-check-column{width:16%}.profile-sync-column{width:28%}.profile-data-table th,.profile-data-table td{min-width:0;border-right:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07);padding:12px 14px;text-align:left;vertical-align:middle}.profile-data-table th:last-child,.profile-data-table td:last-child{border-right:0}.profile-data-table tbody tr:last-child td{border-bottom:0}.profile-data-table th{padding-block:10px;background:var(--panel-soft);color:#858585;font-size:11px;font-weight:560}.profile-data-table strong,.profile-data-table span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-data-table strong{color:#f6f6f6;font-size:13px;font-weight:550}.profile-skill-list{border:0;border-radius:0;background:transparent}.profile-skill-heading-actions{display:inline-flex;align-items:center;gap:10px}.profile-skill-table{min-width:820px}.profile-skill-name-column{width:23%}.profile-skill-trigger-column{width:29%}.profile-skill-status-column{width:10%}.profile-skill-source-column{width:22%}.profile-skill-actions-column{width:16%}.profile-skill-description{overflow:hidden;color:#a9a9a9;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.profile-skill-source{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-skill-actions{display:inline-flex;align-items:center;gap:8px;min-width:0}.profile-agent-table .profile-schedule-actions{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;justify-content:flex-end;gap:6px;min-width:0}.profile-schedule-expression{flex:1 1 auto;min-width:0;color:#a9a9a9;font-size:12px;text-align:right}.profile-agent-table .profile-schedule-controls{display:inline-flex;align-items:center;flex:0 0 auto;flex-wrap:nowrap;gap:6px;min-width:max-content;white-space:nowrap}.profile-schedule-button{width:28px;height:28px;flex:0 0 auto}.profile-agent-list-note{padding:8px 16px 12px}.profile-agent-identity{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:12px;min-width:0}.profile-agent-identity>div{display:grid;gap:3px;min-width:0}.profile-agent-action{min-width:0}.profile-agent-action span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a9a9a9;font-size:12px}.profile-status-text{display:inline-flex;align-items:center;gap:6px;min-width:0;color:#bdbdbd;font-size:12px;white-space:nowrap}.profile-status-text:before{content:"";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:currentColor;opacity:.85}.profile-status-text.ready{color:#8ddfa8}.profile-status-text.warning{color:#ffd38a}.profile-status-text.loading{color:#77bdff}.profile-status-text.disabled{color:#858585}@container profile-view (max-width: 840px){.profile-control-toolbar{align-items:flex-start;flex-direction:column}.profile-local-status{max-width:100%;text-align:left}}.settings-footnote{display:flex;justify-content:space-between;gap:18px;min-width:0;max-width:100%;padding:12px 16px}.settings-footnote.warning{border-color:#ff7a2f3d}.settings-footnote strong{min-width:0;overflow-wrap:anywhere;white-space:normal;word-break:break-word;color:#d9d9d9;font-size:12px;font-weight:500}.account-build-footnote{align-items:center}.account-build-details{display:grid;gap:4px;min-width:0}.account-build-version,.account-build-actions{display:flex;align-items:center;gap:8px}.account-build-context{display:inline-flex;align-items:center;min-height:20px;border-radius:999px;padding:0 7px;background:#ffffff14;color:#bdbdbd;font-size:11px;font-weight:500}.account-build-context.development{background:#3aa3ff21;color:#8fc8ff}.account-build-actions{flex:0 0 auto;justify-content:flex-end}.account-build-actions .settings-primary,.account-build-actions .settings-secondary{margin:0}.account-build-actions .settings-primary.compact{height:28px;border-radius:8px;padding:0 9px;font-size:12px}.account-error-footnote{align-items:flex-start}.account-error-footnote strong{flex:1 1 420px;max-width:min(620px,75%);color:#ffbd96;line-height:1.45;text-align:right}.diagnostics-log-panel{overflow:hidden}.diagnostics-log-actions{justify-content:flex-end;flex-wrap:wrap}.diagnostics-error-list{display:grid;align-content:start;max-height:min(34vh,340px);overflow:auto;scrollbar-color:#424242 transparent}.diagnostics-error-entry{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;padding:12px 14px;border-top:1px solid rgba(255,255,255,.06);color:#ffb0a4;content-visibility:auto;contain-intrinsic-size:86px}.diagnostics-error-entry:first-child{border-top:0}.diagnostics-error-entry svg{margin-top:2px;color:#ff8f7d}.diagnostics-error-body{display:grid;gap:6px;min-width:0}.diagnostics-error-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;min-width:0}.diagnostics-error-title strong{min-width:0;color:#f4f4f4;font-size:13px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}.diagnostics-error-title time,.diagnostics-error-meta{color:#9b9b9b;font-size:12px}.diagnostics-error-meta{display:flex;flex-wrap:wrap;gap:6px}.diagnostics-error-meta span{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diagnostics-error-detail{min-width:0}.diagnostics-error-detail summary{width:fit-content;cursor:pointer;color:#d8d8d8;font-size:12px}.diagnostics-error-detail pre{max-height:180px;margin:8px 0 0;overflow:auto;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#0f0f0f;color:#dcdcdc;padding:9px 10px;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.diagnostics-error-empty{display:grid;place-items:center;min-height:120px;color:#8f8f8f;font-size:13px}.diagnostics-log-viewer{display:grid;align-content:start;max-height:min(46vh,420px);min-height:260px;overflow:auto;background:#0f0f0f;scrollbar-color:#424242 transparent}.diagnostics-log-entry{display:grid;grid-template-columns:118px minmax(0,1fr);gap:10px;min-width:max-content;padding:5px 12px;border-bottom:1px solid rgba(255,255,255,.045);content-visibility:auto;contain-intrinsic-size:26px}.diagnostics-log-source{color:#8f8f8f;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:nowrap}.diagnostics-log-entry code{color:#dcdcdc;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:pre}.diagnostics-log-empty{display:grid;place-items:center;min-height:260px;color:#8f8f8f;font-size:13px}.diagnostics-log-dir{display:flex;justify-content:space-between;gap:18px;padding:10px 14px;border-top:1px solid rgba(255,255,255,.06)}.diagnostics-log-dir span{color:#9b9b9b;font-size:12px}.diagnostics-log-dir strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d9d9d9;font-size:12px;font-weight:500}.remote-access-summary{align-items:flex-start}.remote-access-summary .account-summary-actions{flex-wrap:wrap}.remote-access-icon,.remote-access-peer-dot{display:grid;place-items:center;width:34px;height:34px;border-radius:17px;background:#ffffff12;color:#9d9d9d}.remote-access-icon.configured{background:#3aa3ff21;color:#77bdff}.remote-access-icon.online{background:#50c87821;color:#8ddfa8}.remote-access-link-heading{align-items:center}.remote-access-link-heading>div{display:grid;gap:3px;min-width:0}.remote-access-link-heading span,.remote-access-link-heading small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remote-access-value-row{align-items:flex-start}.remote-access-value-row div{gap:6px}.remote-access-value-row strong.flash{animation:remote-access-title-flash 1.5s ease-out}.remote-access-value-row code{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dcdcdc;font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.remote-access-peer-row{grid-template-columns:38px minmax(0,1fr) auto auto}.remote-access-environment{display:grid}.remote-access-environment-row{display:grid;min-height:62px;border-bottom:1px solid rgba(255,255,255,.06)}.remote-access-environment-row:last-child{border-bottom:0}.remote-access-environment-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.remote-access-environment-row.two{grid-template-columns:repeat(2,minmax(0,1fr))}.remote-access-environment-cell{display:grid;align-content:center;gap:5px;min-width:0;padding:12px 16px;border-right:1px solid rgba(255,255,255,.06)}.remote-access-environment-cell:last-child{border-right:0}.remote-access-environment-cell strong,.remote-access-environment-cell span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remote-access-environment-cell strong{color:#f6f6f6;font-size:13px;font-weight:550}.remote-access-environment-cell span{color:#9b9b9b;font-size:12px}.remote-access-peer-dot{width:11px;height:11px;justify-self:center;border-radius:999px;background:#555}.remote-access-peer-dot.online{background:#58d68d;box-shadow:0 0 0 4px #58d68d1f}.remote-access-config{overflow:hidden;border:1px solid var(--border);border-radius:16px;background:#181818}.remote-access-config pre{max-height:260px;margin:0;overflow:auto;background:#0f0f0f;color:#dcdcdc;padding:14px 16px;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:pre}@keyframes remote-access-title-flash{0%,to{color:#f6f6f6;text-shadow:none}18%,55%{color:#ffbc8f;text-shadow:0 0 12px rgba(255,156,86,.35)}}@media(max-width:720px){.remote-access-environment-row.three,.remote-access-environment-row.two{grid-template-columns:1fr}.remote-access-environment-cell{min-height:56px;border-right:0;border-bottom:1px solid rgba(255,255,255,.06)}.remote-access-environment-cell:last-child{border-bottom:0}}.compute-settings{gap:16px}.compute-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.compute-title-row h1{margin:0}.dataset-storage-intro{max-width:680px;margin:7px 0 0;color:#999;font-size:13px;line-height:1.5}.dataset-storage-list{min-width:0}.dataset-storage-row small.dataset-storage-error{color:#df8e8e}.compute-summary-main{grid-template-columns:minmax(0,1fr)}.compute-section-heading{padding:4px 2px 0;border:0}.compute-device-default{padding-top:0}.model-storage-picker{display:grid;gap:6px;max-width:640px;padding:14px 16px 16px}.model-storage-label{color:#9b9b9b;font-size:12px;white-space:nowrap}.model-storage-control-row{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:8px}.model-storage-select{width:100%;min-width:0;height:36px;border:1px solid rgba(255,255,255,.08);border-radius:8px;outline:0;appearance:none;background:linear-gradient(45deg,transparent 50%,#9b9b9b 50%) calc(100% - 16px) 50% / 5px 5px no-repeat,linear-gradient(135deg,#9b9b9b 50%,transparent 50%) calc(100% - 11px) 50% / 5px 5px no-repeat,#101010;color:var(--text);padding:0 32px 0 10px;font-size:13px}.model-storage-select:focus{border-color:#06b6d480}.model-storage-add{width:36px;height:36px}.model-storage-dialog{width:min(520px,calc(100vw - 34px))}.model-storage-dialog-note{border:1px solid rgba(143,200,255,.16);border-radius:9px;background:#8fc8ff12;color:#b4cae0;padding:9px 10px;font-size:12px;line-height:1.45}.compute-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;border-top:1px solid var(--border)}.compute-row:first-of-type{border-top:0}.compute-row>div{display:grid;gap:4px;min-width:0}.compute-row strong{color:#f1f1f1;font-size:13px;font-weight:570}.compute-row small{overflow-wrap:anywhere;color:#9b9b9b;font-size:12px}.compute-row>span{flex:0 0 auto;color:#b7b7b7;font-size:12px}.compute-diagnostics{border:1px solid var(--border);border-radius:12px;color:#b7b7b7;padding:12px 14px;font-size:12px}.compute-diagnostics summary{color:#dedede;cursor:pointer}.compute-diagnostics ul{margin:10px 0 0;padding-left:18px}.compute-heading-actions{display:flex;align-items:center;gap:8px}.compute-download-row{display:grid;gap:10px;padding:13px 16px;border-top:1px solid var(--border)}.compute-download-row>div{display:grid;gap:4px}.compute-download-row strong{color:#f1f1f1;font-size:13px}.compute-download-row small{overflow-wrap:anywhere;color:#9b9b9b;font-size:12px}.compute-download-row progress{width:100%;height:5px;accent-color:var(--cyan)}@media(max-width:720px){.compute-row{align-items:flex-start;flex-direction:column;gap:7px}}.notification-settings-card{overflow:hidden}.notification-mode-list{display:grid}.notification-mode-option{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:11px;min-height:66px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.06);background:transparent;cursor:pointer}.notification-mode-option:last-child{border-bottom:0}.notification-mode-option:hover{background:#ffffff09}.notification-mode-option.selected{background:#3aa3ff13}.notification-mode-option input{width:15px;height:15px;margin:2px 0 0;accent-color:#3aa3ff}.notification-mode-option>span,.notification-thread-copy{display:grid;min-width:0;gap:4px}.notification-mode-option strong,.notification-thread-copy strong{color:#f4f4f4;font-size:13px;font-weight:560}.notification-mode-option small,.notification-thread-copy small{color:#9b9b9b;font-size:12px;line-height:1.4}.notification-thread-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:66px;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.notification-thread-row:last-of-type{border-bottom:0}.notification-thread-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#3aa3ff1c;color:#8fc8ff}.notification-thread-icon.muted{background:#ffffff0f;color:#929292}.notification-settings-error{padding:11px 16px;border-top:1px solid rgba(255,98,98,.2);background:#ff626212;color:#ffb0b0;font-size:12px}@media(max-width:760px){.notification-thread-row{grid-template-columns:32px minmax(0,1fr)}.notification-thread-row>.settings-secondary{grid-column:2;justify-self:start}}.harness-history-settings{width:min(1080px,100%);max-width:none;margin-inline:auto}.harness-history-settings .account-settings-title>div{display:grid;gap:7px}.harness-history-settings .account-settings-title p,.harness-section-heading p{margin:0;color:#999;font-size:12px;line-height:1.5}.harness-page-title{align-items:flex-start}.harness-page-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.harness-page-header-actions .settings-primary,.harness-page-header-actions .settings-secondary{margin:0}.harness-page-toggle{display:flex;align-items:center;gap:8px;min-height:30px;color:#a8a8a8;font-size:11px;cursor:pointer}.harness-page-sections{display:grid;gap:28px}.harness-history-card time,.harness-route-card time,.harness-history-card footer,.harness-route-card small{color:#8f8f8f;font-size:11px}.harness-release-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:62px;padding:11px 16px;border-bottom:1px solid rgba(255,255,255,.06)}.harness-release-row:last-child{border-bottom:0}.harness-release-row>div{display:grid;gap:4px;min-width:0}.harness-release-row strong{color:#f2f2f2;font-size:13px;font-weight:600}.harness-release-row span{color:#929292;font-size:11px}.harness-inline-actions,.harness-review-actions,.harness-history-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.harness-current-pill,.harness-status,.harness-validation-status{display:inline-flex;align-items:center;width:max-content;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:#ffffff0a;color:#bdbdbd;padding:3px 7px;font-size:10px;font-weight:650}.harness-current-pill,.harness-status-advanced,.harness-validation-status.passed{border-color:#70b98b40;background:#70b98b1a;color:#9ed3b1}.harness-status-conflict,.harness-validation-status.failed,.harness-validation-status.blocked{border-color:#da707040;background:#da70701a;color:#e8a0a0}.harness-history-section{display:grid;gap:10px}.harness-section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px}.harness-section-heading>div{display:grid;gap:5px}.harness-section-heading h2{margin:0;color:#f3f3f3;font-size:15px;font-weight:600}.harness-section-heading>span{color:#888;font-size:12px}.harness-section-heading>.harness-section-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.harness-section-actions .settings-primary,.harness-section-actions .settings-secondary{height:28px;margin:0;border-radius:8px;padding:0 9px;font-size:12px}.harness-history-card,.harness-route-card,.harness-empty{border:1px solid var(--border);border-radius:14px;background:#181818;padding:15px 16px}.harness-history-card{display:grid;gap:13px}.harness-history-card>header{display:flex;align-items:start;justify-content:space-between;gap:18px}.harness-history-card>header>div{display:grid;gap:7px;min-width:0}.harness-history-card h2{margin:0;color:#f1f1f1;font-size:14px;font-weight:600;line-height:1.4}.harness-history-card>p,.harness-route-card p{margin:0;color:#b5b5b5;font-size:12px;line-height:1.5}.harness-history-kicker{display:flex;align-items:center;gap:8px;color:#999;font-size:11px;text-transform:capitalize}.harness-history-release-flow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#878787;font-size:11px}.harness-history-release-flow code{color:#c8c8c8;font-size:11px}.harness-history-card footer{display:flex;justify-content:space-between;gap:12px;padding-top:2px}.harness-history-card footer code{color:#aaa;font-size:10px}.harness-review-metrics{display:flex;flex-wrap:wrap;gap:8px 16px;color:#929292;font-size:11px}.harness-review-metrics strong{color:#d4d4d4;font-weight:600}.harness-review-lineage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid rgba(255,255,255,.06);border-radius:10px}.harness-review-lineage>div{display:grid;gap:4px;padding:10px 11px;border-right:1px solid rgba(255,255,255,.06)}.harness-review-lineage>div:last-child{border-right:0}.harness-review-lineage span{color:#888;font-size:10px}.harness-review-lineage code{color:#bdbdbd;font-size:10px}.harness-review-lineage .linked code{color:#9ed3b1}.harness-qualification-card small{line-height:1.5}.harness-history-details{border-top:1px solid rgba(255,255,255,.06);padding-top:10px}.harness-history-details summary{cursor:pointer;color:#cfcfcf;font-size:12px}.harness-edit-list{display:grid;gap:9px;margin-top:10px}.harness-edit{overflow:hidden;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:#111}.harness-edit>div{display:grid;gap:3px;padding:9px 11px}.harness-edit strong{color:#e7e7e7;font-size:11px;font-weight:600}.harness-edit span{color:#929292;font-size:11px}.harness-edit pre{max-height:340px;overflow:auto;margin:0;border-top:1px solid rgba(255,255,255,.06);padding:11px;color:#c9c9c9;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap}.harness-edit>p{margin:0;padding:10px 11px;color:#999;font-size:11px}.harness-validation-list{display:grid;gap:6px}.harness-validation-list>div{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px;color:#999;font-size:11px}.harness-validation-list strong{color:#c8c8c8;font-size:11px;font-weight:600;text-transform:capitalize}.harness-route-card{display:grid;gap:8px}.harness-route-card>div{display:flex;align-items:center;gap:9px}.harness-route-card strong{color:#e7e7e7;font-size:12px;text-transform:capitalize}.harness-route-card time{margin-left:auto}.harness-empty{color:#989898;font-size:12px;line-height:1.5}.harness-empty.compact{border-radius:11px;padding:12px 14px}.harness-activity-list,.harness-disclosure-list{overflow:hidden;border:1px solid var(--border);border-radius:14px;background:#181818}.harness-activity-list>article{display:grid;grid-template-columns:116px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:58px;border-bottom:1px solid rgba(255,255,255,.06);padding:10px 14px}.harness-activity-list>article:last-child,.harness-disclosure-row:last-child{border-bottom:0}.harness-disclosure-list>.harness-empty{border:0;border-radius:0;background:transparent}.harness-activity-list>article>span,.harness-activity-list time{color:#8e8e8e;font-size:11px}.harness-activity-list>article>div{display:grid;gap:3px;min-width:0}.harness-activity-list strong{overflow:hidden;color:#e4e4e4;font-size:12px;font-weight:580;text-overflow:ellipsis;white-space:nowrap}.harness-activity-list small{color:#8f8f8f;font-size:10px;text-transform:capitalize}.harness-disclosure-row{border-bottom:1px solid rgba(255,255,255,.06)}.harness-disclosure-row>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:58px;padding:10px 14px;cursor:pointer;list-style:none}.harness-disclosure-row>summary::-webkit-details-marker{display:none}.harness-disclosure-row>summary:hover{background:#ffffff09}.harness-disclosure-row>summary:after{content:"›";grid-column:5;color:#777;font-size:17px;transition:transform .12s ease}.harness-disclosure-row[open]>summary:after{transform:rotate(90deg)}.harness-disclosure-row>summary strong{overflow:hidden;color:#e6e6e6;font-size:12px;font-weight:580;text-overflow:ellipsis;white-space:nowrap}.harness-disclosure-row>summary small,.harness-disclosure-row>summary time,.harness-disclosure-body>small{color:#8d8d8d;font-size:10px}.harness-disclosure-body{display:grid;gap:12px;border-top:1px solid rgba(255,255,255,.05);padding:14px}.harness-disclosure-body>p{margin:0;color:#b2b2b2;font-size:12px;line-height:1.5}.harness-compact-metadata{display:flex;flex-wrap:wrap;gap:12px 26px;margin:0}.harness-compact-metadata>div{display:grid;gap:3px}.harness-compact-metadata dt{color:#818181;font-size:10px}.harness-compact-metadata dd{margin:0;color:#c3c3c3;font-size:11px}.harness-evidence-list{display:grid;gap:6px;margin:10px 0 0;padding:0;list-style:none}.harness-evidence-list li{display:grid;grid-template-columns:minmax(100px,1fr) auto auto;gap:12px;color:#999;font-size:10px}.harness-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:14px;background:#181818}.harness-table{width:100%;border-collapse:collapse;font-size:11px}.harness-table th{border-bottom:1px solid rgba(255,255,255,.08);color:#888;padding:9px 12px;text-align:left;font-weight:550}.harness-table td{border-bottom:1px solid rgba(255,255,255,.055);color:#aaa;padding:10px 12px;vertical-align:middle}.harness-table tbody tr:last-child td{border-bottom:0}.harness-table td code{color:#c7c7c7;font-size:10px}.harness-release-identity{display:grid;gap:3px}.harness-release-identity strong{color:#dfdfdf;font-size:11px;font-weight:600}.harness-release-table th:nth-child(4),.harness-release-table td:nth-child(4){text-align:right}.harness-release-table td:nth-child(4)>span{margin-left:auto}.harness-release-table td:last-child{width:1%;white-space:nowrap}.harness-refiner-table td:nth-child(2) strong{color:#e5e5e5;font-size:11px;font-weight:600}.harness-refiner-table td:last-child{width:1%;white-space:nowrap}.harness-table-icon-action{display:inline-grid;place-items:center;width:28px;height:28px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:transparent;color:#999}.harness-table-icon-action:hover:not(:disabled),.harness-table-icon-action:focus-visible{border-color:#ffffff2b;background:#ffffff0e;color:#e1e1e1}.harness-table-icon-action:disabled{opacity:.45;cursor:not-allowed}.harness-route-table td:nth-child(1),.harness-route-table td:nth-child(2){max-width:360px;line-height:1.45}.harness-route-table td p{margin:0}.harness-route-table td:nth-child(1) p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:5}.harness-route-table th:last-child,.harness-route-table td:last-child{width:1%;white-space:nowrap}.harness-review-status-table td{white-space:nowrap}.harness-details-dialog-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;background:#000000a6;padding:24px}.harness-details-dialog{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(720px,100%);max-height:min(760px,calc(100vh - 48px));overflow:hidden;border:1px solid var(--border);border-radius:16px;background:#181818;box-shadow:0 24px 80px #0000007a}.harness-details-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid rgba(255,255,255,.07);padding:16px 18px}.harness-details-dialog>header>div{display:grid;gap:7px}.harness-details-dialog h2,.harness-details-dialog h3,.harness-details-dialog p{margin:0}.harness-details-dialog h2{color:#eee;font-size:15px;font-weight:600;line-height:1.4}.harness-details-dialog h3{color:#ddd;font-size:12px;font-weight:600}.harness-details-dialog>header p{color:#999;font-size:11px;line-height:1.5}.harness-details-dialog>header>button{display:grid;flex:0 0 auto;place-items:center;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#999}.harness-details-dialog>header>button:hover{background:#ffffff0f;color:#eee}.harness-details-dialog-body{display:grid;gap:20px;overflow:auto;padding:18px}.harness-details-dialog-body>section{display:grid;gap:10px}.harness-details-dialog-body .harness-edit-list{margin-top:0}.harness-release-diff-sidebar{z-index:3;grid-template-rows:41px 42px minmax(0,1fr)}.harness-release-diff-sidebar .workspace-diff-topbar{border-bottom:1px solid var(--border)}.harness-release-diff-meta{justify-content:space-between;gap:12px;padding:0 12px;color:#9b9b9b;font-size:11px}.harness-release-diff-meta>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.harness-release-diff-meta code{flex:0 0 auto;color:#c6c6c6;font-size:10px}.harness-release-diff-body{min-width:0;min-height:0;overflow:hidden}.harness-release-diff-body>.workspace-file-preview,.harness-release-diff-body>.workspace-diff-preview{height:100%}.harness-release-diff-files{height:100%;overflow:auto}.harness-release-diff-summary{display:flex;align-items:center;gap:9px;min-height:38px;border-bottom:1px solid rgba(255,255,255,.06);padding:0 14px;color:#a8a8a8;font-size:11px}.harness-release-diff-summary>span:first-child{margin-right:auto}.harness-release-diff-file{display:grid;grid-template-columns:22px minmax(0,1fr) auto auto;align-items:center;gap:9px;width:100%;min-height:38px;border:0;border-bottom:1px solid rgba(255,255,255,.055);background:transparent;color:#d1d1d1;padding:0 14px;text-align:left;font-size:11px}.harness-release-diff-file:hover,.harness-release-diff-file:focus-visible{background:#ffffff0e}.harness-release-diff-file>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.harness-release-diff-file small{font-size:10px}.harness-release-diff-status{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#ffffff0f;color:#aaa;font-size:10px;font-weight:700}.harness-release-diff-status.added{color:#9ed3b1}.harness-release-diff-status.deleted{color:#e8a0a0}.harness-release-diff-status.modified{color:#d8c18c}@media(max-width:640px){.harness-page-title{gap:16px}.harness-page-header-actions{width:100%;flex-wrap:wrap;justify-content:flex-start}.harness-history-card>header,.harness-section-heading{align-items:start;flex-direction:column}.harness-section-actions{width:100%}.harness-validation-list>div{grid-template-columns:auto minmax(0,1fr)}.harness-validation-list>div>span:last-child{grid-column:1 / -1}.harness-review-lineage{grid-template-columns:minmax(0,1fr)}.harness-review-lineage>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.06)}.harness-review-lineage>div:last-child{border-bottom:0}.harness-activity-list>article{grid-template-columns:minmax(0,1fr) auto}.harness-activity-list>article>span{grid-column:1 / -1}.harness-disclosure-row>summary{grid-template-columns:auto minmax(0,1fr) auto}.harness-disclosure-row>summary small{grid-column:2}.harness-disclosure-row>summary time{display:none}.harness-disclosure-row>summary:after{grid-column:3;grid-row:1}}@media(max-width:980px){.settings-shell.harness-diff-open>.workspace-diff-panel{position:fixed;inset:0;z-index:10;display:grid;width:100%;border-left:0}}.profile-view.profile-page{width:min(1120px,calc(100% - 56px));gap:0;padding:20px 0 56px}.profile-page .account-settings{gap:20px;max-width:none}.profile-page .profile-selector-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px}.profile-page .profile-selector-control{position:relative;display:inline-grid;align-items:center;min-width:220px}.profile-page .profile-selector-control select{width:100%;height:32px;appearance:none;border:1px solid var(--border);border-radius:7px;outline:0;background:var(--panel);color:var(--text);padding:0 34px 0 11px;font:inherit;font-size:12px;font-weight:600;cursor:pointer}.profile-page .profile-selector-control select:focus-visible{border-color:color-mix(in srgb,var(--text) 32%,var(--border));box-shadow:0 0 0 2px #ffffff12}.profile-page .profile-selector-control select:disabled{cursor:default;opacity:.55}.profile-page .profile-selector-control>svg{position:absolute;right:10px;color:var(--muted);pointer-events:none}.profile-page .profile-selector-actions{display:flex;align-items:center;gap:6px}.profile-page .profile-settings-menu-root{position:relative}.profile-page .profile-settings-menu-trigger{width:30px;height:30px;border-radius:7px}.profile-page .profile-settings-menu{position:absolute;z-index:20;top:calc(100% + 6px);right:0;display:grid;width:194px;padding:5px;border:0;border-radius:8px;background:var(--panel);box-shadow:0 14px 36px #00000052}.profile-page .profile-settings-menu>button{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;min-height:32px;padding:6px 8px;border:0;border-radius:6px;background:transparent;color:var(--muted-strong);font:inherit;font-size:11px;text-align:left;cursor:pointer}.profile-page .profile-settings-menu>button:hover:not(:disabled),.profile-page .profile-settings-menu>button:focus-visible{outline:0;background:var(--hover);color:var(--text)}.profile-page .profile-settings-menu>button:disabled{cursor:default;opacity:.5}.profile-page .profile-settings-menu>button>span{display:grid;gap:1px;min-width:0}.profile-page .profile-settings-menu>button strong{font-weight:500}.profile-page .profile-settings-menu>button small{overflow:hidden;color:var(--muted);font-size:9px;font-weight:450;text-overflow:ellipsis;white-space:nowrap}.profile-page .profile-settings-menu-separator{height:1px;margin:4px 6px;background:var(--border)}.profile-page .account-list-heading{gap:12px;color:var(--text);font-size:12px;font-weight:600}.profile-page .account-list-heading small{font-size:10px;font-weight:450}.profile-page .profile-agent-list-heading{padding-bottom:8px}.profile-page .profile-catalog-row{min-height:48px;gap:10px;padding:9px 12px}.profile-page .profile-agent-identity{grid-template-columns:18px minmax(0,1fr);gap:9px}.profile-page .profile-agent-identity>svg{width:16px;height:16px}.profile-page .profile-agent-identity>div{gap:2px}.profile-page .profile-catalog-row strong,.profile-page .profile-data-table strong{font-size:12px;font-weight:560}.profile-page .profile-catalog-row .profile-agent-identity span,.profile-page .profile-catalog-source,.profile-page .profile-catalog-summary,.profile-page .profile-agent-action span,.profile-page .profile-schedule-expression,.profile-page .profile-skill-description,.profile-page .profile-status-text{font-size:11px}.profile-page .settings-secondary{height:30px;gap:6px;border-radius:7px;padding:0 10px;font-size:11px}.profile-page .settings-secondary.compact{height:26px;border-radius:6px;padding:0 8px;font-size:10px}.profile-page .profile-control-panel,.profile-page .profile-control-toolbar{gap:8px}.profile-page .profile-control-actions{gap:6px}.profile-page .profile-hosted-status{min-height:30px;padding-left:10px}.profile-page .profile-hosted-status>span,.profile-page .profile-local-status{font-size:10px}.profile-page .profile-hosted-status>strong{font-size:11px}.profile-page .settings-help{max-width:760px;margin:0 0 8px;color:var(--muted);font-size:11px;line-height:1.5}.profile-page .profile-data-table th,.profile-page .profile-data-table td{padding:9px 11px;font-size:11px}.profile-page .profile-data-table th{padding-block:8px;font-size:10px}.profile-page .profile-schedule-button{width:26px;height:26px}.profile-page .profile-agent-table .profile-schedule-actions{grid-template-columns:max-content max-content;justify-content:start}.profile-page .profile-schedule-expression{text-align:left}.profile-page .profile-agent-table .profile-schedule-controls{justify-content:flex-start}@media(max-width:760px){.profile-view.profile-page{width:min(100% - 28px,1120px);padding-top:16px}.profile-page .profile-selector-bar{align-items:stretch;flex-direction:column}.profile-page .profile-selector-control{width:100%}.profile-page .profile-selector-actions{justify-content:flex-end}}.profile-workflows{display:grid;gap:12px;padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.profile-workflows-header h3{margin:0;color:var(--text);font-size:13px}.profile-workflows-header p,.profile-workflows-row p,.profile-workflows-row small{margin:4px 0 0;color:var(--muted);font-size:11px}.profile-workflows-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--border);border-radius:8px}.profile-workflows-row strong{color:var(--text);font-size:12px}.profile-workflows button{padding:6px 10px;border:1px solid var(--border);border-radius:7px;background:var(--panel);color:var(--text);cursor:pointer}.profile-workflows button:disabled{cursor:default;opacity:.55}.profile-workflows-form{display:grid;gap:8px}.profile-workflows-form textarea,.profile-workflows-form pre{box-sizing:border-box;width:100%;min-height:90px;margin:0;padding:10px;border:1px solid var(--border);border-radius:7px;background:var(--background);color:var(--text);font:11px/1.5 monospace}.profile-workflows-form pre{min-height:0;max-height:160px;overflow:auto}.profile-evaluations{display:grid;gap:12px;padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.profile-evaluations-suites{display:flex;flex-wrap:wrap;gap:8px}.profile-evaluations-suite,.profile-evaluations-row,.profile-evaluations-detail{border:1px solid var(--border);border-radius:8px;padding:12px}.profile-evaluations-suite,.profile-evaluations-row>div,.profile-evaluations-history li{display:grid;gap:4px}.profile-evaluations-suite strong,.profile-evaluations-row strong,.profile-evaluations-detail strong{color:var(--text);font-size:12px}.profile-evaluations-suite span,.profile-evaluations-row p,.profile-evaluations-row small,.profile-evaluations-detail p,.profile-evaluations-detail small,.profile-evaluations-cases span{margin:0;color:var(--muted);font-size:11px}.profile-evaluations-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-evaluations button{flex:none;padding:6px 10px;border:1px solid var(--border);border-radius:7px;background:var(--panel);color:var(--text);cursor:pointer}.profile-evaluations-detail,.profile-evaluations-cases,.profile-evaluations-history{display:grid;gap:8px}.profile-evaluations-detail h4{margin:0;color:var(--text);font-size:12px}.profile-evaluations-detail ul{display:grid;gap:5px;margin:0;padding-left:18px;overflow-wrap:anywhere;font-size:11px}.profile-evaluations-comparison-runs{display:grid;gap:6px;max-height:320px;overflow:auto}.profile-evaluations-run-form,.profile-evaluations-run-plan{display:grid;gap:8px;padding:10px;border:1px solid var(--border);border-radius:7px}.profile-evaluations-run-form label,.profile-evaluations-run-plan strong{color:var(--text);font-size:12px;font-weight:600}.profile-evaluations-run-form select{max-width:100%;padding:7px;border:1px solid var(--border);border-radius:7px;background:var(--panel);color:var(--text)}.profile-evaluations-run-plan small{overflow-wrap:anywhere}.profile-evaluations-comparison-runs label{display:flex;align-items:flex-start;gap:8px;padding:8px;border:1px solid var(--border);border-radius:7px;cursor:pointer}.profile-evaluations-comparison-runs label span{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.profile-evaluations button:disabled{cursor:default;opacity:.5}.profile-catalog-list{border:0;border-radius:0;background:transparent}.profile-catalog-row{display:grid;grid-template-columns:minmax(180px,1.35fr) minmax(68px,.4fr) minmax(90px,.5fr) minmax(180px,1fr) auto;width:100%;border:0;border-bottom:1px solid rgba(255,255,255,.06);background:transparent;color:inherit;text-align:left;cursor:pointer}.profile-catalog-row:hover,.profile-catalog-row:focus-visible,.profile-catalog-row.selected{outline:0;background:#ffffff0b}.profile-catalog-row[aria-disabled=true]{cursor:wait;opacity:.6}.profile-catalog-source,.profile-catalog-summary{color:var(--muted);font-size:12px}.profile-remove-button{display:inline-flex;align-items:center;gap:6px}.profile-catalog-actions{display:inline-flex;align-items:center;gap:6px;overflow:visible}.profile-publication-dialog{width:min(720px,calc(100vw - 32px));max-height:min(880px,calc(100vh - 32px));overflow-y:auto}.profile-publication-fieldset{display:grid;gap:6px;margin:0;border:1px solid var(--border);border-radius:9px;padding:10px 12px 12px}.profile-publication-fieldset legend{padding:0 5px;color:var(--muted);font-size:12px;font-weight:600}.profile-publication-provider,.profile-publication-selection{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:9px;padding:6px;border-radius:7px}.profile-publication-selection{grid-template-columns:auto 1fr}.profile-publication-provider:hover,.profile-publication-selection:hover{background:#ffffff0a}.profile-publication-provider span,.profile-publication-selection span{display:grid;gap:2px;min-width:0}.profile-publication-provider small,.profile-publication-selection small,.profile-publication-empty{color:var(--muted);font-size:12px}.profile-publication-target-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.profile-add-source-options{display:flex;flex-wrap:wrap;gap:8px 16px}.profile-add-source-options label{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}.profile-publication-preview{display:grid;gap:9px}.profile-publication-warning{border-radius:7px;background:#ffc65817;color:#ffd38a;padding:8px 10px;font-size:12px}.profile-publication-file-list{display:grid;max-height:360px;overflow:auto;border:1px solid var(--border);border-radius:8px}.profile-publication-file-list>div{display:flex;justify-content:space-between;gap:14px;padding:7px 9px;border-bottom:1px solid rgba(255,255,255,.055);font-family:var(--font-mono);font-size:11px}.profile-publication-file-list>div:last-child{border-bottom:0}.profile-publication-file-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-publication-file-list small{flex:0 0 auto;color:var(--muted)}.profile-publication-preview details code{display:block;padding:3px 0;color:var(--muted);font-size:11px}@container profile-view (max-width: 840px){.profile-catalog-row{grid-template-columns:1fr auto}.profile-catalog-source,.profile-catalog-summary{display:none}.profile-catalog-actions{grid-column:1 / -1;flex-wrap:wrap}}.skills-settings{max-width:980px}.skills-settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.skills-settings-header h1{margin-bottom:8px}.skills-settings-header p{max-width:680px;margin:0;color:var(--muted);font-size:13px;line-height:1.55}.github-extensions-heading{align-items:center}.github-extensions-heading-actions,.github-extension-row-actions{display:flex;align-items:center;gap:8px}.github-extension-add{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.75fr) minmax(150px,.55fr) auto;align-items:end;gap:12px;padding:16px;border-bottom:1px solid rgba(255,255,255,.06)}.github-extension-add-copy,.github-extension-add label,.github-extension-preview>div{display:grid;gap:5px}.github-extension-add-copy strong,.github-extension-preview strong{font-size:13px}.github-extension-add-copy span,.github-extension-add label>span,.github-extension-preview span{color:var(--muted);font-size:11px;line-height:1.45}.github-extension-add input{width:100%;height:34px;border:1px solid rgba(255,255,255,.1);border-radius:9px;background:#0000002e;color:var(--text);padding:0 10px;outline:none}.github-extension-add input:focus{border-color:#22d3ee73}.github-extension-message{padding:10px 16px;border-bottom:1px solid rgba(255,255,255,.06);font-size:12px}.github-extension-message.error{color:#fca5a5;background:#f871710f}.github-extension-preview{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(240px,1fr) auto;align-items:center;gap:16px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.06);background:#22d3ee09}.github-extension-preview-skills{display:flex!important;flex-direction:row;flex-wrap:wrap;gap:6px!important}.github-extension-preview-skills>span{border-radius:999px;background:#ffffff0f;padding:4px 7px}.github-extension-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:76px;border-bottom:1px solid rgba(255,255,255,.06)}.github-extension-row:last-child{border-bottom:0}.github-extension-open{display:grid;grid-template-columns:34px minmax(220px,1.2fr) minmax(180px,.8fr) auto 16px;align-items:center;gap:12px;min-width:0;min-height:76px;border:0;background:transparent;color:var(--text);padding:12px 0 12px 16px;text-align:left}.github-extension-open:hover,.github-extension-open:focus-visible{background:#ffffff0b}.github-extension-open:focus-visible{outline:1px solid rgba(34,211,238,.46);outline-offset:-1px}.github-extension-open:disabled{cursor:default;opacity:.64}.github-extension-row-actions{padding-right:16px}.github-extension-row-actions .danger:hover:not(:disabled){color:#fca5a5;background:#f8717117}.native-skills-list{border:1px solid rgba(255,255,255,.08);border-radius:14px;background:#ffffff05}.personal-skill-row{cursor:default}.personal-skill-row:hover{background:transparent}.skills-settings-empty{padding:18px 16px;color:var(--muted);font-size:12px}.native-skill-row{display:grid;grid-template-columns:34px minmax(220px,1.2fr) minmax(180px,.8fr) auto 16px;align-items:center;gap:12px;width:100%;min-height:72px;border:0;border-bottom:1px solid rgba(255,255,255,.06);background:transparent;color:var(--text);padding:12px 16px;text-align:left}.native-skill-row:last-child{border-bottom:0}.native-skill-row:hover,.native-skill-row:focus-visible{background:#ffffff0b}.native-skill-row:focus-visible{outline:1px solid rgba(34,211,238,.46);outline-offset:-1px}.native-skill-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#22d3ee17;color:#67e8f9}.native-skill-identity,.native-skill-provider{display:grid;gap:4px;min-width:0}.native-skill-identity strong,.native-skill-provider strong,.native-skill-identity span,.native-skill-provider span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.native-skill-identity strong{font-size:13px;font-weight:620}.native-skill-identity span,.native-skill-provider span{color:var(--muted);font-size:11px}.native-skill-provider strong{color:#d8d8d8;font-size:12px;font-weight:560}.native-skill-provider span{font-family:var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace)}.native-skill-status{border-radius:999px;background:#4ade8017;color:#86efac;padding:5px 8px;font-size:10px;font-weight:650;white-space:nowrap}.native-skill-status.invalid{background:#f8717117;color:#fca5a5}.native-skill-row>svg{color:#737373}@media(max-width:760px){.skills-settings-header{flex-direction:column;gap:12px}.native-skill-row{grid-template-columns:34px minmax(0,1fr) 16px}.github-extension-add{grid-template-columns:1fr;align-items:stretch}.github-extension-preview{grid-template-columns:1fr}.github-extension-row{grid-template-columns:minmax(0,1fr) auto}.github-extension-open{grid-template-columns:34px minmax(0,1fr) 16px}.github-extension-open .native-skill-provider,.github-extension-open .native-skill-status,.native-skill-provider,.native-skill-status{display:none}}
|