@hearsay-tools/squawk 0.19.0-pr4509.8930 → 0.19.0-pr4514.8939

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 (76) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/delegation/transport.d.ts +65 -65
  3. package/dist/features/automations/automations-routes.d.ts +150 -150
  4. package/dist/server/activity-routes.d.ts +23 -23
  5. package/dist/server/project-settings-routes.d.ts +107 -107
  6. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  7. package/dist/server/providers-routes.d.ts +57 -57
  8. package/dist/server/repo-routes.d.ts +34 -34
  9. package/dist/server/runner-install-routes.d.ts +10 -10
  10. package/dist/server/runners-routes.d.ts +10 -10
  11. package/dist/server/runs-routes.d.ts +324 -324
  12. package/dist/server/server.d.ts +1208 -1208
  13. package/dist/server/workspace-routes.d.ts +85 -85
  14. package/package.json +4 -4
  15. package/scripts/benchmark-project-probes.mjs +4 -1
  16. package/web/dist/assets/{accounts-section-CL4_y1Ap.js → accounts-section-BWs_Op4q.js} +1 -1
  17. package/web/dist/assets/{activity-motion-1nxINCqs.js → activity-motion-D_lzlbol.js} +1 -1
  18. package/web/dist/assets/{activity-route-yCPzQHRl.js → activity-route-npBjTy91.js} +1 -1
  19. package/web/dist/assets/{agent-config-section-CO-Bl7d7.js → agent-config-section-CBwn34fV.js} +1 -1
  20. package/web/dist/assets/{agent-defaults-section-C90pO0nt.js → agent-defaults-section-BLeHBg4E.js} +1 -1
  21. package/web/dist/assets/{appearance-dgwYTY63.js → appearance-LEzL_45W.js} +1 -1
  22. package/web/dist/assets/{archive-on-merge-field-DJZVhb_I.js → archive-on-merge-field-ave6eYwU.js} +1 -1
  23. package/web/dist/assets/{automations-route-BhSkU9kZ.js → automations-route-BxEJmAn2.js} +2 -2
  24. package/web/dist/assets/{commit-list-mYh1t3BD.js → commit-list-BpFn0yy-.js} +1 -1
  25. package/web/dist/assets/{diff-B4l1BaZJ.js → diff-C9prkoMN.js} +2 -2
  26. package/web/dist/assets/{diff-controls-Bs58JOMz.js → diff-controls-BlMnNuV4.js} +1 -1
  27. package/web/dist/assets/{diff-view-BGwOGavy.js → diff-view-B4HIRvi0.js} +1 -1
  28. package/web/dist/assets/{discard-changes-dialog-Cr1vlcjZ.js → discard-changes-dialog-DSEAPMnA.js} +1 -1
  29. package/web/dist/assets/{file-preview-DqopZwES.js → file-preview-BT_5H3ms.js} +1 -1
  30. package/web/dist/assets/{git-toolbar-pr68yTY4.js → git-toolbar-DK4_0Ylw.js} +1 -1
  31. package/web/dist/assets/github-NIisNx1G.js +1 -0
  32. package/web/dist/assets/{global-activity-route-XkwjlnaD.js → global-activity-route-E8K9u2n2.js} +1 -1
  33. package/web/dist/assets/{index-I4_drgNu.js → index-DCiyvOmJ.js} +6 -6
  34. package/web/dist/assets/index-DfudDolc.css +1 -0
  35. package/web/dist/assets/{markdown-fuaT5ciN.js → markdown-BUeamWrQ.js} +1 -1
  36. package/web/dist/assets/{option-select-_tHcMUWt.js → option-select-Cdd2UPAV.js} +1 -1
  37. package/web/dist/assets/{preferences-section-Crh_5QfK.js → preferences-section-XoysgB81.js} +1 -1
  38. package/web/dist/assets/{preview-pane-connected-CLWRxEhI.js → preview-pane-connected-Dgx7IuKI.js} +2 -2
  39. package/web/dist/assets/{project-location-DmGO5Dqx.js → project-location-BGsUFEoZ.js} +1 -1
  40. package/web/dist/assets/{projects-section-CLPN14JX.js → projects-section-DImMzOUS.js} +1 -1
  41. package/web/dist/assets/{prompt-templates-section-CQHpVrcB.js → prompt-templates-section-DmEZQQiJ.js} +2 -2
  42. package/web/dist/assets/{remote-settings-notice-C8naX_yp.js → remote-settings-notice-De6tIJ-L.js} +1 -1
  43. package/web/dist/assets/repo-git-DRAJhkDz.js +1 -0
  44. package/web/dist/assets/{report-reader-DJJixZxy.js → report-reader-DTgtThoF.js} +1 -1
  45. package/web/dist/assets/{reports-DXfywo34.js → reports-BcNh-ewR.js} +1 -1
  46. package/web/dist/assets/{resources-section-CA-D1Vj2.js → resources-section-CLGNYsEI.js} +1 -1
  47. package/web/dist/assets/{review-panel-UI6FQQmp.js → review-panel-DJrz0DKA.js} +5 -5
  48. package/web/dist/assets/run-header-rOZ7Bfbt.js +2 -0
  49. package/web/dist/assets/{select-QO8XlmjU.js → select-BRh3a5hj.js} +1 -1
  50. package/web/dist/assets/{session-context-section-CTDQl-i5.js → session-context-section-Cx7XfXh7.js} +1 -1
  51. package/web/dist/assets/{settings-agent-picker-DE5zKJtS.js → settings-agent-picker-BJ4aWg6X.js} +1 -1
  52. package/web/dist/assets/{settings-save-bar-DM7T22Nr.js → settings-save-bar-CoztcQSE.js} +1 -1
  53. package/web/dist/assets/{settings-shell-EOUcgx1J.js → settings-shell-D9jjYoK8.js} +1 -1
  54. package/web/dist/assets/{sidebar-section-C69ES3GL.js → sidebar-section-YRmC93zR.js} +1 -1
  55. package/web/dist/assets/{skills-DuaNQ6XW.js → skills-7RaRLcTg.js} +1 -1
  56. package/web/dist/assets/{task-changes-midIkW0D.js → task-changes-CHfNtrjT.js} +1 -1
  57. package/web/dist/assets/{task-commits-DAT7-sIh.js → task-commits-oONZqAkn.js} +1 -1
  58. package/web/dist/assets/{task-file-scope-BYAH1Mj8.js → task-file-scope-DkIxyIoZ.js} +1 -1
  59. package/web/dist/assets/{task-files-CJaZfp0y.js → task-files-BRdhOHRY.js} +1 -1
  60. package/web/dist/assets/{task-github-item-BnoxG2el.js → task-github-item-DRFTfSWl.js} +1 -1
  61. package/web/dist/assets/{task-thread-fsRo8vgf.js → task-thread-hcPcygid.js} +2 -2
  62. package/web/dist/assets/thread-state-DDyUg5uH.js +4 -0
  63. package/web/dist/assets/use-hand-to-agent-state-BvvZrw7O.js +1 -0
  64. package/web/dist/assets/use-path-bases-DuMOLy3W.js +1 -0
  65. package/web/dist/assets/{workflows-CwZ1aiR4.js → workflows-DhW8Xvde.js} +3 -3
  66. package/web/dist/assets/workspace-tools-DzOGYPoN.js +1 -0
  67. package/web/dist/assets/{worktrees-section-Cn8sFOCC.js → worktrees-section-CfyXCPMF.js} +1 -1
  68. package/web/dist/index.html +2 -2
  69. package/web/dist/assets/github-BY-X8L5Q.js +0 -1
  70. package/web/dist/assets/index-BOWGArJd.css +0 -1
  71. package/web/dist/assets/repo-git-CTSdvalV.js +0 -1
  72. package/web/dist/assets/run-header-DDQU9tCB.js +0 -2
  73. package/web/dist/assets/thread-state-T5A2uz_q.js +0 -4
  74. package/web/dist/assets/use-hand-to-agent-state-Cy6oaj7k.js +0 -1
  75. package/web/dist/assets/use-path-bases-x6weDx5i.js +0 -1
  76. package/web/dist/assets/workspace-tools-0-Yx7SCS.js +0 -1
