p-backlog 0.8.1 → 0.10.0

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 (57) hide show
  1. package/CHANGELOG.md +170 -0
  2. package/README.md +15 -7
  3. package/README.ru.md +15 -6
  4. package/dist/cli.js +5476 -4561
  5. package/dist/web/assets/CodeTab-ClCaW8AS.js +1 -0
  6. package/dist/web/assets/CostTab-CtI3iFiW.js +1 -0
  7. package/dist/web/assets/EffectTab-DcvyEB2U.js +1 -0
  8. package/dist/web/assets/Figure-DkmKAO9C.css +1 -0
  9. package/dist/web/assets/Figure-DxKUx52i.js +1 -0
  10. package/dist/web/assets/OverviewTab-DE_6Z9ps.js +1 -0
  11. package/dist/web/assets/Page-buthlp0V.js +59 -0
  12. package/dist/web/assets/Page-r2s5SXpX.css +1 -0
  13. package/dist/web/assets/PanelRows-6zccccnE.css +1 -0
  14. package/dist/web/assets/PanelRows.module-ZonfBTD-.js +1 -0
  15. package/dist/web/assets/QualityTab-CkoKu4X0.js +1 -0
  16. package/dist/web/assets/ShareBar-B5phBvQk.css +1 -0
  17. package/dist/web/assets/ShareBar-BAS4lpze.js +1 -0
  18. package/dist/web/assets/StatsPage-B_pacptZ.css +1 -0
  19. package/dist/web/assets/StatsPage-Bmr75f8J.js +1 -0
  20. package/dist/web/assets/StatsTabState-BacJCCdC.css +1 -0
  21. package/dist/web/assets/StatsTabState-D93FkgT5.js +1 -0
  22. package/dist/web/assets/StatsTable-D-PylWl7.js +1 -0
  23. package/dist/web/assets/StatsTable-DPDsjAV6.css +1 -0
  24. package/dist/web/assets/UnavailableRepos-DyBVFVrQ.js +1 -0
  25. package/dist/web/assets/index-BFmeY_kk.js +2 -0
  26. package/dist/web/assets/start-CJ8zVmAB.js +38 -0
  27. package/dist/web/assets/start-CjkFx30s.css +1 -0
  28. package/dist/web/assets/summaries-D57lRSim.js +1 -0
  29. package/dist/web/assets/use-grain-panel-UcuXHAhT.js +55 -0
  30. package/dist/web/assets/use-grain-panel-nSBWtox9.css +1 -0
  31. package/dist/web/assets/web-paths--TbmQ8rA.js +1 -0
  32. package/dist/web/index.html +1 -1
  33. package/package.json +12 -6
  34. package/skill/backlog/SKILL.md +23 -15
  35. package/skill/backlog-en/SKILL.md +25 -16
  36. package/dist/web/assets/CodeTab-Bn0Zl7PI.js +0 -1
  37. package/dist/web/assets/CostTab-BBsTM7es.js +0 -1
  38. package/dist/web/assets/EffectTab-gDz3Omnz.js +0 -1
  39. package/dist/web/assets/Figure-DAdnR-Fu.js +0 -1
  40. package/dist/web/assets/OverviewTab-CkZ7dCcx.js +0 -1
  41. package/dist/web/assets/QualityTab-Bkxkcnh2.js +0 -1
  42. package/dist/web/assets/ShareBar-CoTArw6Q.js +0 -1
  43. package/dist/web/assets/StatsPage-B-sQM9n_.js +0 -1
  44. package/dist/web/assets/StatsPage-CHUVlZXv.css +0 -1
  45. package/dist/web/assets/StatsPage.module-DxtnhZOJ.js +0 -1
  46. package/dist/web/assets/StatsTabState-BauB3xdU.js +0 -1
  47. package/dist/web/assets/StatsTabState-CUDEyUDu.css +0 -1
  48. package/dist/web/assets/StatsTable-Dg0CrPof.js +0 -1
  49. package/dist/web/assets/StatsTable-Z9x-Xaha.css +0 -1
  50. package/dist/web/assets/UnavailableRepos-BTMsOBI-.js +0 -1
  51. package/dist/web/assets/cx-CutaZ2Ho.js +0 -55
  52. package/dist/web/assets/index-CM8tBSED.js +0 -2
  53. package/dist/web/assets/start-CbHSVk3k.css +0 -1
  54. package/dist/web/assets/start-Cm2kfqW8.js +0 -41
  55. package/dist/web/assets/use-grain-panel-BczBScgN.js +0 -55
  56. package/dist/web/assets/use-grain-panel-tQC8-pw2.css +0 -1
  57. package/dist/web/assets/value-dot-Dy8YzPPT.js +0 -1
