@hearsay-tools/squawk 0.19.0-pr4517.8948 → 0.19.0-pr4520.8952

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/contract/index.js +1 -4
  2. package/dist/contract/repo.d.ts +0 -2
  3. package/dist/delegation/routes.d.ts +65 -65
  4. package/dist/features/automations/automations-routes.d.ts +150 -150
  5. package/dist/server/git-changes.d.ts +0 -5
  6. package/dist/server/git-changes.js +1 -17
  7. package/dist/server/git-changes.js.map +1 -1
  8. package/dist/server/models-routes.d.ts +12 -12
  9. package/dist/server/project-settings-routes.d.ts +107 -107
  10. package/dist/server/projects-routes.d.ts +45 -45
  11. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  12. package/dist/server/reports-api.d.ts +2 -2
  13. package/dist/server/runners-routes.d.ts +10 -10
  14. package/dist/server/runs-routes.d.ts +22 -23
  15. package/dist/server/server.d.ts +1208 -1210
  16. package/package.json +4 -4
  17. package/web/dist/assets/{accounts-section-CaxmZTt5.js → accounts-section-BxmTV7Ve.js} +1 -1
  18. package/web/dist/assets/{activity-motion-CbrUkQTd.js → activity-motion-BpkctVoF.js} +1 -1
  19. package/web/dist/assets/{activity-route-CadJy7vi.js → activity-route-BS7KJykm.js} +1 -1
  20. package/web/dist/assets/{agent-config-section-VRb4FLFD.js → agent-config-section-DrIia8rg.js} +1 -1
  21. package/web/dist/assets/{agent-defaults-section-DkHcYJIf.js → agent-defaults-section-Mus8P-7S.js} +1 -1
  22. package/web/dist/assets/{appearance-BJIHxYbs.js → appearance-C0BYJUgb.js} +1 -1
  23. package/web/dist/assets/{archive-on-merge-field-CU4_trJk.js → archive-on-merge-field-DFlUwX_3.js} +1 -1
  24. package/web/dist/assets/attention-V1gJ7gKo.js +1 -0
  25. package/web/dist/assets/{automations-route-XUZUpXQ5.js → automations-route-BTwN-oQ9.js} +2 -2
  26. package/web/dist/assets/{command-BMMjB5k9.js → command-BiBq24zL.js} +1 -1
  27. package/web/dist/assets/{commit-list-CErY8XX8.js → commit-list-CPxWeI9w.js} +1 -1
  28. package/web/dist/assets/{design-icons-BZt8Kqs9.js → design-icons-QbNMZniQ.js} +1 -1
  29. package/web/dist/assets/{dialog-CB9ZhEk2.js → dialog-DRZuXvul.js} +1 -1
  30. package/web/dist/assets/{diff-CceWqUDd.js → diff-COXHw5yC.js} +2 -2
  31. package/web/dist/assets/{diff-controls-DfCDXi9N.js → diff-controls-D_fU51z_.js} +1 -1
  32. package/web/dist/assets/{diff-view-CR6FPxJL.js → diff-view-CMijFegM.js} +1 -1
  33. package/web/dist/assets/{discard-changes-dialog-DuFz1hmp.js → discard-changes-dialog-CuyBBSD8.js} +1 -1
  34. package/web/dist/assets/{dropdown-menu-VFda6KAg.js → dropdown-menu-DjtKUK8F.js} +1 -1
  35. package/web/dist/assets/{file-preview-kFFGzNc5.js → file-preview-0D-7X0Iy.js} +1 -1
  36. package/web/dist/assets/{folder-browser-DiQGbqCN.js → folder-browser-BSGB9hhQ.js} +1 -1
  37. package/web/dist/assets/git-toolbar-S4yvYvLp.js +1 -0
  38. package/web/dist/assets/github-CuNDwBTk.js +1 -0
  39. package/web/dist/assets/{global-activity-route-CZmgudQQ.js → global-activity-route-b3k9ayRD.js} +1 -1
  40. package/web/dist/assets/{index-bs9cMtXe.js → index-54CwJm3e.js} +6 -6
  41. package/web/dist/assets/index-CM_iAvs4.css +1 -0
  42. package/web/dist/assets/{label-B1zf-eXb.js → label-CV8tuTOO.js} +1 -1
  43. package/web/dist/assets/{markdown-Bj-PaWay.js → markdown-BbG_3jwp.js} +1 -1
  44. package/web/dist/assets/{open-in-menu-DCAALDG-.js → open-in-menu-BTa2aBQh.js} +1 -1
  45. package/web/dist/assets/{option-select-BkYWQoJr.js → option-select-D_1bhi03.js} +1 -1
  46. package/web/dist/assets/{preferences-section-MzNXmTGy.js → preferences-section-BKfcgJkh.js} +1 -1
  47. package/web/dist/assets/{preview-pane-connected-CVmxGajb.js → preview-pane-connected-CQtSBIVD.js} +1 -1
  48. package/web/dist/assets/{project-location-C8aQlPwO.js → project-location-DTHfCO9o.js} +1 -1
  49. package/web/dist/assets/{project-router-onKnSy5a.js → project-router-BHFXTx5l.js} +1 -1
  50. package/web/dist/assets/{projects-section-CMLqvSxl.js → projects-section-ZqVzhT1P.js} +1 -1
  51. package/web/dist/assets/{prompt-templates-section-CjPFTpLk.js → prompt-templates-section-COXwqTKr.js} +2 -2
  52. package/web/dist/assets/{queries-CII6fTHH.js → queries-CIeJg62Y.js} +1 -1
  53. package/web/dist/assets/reference-chip-Br0H2srF.js +1 -0
  54. package/web/dist/assets/{remote-settings-notice-4U3UwRJT.js → remote-settings-notice-C-nWK6Yq.js} +1 -1
  55. package/web/dist/assets/repo-git-ByOy25_h.js +1 -0
  56. package/web/dist/assets/{report-reader-CyF6nudi.js → report-reader-CakJrMFZ.js} +1 -1
  57. package/web/dist/assets/{report-selection-DEA-7JTb.js → report-selection-dYsm1HEf.js} +1 -1
  58. package/web/dist/assets/{reports-Pl0nV_O2.js → reports-UYyVzskl.js} +1 -1
  59. package/web/dist/assets/{resources-section-BkwpbFpC.js → resources-section-BcC83FgQ.js} +1 -1
  60. package/web/dist/assets/review-panel-b4VocTqI.js +11 -0
  61. package/web/dist/assets/{run-detail-refresh-Caj4BPPd.js → run-detail-refresh-DTnwaDy2.js} +1 -1
  62. package/web/dist/assets/{run-header-DoNH-rZo.js → run-header-BcQ9zbTJ.js} +2 -2
  63. package/web/dist/assets/{select-BW2zjOcv.js → select-D_i5UQfS.js} +1 -1
  64. package/web/dist/assets/{session-context-section-OVFScyl5.js → session-context-section-CWUMo03s.js} +1 -1
  65. package/web/dist/assets/{settings-agent-picker-D-qjtUIC.js → settings-agent-picker-5GM9QJWk.js} +1 -1
  66. package/web/dist/assets/{settings-list-detail-DcRsGkGy.js → settings-list-detail-Dn5CWzHj.js} +1 -1
  67. package/web/dist/assets/{settings-save-bar-DCLb4LnC.js → settings-save-bar-D1_JBnK2.js} +1 -1
  68. package/web/dist/assets/{settings-shell-BGoQDXtL.js → settings-shell-3ENKdznW.js} +1 -1
  69. package/web/dist/assets/{sidebar-section-CsQbyixg.js → sidebar-section-BBVjp7ku.js} +1 -1
  70. package/web/dist/assets/{skills-BsAEL--O.js → skills-DpFxvhQn.js} +1 -1
  71. package/web/dist/assets/{tab-link-B2k-zaeP.js → tab-link-BYYXdpLn.js} +1 -1
  72. package/web/dist/assets/task-changes-bTnVo9Rg.js +1 -0
  73. package/web/dist/assets/{task-commits-DdO0EE1M.js → task-commits-CqAuY8S6.js} +1 -1
  74. package/web/dist/assets/{task-file-scope-_--iGnmN.js → task-file-scope-DJPRk8-k.js} +1 -1
  75. package/web/dist/assets/task-files-BuHSmHgk.js +1 -0
  76. package/web/dist/assets/{task-github-item-C5-V9WYI.js → task-github-item-Bkaqgvk7.js} +1 -1
  77. package/web/dist/assets/{task-groups-dEzH1nMg.js → task-groups-C9pTQm-2.js} +1 -1
  78. package/web/dist/assets/{task-thread-B3lhaQy8.js → task-thread-CKxleoJh.js} +2 -2
  79. package/web/dist/assets/{tasks-table-CPAY1N-E.js → tasks-table-CvZ2ZyCa.js} +1 -1
  80. package/web/dist/assets/{thread-state-DncSPvjE.js → thread-state-CrP17W0O.js} +1 -1
  81. package/web/dist/assets/{toaster-Bs1mVYf9.js → toaster-D0HMoto5.js} +1 -1
  82. package/web/dist/assets/use-hand-to-agent-state-CoQshiLu.js +1 -0
  83. package/web/dist/assets/use-path-bases-CcQq8FGw.js +1 -0
  84. package/web/dist/assets/use-workspace-config-save-bZksgjRK.js +1 -0
  85. package/web/dist/assets/workflows-DvuBhkZ9.js +7 -0
  86. package/web/dist/assets/{workspace-tools-DFmvcYzq.js → workspace-tools-B9iGZ16c.js} +1 -1
  87. package/web/dist/assets/{worktrees-section-D5BwHxP8.js → worktrees-section-BI-1b1m3.js} +1 -1
  88. package/web/dist/index.html +18 -18
  89. package/web/dist/assets/attention-C9zoC-gL.js +0 -1
  90. package/web/dist/assets/git-toolbar-C62biT4w.js +0 -1
  91. package/web/dist/assets/github-5vuhHVRU.js +0 -1
  92. package/web/dist/assets/index-BBQaXbpc.css +0 -1
  93. package/web/dist/assets/middle-truncated-name-CFKiVLF5.js +0 -1
  94. package/web/dist/assets/reference-chip-DS4MThmV.js +0 -1
  95. package/web/dist/assets/repo-git-Bot1fcAC.js +0 -1
  96. package/web/dist/assets/review-panel-DWef76ZV.js +0 -11
  97. package/web/dist/assets/task-changes-DVG2ZAtj.js +0 -1
  98. package/web/dist/assets/task-files-CwdiBpAM.js +0 -1
  99. package/web/dist/assets/use-hand-to-agent-state-XS92Zdva.js +0 -1
  100. package/web/dist/assets/use-path-bases-Dwb5siyK.js +0 -1
  101. package/web/dist/assets/use-workspace-config-save-0Mtdwfrd.js +0 -1
  102. package/web/dist/assets/workflows-le48G5Li.js +0 -7