@@ -1 +1 @@
1
- import{t as e}from"./react-runtime-CCIEwYL0.js";import{s as t}from"./dist-C_rn70hE.js";import{St as n,Wt as r,Y as i,dn as a,o,r as s,xt as c,yt as l}from"./queries-CIeJg62Y.js";import{hi as u,q as d}from"./toaster-D0HMoto5.js";import{h as f}from"./chunk-KS7C4IRE-Cg8l-LDN.js";import{_ as p,m}from"./tasks-table-CvZ2ZyCa.js";import{I as h,m as g,st as _}from"./design-icons-BZt8Kqs9.js";import{t as v}from"./run-header-DDQU9tCB.js";import{t as y}from"./external-link-BE6y205O.js";import{l as b}from"./reference-chip-Dk69XD7Q.js";import{t as x}from"./button-C8jUIs8Q.js";import{t as S}from"./project-router-BHFXTx5l.js";import{l as C}from"./page-shell-Dky5crRl.js";import{t as w}from"./centered-state-BgSV4e79.js";import{S as T,or as E,x as D}from"./index-I4_drgNu.js";import{c as O,n as k,t as A}from"./use-hand-to-agent-state-Cy6oaj7k.js";var j=e(),M={issue:`Issue`,pr:`Pull request`};function N({kind:e}){let{id:t}=f(),n=i(t);return n.isPending?(0,j.jsx)(D,{kind:e}):n.isError?(0,j.jsx)(T,{tab:`github-item`,error:n.error}):(0,j.jsx)(P,{run:n.data,kind:e})}function P({run:e,kind:t}){let{n:r}=f(),i=Number(r),a=c(),s=n(),u=l(),d=s.isPending||u.isPending,p=m(e,a).some(e=>e.kind===t&&e.number===i),h=o(t,i,p);return(0,j.jsxs)(C,{route:`task-github-item`,density:p?`full`:`empty`,flushPadding:!0,children:[(0,j.jsx)(v,{run:e,tab:{kind:t,number:i}}),p?(0,j.jsx)(H,{run:e,kind:t,number:i,repoBase:a,item:h}):d?(0,j.jsx)(D,{kind:t,number:i,heading:`h2`}):(0,j.jsx)(w,{icon:(0,j.jsx)(E,{size:16}),tone:`neutral`,heading:`h2`,title:`#${r} is not linked to this task`,subtitle:`Only the issues and pull requests this task references open here.`,actions:(0,j.jsx)(x,{asChild:!0,variant:`outline`,children:(0,j.jsx)(S,{to:`/tasks/${e.id}`,children:`Back to the session`})})})]})}function F(e,t){return e===`pr`&&t.data?.available===!0&&t.data.item!==null}function I(e,t,n,r){return e===`pr`?n?.[t]??r:r}function L({retry:e,kind:t,number:n}){return(0,j.jsx)(x,{variant:`outline`,disabled:e.isPending,onClick:()=>e.mutate(r.githubItem(t,n)),children:`Retry`})}function R({kind:e,number:t,error:n,retryButton:r}){return(0,j.jsx)(w,{icon:(0,j.jsx)(_,{size:16}),tone:`danger`,heading:`h2`,title:`Could not load ${M[e].toLowerCase()} #${t}`,subtitle:n.message,actions:r})}function z({run:e,kind:n,number:r,repoBase:i,reason:a,retryError:o,retryButton:s}){let c=n===`pr`?h:g,l=p(e,i).find(e=>e.kind===`PR`==(n===`pr`)&&e.number===r)?.url;return(0,j.jsx)(w,{icon:(0,j.jsx)(c,{size:16}),tone:`neutral`,heading:`h2`,title:`GitHub is unavailable`,subtitle:o?.message??a,actions:(0,j.jsxs)(j.Fragment,{children:[s,l&&t(l)?(0,j.jsx)(x,{asChild:!0,variant:`outline`,children:(0,j.jsxs)(`a`,{href:l,target:`_blank`,rel:`noopener noreferrer`,children:[`open on GitHub`,(0,j.jsx)(y,{"aria-hidden":`true`})]})}):null]})})}function B({label:e,repoBase:t}){return(0,j.jsx)(w,{icon:(0,j.jsx)(b,{}),tone:`neutral`,heading:`h2`,title:`${e} was not found in ${U(t)}`,subtitle:`It may have been deleted, or the number points at a different repository.`})}function V({kind:e,item:t,labelColors:n,checks:r}){return(0,j.jsx)(`div`,{className:`min-w-0 px-0.5 md:px-2`,children:(0,j.jsx)(O,{item:t,colors:n??{},checks:r,backLink:null,subNav:null,children:e===`issue`?(0,j.jsx)(W,{item:t},t.url):null})})}function H({run:e,kind:t,number:n,repoBase:r,item:i}){let o=u(),c=a({mutationFn:e=>d(t,n,{refresh:!0}),onSuccess:(e,t)=>o.setQueryData(t,e)}),l=F(t,i),f=s(l?[n]:[],l),p=f.data?.available?f.data.checks:void 0,m=`${M[t]} #${n}`,h=(0,j.jsx)(L,{retry:c,kind:t,number:n});if(i.isPending)return(0,j.jsx)(D,{kind:t,number:n,heading:`h2`});if(i.isError)return(0,j.jsx)(R,{kind:t,number:n,error:c.error??i.error,retryButton:h});let g=i.data;return g.available?g.item?(0,j.jsx)(V,{kind:t,item:g.item,labelColors:g.labelColors,checks:I(t,n,p,g.item.checks)}):(0,j.jsx)(B,{label:m,repoBase:r}):(0,j.jsx)(z,{run:e,kind:t,number:n,repoBase:r,reason:g.reason,retryError:c.error,retryButton:h})}function U(e){if(!e)return`this repository`;try{return new URL(e).pathname.split(`/`).filter(Boolean).slice(0,2).join(`/`)||`this repository`}catch{return`this repository`}}function W({item:e}){let t=A();return(0,j.jsx)(k,{item:e,workflows:t.workflows.data?.workflows??[],skills:t.skillList,workflow:t.workflow,onWorkflowChange:t.setWorkflow,selectedSkills:t.selectedSkills,onSkillsChange:t.setSelectedSkills,engine:t.engine,onEngineChange:t.setEngine,queuedRunId:t.queued.get(e.url)??null,onQueued:t.onQueued},e.url)}export{N as TaskGithubItemRoute};
1
+ import{t as e}from"./react-runtime-CCIEwYL0.js";import{s as t}from"./dist-C_rn70hE.js";import{St as n,Wt as r,Y as i,dn as a,o,r as s,xt as c,yt as l}from"./queries-CIeJg62Y.js";import{hi as u,q as d}from"./toaster-D0HMoto5.js";import{h as f}from"./chunk-KS7C4IRE-Cg8l-LDN.js";import{_ as p,m}from"./tasks-table-CvZ2ZyCa.js";import{I as h,m as g,st as _}from"./design-icons-BZt8Kqs9.js";import{t as v}from"./run-header-rOZ7Bfbt.js";import{t as y}from"./external-link-BE6y205O.js";import{l as b}from"./reference-chip-Dk69XD7Q.js";import{t as x}from"./button-C8jUIs8Q.js";import{t as S}from"./project-router-BHFXTx5l.js";import{l as C}from"./page-shell-Dky5crRl.js";import{t as w}from"./centered-state-BgSV4e79.js";import{S as T,sr as E,x as D}from"./index-DCiyvOmJ.js";import{c as O,n as k,t as A}from"./use-hand-to-agent-state-BvvZrw7O.js";var j=e(),M={issue:`Issue`,pr:`Pull request`};function N({kind:e}){let{id:t}=f(),n=i(t);return n.isPending?(0,j.jsx)(D,{kind:e}):n.isError?(0,j.jsx)(T,{tab:`github-item`,error:n.error}):(0,j.jsx)(P,{run:n.data,kind:e})}function P({run:e,kind:t}){let{n:r}=f(),i=Number(r),a=c(),s=n(),u=l(),d=s.isPending||u.isPending,p=m(e,a).some(e=>e.kind===t&&e.number===i),h=o(t,i,p);return(0,j.jsxs)(C,{route:`task-github-item`,density:p?`full`:`empty`,flushPadding:!0,children:[(0,j.jsx)(v,{run:e,tab:{kind:t,number:i}}),p?(0,j.jsx)(H,{run:e,kind:t,number:i,repoBase:a,item:h}):d?(0,j.jsx)(D,{kind:t,number:i,heading:`h2`}):(0,j.jsx)(w,{icon:(0,j.jsx)(E,{size:16}),tone:`neutral`,heading:`h2`,title:`#${r} is not linked to this task`,subtitle:`Only the issues and pull requests this task references open here.`,actions:(0,j.jsx)(x,{asChild:!0,variant:`outline`,children:(0,j.jsx)(S,{to:`/tasks/${e.id}`,children:`Back to the session`})})})]})}function F(e,t){return e===`pr`&&t.data?.available===!0&&t.data.item!==null}function I(e,t,n,r){return e===`pr`?n?.[t]??r:r}function L({retry:e,kind:t,number:n}){return(0,j.jsx)(x,{variant:`outline`,disabled:e.isPending,onClick:()=>e.mutate(r.githubItem(t,n)),children:`Retry`})}function R({kind:e,number:t,error:n,retryButton:r}){return(0,j.jsx)(w,{icon:(0,j.jsx)(_,{size:16}),tone:`danger`,heading:`h2`,title:`Could not load ${M[e].toLowerCase()} #${t}`,subtitle:n.message,actions:r})}function z({run:e,kind:n,number:r,repoBase:i,reason:a,retryError:o,retryButton:s}){let c=n===`pr`?h:g,l=p(e,i).find(e=>e.kind===`PR`==(n===`pr`)&&e.number===r)?.url;return(0,j.jsx)(w,{icon:(0,j.jsx)(c,{size:16}),tone:`neutral`,heading:`h2`,title:`GitHub is unavailable`,subtitle:o?.message??a,actions:(0,j.jsxs)(j.Fragment,{children:[s,l&&t(l)?(0,j.jsx)(x,{asChild:!0,variant:`outline`,children:(0,j.jsxs)(`a`,{href:l,target:`_blank`,rel:`noopener noreferrer`,children:[`open on GitHub`,(0,j.jsx)(y,{"aria-hidden":`true`})]})}):null]})})}function B({label:e,repoBase:t}){return(0,j.jsx)(w,{icon:(0,j.jsx)(b,{}),tone:`neutral`,heading:`h2`,title:`${e} was not found in ${U(t)}`,subtitle:`It may have been deleted, or the number points at a different repository.`})}function V({kind:e,item:t,labelColors:n,checks:r}){return(0,j.jsx)(`div`,{className:`min-w-0 px-0.5 md:px-2`,children:(0,j.jsx)(O,{item:t,colors:n??{},checks:r,backLink:null,subNav:null,children:e===`issue`?(0,j.jsx)(W,{item:t},t.url):null})})}function H({run:e,kind:t,number:n,repoBase:r,item:i}){let o=u(),c=a({mutationFn:e=>d(t,n,{refresh:!0}),onSuccess:(e,t)=>o.setQueryData(t,e)}),l=F(t,i),f=s(l?[n]:[],l),p=f.data?.available?f.data.checks:void 0,m=`${M[t]} #${n}`,h=(0,j.jsx)(L,{retry:c,kind:t,number:n});if(i.isPending)return(0,j.jsx)(D,{kind:t,number:n,heading:`h2`});if(i.isError)return(0,j.jsx)(R,{kind:t,number:n,error:c.error??i.error,retryButton:h});let g=i.data;return g.available?g.item?(0,j.jsx)(V,{kind:t,item:g.item,labelColors:g.labelColors,checks:I(t,n,p,g.item.checks)}):(0,j.jsx)(B,{label:m,repoBase:r}):(0,j.jsx)(z,{run:e,kind:t,number:n,repoBase:r,reason:g.reason,retryError:c.error,retryButton:h})}function U(e){if(!e)return`this repository`;try{return new URL(e).pathname.split(`/`).filter(Boolean).slice(0,2).join(`/`)||`this repository`}catch{return`this repository`}}function W({item:e}){let t=A();return(0,j.jsx)(k,{item:e,workflows:t.workflows.data?.workflows??[],skills:t.skillList,workflow:t.workflow,onWorkflowChange:t.setWorkflow,selectedSkills:t.selectedSkills,onSkillsChange:t.setSelectedSkills,engine:t.engine,onEngineChange:t.setEngine,queuedRunId:t.queued.get(e.url)??null,onQueued:t.onQueued},e.url)}export{N as TaskGithubItemRoute};