nolzu 0.0.1 → 0.1.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.
- package/LICENSE +105 -0
- package/README.md +24 -7
- package/build/client/_app/immutable/assets/0.SPD4wYkc.css +1 -0
- package/build/client/_app/immutable/assets/1.BRilEoOO.css +1 -0
- package/build/client/_app/immutable/assets/10.DwLiBGDj.css +1 -0
- package/build/client/_app/immutable/assets/11.D_TtWT3D.css +1 -0
- package/build/client/_app/immutable/assets/12.CSVGmtUY.css +1 -0
- package/build/client/_app/immutable/assets/13.qTa7IHbg.css +1 -0
- package/build/client/_app/immutable/assets/19.CbCFXKb8.css +1 -0
- package/build/client/_app/immutable/assets/2.CfHhgI77.css +1 -0
- package/build/client/_app/immutable/assets/20.C5CSZhyT.css +1 -0
- package/build/client/_app/immutable/assets/21.BBpYkZcc.css +1 -0
- package/build/client/_app/immutable/assets/22.C9RgY9kl.css +1 -0
- package/build/client/_app/immutable/assets/23.B6Dp9RJO.css +1 -0
- package/build/client/_app/immutable/assets/24.C7g2abUW.css +1 -0
- package/build/client/_app/immutable/assets/26.DTMI6ROV.css +1 -0
- package/build/client/_app/immutable/assets/27.AxXMpDkB.css +1 -0
- package/build/client/_app/immutable/assets/28.939ac-98.css +1 -0
- package/build/client/_app/immutable/assets/3.3lqex1t-.css +1 -0
- package/build/client/_app/immutable/assets/4.C52MzO_d.css +1 -0
- package/build/client/_app/immutable/assets/5.CsfJAwvS.css +1 -0
- package/build/client/_app/immutable/assets/8.ByspUp-s.css +1 -0
- package/build/client/_app/immutable/assets/9.BCSFZmce.css +1 -0
- package/build/client/_app/immutable/assets/Banner.DDqfpWLD.css +1 -0
- package/build/client/_app/immutable/assets/BoardOff.mpX08-Be.css +1 -0
- package/build/client/_app/immutable/assets/Button.BlwsEgUc.css +1 -0
- package/build/client/_app/immutable/assets/Chip.qAAa6_e5.css +1 -0
- package/build/client/_app/immutable/assets/Dialog.D5Ln60a8.css +1 -0
- package/build/client/_app/immutable/assets/FeaturePanels.DZ_Mth5M.css +1 -0
- package/build/client/_app/immutable/assets/FolderBrowser.DBmRWDCH.css +1 -0
- package/build/client/_app/immutable/assets/Geist-Variable.Bj2R_7yk.woff2 +0 -0
- package/build/client/_app/immutable/assets/GeistMono-Variable.Dispecij.woff2 +0 -0
- package/build/client/_app/immutable/assets/HelpTip.DF6T9nns.css +1 -0
- package/build/client/_app/immutable/assets/InfoBox.CpavOykF.css +1 -0
- package/build/client/_app/immutable/assets/KeyCaps.D2t-lY-8.css +1 -0
- package/build/client/_app/immutable/assets/LogLine.Bu4feLn5.css +1 -0
- package/build/client/_app/immutable/assets/Markdown.DI6AtWAc.css +1 -0
- package/build/client/_app/immutable/assets/ModelPicker.DQzj7Nj8.css +1 -0
- package/build/client/_app/immutable/assets/OptionButtons.BYiyOXOE.css +1 -0
- package/build/client/_app/immutable/assets/PeekPanel.DzMdHoqg.css +1 -0
- package/build/client/_app/immutable/assets/ScoutPage.CVIiLy5c.css +1 -0
- package/build/client/_app/immutable/assets/SetupSteps.B6pZP1Bk.css +1 -0
- package/build/client/_app/immutable/assets/Skeleton.BC-1_U5d.css +1 -0
- package/build/client/_app/immutable/assets/SlotsMeter.Dq7GGYlD.css +1 -0
- package/build/client/_app/immutable/assets/StartConfirm.DxNN2AOb.css +1 -0
- package/build/client/_app/immutable/assets/StatePill.CGWFVUUg.css +1 -0
- package/build/client/_app/immutable/assets/Streamed.DpZ6wgO2.css +1 -0
- package/build/client/_app/immutable/assets/card-pulls.C5uGMuAh.css +1 -0
- package/build/client/_app/immutable/assets/next-step.CKg1w06J.css +1 -0
- package/build/client/_app/immutable/chunks/-B5EclhK.js +1 -0
- package/build/client/_app/immutable/chunks/-Q3zApAy.js +1 -0
- package/build/client/_app/immutable/chunks/6-hwN_Ik.js +3 -0
- package/build/client/_app/immutable/chunks/B16UF4PA.js +11 -0
- package/build/client/_app/immutable/chunks/B1V3h1VF.js +1 -0
- package/build/client/_app/immutable/chunks/B2d2Mkuz.js +68 -0
- package/build/client/_app/immutable/chunks/B2yzhiEa.js +1 -0
- package/build/client/_app/immutable/chunks/B5zDDQUU.js +2 -0
- package/build/client/_app/immutable/chunks/B8DHSiWf.js +1 -0
- package/build/client/_app/immutable/chunks/B8z33EzI.js +1 -0
- package/build/client/_app/immutable/chunks/BCRkrH6c.js +1 -0
- package/build/client/_app/immutable/chunks/BCScjOxu.js +1 -0
- package/build/client/_app/immutable/chunks/BMUQtCEC.js +1 -0
- package/build/client/_app/immutable/chunks/BNnfkvZM.js +1 -0
- package/build/client/_app/immutable/chunks/BelWyZaW.js +1 -0
- package/build/client/_app/immutable/chunks/BhZpqODT.js +1 -0
- package/build/client/_app/immutable/chunks/Bjy-W4x2.js +81 -0
- package/build/client/_app/immutable/chunks/BmafI-Bs.js +1 -0
- package/build/client/_app/immutable/chunks/BvRk9kiK.js +0 -0
- package/build/client/_app/immutable/chunks/C4i6bdQg.js +1 -0
- package/build/client/_app/immutable/chunks/C8u5TyIB.js +1 -0
- package/build/client/_app/immutable/chunks/CFs2xhoy.js +1 -0
- package/build/client/_app/immutable/chunks/CIm2DioU.js +1 -0
- package/build/client/_app/immutable/chunks/CONqGBXC.js +1 -0
- package/build/client/_app/immutable/chunks/CSOz40qO.js +1 -0
- package/build/client/_app/immutable/chunks/CXxuD1ef.js +3 -0
- package/build/client/_app/immutable/chunks/CarrGsZA.js +2 -0
- package/build/client/_app/immutable/chunks/CdrmTD44.js +1 -0
- package/build/client/_app/immutable/chunks/CfJRH9gh.js +2 -0
- package/build/client/_app/immutable/chunks/Ci7C9Cki.js +1 -0
- package/build/client/_app/immutable/chunks/CkOTL1vK.js +1 -0
- package/build/client/_app/immutable/chunks/CngTtGc_.js +1 -0
- package/build/client/_app/immutable/chunks/Cp3A1zR8.js +1 -0
- package/build/client/_app/immutable/chunks/CwtMnwNL.js +3 -0
- package/build/client/_app/immutable/chunks/Cy7f_oXg.js +1 -0
- package/build/client/_app/immutable/chunks/D-wwLm5t.js +1 -0
- package/build/client/_app/immutable/chunks/D2imbgaf.js +1 -0
- package/build/client/_app/immutable/chunks/D32mip60.js +1 -0
- package/build/client/_app/immutable/chunks/D46Vk19W.js +1 -0
- package/build/client/_app/immutable/chunks/DCUUgo-6.js +1 -0
- package/build/client/_app/immutable/chunks/DFjnjJjy.js +1 -0
- package/build/client/_app/immutable/chunks/DHMbSbMg.js +1 -0
- package/build/client/_app/immutable/chunks/DJOFx2wx.js +1 -0
- package/build/client/_app/immutable/chunks/DV4tvxHp.js +3 -0
- package/build/client/_app/immutable/chunks/DXk_5YEw.js +1 -0
- package/build/client/_app/immutable/chunks/DjgnRLJt.js +1 -0
- package/build/client/_app/immutable/chunks/DlWlQ_vP.js +1 -0
- package/build/client/_app/immutable/chunks/DpIAei2y.js +2 -0
- package/build/client/_app/immutable/chunks/Dt-HX3Vu.js +1 -0
- package/build/client/_app/immutable/chunks/DuSthUWX.js +1 -0
- package/build/client/_app/immutable/chunks/Ecfl8TOn.js +2 -0
- package/build/client/_app/immutable/chunks/ITHE99Aa.js +1 -0
- package/build/client/_app/immutable/chunks/Khdge0KS.js +1 -0
- package/build/client/_app/immutable/chunks/LMEKNlm0.js +1 -0
- package/build/client/_app/immutable/chunks/OnIeaiuO.js +1 -0
- package/build/client/_app/immutable/chunks/VFQLu55q.js +1 -0
- package/build/client/_app/immutable/chunks/ZsUxKnQw.js +1 -0
- package/build/client/_app/immutable/chunks/aWP8DVhV.js +1 -0
- package/build/client/_app/immutable/chunks/bB04Xp1f.js +1 -0
- package/build/client/_app/immutable/chunks/eylBqhv8.js +3 -0
- package/build/client/_app/immutable/chunks/hx0ssLL_.js +2 -0
- package/build/client/_app/immutable/chunks/mumDj17t.js +1 -0
- package/build/client/_app/immutable/chunks/pZYp3_TE.js +1 -0
- package/build/client/_app/immutable/chunks/tImwjqWn.js +1 -0
- package/build/client/_app/immutable/chunks/uBIymjUX.js +1 -0
- package/build/client/_app/immutable/chunks/xihTtKlq.js +1 -0
- package/build/client/_app/immutable/entry/app.DVZ1wE36.js +2 -0
- package/build/client/_app/immutable/entry/start.DluCc61B.js +1 -0
- package/build/client/_app/immutable/nodes/0.CwNFevXf.js +1 -0
- package/build/client/_app/immutable/nodes/1.BR6FYiC-.js +1 -0
- package/build/client/_app/immutable/nodes/10.wNwBFtom.js +2 -0
- package/build/client/_app/immutable/nodes/11.DpoIbMNF.js +2 -0
- package/build/client/_app/immutable/nodes/12.CWdUJ8l3.js +2 -0
- package/build/client/_app/immutable/nodes/13.CZ2uTvNS.js +1 -0
- package/build/client/_app/immutable/nodes/14.CzgyXuvL.js +1 -0
- package/build/client/_app/immutable/nodes/15.CzgyXuvL.js +1 -0
- package/build/client/_app/immutable/nodes/16.odL9eB2N.js +1 -0
- package/build/client/_app/immutable/nodes/17.B-RnUeVU.js +1 -0
- package/build/client/_app/immutable/nodes/18.BLYKxyq2.js +1 -0
- package/build/client/_app/immutable/nodes/19.CgyFfPqF.js +3 -0
- package/build/client/_app/immutable/nodes/2.CCWT41Qr.js +1 -0
- package/build/client/_app/immutable/nodes/20.BBk5-krg.js +1 -0
- package/build/client/_app/immutable/nodes/21.CJoU3s1A.js +2 -0
- package/build/client/_app/immutable/nodes/22.CoRvPh8m.js +1 -0
- package/build/client/_app/immutable/nodes/23.zXO3NjnM.js +3 -0
- package/build/client/_app/immutable/nodes/24.CmO27TED.js +1 -0
- package/build/client/_app/immutable/nodes/26.TVKNr_xX.js +18 -0
- package/build/client/_app/immutable/nodes/27.RojtGU_o.js +1 -0
- package/build/client/_app/immutable/nodes/28.CVTdeeSI.js +2 -0
- package/build/client/_app/immutable/nodes/3.Cgib7Vi6.js +1 -0
- package/build/client/_app/immutable/nodes/4.CnMwOCec.js +1 -0
- package/build/client/_app/immutable/nodes/5.-NqYtQj_.js +1 -0
- package/build/client/_app/immutable/nodes/6.D5xk-UBM.js +1 -0
- package/build/client/_app/immutable/nodes/7.IL4b-DII.js +1 -0
- package/build/client/_app/immutable/nodes/8.DJrguHjO.js +11 -0
- package/build/client/_app/immutable/nodes/9.DTUSzWiK.js +1 -0
- package/build/client/_app/version.json +1 -0
- package/build/client/favicon.svg +7 -0
- package/build/env.js +70 -0
- package/build/handler.js +26 -0
- package/build/index.js +149 -0
- package/build/server/chunks/chunks/Banner.js-D4mtxUfF.js +17 -0
- package/build/server/chunks/chunks/BoardOff.js-Dg5-LoR3.js +1627 -0
- package/build/server/chunks/chunks/Button.js-Buh9rnpu.js +43 -0
- package/build/server/chunks/chunks/Chip.js-xZ7vFkHx.js +12 -0
- package/build/server/chunks/chunks/Dialog.js-CGpwdpM-.js +60 -0
- package/build/server/chunks/chunks/FeaturePanels.js-B2sKozgF.js +84 -0
- package/build/server/chunks/chunks/FolderBrowser.js-DUHFhDaX.js +28 -0
- package/build/server/chunks/chunks/HelpTip.js-CzemvmjC.js +19 -0
- package/build/server/chunks/chunks/InfoBox.js-BJiVzZgw.js +10 -0
- package/build/server/chunks/chunks/KeyCaps.js-BMI2Hrh2.js +37 -0
- package/build/server/chunks/chunks/LogLine.js-2b7uX__H.js +35 -0
- package/build/server/chunks/chunks/Markdown.js-Clud88KU.js +4233 -0
- package/build/server/chunks/chunks/ModelPicker.js-FuBgyKIA.js +141 -0
- package/build/server/chunks/chunks/OptionButtons.js-LQKrAwUX.js +28 -0
- package/build/server/chunks/chunks/PeekPanel.js-aZ-r_v3N.js +375 -0
- package/build/server/chunks/chunks/ScoutPage.js-2DcNia96.js +733 -0
- package/build/server/chunks/chunks/SetupSteps.js-D7TAF7xa.js +66 -0
- package/build/server/chunks/chunks/Skeleton.js-diCP2sd5.js +30 -0
- package/build/server/chunks/chunks/SlotsMeter.js-BV_sAGf5.js +18 -0
- package/build/server/chunks/chunks/StartConfirm.js-CzEdFtbO.js +124 -0
- package/build/server/chunks/chunks/StatePill.js-CM7-HXNM.js +27 -0
- package/build/server/chunks/chunks/Streamed.js-_NgwNMMs.js +43 -0
- package/build/server/chunks/chunks/_page.server.js-BaGoctEY.js +1419 -0
- package/build/server/chunks/chunks/activity.js-CSoPUQLq.js +84 -0
- package/build/server/chunks/chunks/add-repo.js-DtHEobfm.js +305 -0
- package/build/server/chunks/chunks/app-header.js-CCflgeEQ.js +13 -0
- package/build/server/chunks/chunks/app.js-CuPn8jtk.js +12 -0
- package/build/server/chunks/chunks/bin.js-Cyb2cYLc.js +58 -0
- package/build/server/chunks/chunks/board-keys.js-CW3qw-MC.js +32 -0
- package/build/server/chunks/chunks/board-page.js-D0tdsE9J.js +860 -0
- package/build/server/chunks/chunks/board.js-BxL3CjB1.js +203 -0
- package/build/server/chunks/chunks/browser-test.js-DJEpOoVz.js +170 -0
- package/build/server/chunks/chunks/card-pulls.js-d_uGmBB3.js +229 -0
- package/build/server/chunks/chunks/card-repos.js-QaMCxiyV.js +59 -0
- package/build/server/chunks/chunks/chain-store.js-D42m8DUo.js +91 -0
- package/build/server/chunks/chunks/chain.js-CJFRywIC.js +52 -0
- package/build/server/chunks/chunks/changes.js-D8ITRMgU.js +513 -0
- package/build/server/chunks/chunks/checkout.js-Ys5L_gA4.js +319 -0
- package/build/server/chunks/chunks/client.js-B7jIMDuS.js +68 -0
- package/build/server/chunks/chunks/clipboard.js-qXskOBim.js +12 -0
- package/build/server/chunks/chunks/cloud-status.js-hy-9zUVX.js +95 -0
- package/build/server/chunks/chunks/coach.js-BhNB14rV.js +296 -0
- package/build/server/chunks/chunks/comments.js-1nWJQptB.js +311 -0
- package/build/server/chunks/chunks/commit-message.js-CMcNZUZw.js +8 -0
- package/build/server/chunks/chunks/create-card.js-DKtprMG6.js +498 -0
- package/build/server/chunks/chunks/db.js-pqoVpAzG.js +80 -0
- package/build/server/chunks/chunks/diff-comments.js-BSCuay_U.js +95 -0
- package/build/server/chunks/chunks/discussion.js-rJ5OMfvX.js +355 -0
- package/build/server/chunks/chunks/display.js-Bf-vGQ7Q.js +61 -0
- package/build/server/chunks/chunks/elapsed.js-DikkNhaD.js +27 -0
- package/build/server/chunks/chunks/engine.js-DS5zUwsE.js +115 -0
- package/build/server/chunks/chunks/env.js-l0sNRNKZ.js +2 -0
- package/build/server/chunks/chunks/estimate.js-BHTYVTaQ.js +2484 -0
- package/build/server/chunks/chunks/evidence-timeline.js-Dk0dTZIy.js +253 -0
- package/build/server/chunks/chunks/evidence.js-CT3tWdbB.js +257 -0
- package/build/server/chunks/chunks/exports.js-Hn-WQRMB.js +150 -0
- package/build/server/chunks/chunks/features.svelte.js-DNsFmFZb.js +10 -0
- package/build/server/chunks/chunks/files.js-V46lE0-6.js +46 -0
- package/build/server/chunks/chunks/filter.js-CsmCtJMd.js +11 -0
- package/build/server/chunks/chunks/forms.js-03E8qnFz.js +35 -0
- package/build/server/chunks/chunks/gate.js-Cbqo8Yy0.js +82 -0
- package/build/server/chunks/chunks/getting-started.js-DKbHofN5.js +55 -0
- package/build/server/chunks/chunks/git.js-l43vBHqs.js +16 -0
- package/build/server/chunks/chunks/home-path.js-BXgrl3TP.js +11 -0
- package/build/server/chunks/chunks/hub-link.js-B5kjLyyd.js +1532 -0
- package/build/server/chunks/chunks/internal.js-DaSBO6jY.js +1239 -0
- package/build/server/chunks/chunks/internal2.js-D6AKyUgY.js +27 -0
- package/build/server/chunks/chunks/knowledge-page.js-D2ALB3v9.js +292 -0
- package/build/server/chunks/chunks/knowledge-revert.js-2eyN9Lcb.js +109 -0
- package/build/server/chunks/chunks/knowledge.js--eAgdzNx.js +394 -0
- package/build/server/chunks/chunks/last-board.js-BemeiK3t.js +23 -0
- package/build/server/chunks/chunks/log.js-R2zUph6T.js +228 -0
- package/build/server/chunks/chunks/loop.js-D3guWKLp.js +4038 -0
- package/build/server/chunks/chunks/loop2.js-B_Qd2m4y.js +67 -0
- package/build/server/chunks/chunks/navigation.js-DQJMz-SM.js +2 -0
- package/build/server/chunks/chunks/new-project.js-DNcr9JpB.js +305 -0
- package/build/server/chunks/chunks/next-step.js-B8Kl0Iv9.js +522 -0
- package/build/server/chunks/chunks/node.js-Bz2jT5wt.js +3381 -0
- package/build/server/chunks/chunks/now-live.svelte.js-hIaDgjJ3.js +13 -0
- package/build/server/chunks/chunks/now-snapshot.js-zGKLIzox.js +207 -0
- package/build/server/chunks/chunks/now.js-Dfm-o0Ha.js +765 -0
- package/build/server/chunks/chunks/onboard.js-LBqPOxyU.js +1525 -0
- package/build/server/chunks/chunks/ordinal.js-Bm_9QEBD.js +12 -0
- package/build/server/chunks/chunks/overview.js-C32iHkXD.js +1108 -0
- package/build/server/chunks/chunks/page-keys.svelte.js-D8vXA_8Z.js +14 -0
- package/build/server/chunks/chunks/patch.js-Bl7vwsUj.js +62 -0
- package/build/server/chunks/chunks/paths.js-DVRjNYFW.js +19 -0
- package/build/server/chunks/chunks/peek.js-D9sSjT9t.js +95 -0
- package/build/server/chunks/chunks/plan.js-DFq5ntMM.js +143 -0
- package/build/server/chunks/chunks/project-files-notice.js-CcqcBgUP.js +19 -0
- package/build/server/chunks/chunks/project-files.js-DTC4jUxy.js +52 -0
- package/build/server/chunks/chunks/project-folder.js-CoKgPiM0.js +22 -0
- package/build/server/chunks/chunks/projects.js-bw2V11od.js +989 -0
- package/build/server/chunks/chunks/prs.js-CLfImauu.js +118 -0
- package/build/server/chunks/chunks/publish.js-D2vWpIJU.js +195 -0
- package/build/server/chunks/chunks/pull-list.js-BCIBJdyz.js +691 -0
- package/build/server/chunks/chunks/qa-ask.svelte.js-8Hf1JWW2.js +47 -0
- package/build/server/chunks/chunks/qa-setup.js-DFOEcNxH.js +1241 -0
- package/build/server/chunks/chunks/quiet.js-1GKY40Ay.js +104 -0
- package/build/server/chunks/chunks/rail.js-BePBwOqZ.js +135 -0
- package/build/server/chunks/chunks/review.js-MPqnq9Gy.js +98 -0
- package/build/server/chunks/chunks/routing.js-B8s1QwSP.js +265 -0
- package/build/server/chunks/chunks/run-log.js-CnN2jOcg.js +94 -0
- package/build/server/chunks/chunks/run.js-COSejjLl.js +34 -0
- package/build/server/chunks/chunks/scout-findings.js-CqJti10a.js +940 -0
- package/build/server/chunks/chunks/scout.js-Bm7wQLX2.js +62 -0
- package/build/server/chunks/chunks/sentinels.js-BXvpnzr3.js +13 -0
- package/build/server/chunks/chunks/server.js-BR0D07DR.js +3803 -0
- package/build/server/chunks/chunks/settings-sections.js-V70W7BkZ.js +103 -0
- package/build/server/chunks/chunks/shared.js-BgfCUZUJ.js +776 -0
- package/build/server/chunks/chunks/sign-in.js-O-pBhi19.js +14 -0
- package/build/server/chunks/chunks/snapshot.js-BekzL_He.js +38 -0
- package/build/server/chunks/chunks/spend.js-BabnR69T.js +63 -0
- package/build/server/chunks/chunks/src.js-Cm8RAH_q.js +609 -0
- package/build/server/chunks/chunks/src2.js-CV8tsClO.js +1186 -0
- package/build/server/chunks/chunks/src3.js-h9tTEbVb.js +11222 -0
- package/build/server/chunks/chunks/stack.js-CMWXhMZS.js +13 -0
- package/build/server/chunks/chunks/standup.js-D-qBnMx4.js +103 -0
- package/build/server/chunks/chunks/state.js-BTDrgu7s.js +71 -0
- package/build/server/chunks/chunks/stream.js-D6r6iqjD.js +66 -0
- package/build/server/chunks/chunks/terms.js-DPZztSEn.js +88 -0
- package/build/server/chunks/chunks/ticket-system.js-Dj9R3XJw.js +147 -0
- package/build/server/chunks/chunks/ticket.js-6sj-2ZEM.js +110 -0
- package/build/server/chunks/chunks/timesheet.js-DfhIokoE.js +212 -0
- package/build/server/chunks/chunks/timesheet2.js-Cu95ddl3.js +84 -0
- package/build/server/chunks/chunks/to-workspace.js-DiOJP59J.js +308 -0
- package/build/server/chunks/chunks/toast-stack.svelte.js-CXIg3_KT.js +10 -0
- package/build/server/chunks/chunks/uneval.js-VnZcgzZr.js +488 -0
- package/build/server/chunks/chunks/utils.js-DQTBh7_6.js +1006 -0
- package/build/server/chunks/chunks/when-said.js-0F9asAma.js +35 -0
- package/build/server/chunks/chunks/workspace.js-BBdJRon9.js +212 -0
- package/build/server/chunks/entries/endpoints/api/board/_server.ts.js-BlYC_lpV.js +69 -0
- package/build/server/chunks/entries/endpoints/api/board/minimize/_server.ts.js-Wddt9YPR.js +68 -0
- package/build/server/chunks/entries/endpoints/api/board/move/_server.ts.js-BwZpCKx0.js +68 -0
- package/build/server/chunks/entries/endpoints/api/board/promote/_server.ts.js-Cw6kvkMq.js +68 -0
- package/build/server/chunks/entries/endpoints/api/board/pulls/_server.ts.js-DFhpbiMo.js +71 -0
- package/build/server/chunks/entries/endpoints/api/board/stop/_server.ts.js-D5eylDMw.js +68 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/answer/_server.ts.js-CG8xh52y.js +68 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/branch/_server.ts.js-a5_P9voA.js +40 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/chain/_server.ts.js-tJvQy6RK.js +70 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/checkouts/_server.ts.js-B2_gx6vF.js +41 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/choice/_server.ts.js-pmAdIQkK.js +34 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/comments/_id_/_server.ts.js-C5NxGWw3.js +68 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/comments/_server.ts.js-0rw7UNv8.js +64 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/commit/_server.ts.js-_yXWCOlQ.js +68 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/commit-diff/_server.ts.js-CRPV3z-g.js +61 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/commit-message/_server.ts.js-CO9mD3u6.js +82 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/context/_server.ts.js-7kzrigFz.js +42 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/delete/_server.ts.js-DH0nO9wG.js +516 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/file/_server.ts.js-D80SvJDi.js +35 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/files/_...path_/_server.ts.js-GxFjb2H0.js +34 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/fix/_server.ts.js-B-HAB050.js +68 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/knowledge/_server.ts.js-D4fN-j7X.js +81 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/link/_other_/_server.ts.js-C00pQDCu.js +42 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/log/_server.ts.js-BXW_tG-I.js +32 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/log/raw/_server.ts.js-pT8StZGR.js +32 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/message/_server.ts.js-ZMno2Hu6.js +68 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/models/_server.ts.js-DEZVpqO3.js +73 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/patch/_server.ts.js-BxfLi-Zs.js +61 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/peek/_server.ts.js-CsTKWIP_.js +169 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/pr/_server.ts.js-CsOeAXkf.js +53 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/pr/comments/_server.ts.js-DZ2XHOhF.js +71 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/pr/discuss/_server.ts.js-CO8eM0e8.js +72 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/pr/discussions/_server.ts.js-Lp7l0Yqv.js +71 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/pr/fix/_server.ts.js-CeIhjpQ4.js +68 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/pr/fix-all/_server.ts.js-D-DKoCpQ.js +68 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/pr/links/_server.ts.js-B_q3jUP3.js +72 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/pr/qa/_server.ts.js-BulVcJY9.js +68 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/pr/seen/_server.ts.js-Z06A6MS1.js +71 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/pr/triage/_server.ts.js-qADU4URF.js +68 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/pull/_server.ts.js-CHnTH9WK.js +58 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/push/_server.ts.js-BPdPwPo2.js +83 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/repos/_server.ts.js-Bjqa3Uoo.js +73 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/research/_server.ts.js-DzQjoHOZ.js +138 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/retry/_server.ts.js-CAodrXqd.js +68 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/send-back/_server.ts.js-CmJSnvTx.js +68 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/stack/_server.ts.js-DjI8S94J.js +82 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/tasks/_server.ts.js-BzX_nNJk.js +71 -0
- package/build/server/chunks/entries/endpoints/api/card/_key_/thread/_server.ts.js-Dn36Guxk.js +33 -0
- package/build/server/chunks/entries/endpoints/api/cards/_server.ts.js-DPMOBsvp.js +77 -0
- package/build/server/chunks/entries/endpoints/api/cards/context/_server.ts.js-D6y-g2O-.js +52 -0
- package/build/server/chunks/entries/endpoints/api/cards/next/_server.ts.js-C2se67rf.js +55 -0
- package/build/server/chunks/entries/endpoints/api/chain/_server.ts.js-DKO5Q8GV.js +70 -0
- package/build/server/chunks/entries/endpoints/api/clones/_server.ts.js-Bgcc_Beg.js +56 -0
- package/build/server/chunks/entries/endpoints/api/current-project/_server.ts.js-DZCtSlXs.js +81 -0
- package/build/server/chunks/entries/endpoints/api/evidence/timesheet/_server.ts.js-xJwzSrcl.js +32 -0
- package/build/server/chunks/entries/endpoints/api/folders/_server.ts.js-BdcE7k8S.js +83 -0
- package/build/server/chunks/entries/endpoints/api/gh/_server.ts.js-CGvM8fn7.js +66 -0
- package/build/server/chunks/entries/endpoints/api/gh/name/_server.ts.js-CHh3tAu7.js +36 -0
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-DLUfrHo6.js +22 -0
- package/build/server/chunks/entries/endpoints/api/login-item/_server.ts.js-Cya7S7W6.js +77 -0
- package/build/server/chunks/entries/endpoints/api/notes/_server.ts.js-DaUFVqSM.js +26 -0
- package/build/server/chunks/entries/endpoints/api/notifications/_server.ts.js-DK6NFnII.js +76 -0
- package/build/server/chunks/entries/endpoints/api/now/_server.ts.js-xW0jeJdy.js +83 -0
- package/build/server/chunks/entries/endpoints/api/package/entry/_server.ts.js-DQyZanpo.js +35 -0
- package/build/server/chunks/entries/endpoints/api/projects/_server.ts.js-CzXJTj_l.js +58 -0
- package/build/server/chunks/entries/endpoints/api/qa-setup/_server.ts.js-DujrYbEP.js +76 -0
- package/build/server/chunks/entries/endpoints/api/remove-check/_server.ts.js-1KAi9LDi.js +58 -0
- package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-D0MKtjR7.js +69 -0
- package/build/server/chunks/entries/endpoints/api/tickets/jira/_server.ts.js-Z2LdOr5l.js +39 -0
- package/build/server/chunks/entries/endpoints/api/tickets/read/_server.ts.js-BziHtc8Y.js +68 -0
- package/build/server/chunks/entries/endpoints/api/tools/_server.ts.js-oyvq8i1y.js +30 -0
- package/build/server/chunks/entries/endpoints/api/workspace/_server.ts.js-CMGBL5cX.js +58 -0
- package/build/server/chunks/entries/endpoints/api/workspace/commit/_server.ts.js-BZQQJ1YG.js +66 -0
- package/build/server/chunks/entries/endpoints/api/workspace/patch/_server.ts.js-xrjgHECx.js +64 -0
- package/build/server/chunks/entries/endpoints/api/workspace/push/_server.ts.js-CTdia7Uz.js +66 -0
- package/build/server/chunks/entries/hooks.server.js-B0jE-ELC.js +211 -0
- package/build/server/chunks/entries/pages/_error.svelte.js-DPcKI5sX.js +25 -0
- package/build/server/chunks/entries/pages/_layout.server.ts.js-Jj3i2Th9.js +134 -0
- package/build/server/chunks/entries/pages/_layout.svelte.js-Cu3ghN80.js +1251 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-DEYydBCm.js +662 -0
- package/build/server/chunks/entries/pages/accept/_page.server.ts.js-BF7MrA5s.js +29 -0
- package/build/server/chunks/entries/pages/accept/_page.svelte.js-8yPsedd-.js +54 -0
- package/build/server/chunks/entries/pages/b/_board_/_page.svelte.js-S9acLF3f.js +68 -0
- package/build/server/chunks/entries/pages/b/_board_/_page.ts.js-BcKdG_Tp.js +21 -0
- package/build/server/chunks/entries/pages/b/research/_page.svelte.js-FW6Hw9g5.js +68 -0
- package/build/server/chunks/entries/pages/b/research/_page.ts.js-Ds2AjFFK.js +13 -0
- package/build/server/chunks/entries/pages/evidence/_page.server.ts.js-uwu2X7bA.js +1382 -0
- package/build/server/chunks/entries/pages/evidence/_page.svelte.js-DBCjiT59.js +594 -0
- package/build/server/chunks/entries/pages/f/_...path_/_page.svelte.js-DxwJaJzh.js +58 -0
- package/build/server/chunks/entries/pages/knowledge/_page.server.ts.js-BAUvFEcM.js +80 -0
- package/build/server/chunks/entries/pages/knowledge/_page.svelte.js-D9117gHM.js +732 -0
- package/build/server/chunks/entries/pages/new/_page.server.ts.js-BNCQQpyw.js +110 -0
- package/build/server/chunks/entries/pages/new/_page.svelte.js-Ben8-N_h.js +503 -0
- package/build/server/chunks/entries/pages/new/idea/_page.server.ts.js-jssA29y3.js +46 -0
- package/build/server/chunks/entries/pages/new/idea/_page.svelte.js-XoKspqAc.js +210 -0
- package/build/server/chunks/entries/pages/new/task/_page.server.ts.js-CmZgfvyt.js +66 -0
- package/build/server/chunks/entries/pages/new/task/_page.svelte.js-BKpERKvm.js +169 -0
- package/build/server/chunks/entries/pages/onboard/_page.server.ts.js-pmc_pXvs.js +12 -0
- package/build/server/chunks/entries/pages/onboard/_page.svelte.js-C7LNK-ba.js +5 -0
- package/build/server/chunks/entries/pages/projects/_page.server.ts.js-BEhLRfJ_.js +12 -0
- package/build/server/chunks/entries/pages/projects/_page.svelte.js-OraOjsyb.js +5 -0
- package/build/server/chunks/entries/pages/scout/_page.server.ts.js-hQYnMHwY.js +10 -0
- package/build/server/chunks/entries/pages/scout/_page.svelte.js-7q4d044Z.js +40 -0
- package/build/server/chunks/entries/pages/scout/f/_id_/_page.server.ts.js-BN4TnSpB.js +22 -0
- package/build/server/chunks/entries/pages/scout/f/_id_/_page.svelte.js-GzpLhARi.js +40 -0
- package/build/server/chunks/entries/pages/settings/_layout.server.ts.js-B5LgqMMT.js +12 -0
- package/build/server/chunks/entries/pages/settings/_layout.svelte.js-CSCpV6qA.js +81 -0
- package/build/server/chunks/entries/pages/settings/_page.svelte.js-DNpsNFo0.js +25 -0
- package/build/server/chunks/entries/pages/settings/_section_/_page.server.ts.js-nRDEV3i_.js +348 -0
- package/build/server/chunks/entries/pages/settings/_section_/_page.svelte.js-BihUf-nY.js +1052 -0
- package/build/server/chunks/entries/pages/settings/integrations/_page.server.ts.js-BTuRpg8m.js +58 -0
- package/build/server/chunks/entries/pages/settings/integrations/_page.svelte.js-C8i8ZmZR.js +161 -0
- package/build/server/chunks/entries/pages/settings/mcp/_page.server.ts.js-TFISfO1a.js +925 -0
- package/build/server/chunks/entries/pages/settings/mcp/_page.svelte.js-D1X0TNOm.js +433 -0
- package/build/server/chunks/entries/pages/settings/phases/_page.server.ts.js-CgK7MTZf.js +48 -0
- package/build/server/chunks/entries/pages/settings/phases/_page.svelte.js-u-sTQ-ue.js +80 -0
- package/build/server/chunks/entries/pages/settings/project/_page.server.ts.js-CCnk9WbO.js +363 -0
- package/build/server/chunks/entries/pages/settings/project/_page.svelte.js-MxvNqYlQ.js +1269 -0
- package/build/server/chunks/entries/pages/settings/wall/_page.server.ts.js-Bt5siY_N.js +12 -0
- package/build/server/chunks/entries/pages/settings/wall/_page.svelte.js-CMR4zSAt.js +43 -0
- package/build/server/chunks/entries/pages/t/_key_/_layout.server.ts.js-W6YPvOCA.js +124 -0
- package/build/server/chunks/entries/pages/t/_key_/_layout.svelte.js-CK0PiWsz.js +543 -0
- package/build/server/chunks/entries/pages/t/_key_/_page.server.ts.js-CdB7v0WX.js +15 -0
- package/build/server/chunks/entries/pages/t/_key_/_tab_/_page.server.ts.js-Bksaje8R.js +75 -0
- package/build/server/chunks/entries/pages/t/_key_/_tab_/_page.svelte.js-9OQ2eQxu.js +4607 -0
- package/build/server/chunks/entries/pages/team/_page.svelte.js-BdUSXC04.js +18 -0
- package/build/server/chunks/entries/pages/team/_page.ts.js-DfhJmoZI.js +20 -0
- package/build/server/chunks/entries/pages/workspace/_page.svelte.js-DLaWe23r.js +579 -0
- package/build/server/chunks/handler-Dlwmumt5.js +1735 -0
- package/build/server/chunks/index.js-BX0fZD5G.js +3701 -0
- package/build/server/chunks/manifest.js-B2Of6Dj7.js +761 -0
- package/build/server/chunks/nodes/0.js-DSzhdY0D.js +87 -0
- package/build/server/chunks/nodes/1.js-j4osL1br.js +9 -0
- package/build/server/chunks/nodes/10.js-jkvevEFY.js +75 -0
- package/build/server/chunks/nodes/11.js-plyiDP2n.js +72 -0
- package/build/server/chunks/nodes/12.js-DwtvDAyM.js +78 -0
- package/build/server/chunks/nodes/13.js-BpxwqFh4.js +72 -0
- package/build/server/chunks/nodes/14.js-B5iNIKGy.js +15 -0
- package/build/server/chunks/nodes/15.js-CXCAqUsG.js +15 -0
- package/build/server/chunks/nodes/16.js-oxkLEH0n.js +76 -0
- package/build/server/chunks/nodes/17.js-B-ZJEo9K.js +76 -0
- package/build/server/chunks/nodes/18.js-C0OUCEux.js +9 -0
- package/build/server/chunks/nodes/19.js-M8EAQJdW.js +76 -0
- package/build/server/chunks/nodes/2.js-ZedduK-3.js +33 -0
- package/build/server/chunks/nodes/20.js-BHvsLNjD.js +72 -0
- package/build/server/chunks/nodes/21.js-eOaW4si1.js +76 -0
- package/build/server/chunks/nodes/22.js-CbJ6tQSs.js +38 -0
- package/build/server/chunks/nodes/23.js-DXk8ejlx.js +81 -0
- package/build/server/chunks/nodes/24.js-C4qGJc4X.js +33 -0
- package/build/server/chunks/nodes/25.js-Cal8uT5V.js +21 -0
- package/build/server/chunks/nodes/26.js-Cp5jBcrN.js +80 -0
- package/build/server/chunks/nodes/27.js-Do55o_cb.js +17 -0
- package/build/server/chunks/nodes/28.js-SNz3QVix.js +9 -0
- package/build/server/chunks/nodes/3.js-DyivQ5dN.js +75 -0
- package/build/server/chunks/nodes/4.js-BGgTTQFR.js +9 -0
- package/build/server/chunks/nodes/5.js-DQYA2BBI.js +31 -0
- package/build/server/chunks/nodes/6.js-BVTi2KFL.js +24 -0
- package/build/server/chunks/nodes/7.js-CnprIn3p.js +12 -0
- package/build/server/chunks/nodes/8.js-Bdicn369.js +50 -0
- package/build/server/chunks/nodes/9.js-DVclPGXf.js +9 -0
- package/build/shims.js +33 -0
- package/dist/THIRD-PARTY-NOTICES.md +659 -0
- package/dist/detect-BmI_gskA.js +585 -0
- package/dist/fonts/OFL.txt +92 -0
- package/dist/nolzu.js +48 -0
- package/dist/package-vezZOzhD.js +181 -0
- package/dist/shared/finish.md +110 -0
- package/dist/shared/knowledge.md +72 -0
- package/dist/shared/verdict.md +42 -0
- package/dist/skills/.gitkeep +0 -0
- package/dist/skills/nolzu-architecture/SKILL.md +140 -0
- package/dist/skills/nolzu-architecture/finish.md +110 -0
- package/dist/skills/nolzu-assess/SKILL.md +99 -0
- package/dist/skills/nolzu-assess/finish.md +110 -0
- package/dist/skills/nolzu-design/SKILL.md +115 -0
- package/dist/skills/nolzu-design/finish.md +110 -0
- package/dist/skills/nolzu-feedback/SKILL.md +107 -0
- package/dist/skills/nolzu-feedback/finish.md +110 -0
- package/dist/skills/nolzu-implement/SKILL.md +138 -0
- package/dist/skills/nolzu-implement/finish.md +110 -0
- package/dist/skills/nolzu-investigate/SKILL.md +139 -0
- package/dist/skills/nolzu-investigate/finish.md +110 -0
- package/dist/skills/nolzu-learn-repo/SKILL.md +115 -0
- package/dist/skills/nolzu-learn-repo/finish.md +110 -0
- package/dist/skills/nolzu-learn-repo/knowledge.md +72 -0
- package/dist/skills/nolzu-optimize/SKILL.md +82 -0
- package/dist/skills/nolzu-optimize/finish.md +110 -0
- package/dist/skills/nolzu-optimize/knowledge.md +72 -0
- package/dist/skills/nolzu-orient/SKILL.md +115 -0
- package/dist/skills/nolzu-orient/finish.md +110 -0
- package/dist/skills/nolzu-orient/knowledge.md +72 -0
- package/dist/skills/nolzu-plan/SKILL.md +165 -0
- package/dist/skills/nolzu-plan/finish.md +110 -0
- package/dist/skills/nolzu-pr-review/SKILL.md +150 -0
- package/dist/skills/nolzu-pr-review/finish.md +110 -0
- package/dist/skills/nolzu-qa/SKILL.md +177 -0
- package/dist/skills/nolzu-qa/finish.md +110 -0
- package/dist/skills/nolzu-qa/verdict.md +42 -0
- package/dist/skills/nolzu-refine/SKILL.md +145 -0
- package/dist/skills/nolzu-refine/finish.md +110 -0
- package/dist/skills/nolzu-research/SKILL.md +140 -0
- package/dist/skills/nolzu-research/finish.md +110 -0
- package/dist/skills/nolzu-wrapup/SKILL.md +126 -0
- package/dist/skills/nolzu-wrapup/finish.md +110 -0
- package/dist/skills/nolzu-wrapup/knowledge.md +72 -0
- package/dist/src-BG8LaXLS.js +723 -0
- package/dist/src-DPfcvRqs.js +4 -0
- package/dist/start-ItZOcBtM.js +362 -0
- package/package.json +49 -9
- package/bin/nolzu.js +0 -8
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import { m as mergeSpend, a as formatDuration, f as formatCost, b as formatTokens } from './spend.js-BabnR69T.js';
|
|
2
|
+
import './src.js-Cm8RAH_q.js';
|
|
3
|
+
import { c as cardPill } from './quiet.js-1GKY40Ay.js';
|
|
4
|
+
|
|
5
|
+
//#region src/lib/evidence-timeline.ts
|
|
6
|
+
var HOUR = 36e5;
|
|
7
|
+
var GROUP_SHARE = 6;
|
|
8
|
+
var share = (ms, from, span) => Math.round(Math.min(100, Math.max(0, (ms - from) / span * 100)) * 1e3) / 1e3;
|
|
9
|
+
var clock = (stamp) => stamp.slice(11, 16);
|
|
10
|
+
var byKey = (a, b) => a === null ? 1 : b === null ? -1 : a.localeCompare(b, "en", { numeric: true });
|
|
11
|
+
/**
|
|
12
|
+
* The day on an axis of whole hours: from the hour of the first block to the hour after the last one
|
|
13
|
+
* ends. A run ends where its reported duration says, a run still going ends at now, and on today the
|
|
14
|
+
* axis reaches now as well. One label per hour, or per two hours on a day longer than twelve.
|
|
15
|
+
*/
|
|
16
|
+
function timelineOf(day, now) {
|
|
17
|
+
if (day.blocks.length === 0) return {
|
|
18
|
+
hours: [],
|
|
19
|
+
now: null,
|
|
20
|
+
nowLabel: null,
|
|
21
|
+
lanes: []
|
|
22
|
+
};
|
|
23
|
+
const midnight = Date.parse(`${day.day}T00:00:00Z`);
|
|
24
|
+
const nowAt = now !== null && now.slice(0, 10) === day.day ? Date.parse(now) : null;
|
|
25
|
+
const starts = day.blocks.map((one) => Date.parse(one.start));
|
|
26
|
+
const ends = day.blocks.map((one, index) => one.running && nowAt !== null ? nowAt : starts[index] + (one.durationMs ?? 0));
|
|
27
|
+
const first = Math.floor((Math.min(...starts) - midnight) / HOUR);
|
|
28
|
+
const last = Math.min(24, Math.max(first + 1, Math.ceil((Math.max(...ends, nowAt ?? 0) - midnight) / HOUR)));
|
|
29
|
+
const from = midnight + first * HOUR;
|
|
30
|
+
const span = (last - first) * HOUR;
|
|
31
|
+
const at = (stamp) => share(Date.parse(stamp), from, span);
|
|
32
|
+
const step = Math.ceil((last - first) / 12);
|
|
33
|
+
const hours = [];
|
|
34
|
+
for (let hour = first; hour <= last; hour += step) hours.push({
|
|
35
|
+
label: `${String(hour).padStart(2, "0")}:00`,
|
|
36
|
+
at: share(midnight + hour * HOUR, from, span)
|
|
37
|
+
});
|
|
38
|
+
return {
|
|
39
|
+
hours,
|
|
40
|
+
now: nowAt === null ? null : share(nowAt, from, span),
|
|
41
|
+
nowLabel: nowAt === null || now === null ? null : clock(now),
|
|
42
|
+
lanes: lanesOf(day.blocks, at)
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function lanesOf(blocks, at) {
|
|
46
|
+
const lanes = /* @__PURE__ */ new Map();
|
|
47
|
+
for (const one of blocks) {
|
|
48
|
+
let lane = lanes.get(one.card);
|
|
49
|
+
if (lane === void 0) {
|
|
50
|
+
lane = {
|
|
51
|
+
card: one.card,
|
|
52
|
+
title: one.cardTitle,
|
|
53
|
+
runs: [],
|
|
54
|
+
moves: [],
|
|
55
|
+
commits: []
|
|
56
|
+
};
|
|
57
|
+
lanes.set(one.card, lane);
|
|
58
|
+
}
|
|
59
|
+
if (one.source === "move") lane.moves.push({
|
|
60
|
+
block: one,
|
|
61
|
+
at: at(one.start)
|
|
62
|
+
});
|
|
63
|
+
else if (one.source === "commit") lane.commits.push({
|
|
64
|
+
block: one,
|
|
65
|
+
at: at(one.start)
|
|
66
|
+
});
|
|
67
|
+
else {
|
|
68
|
+
const group = lane.runs.at(-1);
|
|
69
|
+
if (group !== void 0 && at(one.start) < group.at + group.runs.length * GROUP_SHARE) group.runs.push(one);
|
|
70
|
+
else lane.runs.push({
|
|
71
|
+
at: at(one.start),
|
|
72
|
+
runs: [one]
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return [...lanes.values()].sort((a, b) => byKey(a.card, b.card));
|
|
77
|
+
}
|
|
78
|
+
var DAY_MS = 24 * HOUR;
|
|
79
|
+
/**
|
|
80
|
+
* The seven days of a week as one stretch of evidence, for the Week view. `day` is its Monday. The
|
|
81
|
+
* spend is merged and not summed again, as the fold does for one day, and the first day that could
|
|
82
|
+
* not be read whole says so for the week.
|
|
83
|
+
*/
|
|
84
|
+
function weekEvidence(monday, days) {
|
|
85
|
+
const ordered = [...days].sort((a, b) => a.day < b.day ? -1 : a.day > b.day ? 1 : 0);
|
|
86
|
+
return {
|
|
87
|
+
day: monday,
|
|
88
|
+
blocks: ordered.flatMap((one) => one.blocks),
|
|
89
|
+
spend: mergeSpend(ordered.map((one) => one.spend)),
|
|
90
|
+
problem: ordered.find((one) => one.problem !== null)?.problem ?? null
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
/** The week on an axis of seven days from its Monday, one label per day, the now line inside it. */
|
|
94
|
+
function weekTimelineOf(week, now) {
|
|
95
|
+
if (week.blocks.length === 0) return {
|
|
96
|
+
hours: [],
|
|
97
|
+
now: null,
|
|
98
|
+
nowLabel: null,
|
|
99
|
+
lanes: []
|
|
100
|
+
};
|
|
101
|
+
const from = Date.parse(`${week.day}T00:00:00Z`);
|
|
102
|
+
const span = 7 * DAY_MS;
|
|
103
|
+
const nowAt = now === null ? null : Date.parse(now);
|
|
104
|
+
const inside = nowAt !== null && nowAt >= from && nowAt < from + span;
|
|
105
|
+
return {
|
|
106
|
+
hours: Array.from({ length: 7 }, (_, index) => dayShift(week.day, index)).map((day, index) => ({
|
|
107
|
+
label: dayLabel(day).split(" ").slice(0, 2).join(" "),
|
|
108
|
+
at: share(from + index * DAY_MS, from, span)
|
|
109
|
+
})),
|
|
110
|
+
now: inside ? share(nowAt, from, span) : null,
|
|
111
|
+
nowLabel: inside && now !== null ? clock(now) : null,
|
|
112
|
+
lanes: lanesOf(week.blocks, (stamp) => share(Date.parse(stamp), from, span))
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
var count = (n, one, many) => `${n} ${n === 1 ? one : many}`;
|
|
116
|
+
/**
|
|
117
|
+
* Agent time, runs, cards moved and cost. Every figure comes from the day's own blocks, and a tile
|
|
118
|
+
* with nothing to count says so instead of showing a nought it never measured.
|
|
119
|
+
*/
|
|
120
|
+
function dayStats(day, range = "day") {
|
|
121
|
+
const onIt = range === "week" ? "this week" : "on this day";
|
|
122
|
+
const runs = day.blocks.filter((one) => one.source === "run");
|
|
123
|
+
const moves = day.blocks.filter((one) => one.source === "move");
|
|
124
|
+
const timed = runs.filter((one) => one.durationMs !== null);
|
|
125
|
+
const running = runs.filter((one) => one.running).length;
|
|
126
|
+
const untimed = runs.length - timed.length - running;
|
|
127
|
+
const cards = new Set(runs.flatMap((one) => one.card === null ? [] : [one.card])).size;
|
|
128
|
+
const spend = day.spend;
|
|
129
|
+
const time = runs.length === 0 ? {
|
|
130
|
+
label: "Agent time",
|
|
131
|
+
value: null,
|
|
132
|
+
note: `No run ${onIt}`,
|
|
133
|
+
live: false
|
|
134
|
+
} : timed.length === 0 ? {
|
|
135
|
+
label: "Agent time",
|
|
136
|
+
value: null,
|
|
137
|
+
note: running === runs.length ? "Every run is still going" : "No run reported its time",
|
|
138
|
+
live: false
|
|
139
|
+
} : {
|
|
140
|
+
label: "Agent time",
|
|
141
|
+
value: formatDuration(timed.reduce((total, one) => total + (one.durationMs ?? 0), 0)),
|
|
142
|
+
note: `${count(cards, "card", "cards")}${untimed > 0 ? `, ${untimed} not timed` : ""}`,
|
|
143
|
+
live: false
|
|
144
|
+
};
|
|
145
|
+
const cost = spend.runs === 0 ? {
|
|
146
|
+
label: "Cost",
|
|
147
|
+
value: null,
|
|
148
|
+
note: `No run ${onIt}`,
|
|
149
|
+
live: false
|
|
150
|
+
} : spend.costUsd !== null ? {
|
|
151
|
+
label: "Cost",
|
|
152
|
+
value: formatCost(spend.costUsd),
|
|
153
|
+
note: spend.partial ? "estimated value, not every run reported one" : "estimated value",
|
|
154
|
+
live: false
|
|
155
|
+
} : spend.tokens !== null ? {
|
|
156
|
+
label: "Cost",
|
|
157
|
+
value: `${formatTokens(spend.tokens)} tokens`,
|
|
158
|
+
note: "tokens only, no cost reported",
|
|
159
|
+
live: false
|
|
160
|
+
} : {
|
|
161
|
+
label: "Cost",
|
|
162
|
+
value: null,
|
|
163
|
+
note: running > 0 ? "No cost yet" : "No run reported a cost",
|
|
164
|
+
live: false
|
|
165
|
+
};
|
|
166
|
+
return [
|
|
167
|
+
time,
|
|
168
|
+
{
|
|
169
|
+
label: "Runs",
|
|
170
|
+
value: String(runs.length),
|
|
171
|
+
note: running > 0 ? `${running} running` : runs.length === 0 ? `None ${onIt}` : "None running",
|
|
172
|
+
live: running > 0
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
label: "Cards moved",
|
|
176
|
+
value: String(new Set(moves.map((one) => one.card ?? one.ref)).size),
|
|
177
|
+
note: moves.length === 0 ? "No card moved" : count(moves.length, "move", "moves"),
|
|
178
|
+
live: false
|
|
179
|
+
},
|
|
180
|
+
cost
|
|
181
|
+
];
|
|
182
|
+
}
|
|
183
|
+
var WEEKDAYS = [
|
|
184
|
+
"Sun",
|
|
185
|
+
"Mon",
|
|
186
|
+
"Tue",
|
|
187
|
+
"Wed",
|
|
188
|
+
"Thu",
|
|
189
|
+
"Fri",
|
|
190
|
+
"Sat"
|
|
191
|
+
];
|
|
192
|
+
var MONTHS = [
|
|
193
|
+
"Jan",
|
|
194
|
+
"Feb",
|
|
195
|
+
"Mar",
|
|
196
|
+
"Apr",
|
|
197
|
+
"May",
|
|
198
|
+
"Jun",
|
|
199
|
+
"Jul",
|
|
200
|
+
"Aug",
|
|
201
|
+
"Sep",
|
|
202
|
+
"Oct",
|
|
203
|
+
"Nov",
|
|
204
|
+
"Dec"
|
|
205
|
+
];
|
|
206
|
+
var dateOf = (day) => /* @__PURE__ */ new Date(`${day}T00:00:00Z`);
|
|
207
|
+
/** "Sun 11 Oct", the day in the top bar's stepper. */
|
|
208
|
+
function dayLabel(day) {
|
|
209
|
+
const at = dateOf(day);
|
|
210
|
+
return `${WEEKDAYS[at.getUTCDay()]} ${at.getUTCDate()} ${MONTHS[at.getUTCMonth()]}`;
|
|
211
|
+
}
|
|
212
|
+
/** "5 to 11 Oct", or "28 Sep to 4 Oct" across a month, the week in the timesheet's head. */
|
|
213
|
+
function weekLabel(first, last) {
|
|
214
|
+
const [a, b] = [dateOf(first), dateOf(last)];
|
|
215
|
+
const month = (at) => MONTHS[at.getUTCMonth()];
|
|
216
|
+
return a.getUTCMonth() === b.getUTCMonth() ? `${a.getUTCDate()} to ${b.getUTCDate()} ${month(b)}` : `${a.getUTCDate()} ${month(a)} to ${b.getUTCDate()} ${month(b)}`;
|
|
217
|
+
}
|
|
218
|
+
/** The day a number of days away, in UTC, for the stepper's arrows. */
|
|
219
|
+
function dayShift(day, days) {
|
|
220
|
+
const at = dateOf(day);
|
|
221
|
+
at.setUTCDate(at.getUTCDate() + days);
|
|
222
|
+
return at.toISOString().slice(0, 10);
|
|
223
|
+
}
|
|
224
|
+
var WORDS = {
|
|
225
|
+
idle: "Idle",
|
|
226
|
+
queued: "Queued",
|
|
227
|
+
running: "Running",
|
|
228
|
+
quiet: "Quiet",
|
|
229
|
+
ready: "Ready",
|
|
230
|
+
blocked: "Blocked",
|
|
231
|
+
failed: "Failed",
|
|
232
|
+
new: "New"
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* Each card's state off the board snapshot, the board card's own rule, and whether it sits in its
|
|
236
|
+
* board's archive. The lane dot reads this and never the page load, so it says what the board says.
|
|
237
|
+
*/
|
|
238
|
+
function laneStates(boards) {
|
|
239
|
+
const states = {};
|
|
240
|
+
for (const board of boards) for (const card of board.cards) {
|
|
241
|
+
const closed = board.stages.find((stage) => stage.id === card.stage)?.role === "archive";
|
|
242
|
+
const pill = cardPill(card, null, void 0);
|
|
243
|
+
states[card.key] = {
|
|
244
|
+
state: pill.state,
|
|
245
|
+
word: closed ? "Closed" : pill.word ?? WORDS[pill.state],
|
|
246
|
+
closed
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
return states;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export { weekLabel as a, dayLabel as b, dayStats as c, dayShift as d, weekTimelineOf as e, laneStates as l, timelineOf as t, weekEvidence as w };
|
|
253
|
+
//# sourceMappingURL=evidence-timeline.js-Dk0dTZIy.js.map
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { i as isBoardKind, p as phaseLabel } from './board.js-BxL3CjB1.js';
|
|
2
|
+
import { F as FREE, D as DISPLAY_PUBLIC_KEYS } from './display.js-Bf-vGQ7Q.js';
|
|
3
|
+
import { s as spendOf } from './spend.js-BabnR69T.js';
|
|
4
|
+
import { h as boardFor } from './estimate.js-BHTYVTaQ.js';
|
|
5
|
+
import { r as resolveDataDir, g as getSetting, L as allRuns, M as allCardMoves } from './node.js-Bz2jT5wt.js';
|
|
6
|
+
import './src.js-Cm8RAH_q.js';
|
|
7
|
+
import { i as isMaintenanceKey } from './src2.js-CV8tsClO.js';
|
|
8
|
+
import { e as evidenceDays } from './timesheet.js-DfhIokoE.js';
|
|
9
|
+
import { p as previousWorkingDay } from './standup.js-D-qBnMx4.js';
|
|
10
|
+
import { a9 as machineName, aa as cloudUrl, Q as createKeychain, R as runKeychain, g as git, a as gitEnv } from './src3.js-h9tTEbVb.js';
|
|
11
|
+
import { c as cardCheckouts, d as cardBranch, t as templateBranch } from './checkout.js-Ys5L_gA4.js';
|
|
12
|
+
import { hostname } from 'node:os';
|
|
13
|
+
|
|
14
|
+
var TIMEOUT_MS = 5e3;
|
|
15
|
+
/**
|
|
16
|
+
* What the menus may show right now.
|
|
17
|
+
*
|
|
18
|
+
* The held document is reused until half its life is gone, so the server is asked about once every
|
|
19
|
+
* seven minutes on a fifteen minute document and a navigation almost never waits for it. A document
|
|
20
|
+
* whose whole life ran out while the asking failed is not drawn any more: the menus go back to Free,
|
|
21
|
+
* which is what the account may be down to by then.
|
|
22
|
+
*/
|
|
23
|
+
async function currentDisplay(cloud, fetch = httpGet, keys = DISPLAY_PUBLIC_KEYS, now, timeoutMs = TIMEOUT_MS) {
|
|
24
|
+
return FREE;
|
|
25
|
+
}
|
|
26
|
+
var heldDisplay = (now = Math.floor(Date.now() / 1e3)) => FREE;
|
|
27
|
+
/**
|
|
28
|
+
* The account this machine signs in as, for code that has no person to talk to.
|
|
29
|
+
*
|
|
30
|
+
* `say` goes nowhere. A page load is not a command, and there is no terminal to print a line to.
|
|
31
|
+
*/
|
|
32
|
+
var localCloud = (env = process.env) => ({
|
|
33
|
+
keychain: createKeychain(process.platform, runKeychain, resolveDataDir(env)),
|
|
34
|
+
baseUrl: cloudUrl(env),
|
|
35
|
+
machine: machineName(hostname()),
|
|
36
|
+
say: () => {},
|
|
37
|
+
fetch: httpPost
|
|
38
|
+
});
|
|
39
|
+
var httpGet = (url, init) => fetch(url, init);
|
|
40
|
+
var httpPost = (url, init) => fetch(url, {
|
|
41
|
+
...init,
|
|
42
|
+
signal: AbortSignal.timeout(TIMEOUT_MS)
|
|
43
|
+
});
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/lib/evidence.ts
|
|
46
|
+
function owner(key, cards) {
|
|
47
|
+
if (isMaintenanceKey(key)) return {
|
|
48
|
+
card: null,
|
|
49
|
+
cardTitle: null,
|
|
50
|
+
about: " for maintenance"
|
|
51
|
+
};
|
|
52
|
+
const card = cards.get(key);
|
|
53
|
+
if (card === void 0) return {
|
|
54
|
+
card: null,
|
|
55
|
+
cardTitle: null,
|
|
56
|
+
about: ` for ${key}`
|
|
57
|
+
};
|
|
58
|
+
return {
|
|
59
|
+
card: key,
|
|
60
|
+
cardTitle: card.title,
|
|
61
|
+
about: ""
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
var VERDICT_WORDS = {
|
|
65
|
+
PASS: "passed",
|
|
66
|
+
FAIL: "failed",
|
|
67
|
+
BLOCKED: "blocked"
|
|
68
|
+
};
|
|
69
|
+
var outcome = (run) => {
|
|
70
|
+
if (run.endedAt === null) return "still going";
|
|
71
|
+
if (run.verdict !== null) return VERDICT_WORDS[run.verdict];
|
|
72
|
+
return run.state === "complete" ? "finished" : run.state ?? "ended";
|
|
73
|
+
};
|
|
74
|
+
function stageLabel(card, stage, flow) {
|
|
75
|
+
if (card === void 0 || !isBoardKind(card.board)) return stage;
|
|
76
|
+
return boardFor(card.board).stages.find((one) => one.id === stage)?.label ?? stage;
|
|
77
|
+
}
|
|
78
|
+
function runBlock(run, cards) {
|
|
79
|
+
if (run.startedAt === null) return null;
|
|
80
|
+
const { card, cardTitle, about } = owner(run.cardKey, cards);
|
|
81
|
+
return {
|
|
82
|
+
start: run.startedAt,
|
|
83
|
+
source: "run",
|
|
84
|
+
ref: String(run.id),
|
|
85
|
+
card,
|
|
86
|
+
cardTitle,
|
|
87
|
+
description: `${phaseLabel(run.phase)} run${about}, ${outcome(run)}`,
|
|
88
|
+
durationMs: run.durationMs,
|
|
89
|
+
spend: spendOf([run]),
|
|
90
|
+
running: run.endedAt === null
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
var today = () => (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
|
|
94
|
+
/**
|
|
95
|
+
* The commits of one day, from the project's own repository.
|
|
96
|
+
*
|
|
97
|
+
* One `git log` for the whole day. `--all` is what reaches the card branches: a card worktree
|
|
98
|
+
* shares the project's object store, so its commits are here and a plain log would show none of
|
|
99
|
+
* them. `%cI` carries the committer's own offset, so it is read back in UTC before the day is
|
|
100
|
+
* taken, or a commit made late in the evening lands on the next day while the runs beside it do
|
|
101
|
+
* not.
|
|
102
|
+
*/
|
|
103
|
+
async function commitBlocks(db, day, cards, options) {
|
|
104
|
+
const projectPath = getSetting(db, "projectPath");
|
|
105
|
+
if (projectPath === null) return {
|
|
106
|
+
blocks: [],
|
|
107
|
+
problem: null
|
|
108
|
+
};
|
|
109
|
+
const next = /* @__PURE__ */ new Date(`${day}T00:00:00Z`);
|
|
110
|
+
next.setUTCDate(next.getUTCDate() + 1);
|
|
111
|
+
const refused = (why) => `The commits of this day could not be read from ${projectPath}. Check the folder is still a git repository. ${why}`.trim();
|
|
112
|
+
let said;
|
|
113
|
+
try {
|
|
114
|
+
said = await git([
|
|
115
|
+
"log",
|
|
116
|
+
"--all",
|
|
117
|
+
"--source",
|
|
118
|
+
"--no-merges",
|
|
119
|
+
`--since=${day}T00:00:00Z`,
|
|
120
|
+
`--until=${next.toISOString()}`,
|
|
121
|
+
"--format=%H%x09%cI%x09%S%x09%s"
|
|
122
|
+
], {
|
|
123
|
+
cwd: projectPath,
|
|
124
|
+
env: gitEnv(options.env ?? process.env),
|
|
125
|
+
signal: options.signal
|
|
126
|
+
});
|
|
127
|
+
} catch (error) {
|
|
128
|
+
return {
|
|
129
|
+
blocks: [],
|
|
130
|
+
problem: refused(error instanceof Error ? error.message : String(error))
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
if (said.code !== 0) return {
|
|
134
|
+
blocks: [],
|
|
135
|
+
problem: refused(said.stderr.trim())
|
|
136
|
+
};
|
|
137
|
+
const forGit = gitEnv(options.env ?? process.env);
|
|
138
|
+
const named = await Promise.all([...cards.values()].map(async (card) => {
|
|
139
|
+
try {
|
|
140
|
+
const checkouts = cardCheckouts(db, card.key).map((one) => one.path);
|
|
141
|
+
return [checkouts.length > 0 ? await cardBranch(db, card.key, checkouts, forGit) : templateBranch(db, card.key, card.title), card.key];
|
|
142
|
+
} catch {
|
|
143
|
+
return null;
|
|
144
|
+
}
|
|
145
|
+
}));
|
|
146
|
+
const branches = new Map(named.filter((one) => one !== null));
|
|
147
|
+
const blocks = [];
|
|
148
|
+
for (const line of said.stdout.split("\n")) {
|
|
149
|
+
const [sha = "", at = "", ref = "", ...rest] = line.split(" ");
|
|
150
|
+
if (sha === "" || at === "") continue;
|
|
151
|
+
const stamp = new Date(at);
|
|
152
|
+
if (Number.isNaN(stamp.getTime())) continue;
|
|
153
|
+
const start = stamp.toISOString();
|
|
154
|
+
if (start.slice(0, 10) !== day) continue;
|
|
155
|
+
const key = branches.get(ref.replace(/^refs\/heads\//, "")) ?? null;
|
|
156
|
+
const card = key === null ? void 0 : cards.get(key);
|
|
157
|
+
blocks.push({
|
|
158
|
+
start,
|
|
159
|
+
source: "commit",
|
|
160
|
+
ref: sha.slice(0, 7),
|
|
161
|
+
card: card === void 0 ? null : card.key,
|
|
162
|
+
cardTitle: card?.title ?? null,
|
|
163
|
+
description: rest.join(" ").trim() === "" ? "A commit with no message" : rest.join(" ").trim(),
|
|
164
|
+
durationMs: null,
|
|
165
|
+
spend: null,
|
|
166
|
+
running: false
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
return {
|
|
170
|
+
blocks,
|
|
171
|
+
problem: null
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
/** One day of evidence, today by default. */
|
|
175
|
+
async function evidenceFor(db, options = {}) {
|
|
176
|
+
const day = options.day ?? today();
|
|
177
|
+
getSetting(db, "deliveryFlow");
|
|
178
|
+
const rows = db.prepare("SELECT key, title, board FROM cards ORDER BY key").all();
|
|
179
|
+
const cards = new Map(rows.map((row) => [row.key, row]));
|
|
180
|
+
const runs = allRuns(db).flatMap((run) => {
|
|
181
|
+
const block = runBlock(run, cards);
|
|
182
|
+
return block !== null && block.start.slice(0, 10) === day ? [block] : [];
|
|
183
|
+
});
|
|
184
|
+
const moves = allCardMoves(db).flatMap((move) => {
|
|
185
|
+
if (move.at.slice(0, 10) !== day) return [];
|
|
186
|
+
const card = cards.get(move.cardKey);
|
|
187
|
+
const to = stageLabel(card, move.toStage);
|
|
188
|
+
const from = move.fromStage === null ? null : stageLabel(card, move.fromStage);
|
|
189
|
+
return [{
|
|
190
|
+
start: move.at,
|
|
191
|
+
source: "move",
|
|
192
|
+
ref: String(move.id),
|
|
193
|
+
card: card === void 0 ? null : move.cardKey,
|
|
194
|
+
cardTitle: card?.title ?? null,
|
|
195
|
+
description: from === null ? `Moved to ${to}` : `Moved from ${from} to ${to}`,
|
|
196
|
+
durationMs: null,
|
|
197
|
+
spend: null,
|
|
198
|
+
running: false
|
|
199
|
+
}];
|
|
200
|
+
});
|
|
201
|
+
const commits = await commitBlocks(db, day, cards, options);
|
|
202
|
+
const [found] = evidenceDays([
|
|
203
|
+
...moves,
|
|
204
|
+
...runs,
|
|
205
|
+
...commits.blocks
|
|
206
|
+
]);
|
|
207
|
+
return {
|
|
208
|
+
...found ?? {
|
|
209
|
+
day,
|
|
210
|
+
blocks: [],
|
|
211
|
+
spend: spendOf([])
|
|
212
|
+
},
|
|
213
|
+
problem: commits.problem
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* The phase of each run block of a day, by the block's ref, as the short word a timeline block prints
|
|
218
|
+
* ("plan", "wrap-up"). Read off the rows and never out of the block's sentence, which is written for
|
|
219
|
+
* people. Apart from the block, because the block is what the hub stores and this is screen only.
|
|
220
|
+
*/
|
|
221
|
+
function runPhases(db, day) {
|
|
222
|
+
const refs = new Set(day.blocks.flatMap((block) => block.source === "run" ? [block.ref] : []));
|
|
223
|
+
return Object.fromEntries(allRuns(db).flatMap((run) => refs.has(String(run.id)) ? [[String(run.id), phaseLabel(run.phase).toLowerCase()]] : []));
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* The standup of one day: the previous working day's evidence, and the board as it stands now.
|
|
227
|
+
*
|
|
228
|
+
* A card is in progress once it left its board's first stage and until it reaches the archive. A
|
|
229
|
+
* stage this version does not know, from a hand edit, counts as in progress: the card is on the board
|
|
230
|
+
* somewhere and a standup that dropped it would hide work.
|
|
231
|
+
*/
|
|
232
|
+
async function standupFor(db, options = {}) {
|
|
233
|
+
const day = options.day ?? today();
|
|
234
|
+
getSetting(db, "deliveryFlow");
|
|
235
|
+
const cards = db.prepare("SELECT key, title, board, stage, state FROM cards ORDER BY key").all().flatMap((row) => {
|
|
236
|
+
const stages = isBoardKind(row.board) ? boardFor(row.board).stages : [];
|
|
237
|
+
const at = stages.findIndex((one) => one.id === row.stage);
|
|
238
|
+
if (at === 0 || stages[at]?.role === "archive") return [];
|
|
239
|
+
return [{
|
|
240
|
+
key: row.key,
|
|
241
|
+
title: row.title,
|
|
242
|
+
stage: stageLabel(row, row.stage),
|
|
243
|
+
blocked: row.state === "blocked"
|
|
244
|
+
}];
|
|
245
|
+
});
|
|
246
|
+
return {
|
|
247
|
+
day,
|
|
248
|
+
yesterday: await evidenceFor(db, {
|
|
249
|
+
...options,
|
|
250
|
+
day: previousWorkingDay(day)
|
|
251
|
+
}),
|
|
252
|
+
cards
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export { currentDisplay as c, evidenceFor as e, heldDisplay as h, localCloud as l, runPhases as r, standupFor as s };
|
|
257
|
+
//# sourceMappingURL=evidence.js-CT3tWdbB.js.map
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.3.0_svelte@5.57.0_@typescript-eslin_28129ec9dd7d0d477d15c217a8a54e62/node_modules/@sveltejs/kit/src/utils/array.js
|
|
2
|
+
/**
|
|
3
|
+
* Removes nullish values from an array.
|
|
4
|
+
*
|
|
5
|
+
* @template T
|
|
6
|
+
* @param {Array<T>} arr
|
|
7
|
+
*/
|
|
8
|
+
function compact(arr) {
|
|
9
|
+
return arr.filter(
|
|
10
|
+
/** @returns {val is NonNullable<T>} */
|
|
11
|
+
(val) => val != null
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.3.0_svelte@5.57.0_@typescript-eslin_28129ec9dd7d0d477d15c217a8a54e62/node_modules/@sveltejs/kit/src/runtime/telemetry/noop.js
|
|
16
|
+
/**
|
|
17
|
+
* @type {Span}
|
|
18
|
+
*/
|
|
19
|
+
var noop_span = {
|
|
20
|
+
spanContext() {
|
|
21
|
+
return noop_span_context;
|
|
22
|
+
},
|
|
23
|
+
setAttribute() {
|
|
24
|
+
return this;
|
|
25
|
+
},
|
|
26
|
+
setAttributes() {
|
|
27
|
+
return this;
|
|
28
|
+
},
|
|
29
|
+
addEvent() {
|
|
30
|
+
return this;
|
|
31
|
+
},
|
|
32
|
+
setStatus() {
|
|
33
|
+
return this;
|
|
34
|
+
},
|
|
35
|
+
updateName() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
end() {
|
|
39
|
+
return this;
|
|
40
|
+
},
|
|
41
|
+
isRecording() {
|
|
42
|
+
return false;
|
|
43
|
+
},
|
|
44
|
+
recordException() {
|
|
45
|
+
return this;
|
|
46
|
+
},
|
|
47
|
+
addLink() {
|
|
48
|
+
return this;
|
|
49
|
+
},
|
|
50
|
+
addLinks() {
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* @type {SpanContext}
|
|
56
|
+
*/
|
|
57
|
+
var noop_span_context = {
|
|
58
|
+
traceId: "",
|
|
59
|
+
spanId: "",
|
|
60
|
+
traceFlags: 0
|
|
61
|
+
};
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.3.0_svelte@5.57.0_@typescript-eslin_28129ec9dd7d0d477d15c217a8a54e62/node_modules/@sveltejs/kit/src/utils/hash.js
|
|
64
|
+
/**
|
|
65
|
+
* Hash using djb2
|
|
66
|
+
* @param {import('types').StrictBody[]} values
|
|
67
|
+
*/
|
|
68
|
+
function hash(...values) {
|
|
69
|
+
let hash = 5381;
|
|
70
|
+
for (const value of values) if (typeof value === "string") {
|
|
71
|
+
let i = value.length;
|
|
72
|
+
while (i) hash = hash * 33 ^ value.charCodeAt(--i);
|
|
73
|
+
} else if (ArrayBuffer.isView(value)) {
|
|
74
|
+
const buffer = new Uint8Array(value.buffer, value.byteOffset, value.byteLength);
|
|
75
|
+
let i = buffer.length;
|
|
76
|
+
while (i) hash = hash * 33 ^ buffer[--i];
|
|
77
|
+
} else throw new TypeError("value must be a string or TypedArray");
|
|
78
|
+
return (hash >>> 0).toString(36);
|
|
79
|
+
}
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.3.0_svelte@5.57.0_@typescript-eslin_28129ec9dd7d0d477d15c217a8a54e62/node_modules/@sveltejs/kit/src/utils/exports.js
|
|
82
|
+
/**
|
|
83
|
+
* @param {Set<string>} expected
|
|
84
|
+
*/
|
|
85
|
+
function validator(expected) {
|
|
86
|
+
/**
|
|
87
|
+
* @param {any} module
|
|
88
|
+
* @param {string} [file]
|
|
89
|
+
*/
|
|
90
|
+
function validate(module, file) {
|
|
91
|
+
if (!module) return;
|
|
92
|
+
for (const key in module) {
|
|
93
|
+
if (key[0] === "_" || expected.has(key)) continue;
|
|
94
|
+
const values = [...expected.values()];
|
|
95
|
+
const hint = hint_for_supported_files(key, file?.slice(file.lastIndexOf("."))) ?? `valid exports are ${values.join(", ")}, or anything with a '_' prefix`;
|
|
96
|
+
throw new Error(`Invalid export '${key}'${file ? ` in ${file}` : ""} (${hint})`);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return validate;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* @param {string} key
|
|
103
|
+
* @param {string} ext
|
|
104
|
+
* @returns {string | void}
|
|
105
|
+
*/
|
|
106
|
+
function hint_for_supported_files(key, ext = ".js") {
|
|
107
|
+
const supported_files = [];
|
|
108
|
+
if (valid_layout_exports.has(key)) supported_files.push(`+layout${ext}`);
|
|
109
|
+
if (valid_page_exports.has(key)) supported_files.push(`+page${ext}`);
|
|
110
|
+
if (valid_layout_server_exports.has(key)) supported_files.push(`+layout.server${ext}`);
|
|
111
|
+
if (valid_page_server_exports.has(key)) supported_files.push(`+page.server${ext}`);
|
|
112
|
+
if (valid_server_exports.has(key)) supported_files.push(`+server${ext}`);
|
|
113
|
+
if (supported_files.length > 0) return `'${key}' is a valid export in ${supported_files.slice(0, -1).join(", ")}${supported_files.length > 1 ? " or " : ""}${supported_files.at(-1)}`;
|
|
114
|
+
}
|
|
115
|
+
var valid_layout_exports = /* @__PURE__ */ new Set([
|
|
116
|
+
"load",
|
|
117
|
+
"prerender",
|
|
118
|
+
"csr",
|
|
119
|
+
"ssr",
|
|
120
|
+
"trailingSlash",
|
|
121
|
+
"config"
|
|
122
|
+
]);
|
|
123
|
+
var valid_page_exports = /* @__PURE__ */ new Set([...valid_layout_exports, "entries"]);
|
|
124
|
+
var valid_layout_server_exports = /* @__PURE__ */ new Set([...valid_layout_exports]);
|
|
125
|
+
var valid_page_server_exports = /* @__PURE__ */ new Set([
|
|
126
|
+
...valid_layout_server_exports,
|
|
127
|
+
"actions",
|
|
128
|
+
"entries"
|
|
129
|
+
]);
|
|
130
|
+
var valid_server_exports = /* @__PURE__ */ new Set([
|
|
131
|
+
"GET",
|
|
132
|
+
"POST",
|
|
133
|
+
"PATCH",
|
|
134
|
+
"PUT",
|
|
135
|
+
"DELETE",
|
|
136
|
+
"OPTIONS",
|
|
137
|
+
"HEAD",
|
|
138
|
+
"fallback",
|
|
139
|
+
"prerender",
|
|
140
|
+
"trailingSlash",
|
|
141
|
+
"config",
|
|
142
|
+
"entries"
|
|
143
|
+
]);
|
|
144
|
+
var validate_layout_exports = validator(valid_layout_exports);
|
|
145
|
+
var validate_page_exports = validator(valid_page_exports);
|
|
146
|
+
var validate_layout_server_exports = validator(valid_layout_server_exports);
|
|
147
|
+
var validate_page_server_exports = validator(valid_page_server_exports);
|
|
148
|
+
|
|
149
|
+
export { validate_layout_exports as a, validate_page_server_exports as b, validate_page_exports as c, compact as d, hash as h, noop_span as n, validate_layout_server_exports as v };
|
|
150
|
+
//# sourceMappingURL=exports.js-Hn-WQRMB.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './settings-sections.js-V70W7BkZ.js';
|
|
2
|
+
|
|
3
|
+
//#region src/lib/features.svelte.ts
|
|
4
|
+
var registered = [];
|
|
5
|
+
var featureRoute = (path) => registered.flatMap((feature) => feature.routes ?? []).find((route) => route.path === path) ?? null;
|
|
6
|
+
var featurePanels = (slot) => registered.flatMap((feature) => feature.panels ?? []).filter((panel) => panel.slot === slot);
|
|
7
|
+
var featureSettings = () => registered.flatMap((feature) => feature.settings ?? []);
|
|
8
|
+
|
|
9
|
+
export { featureSettings as a, featureRoute as b, featurePanels as f };
|
|
10
|
+
//# sourceMappingURL=features.svelte.js-DNsFmFZb.js.map
|