@@ -1 +1 @@
1
- import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{i as t,t as n}from"./react-runtime-CCIEwYL0.js";import{o as r}from"./dist-C_rn70hE.js";import{Fn as i}from"./toaster-Bs1mVYf9.js";import{M as a,Z as o,r as s,st as c}from"./design-icons-BZt8Kqs9.js";import{n as l}from"./diff-controls-DfCDXi9N.js";import{l as u}from"./reference-chip-DS4MThmV.js";import{t as d}from"./button-C8jUIs8Q.js";import{t as f}from"./project-router-onKnSy5a.js";import{m as p}from"./page-shell-Dky5crRl.js";import{t as m}from"./centered-state-BgSV4e79.js";import{Ht as h,In as g,Nn as _,Vt as v,s as y,tr as b}from"./index-bs9cMtXe.js";import{t as x}from"./diff-CceWqUDd.js";var S=e(t(),1),C=n();function w({commit:e,sha:t,backTo:n,backLabel:r,slot:o,className:h,diffClassName:y}){let b=p(),[w,T]=(0,S.useState)(`unified`),[E,D]=(0,S.useState)(!0),O=e.isError&&e.error instanceof i&&e.error.status===409,k=b?w:`unified`;return(0,C.jsxs)(`section`,{"data-slot":o,"data-sha":t,className:h,children:[(0,C.jsxs)(`div`,{className:`mx-4 flex flex-wrap items-center gap-x-2.5 gap-y-1.5 border-b border-border py-2 md:mx-9`,children:[(0,C.jsx)(d,{asChild:!0,variant:`ghost`,size:`sm`,"data-slot":`commit-back`,children:(0,C.jsxs)(f,{to:n,children:[(0,C.jsx)(s,{size:16,"aria-hidden":`true`}),r]})}),(0,C.jsx)(`span`,{className:`ml-auto flex items-center gap-1`,children:(0,C.jsx)(l,{mode:w,wrap:E,onModeChange:T,onWrapChange:D})})]}),e.isPending?(0,C.jsx)(`p`,{"data-slot":`commit-loading`,className:`px-4 py-6 text-center text-xs text-muted-foreground md:px-9`,children:`Loading commit…`}):e.isError?(0,C.jsx)(m,{icon:O?(0,C.jsx)(u,{}):(0,C.jsx)(c,{size:16}),tone:O?`neutral`:`danger`,heading:`h2`,title:O?`Commit not found`:`Could not load the commit`,subtitle:e.error.message}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(`div`,{"data-slot":`commit-meta`,className:`mx-4 border-b border-border py-3 md:mx-9`,children:[(0,C.jsx)(`h2`,{className:`text-sm font-semibold`,children:e.data.subject}),(0,C.jsxs)(`p`,{className:`mt-0.5 flex flex-wrap items-center gap-x-1.5 text-xs text-muted-foreground`,children:[(0,C.jsx)(`span`,{children:e.data.author}),(0,C.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,C.jsx)(`span`,{title:e.data.when,children:v(e.data.when)}),(0,C.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,C.jsx)(g,{sha:e.data.sha,variant:`inline`}),(0,C.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,C.jsx)(`span`,{"data-slot":`commit-stat`,children:(0,C.jsx)(_,{stat:e.data.stat})})]})]}),e.data.files.length===0?(0,C.jsx)(m,{icon:(0,C.jsx)(a,{size:16}),tone:`neutral`,heading:`h2`,title:`No file changes`,subtitle:`This commit carries no diff of its own — a merge commit's changes live on the commits it merged.`}):(0,C.jsx)(`div`,{className:y,children:(0,C.jsx)(x,{files:e.data.files,mode:k,wrap:E,totals:!1,className:`min-w-0`})})]})]})}var T=56;function E({slot:e,commits:t,selectedSha:n,className:i,heading:a}){let[s,c]=(0,S.useState)(``),l=s.trim().toLowerCase(),u=l?t.filter(e=>e.subject.toLowerCase().includes(l)):t,d=u.length>150,f=(0,S.useRef)(null),p=(0,S.useRef)(null),[m,h]=(0,S.useState)(0);(0,S.useLayoutEffect)(()=>{if(!d)return;let e=()=>{let e=f.current,t=p.current;!e||!t||h(Math.max(0,Math.round(e.getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop)))};return e(),window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[d]);let g=u.map(e=>(0,C.jsx)(D,{commit:e,selected:n!==void 0&&e.sha===n},e.sha));return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(`label`,{className:`relative mb-3 block`,children:[(0,C.jsx)(o,{size:16,"aria-hidden":`true`,className:`pointer-events-none absolute top-3 left-3 size-4 text-muted-foreground`}),(0,C.jsx)(b,{"aria-label":`Search commit messages`,placeholder:`Search commit messages…`,value:s,onChange:e=>c(e.target.value),className:`h-10 rounded-lg border-border bg-card pl-10`})]}),(0,C.jsxs)(`div`,{ref:e=>{f.current=e,e&&(p.current=e.closest(`[data-slot="main"]`))},"data-slot":e,"data-virtualized":d,className:r(`flex flex-col divide-y divide-border rounded-xl border border-border bg-card px-3 py-1 md:px-4`,i),children:[a?(0,C.jsx)(`div`,{className:`flex min-h-11 flex-wrap items-center gap-2 py-2.5`,children:a}):null,u.length===0?(0,C.jsx)(`p`,{role:`status`,className:`py-5 text-sm text-muted-foreground`,children:`No loaded commits match your search.`}):null,d?(0,C.jsx)(y,{scrollRef:p,startMargin:m,itemSize:T,children:g}):g]})]})}function D({commit:e,selected:t}){return(0,C.jsx)(`div`,{className:`[contain-intrinsic-block-size:auto_56px] [content-visibility:auto]`,children:(0,C.jsxs)(f,{"data-slot":`commit-row`,"data-sha":e.sha,"data-selected":t?`true`:void 0,"aria-current":t?`true`:void 0,to:e.href,className:r(`flex min-h-11 min-w-0 items-start gap-2.5 rounded-md px-2 py-2.5 transition-colors hover:bg-muted`,t&&`bg-muted/70`),children:[(0,C.jsx)(a,{size:16,"aria-hidden":`true`,className:`mt-px size-4 shrink-0 text-accent-text`}),(0,C.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,C.jsx)(`span`,{"data-slot":`commit-row-subject`,title:e.subject,className:`line-clamp-2 text-[13px] leading-snug font-medium break-words text-foreground`,children:e.subject}),(0,C.jsxs)(`span`,{className:`mt-1 flex flex-wrap items-center gap-x-2 gap-y-0.5 text-xs text-muted-foreground`,children:[(0,C.jsx)(O,{sha:e.sha}),(0,C.jsxs)(`span`,{className:`min-w-0 truncate`,children:[e.author,` · `,(0,C.jsx)(`span`,{title:h(e.when,e.at),children:v(e.when,e.at)})]}),e.stat?(0,C.jsx)(_,{stat:e.stat}):null]})]})]})})}function O({sha:e}){return(0,C.jsx)(g,{"data-slot":`commit-sha`,sha:e,variant:`chip`})}export{O as n,w as r,E as t};
1
+ import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{i as t,t as n}from"./react-runtime-CCIEwYL0.js";import{o as r}from"./dist-C_rn70hE.js";import{Fn as i}from"./toaster-D0HMoto5.js";import{M as a,Q as o,ct as s,r as c}from"./design-icons-QbNMZniQ.js";import{n as l}from"./diff-controls-D_fU51z_.js";import{l as u}from"./reference-chip-Br0H2srF.js";import{t as d}from"./button-C8jUIs8Q.js";import{t as f}from"./project-router-BHFXTx5l.js";import{m as p}from"./page-shell-Dky5crRl.js";import{t as m}from"./centered-state-BgSV4e79.js";import{Ht as h,In as g,Nn as _,Vt as v,s as y,tr as b}from"./index-54CwJm3e.js";import{t as x}from"./diff-COXHw5yC.js";var S=e(t(),1),C=n();function w({commit:e,sha:t,backTo:n,backLabel:r,slot:o,className:h,diffClassName:y}){let b=p(),[w,T]=(0,S.useState)(`unified`),[E,D]=(0,S.useState)(!0),O=e.isError&&e.error instanceof i&&e.error.status===409,k=b?w:`unified`;return(0,C.jsxs)(`section`,{"data-slot":o,"data-sha":t,className:h,children:[(0,C.jsxs)(`div`,{className:`mx-4 flex flex-wrap items-center gap-x-2.5 gap-y-1.5 border-b border-border py-2 md:mx-9`,children:[(0,C.jsx)(d,{asChild:!0,variant:`ghost`,size:`sm`,"data-slot":`commit-back`,children:(0,C.jsxs)(f,{to:n,children:[(0,C.jsx)(c,{size:16,"aria-hidden":`true`}),r]})}),(0,C.jsx)(`span`,{className:`ml-auto flex items-center gap-1`,children:(0,C.jsx)(l,{mode:w,wrap:E,onModeChange:T,onWrapChange:D})})]}),e.isPending?(0,C.jsx)(`p`,{"data-slot":`commit-loading`,className:`px-4 py-6 text-center text-xs text-muted-foreground md:px-9`,children:`Loading commit…`}):e.isError?(0,C.jsx)(m,{icon:O?(0,C.jsx)(u,{}):(0,C.jsx)(s,{size:16}),tone:O?`neutral`:`danger`,heading:`h2`,title:O?`Commit not found`:`Could not load the commit`,subtitle:e.error.message}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(`div`,{"data-slot":`commit-meta`,className:`mx-4 border-b border-border py-3 md:mx-9`,children:[(0,C.jsx)(`h2`,{className:`text-sm font-semibold`,children:e.data.subject}),(0,C.jsxs)(`p`,{className:`mt-0.5 flex flex-wrap items-center gap-x-1.5 text-xs text-muted-foreground`,children:[(0,C.jsx)(`span`,{children:e.data.author}),(0,C.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,C.jsx)(`span`,{title:e.data.when,children:v(e.data.when)}),(0,C.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,C.jsx)(g,{sha:e.data.sha,variant:`inline`}),(0,C.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,C.jsx)(`span`,{"data-slot":`commit-stat`,children:(0,C.jsx)(_,{stat:e.data.stat})})]})]}),e.data.files.length===0?(0,C.jsx)(m,{icon:(0,C.jsx)(a,{size:16}),tone:`neutral`,heading:`h2`,title:`No file changes`,subtitle:`This commit carries no diff of its own — a merge commit's changes live on the commits it merged.`}):(0,C.jsx)(`div`,{className:y,children:(0,C.jsx)(x,{files:e.data.files,mode:k,wrap:E,totals:!1,className:`min-w-0`})})]})]})}var T=56;function E({slot:e,commits:t,selectedSha:n,className:i,heading:a}){let[s,c]=(0,S.useState)(``),l=s.trim().toLowerCase(),u=l?t.filter(e=>e.subject.toLowerCase().includes(l)):t,d=u.length>150,f=(0,S.useRef)(null),p=(0,S.useRef)(null),[m,h]=(0,S.useState)(0);(0,S.useLayoutEffect)(()=>{if(!d)return;let e=()=>{let e=f.current,t=p.current;!e||!t||h(Math.max(0,Math.round(e.getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop)))};return e(),window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[d]);let g=u.map(e=>(0,C.jsx)(D,{commit:e,selected:n!==void 0&&e.sha===n},e.sha));return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(`label`,{className:`relative mb-3 block`,children:[(0,C.jsx)(o,{size:16,"aria-hidden":`true`,className:`pointer-events-none absolute top-3 left-3 size-4 text-muted-foreground`}),(0,C.jsx)(b,{"aria-label":`Search commit messages`,placeholder:`Search commit messages…`,value:s,onChange:e=>c(e.target.value),className:`h-10 rounded-lg border-border bg-card pl-10`})]}),(0,C.jsxs)(`div`,{ref:e=>{f.current=e,e&&(p.current=e.closest(`[data-slot="main"]`))},"data-slot":e,"data-virtualized":d,className:r(`flex flex-col divide-y divide-border rounded-xl border border-border bg-card px-3 py-1 md:px-4`,i),children:[a?(0,C.jsx)(`div`,{className:`flex min-h-11 flex-wrap items-center gap-2 py-2.5`,children:a}):null,u.length===0?(0,C.jsx)(`p`,{role:`status`,className:`py-5 text-sm text-muted-foreground`,children:`No loaded commits match your search.`}):null,d?(0,C.jsx)(y,{scrollRef:p,startMargin:m,itemSize:T,children:g}):g]})]})}function D({commit:e,selected:t}){return(0,C.jsx)(`div`,{className:`[contain-intrinsic-block-size:auto_56px] [content-visibility:auto]`,children:(0,C.jsxs)(f,{"data-slot":`commit-row`,"data-sha":e.sha,"data-selected":t?`true`:void 0,"aria-current":t?`true`:void 0,to:e.href,className:r(`flex min-h-11 min-w-0 items-start gap-2.5 rounded-md px-2 py-2.5 transition-colors hover:bg-muted`,t&&`bg-muted/70`),children:[(0,C.jsx)(a,{size:16,"aria-hidden":`true`,className:`mt-px size-4 shrink-0 text-accent-text`}),(0,C.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,C.jsx)(`span`,{"data-slot":`commit-row-subject`,title:e.subject,className:`line-clamp-2 text-[13px] leading-snug font-medium break-words text-foreground`,children:e.subject}),(0,C.jsxs)(`span`,{className:`mt-1 flex flex-wrap items-center gap-x-2 gap-y-0.5 text-xs text-muted-foreground`,children:[(0,C.jsx)(O,{sha:e.sha}),(0,C.jsxs)(`span`,{className:`min-w-0 truncate`,children:[e.author,` · `,(0,C.jsx)(`span`,{title:h(e.when,e.at),children:v(e.when,e.at)})]}),e.stat?(0,C.jsx)(_,{stat:e.stat}):null]})]})]})})}function O({sha:e}){return(0,C.jsx)(g,{"data-slot":`commit-sha`,sha:e,variant:`chip`})}export{O as n,w as r,E as t};