@@ -0,0 +1 @@
1
+ ._notice_1bs5e_1{border:1px solid var(--warn);border-radius:var(--radius-control);background:var(--warn-soft);color:var(--ink)}._heading_1svie_1{padding:var(--space-4) var(--space-5) 0;font-size:var(--text-lg);text-wrap:balance;margin:0;font-weight:600}._message_1svie_9{max-width:60ch;margin:var(--space-6) var(--space-5)}._hint_1svie_14{color:var(--ink-muted)}._hint_1svie_14 p{margin:0 0 var(--space-3);text-wrap:pretty}._waiting_1svie_23{color:var(--ink-subtle)}
@@ -0,0 +1 @@
1
+ ._subTitle_1ai18_1{margin:0 0 var(--space-2);color:var(--ink);font-size:var(--text-sm);font-weight:600}._rows_1ai18_8{gap:var(--space-1);margin:var(--space-2) 0 0;font-size:var(--text-sm);flex-direction:column;padding:0;list-style:none;display:flex}._subTitle_1ai18_1+._rows_1ai18_8{margin-top:0}._countRow_1ai18_22{align-items:center;gap:var(--space-2);grid-template-columns:minmax(0,1fr) auto minmax(48px,96px);display:grid}._row_1ai18_8{justify-content:space-between;gap:var(--space-2);display:flex}._rowLabel_1ai18_35{white-space:normal;overflow-wrap:anywhere;min-width:0}._rowLabel_1ai18_35 a{color:var(--ink);text-decoration:underline;-webkit-text-decoration-color:var(--ink-subtle);text-decoration-color:var(--ink-subtle);text-underline-offset:2px}._rowLabel_1ai18_35 a:hover{-webkit-text-decoration-color:var(--ink);text-decoration-color:var(--ink)}._rowValue_1ai18_52{color:var(--ink-muted);font-variant-numeric:tabular-nums;flex-shrink:0}
@@ -0,0 +1 @@
1
+ var e={subTitle:`_subTitle_1ai18_1`,rows:`_rows_1ai18_8`,countRow:`_countRow_1ai18_22`,row:`_row_1ai18_8`,rowLabel:`_rowLabel_1ai18_35`,rowValue:`_rowValue_1ai18_52`};export{e as t};
@@ -0,0 +1 @@
1
+ import{A as e,ft as t,h as n,j as r,ln as i}from"./Page-buthlp0V.js";import{a,i as o,n as s,o as c,r as l}from"./StatsTabState-D93FkgT5.js";import{t as u}from"./PanelRows.module-ZonfBTD-.js";import{t as d}from"./StatsTable-D-PylWl7.js";import{c as f,i as p,n as m,t as h}from"./use-grain-panel-UcuXHAhT.js";import{c as g,r as _}from"./summaries-D57lRSim.js";var v=i(),y=`var(--chart-bar-neutral)`,b=`var(--chart-line-green)`;function x({periods:t,grain:n}){let{stats:i}=r(),a=e(),o=[{key:`decided`,label:i.decidedCandidates,shape:`bar`,color:y,format:f(a)},{key:`precision`,label:i.precision,shape:`line`,color:b,axis:`right`,sparse:!0,format:g}];return(0,v.jsx)(m,{name:i.accuracyTitle,grain:n,summary:i.accuracySummary(_(n,t)),data:t,series:o,axes:{left:p,right:{domain:[0,1],tickFormatter:g}}})}function S({rows:e,weeks:t,days:n,windows:i,methodRows:s,matchRows:l}){let{stats:u,core:f}=r(),p=o(),{grain:m,periods:_,period:y,toggle:b}=h(`accuracy`,`week`,{weeks:t,days:n},i),S=p.of(`weeks`,i.weeks),w=[...s,...l],T=e=>{switch(e.evidence){case`source-changed`:return e.by===`unknown`?u.beforeMethodRecorded:u.checkedBy(f.checkMethodLabel(e.by));case`duplicate`:return e.by===`unknown`?u.beforeMatchRecorded:u.matchedBy(f.duplicateMatchLabel(e.by))}},E=e=>w.filter(t=>t.evidence===e).map(e=>C(u,e,T(e)));return(0,v.jsx)(a,{title:u.accuracyTitle,period:y,aside:e.length===0?void 0:b,children:e.length===0?(0,v.jsx)(c,{children:u.noCandidates}):(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(c,{children:u.accuracyHint}),(0,v.jsx)(x,{periods:_,grain:m}),(0,v.jsx)(c,{children:S}),(0,v.jsx)(d,{label:u.accuracyTable(S),head:u.accuracyHead,rows:e.flatMap(e=>[{key:e.evidence,tone:e.evidence===`total`?`total`:void 0,cells:[f.evidenceLabel(e.evidence),e.candidates,e.closed,e.verified,e.open,g(e.precision)]},...E(e.evidence).map(t=>({...t,key:`${e.evidence}-${t.key}`}))])})]})})}function C(e,t,n){return{key:t.by,tone:`child`,cells:[e.splitRow(n),t.candidates,t.closed,t.verified,t.open,g(t.precision)]}}function w({graph:e,period:t}){let{stats:n,core:i}=r(),s=o(),{projects:l,filter:f}=e;return f.filtered===0&&l.every(e=>e.state===`none`)?(0,v.jsx)(a,{title:n.graphTitle,children:(0,v.jsx)(c,{children:n.graphMissing(e=>(0,v.jsx)(`code`,{children:e},e))})}):(0,v.jsxs)(a,{title:n.graphTitle,children:[(0,v.jsx)(c,{children:n.graphHint}),(0,v.jsxs)(`div`,{children:[(0,v.jsx)(`h3`,{className:u.subTitle,children:s.labelled(n.filteredTitle,t)}),f.filtered===0?(0,v.jsx)(c,{children:n.nothingFiltered}):(0,v.jsx)(d,{label:n.filteredTable,head:n.filteredHead,rows:[{key:`filtered`,cells:[n.filteredByGraph,f.filtered]},{key:`caught`,cells:[n.filteredCaught,f.caught]},{key:`missed`,cells:[n.filteredMissed,f.missed]},{key:`quiet`,cells:[n.filteredQuiet,f.quiet]}]})]}),(0,v.jsxs)(`div`,{children:[(0,v.jsx)(`h3`,{className:u.subTitle,children:n.periodCaption(n.projects,n.periodNow)}),(0,v.jsx)(d,{label:n.graphByProject,head:n.graphHead,rows:l.map(e=>({key:e.projectId,cells:[e.name,i.graphStateLabel(e.state),e.pinned,T(e)]}))})]})]})}function T({state:e,pinned:t,resolved:n}){return e===`none`||e===`unreadable`?`—`:`${n} (${g(t===0?null:n/t)})`}function E({rows:e,period:t}){let{stats:n,core:i}=r(),s=o();return(0,v.jsx)(a,{title:n.categoriesTitle,period:s.of(`weeks`,t),children:e.length===0?(0,v.jsx)(c,{children:n.categoriesEmpty}):(0,v.jsx)(d,{label:n.categoriesTitle,head:n.categoriesHead,rows:e.map(e=>({key:e.category,cells:[i.categoryRowLabel(e.category),e.open,e.weight,e.created,e.closed]}))})})}function D({found:e,branches:t,period:n}){let{stats:i,core:s}=r(),l=o();return(0,v.jsxs)(a,{title:i.originTitle,period:l.of(`weeks`,n),children:[(0,v.jsxs)(`div`,{children:[(0,v.jsx)(`h3`,{className:u.subTitle,children:i.foundTitle}),(0,v.jsx)(d,{label:i.foundTitle,head:i.foundHead,rows:e.map(e=>({key:e.found,cells:[s.foundRowLabel(e.found),e.created,e.open,e.fixed]}))})]}),(0,v.jsxs)(`div`,{children:[(0,v.jsx)(`h3`,{className:u.subTitle,children:i.branchesTitle}),t.length===0?(0,v.jsx)(c,{children:i.branchesEmpty}):(0,v.jsx)(d,{label:i.branchesTitle,head:i.branchesHead,rows:t.map(e=>({key:e.label,cells:[(0,v.jsx)(`code`,{children:e.label}),e.created,e.open]}))})]})]})}function O(){let{projectId:e}=t(),r=n(`quality`,e);return(0,v.jsx)(s,{query:r,children:e=>(0,v.jsx)(k,{report:e})})}function k({report:e}){return(0,v.jsxs)(`div`,{className:l.blocks,children:[(0,v.jsx)(`div`,{className:l.wide,children:(0,v.jsx)(S,{rows:e.accuracy,weeks:e.accuracyWeeks,days:e.accuracyDays,windows:e.periods,methodRows:e.methodAccuracy,matchRows:e.matchAccuracy})}),(0,v.jsx)(`div`,{className:l.wide,children:(0,v.jsx)(w,{graph:e.graph,period:e.periods.weeks})}),(0,v.jsx)(`div`,{className:l.wide,children:(0,v.jsx)(E,{rows:e.categories,period:e.periods.weeks})}),(0,v.jsx)(`div`,{className:l.wide,children:(0,v.jsx)(D,{found:e.found,branches:e.branches,period:e.periods.weeks})})]})}export{O as QualityTab};
@@ -0,0 +1 @@
1
+ ._share_cpxwy_1{--meter-fill:var(--accent-ink)}
@@ -0,0 +1 @@
1
+ import{ln as e}from"./Page-buthlp0V.js";import{a as t}from"./start-CJ8zVmAB.js";var n={share:`_share_cpxwy_1`},r=e();function i({share:e}){return(0,r.jsx)(t,{fraction:e,className:n.share,"aria-hidden":`true`})}export{i as t};
@@ -0,0 +1 @@
1
+ ._page_19brl_1{min-width:0;overflow-y:var(--main-overflow);container-type:inline-size}._scopeNote_19brl_7{margin:var(--space-1) var(--space-5) 0;color:var(--ink-subtle);font-size:var(--text-sm)}._signals_19brl_13{margin:var(--space-3) var(--space-5) 0;padding:var(--space-2) var(--space-4)}._signalsTitle_19brl_18{margin-bottom:var(--space-1);display:block}._signals_19brl_13 ul{margin:0;padding-inline-start:var(--space-4)}._tabs_19brl_28{gap:var(--space-1);padding:var(--space-3) var(--space-5) 0;border-bottom:1px solid var(--line);flex-wrap:wrap;display:flex}._tab_19brl_28{padding:var(--space-2) var(--space-3);color:var(--ink-muted);white-space:nowrap;transition:color var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);border-bottom:2px solid #0000;text-decoration:none}._tab_19brl_28:hover{color:var(--ink)}._tabActive_19brl_51{border-bottom-color:var(--ink);color:var(--ink)}._tabPending_19brl_56{border-bottom-color:var(--line-strong);cursor:progress}
@@ -0,0 +1 @@
1
+ import{r as e}from"./rolldown-runtime-hePW80VL.js";import{a as t,d as n,ft as r,h as i,i as a,j as o,ln as s,t as c,un as l}from"./Page-buthlp0V.js";import{c as u,i as d,m as f}from"./web-paths--TbmQ8rA.js";import{f as p,l as m,m as h,p as g,s as _,u as v}from"./start-CJ8zVmAB.js";var y=e(l(),1),b={page:`_page_19brl_1`,scopeNote:`_scopeNote_19brl_7`,signals:`_signals_19brl_13`,signalsTitle:`_signalsTitle_19brl_18`,tabs:`_tabs_19brl_28`,tab:`_tab_19brl_28`,tabActive:`_tabActive_19brl_51`,tabPending:`_tabPending_19brl_56`},x=s();function S(){let{projectId:e}=r(),s=n(),l=i(`signals`,e),{app:S,core:C,stats:w}=o(),T=e===void 0?w.projects:m(s.data,e),E=w.heading(T),D=g()??h[0],O=p(e),k=(0,y.useRef)(null),A=w.docTitle(D.key===`overview`?E:`${w.tabs[D.key]} · ${E}`);return _(A),(0,x.jsxs)(`main`,{id:`content`,tabIndex:-1,className:b.page,"aria-busy":O!==void 0||void 0,children:[(0,x.jsx)(c,{ref:k,children:E}),e===void 0&&s.data!==void 0&&(0,x.jsx)(`p`,{className:b.scopeNote,children:v(s.data,S)}),(l.data?.signals.length??0)>0&&(0,x.jsxs)(a,{as:`div`,className:b.signals,role:`status`,"aria-labelledby":`stats-signals-heading`,children:[(0,x.jsx)(`strong`,{id:`stats-signals-heading`,className:b.signalsTitle,children:w.alerts}),(0,x.jsx)(`ul`,{children:l.data?.signals.map(e=>(0,x.jsx)(`li`,{children:C.signal(e)},e.kind))})]}),(0,x.jsx)(`nav`,{className:b.tabs,"aria-label":w.tabsLabel,children:h.map(n=>(0,x.jsx)(u,{to:d(n.key,e),className:t(b.tab,n===D&&b.tabActive,n===O&&b.tabPending),"aria-current":n===D?`page`:void 0,children:w.tabs[n.key]},n.key))}),(0,x.jsx)(f,{context:{heading:k}})]})}export{S as StatsPage};
@@ -0,0 +1 @@
1
+ ._panel_142db_1{gap:var(--space-3);min-width:0;padding:var(--space-4);border-radius:var(--radius-control);background:var(--surface-raised);box-shadow:0 0 0 1px var(--line);border:none;flex-direction:column;display:flex;container-type:inline-size}._head_142db_14{justify-content:space-between;align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}._heading_142db_22{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}._period_142db_29,._note_142db_30{color:var(--ink-subtle);font-size:var(--text-sm);margin:0}._title_142db_36{font-size:var(--text-base);margin:0;font-weight:600}._content_1axuc_1{gap:var(--space-4);padding:var(--space-4) var(--space-5) var(--space-6);flex-direction:column;display:flex}._warning_1axuc_8{padding:var(--space-3) var(--space-4);text-wrap:pretty;margin:0}._blocks_1axuc_14{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}._wide_1axuc_20{grid-column:1/-1}._note_1axuc_24{max-width:70ch;color:var(--ink-subtle);font-size:var(--text-sm);text-wrap:pretty;margin:0}@container (width<=900px){._blocks_1axuc_14{grid-template-columns:minmax(0,1fr)}}
@@ -0,0 +1 @@
1
+ import{r as e}from"./rolldown-runtime-hePW80VL.js";import{A as t,O as n,dt as r,i,j as a,ln as o,n as s,un as c}from"./Page-buthlp0V.js";import{l,p as u}from"./index-BFmeY_kk.js";import{d,o as f}from"./start-CJ8zVmAB.js";var p=e(c(),1),m={panel:`_panel_142db_1`,head:`_head_142db_14`,heading:`_heading_142db_22`,period:`_period_142db_29`,note:`_note_142db_30`,title:`_title_142db_36`},h=o();function g({title:e,period:t,aside:n,children:r}){let i=(0,p.useId)(),a=(0,p.useId)();return(0,h.jsxs)(`section`,{className:m.panel,"aria-labelledby":i,"aria-describedby":t===void 0?void 0:a,children:[(0,h.jsxs)(`div`,{className:m.head,children:[(0,h.jsxs)(`div`,{className:m.heading,children:[(0,h.jsx)(`h2`,{id:i,className:m.title,children:e}),t!==void 0&&(0,h.jsx)(`p`,{id:a,className:m.period,children:t})]}),n]}),r]})}function _({children:e}){return(0,h.jsx)(`p`,{className:m.note,children:e})}function v(){let{stats:e}=a(),n=t(),r=(t,r)=>e.periodCaption(t,u(n,r.from,r.to));return{of:(t,n)=>r(e.periodWindows[t],n),labelled:r}}var y={content:`_content_1axuc_1`,warning:`_warning_1axuc_8`,blocks:`_blocks_1axuc_14`,wide:`_wide_1axuc_20`,note:`_note_1axuc_24`};function b({query:e,empty:t,children:n}){let{stats:i}=a(),o=S(e,t),c=w(i,o),l=o.kind===`failed`?o.error:null,u=o.kind===`ready`||o.kind===`failed`?o.report:void 0,p=C(o),{status:m,keepFocus:g}=f(p===`hidden`,r()?.heading);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(s,{ref:m,state:p,children:[c!==null&&(0,h.jsx)(`p`,{children:c}),l!==null&&(0,h.jsx)(d,{error:l,fetching:e.isFetching,onRetry:()=>{g(),e.refetch()}})]}),u!==void 0&&(0,h.jsx)(`div`,{className:y.content,children:n(u)})]})}function x({query:e,children:n}){let{stats:r}=a(),o=t(),s=e.data?.invalidJournalLines??0,c=e.data?.unknownJournalLines??0,l=e.data?.unparsedTasks??0,u=[s>0?r.invalidJournalLines(s):null,c>0?r.unknownJournalLines(c):null,l>0?r.unparsedTasks(l):null].filter(e=>e!==null);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(i,{className:y.warning,shown:u.length>0,role:`status`,children:u.join(` `)}),(0,h.jsx)(b,{query:e,empty:{isEmpty:e=>e.taskCount===0,message:r.noTasks},children:e=>(0,h.jsxs)(h.Fragment,{children:[n(e),(0,h.jsx)(`p`,{className:y.note,children:T(r,o,e.journalSince)})]})})]})}function S({error:e,data:t},r){if(n(e)===`notFound`)return{kind:`notFound`};let i=t!==void 0&&r?.isEmpty(t)!==!0?t:void 0;return e===null?t===void 0?{kind:`loading`}:i===void 0&&r!==void 0?{kind:`empty`,message:r.message}:{kind:`ready`,report:t}:{kind:`failed`,error:e,report:i}}function C(e){switch(e.kind){case`ready`:return`hidden`;case`loading`:return`waiting`;case`notFound`:case`failed`:case`empty`:return`shown`}}function w(e,t){switch(t.kind){case`notFound`:return e.projectNotFound;case`loading`:return e.loading;case`empty`:return t.message;case`failed`:case`ready`:return null}}function T(e,t,n){return n===null?e.journalEmpty:e.journalSince(l(t,n))}export{g as a,v as i,x as n,_ as o,y as r,b as t};
@@ -0,0 +1 @@
1
+ import{A as e,j as t,ln as n}from"./Page-buthlp0V.js";import{g as r}from"./index-BFmeY_kk.js";var i={scroll:`_scroll_ggj36_1`,table:`_table_ggj36_15`,child:`_child_ggj36_46`,total:`_total_ggj36_50`},a=n();function o({label:n,head:o,rows:s}){let{stats:c}=t(),l=e(),u=e=>typeof e==`number`?r(l,e):e;return(0,a.jsx)(`div`,{className:i.scroll,tabIndex:0,role:`region`,"aria-label":c.tableLabel(n),children:(0,a.jsxs)(`table`,{className:i.table,children:[(0,a.jsx)(`thead`,{children:(0,a.jsx)(`tr`,{children:o.map(e=>(0,a.jsx)(`th`,{scope:`col`,children:e},e))})}),(0,a.jsx)(`tbody`,{children:s.map(e=>(0,a.jsx)(`tr`,{className:e.tone&&i[e.tone],children:e.cells.map((e,t)=>t===0?(0,a.jsx)(`th`,{scope:`row`,children:u(e)},o[t]):(0,a.jsx)(`td`,{children:u(e)},o[t]))},e.key))})]})})}export{o as t};
@@ -0,0 +1 @@
1
+ ._scroll_ggj36_1{background:linear-gradient(to right, var(--surface-raised) 30%, transparent) left / var(--space-5) 100% no-repeat local, linear-gradient(to left, var(--surface-raised) 30%, transparent) right / var(--space-5) 100% no-repeat local, radial-gradient(farthest-side at 0 50%, color-mix(in oklch, var(--ink) 35%, transparent), transparent) left / 10px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, color-mix(in oklch, var(--ink) 35%, transparent), transparent) right / 10px 100% no-repeat scroll;overflow-x:auto}._scroll_ggj36_1:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}._table_ggj36_15{border-collapse:collapse;width:100%;font-size:var(--text-sm);font-variant-numeric:tabular-nums}._table_ggj36_15 th,._table_ggj36_15 td{padding:var(--space-1) var(--space-2);border-bottom:1px solid var(--line);text-align:end;white-space:nowrap}._table_ggj36_15 thead th{color:var(--ink-subtle);font-weight:500}._table_ggj36_15 tbody th{color:var(--ink);font-weight:400}._table_ggj36_15 th:first-child,._table_ggj36_15 td:first-child{text-align:start;padding-inline-start:0}._table_ggj36_15 tbody ._child_ggj36_46>*{color:var(--ink-subtle)}._table_ggj36_15 tbody ._total_ggj36_50>*{font-weight:600}
@@ -0,0 +1 @@
1
+ import{i as e,j as t,ln as n}from"./Page-buthlp0V.js";import{r}from"./StatsTabState-D93FkgT5.js";var i=n();function a({repos:n}){let{stats:a}=t();return n.map(t=>(0,i.jsx)(e,{className:r.warning,role:`status`,children:a.unavailableRepo(t)},t))}export{a as t};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/start-CJ8zVmAB.js","assets/rolldown-runtime-hePW80VL.js","assets/Page-buthlp0V.js","assets/Page-r2s5SXpX.css","assets/web-paths--TbmQ8rA.js","assets/start-CjkFx30s.css"])))=>i.map(i=>d[i]);
2
+ (function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function e(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function t(e,t=`|`){return e.map(e=>y(e)).join(t)}function n(e,t){return typeof t==`bigint`?t.toString():t}var r=class{constructor(e){this._getter=e,this._value=void 0}get value(){let e=this._getter;return e!==void 0&&(this._value=e(),this._getter=void 0),this._value}};function i(e){return new r(e)}function a(e){return e==null}function o(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function s(e,t){let n=e/t,r=Math.round(n),i=4*2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}function c(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function l(e){let t=Object.getOwnPropertyDescriptor(e,`shape`);return t?.get?t.get.raw:t?.value}function u(e){return l(e._zod.def)??e._zod.def.shape}function d(e,t,n){Object.defineProperty(e,t,{get(){let e=n();return c(this,t,e),e},enumerable:!0,configurable:!0})}function f(e,t,n){t in e?c(e,t,n):e[t]=n}function p(e,t,n,r){let i=u(t);for(let a of n){let n=Object.getOwnPropertyDescriptor(i,a);n.enumerable&&(n.get?d(e,a,()=>{let e=t._zod.def.shape[a];return r?r(e,a):e}):f(e,a,r?r(n.value,a):n.value))}}function ee(e,t){for(let n of Reflect.ownKeys(t)){let r=Object.getOwnPropertyDescriptor(t,n);r.enumerable&&(r.get?d(e,n,()=>t[n]):f(e,n,r.value))}}function m(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function te(e){return JSON.stringify(e)}function ne(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var re=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function h(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var ie=i(()=>{if(I.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function g(e){if(h(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return h(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function _(e){return g(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var ae=new Set([`string`,`number`,`symbol`]);function oe(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function v(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function se(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function y(e){return typeof e==`bigint`?e.toString()+`n`:typeof e==`string`?`"${e}"`:`${e}`}function ce(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout===`optional`)}var le={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},ue={int64:[BigInt(`-9223372036854775808`),BigInt(`9223372036854775807`)],uint64:[BigInt(0),BigInt(`18446744073709551615`)]};function de(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);let i={};return p(i,e,b(e,t)),v(e,m(n,{shape:i,checks:[]}))}function b(e,t){let n=u(e),r=[];for(let e of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(n,e)?.enumerable)throw Error(`Unrecognized key: "${String(e)}"`);t[e]&&r.push(e)}return r}function fe(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);let i=new Set(b(e,t)),a={};return p(a,e,Reflect.ownKeys(u(e)).filter(e=>!i.has(e))),v(e,m(n,{shape:a,checks:[]}))}function pe(e,t){if(!g(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=u(e);for(let e of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return v(e,m(e._zod.def,{shape:x(e,t)}))}function x(e,t){let n={};return p(n,e,Reflect.ownKeys(u(e))),ee(n,t),n}function me(e,t){if(!g(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return v(e,m(e._zod.def,{shape:x(e,t)}))}function he(e,t){if(!t?._zod?.def)throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);let n={};return p(n,e,Reflect.ownKeys(u(e))),p(n,t,Reflect.ownKeys(u(t))),v(e,m(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function ge(e,t,n,r=`partial`){let i=t._zod.def.checks;if(i&&i.length>0)throw Error(`.${r}() cannot be used on object schemas containing refinements`);let a=n?new Set(b(t,n)):void 0,o={};return p(o,t,Reflect.ownKeys(u(t)),e&&((t,n)=>a&&!a.has(n)?t:new e({type:`optional`,innerType:t}))),v(t,m(t._zod.def,{shape:o,checks:[]}))}function _e(e,t,n){let r=n?new Set(b(t,n)):void 0,i={};return p(i,t,Reflect.ownKeys(u(t)),(t,n)=>r&&!r.has(n)?t:new e({type:`nonoptional`,innerType:t})),v(t,m(t._zod.def,{shape:i}))}function ve(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function ye(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function be(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function S(e){return typeof e==`string`?e:e?.message}function xe(e,t,n){var r;for(let i=t;i<e.length;i++)(r=e[i]).schema??(r.schema=n)}function Se(e,t,n){var r;let i=e.inst?._zod?.traits;i?.has(`$ZodType`)&&(i.has(`$ZodCheck`)?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);let a=e.schema===e.inst?void 0:e.schema?._zod.def?.error,o=e.message?e.message:S(e.inst?._zod.def?.error?.(e))??S(a?.(e))??S(t?.error?.(e))??S(n.customError?.(e))??S(n.localeError?.(e))??`Invalid input`,s={};for(let t of Object.keys(e))t!==`inst`&&t!==`schema`&&t!==`continue`&&t!==`input`&&t!==`__proto__`&&(s[t]=e[t]);return s.path??=[],s.message=o,t?.reportInput&&(s.input=e.input),s}var Ce=/[\uD800-\uDBFF]/;function C(e){let t=e.length;if(!Ce.test(e))return t;let n=t;for(let r=0;r<t-1;r++)(e.charCodeAt(r)&64512)==55296&&(e.charCodeAt(r+1)&64512)==56320&&(n--,r++);return n}function w(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function T(e){let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`nan`:`number`;case`object`:{if(e===null)return`null`;if(Array.isArray(e))return`array`;let t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&`constructor`in t&&t.constructor)return t.constructor.name}}return t}function E(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}function D(e,t){for(let n in t){let r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:!1}):we(e,n,r.value)}}function O(e,t,n,r=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:r,value:n}),n}function k(e,t,n){return O(e,t,n,!1)}function A(e,t){for(let n in e){let r=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return O(this,n,r(this))},set(e){O(this,n,e)}})}return t}function we(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:O(this,t,n.bind(this))},set(e){O(this,t,e)}})}function Te(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}var j,M=!1,Ee={configurable:!0,get(){M=!0}};function De(e,t,n){let r=Object.getPrototypeOf(e._zod);if(t in r&&j!==e._zod){j=void 0;return}j=e._zod,Object.defineProperty(r,t,{configurable:!0,get(){Object.defineProperty(this,t,Ee);let e=M;M=!1;try{let r=n(this);return M?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:r}),M||=e,r}catch(n){throw delete this[t],M||=e,n}},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})}function Oe(e,t,n,r){let i=Te(e,t);i&&Object.defineProperty(i,t,{configurable:!0,get(){let e={configurable:!0,writable:!0,enumerable:r,value:void 0};return Object.defineProperty(this,t,e),e.value=n(this),Object.defineProperty(this,t,e),e.value},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:r,value:e})}})}var ke=`~constantCatch`;function Ae(e){let t=()=>e;return t[ke]=!0,t}var N,je=Object.freeze({status:`aborted`}),P={value:void 0,enumerable:!1},F=`captureStackTrace`in Error?Error:null;function Me(e){let t=F;if(t){let n=t.stackTraceLimit;if(typeof n==`number`){try{t.stackTraceLimit=0}catch{return F=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function Ne(e,t,n,r){let i={};function a(e){this.def=e,this.constr=d,this.traits=new Set}a.prototype=i;let o=n,s=o&&new WeakSet;function c(n,r){if(!n._zod){P.value=new a(r);try{Object.defineProperty(n,"_zod",P)}finally{P.value=void 0}}else if(n._zod.traits.has(e))return;if(n._zod.traits.add(e),t(n,r),s){let e=Object.getPrototypeOf(n),t=n._zod.constr.prototype,r=e;for(;r&&r!==t;)r=Object.getPrototypeOf(r);let i=r??e;s.has(i)||(s.add(i),D(i,o))}let i=d.prototype;for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(e in n||(n[e]=i[e].bind(n)))}let l=r?.Parent??Object;class u extends l{}Object.defineProperty(u,"name",{value:e});function d(e){let t=r?.Parent?Me(u):this;c(t,e);let n=t._zod.deferred;if(n){for(let e of n)e();t._zod.deferred=void 0}let i=globalThis.__zod_globalConfig?.postProcessor;return i&&i(t),t}return Object.defineProperty(d,"init",{value:c}),Object.defineProperty(d,Symbol.hasInstance,{value:t=>r?.Parent&&t instanceof r.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(d,"name",{value:e}),d}var Pe=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},Fe=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(N=globalThis).__zod_globalConfig??(N.__zod_globalConfig={});var I=globalThis.__zod_globalConfig;function L(e){return e&&Object.assign(I,e),I}var R=36e5,z=24*R;7*z;var Ie=10;function Le(e){return e.slice(0,Ie)}var Re=100;function B(e){return Math.round(e*10)/10}function ze(e){return Math.round(e*Re)}function Be(e){return e.reduce((e,t)=>e+t,0)}var Ve=[`ru`,`en`];function V(e){return e===`ru`?`ru-RU`:`en-US`}function H(e,t){return t.toLocaleString(V(e))}function He(e,t){return t.toLocaleDateString(V(e),{day:`2-digit`,month:`2-digit`})}function Ue(e,t){return new Date(t).toLocaleDateString(V(e),{day:`2-digit`,month:`2-digit`,year:`2-digit`})}var U={day:`numeric`,month:`short`};function We(e,t){return W(t).toLocaleDateString(V(e),U)}function Ge(e,t,n){return new Intl.DateTimeFormat(V(e),U).formatRange(W(t),W(n))}function W(e){return new Date(`${Le(e)}T00:00:00`)}function Ke(e,t){return new Date(t).toLocaleString(V(e),{day:`2-digit`,month:`2-digit`,year:`numeric`,hour:`2-digit`,minute:`2-digit`})}function qe(e,t){return B(t).toLocaleString(V(e),{useGrouping:!1})}function Je(e,t){return t===null?`—`:`$${t.toLocaleString(V(e),{minimumFractionDigits:2,maximumFractionDigits:2})}`}var Ye=new Intl.PluralRules(V(`ru`));function G(e,t,n,r){if(!Number.isInteger(e))return n;switch(Ye.select(e)){case`one`:return t;case`many`:return r;case`zero`:case`two`:case`few`:case`other`:return n}}function K(e,t,n){return e===1?t:n}function q(e,t,n,r){return`${H(`ru`,e)} ${G(e,t,n,r)}`}function J(e,t,n){return`${H(`en`,e)} ${K(e,t,n)}`}var Y={crashTitle:`The backlog interface crashed`,crashHint:`Reload the page. If the error keeps happening, restart the backlog server.`,serverErrorPrefixed:e=>`Server returned an error: ${e}`,serverStatusError:e=>`Server returned an error ${e}. Retry; if it keeps failing, restart the backlog server.`,unreachableMessage:e=>[`The backlog server is not responding. Start it: `,e(`npm start`),` in the p-backlog repository, or, if you installed the LaunchAgent from the README, `,e(`launchctl kickstart -k gui/$(id -u)/local.p-backlog`)],scopeNote:(e,t)=>`${e} of ${t} ${K(t,`project`,`projects`)} included`,bootLoadError:`Couldn't load the interface — reload the page`,bootSettingsError:`Backlog server is not responding`,bootRetry:`Retry`},X={crashTitle:`Интерфейс беклога сломался`,crashHint:`Обновите страницу. Если ошибка повторится, перезапустите сервер беклога.`,serverErrorPrefixed:e=>`Сервер вернул ошибку: ${e}`,serverStatusError:e=>`Сервер вернул ошибку ${e}. Повторите; если не проходит — перезапустите сервер беклога.`,unreachableMessage:e=>[`Сервер беклога не отвечает. Запустите его: `,e(`npm start`),` в репозитории p-backlog или, если установлен LaunchAgent из README, `,e(`launchctl kickstart -k gui/$(id -u)/local.p-backlog`)],scopeNote:(e,t)=>`учтено ${e} из ${q(t,`проекта`,`проектов`,`проектов`)}`,bootLoadError:`Не удалось загрузить интерфейс — обновите страницу`,bootSettingsError:`Сервер беклога не отвечает`,bootRetry:`Повторить`};function Z(e){return`${e(X)} · ${e(Y)}`}var Xe=`modulepreload`,Ze=function(e){return`/`+e},Q={},$=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=Ze(t,n),t=s(t),t in Q)return;Q[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:Xe,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};L({jitless:!0}),$(async()=>{let{startApp:e}=await import(`./start-CJ8zVmAB.js`);return{startApp:e}},__vite__mapDeps([0,1,2,3,4,5])).then(({startApp:e})=>e()).catch(Qe);function Qe(){let e=document.createElement(`p`);e.setAttribute(`role`,`alert`),e.textContent=Z(e=>e.bootLoadError),(document.getElementById(`root`)??document.body).replaceChildren(e)}export{k as $,I as A,v as B,z as C,y as Ct,Ne as D,Fe as E,c as F,te as G,Ae as H,xe as I,pe as J,oe as K,i as L,le as M,ve as N,je as O,ie as P,w as Q,re as R,ze as S,ne as St,Pe as T,De as U,C as V,A as W,s as X,Se as Y,e as Z,W as _,ae as _t,J as a,n as at,B as b,me as bt,G as c,se as ct,We as d,ce as dt,Oe as et,He as f,O as ft,H as g,be as gt,Je as h,de as ht,Y as i,t as it,ue as j,L as k,Ue as l,a as lt,qe as m,ge as mt,Z as n,g as nt,q as o,he as ot,Ge as p,T as pt,ye as q,X as r,E as rt,K as s,m as st,$ as t,h as tt,Ke as u,fe as ut,Ve as v,l as vt,R as w,Be as x,_ as xt,V as y,_e as yt,o as z};