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,104 @@
|
|
|
1
|
+
import { e as elapsed } from './elapsed.js-DikkNhaD.js';
|
|
2
|
+
import { o as ordinal } from './ordinal.js-Bm_9QEBD.js';
|
|
3
|
+
|
|
4
|
+
//#region ../../packages/ui/src/board/quiet.ts
|
|
5
|
+
/**
|
|
6
|
+
* What a running card shows of its run's own stream. Null when the activity is about another run or
|
|
7
|
+
* the card is not running, so a line from the last run never sits on this one.
|
|
8
|
+
*
|
|
9
|
+
* Quiet only changes what is shown. Nothing stops a quiet run: the run timeout does that, much later.
|
|
10
|
+
*/
|
|
11
|
+
function liveOf(card, activity, now, quietAfterMs) {
|
|
12
|
+
if (activity === null || activity === void 0 || card.state !== "running" || card.runId !== activity.runId) return null;
|
|
13
|
+
const silent = now === void 0 ? 0 : now.getTime() - activity.outputAt;
|
|
14
|
+
const quiet = quietAfterMs !== void 0 && card.runState === "running" && silent >= quietAfterMs;
|
|
15
|
+
const seconds = Math.max(0, Math.floor(silent / 1e3));
|
|
16
|
+
const since = now === void 0 || quiet ? null : seconds < 60 ? `${seconds}s ago` : `${Math.floor(seconds / 60)}m ago`;
|
|
17
|
+
return {
|
|
18
|
+
line: activity.line,
|
|
19
|
+
quiet: quiet ? `${Math.floor(silent / 6e4)}m` : null,
|
|
20
|
+
since
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The state pill of a card in the drawn words, one rule for the board card and the card page head so
|
|
25
|
+
* the two never disagree. A running pill holds the run time ("0m 40s") and a queued one its place.
|
|
26
|
+
* Quiet replaces Running once the run printed nothing for the set time. QA's FAIL ends its run as
|
|
27
|
+
* complete, so the card is ready, but a person reads a failed card. An epic with every task done is
|
|
28
|
+
* idle, and a person reads a card that waits on them. An idle pull request card the author pushed to
|
|
29
|
+
* since its last review round says how many commits are new. With the card's stage, a card ready
|
|
30
|
+
* after an agent's phase names it ("Plan ready", "Implement done"), and a card in the archive column
|
|
31
|
+
* reads Closed. A page that has no stage keeps the older words.
|
|
32
|
+
*/
|
|
33
|
+
function cardPill(card, live, now, stage) {
|
|
34
|
+
if (live !== null && live.quiet !== null) return {
|
|
35
|
+
state: "quiet",
|
|
36
|
+
word: null,
|
|
37
|
+
detail: live.quiet
|
|
38
|
+
};
|
|
39
|
+
if (card.afterLearn !== void 0 && card.state !== "running" && card.state !== "queued") return {
|
|
40
|
+
state: "queued",
|
|
41
|
+
word: `Starts ${card.afterLearn.column} after Learn`,
|
|
42
|
+
detail: now === void 0 ? null : elapsed(card.afterLearn.since, now)
|
|
43
|
+
};
|
|
44
|
+
if (card.state === "running") return {
|
|
45
|
+
state: "running",
|
|
46
|
+
word: null,
|
|
47
|
+
detail: card.runStartedAt !== null && now !== void 0 ? elapsed(card.runStartedAt, now) : null
|
|
48
|
+
};
|
|
49
|
+
if (card.state === "queued" && card.runState === "waiting_review") return {
|
|
50
|
+
state: "ready",
|
|
51
|
+
word: "Waits for your review",
|
|
52
|
+
detail: null
|
|
53
|
+
};
|
|
54
|
+
if (card.state === "queued") return {
|
|
55
|
+
state: "queued",
|
|
56
|
+
word: null,
|
|
57
|
+
detail: card.queuePosition === null ? null : ordinal(card.queuePosition)
|
|
58
|
+
};
|
|
59
|
+
if (card.state === "blocked") return {
|
|
60
|
+
state: "blocked",
|
|
61
|
+
word: "Asks you",
|
|
62
|
+
detail: null
|
|
63
|
+
};
|
|
64
|
+
if (card.state === "ready" && card.verdict === "FAIL") return {
|
|
65
|
+
state: "failed",
|
|
66
|
+
word: "QA failed",
|
|
67
|
+
detail: null
|
|
68
|
+
};
|
|
69
|
+
if (card.state === "ready" && stage?.role === "agent") return {
|
|
70
|
+
state: "ready",
|
|
71
|
+
word: `${stage.label} ${stage.id === "implement" ? "done" : "ready"}`,
|
|
72
|
+
detail: null
|
|
73
|
+
};
|
|
74
|
+
if (card.state === "ready") return {
|
|
75
|
+
state: "ready",
|
|
76
|
+
word: "Ready for you",
|
|
77
|
+
detail: null
|
|
78
|
+
};
|
|
79
|
+
if (card.state === "idle" && stage?.role === "archive") return {
|
|
80
|
+
state: "idle",
|
|
81
|
+
word: "Closed",
|
|
82
|
+
detail: null,
|
|
83
|
+
check: true
|
|
84
|
+
};
|
|
85
|
+
if (card.finished === true) return {
|
|
86
|
+
state: "ready",
|
|
87
|
+
word: "Tasks done",
|
|
88
|
+
detail: null
|
|
89
|
+
};
|
|
90
|
+
const pushed = card.state === "idle" && card.pull?.ended === void 0 ? card.pull?.newCommits ?? 0 : 0;
|
|
91
|
+
if (pushed > 0) return {
|
|
92
|
+
state: "new",
|
|
93
|
+
word: pushed === 1 ? "1 new commit" : `${pushed} new commits`,
|
|
94
|
+
detail: null
|
|
95
|
+
};
|
|
96
|
+
return {
|
|
97
|
+
state: card.state,
|
|
98
|
+
word: null,
|
|
99
|
+
detail: null
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export { cardPill as c, liveOf as l };
|
|
104
|
+
//# sourceMappingURL=quiet.js-1GKY40Ay.js.map
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { L as LIMIT_SIGNAL } from './engine.js-DS5zUwsE.js';
|
|
2
|
+
import { m as choiceOf, l as choiceLabel, j as choicesOf, g as BOARD_KINDS } from './board.js-BxL3CjB1.js';
|
|
3
|
+
import './src.js-Cm8RAH_q.js';
|
|
4
|
+
import { o as openCount, i as isBoardRoute } from './board-page.js-D0tdsE9J.js';
|
|
5
|
+
import { w as waitingOnMe } from './filter.js-CsmCtJMd.js';
|
|
6
|
+
|
|
7
|
+
//#region src/lib/rail.ts
|
|
8
|
+
var circle = (x, y, r) => `M${x - r} ${y}a${r} ${r} 0 1 0 ${2 * r} 0a${r} ${r} 0 1 0 ${ -2 * r} 0`;
|
|
9
|
+
var rect = (x, y, w, h, r) => `M${x + r} ${y}h${w - 2 * r}a${r} ${r} 0 0 1 ${r} ${r}v${h - 2 * r}a${r} ${r} 0 0 1 ${-r} ${r}h${2 * r - w}a${r} ${r} 0 0 1 ${-r} ${-r}v${2 * r - h}a${r} ${r} 0 0 1 ${r} ${-r}Z`;
|
|
10
|
+
var ICONS = {
|
|
11
|
+
now: [circle(12, 12, 8.5), circle(12, 12, 3)],
|
|
12
|
+
bell: ["M6 16V11a6 6 0 0 1 12 0v5l1.5 2h-15L6 16Z", "M10 20.5a2 2 0 0 0 4 0"],
|
|
13
|
+
delivery: [
|
|
14
|
+
rect(3, 4, 5, 16, 1.5),
|
|
15
|
+
rect(10, 4, 5, 11, 1.5),
|
|
16
|
+
rect(17, 4, 4, 7, 1.5)
|
|
17
|
+
],
|
|
18
|
+
epics: ["M12 3 3 8l9 5 9-5-9-5Z", "m3 13 9 5 9-5"],
|
|
19
|
+
research: [
|
|
20
|
+
circle(11, 11, 7),
|
|
21
|
+
"m20 20-3.5-3.5",
|
|
22
|
+
"M11 8v3l2 1"
|
|
23
|
+
],
|
|
24
|
+
investigations: [
|
|
25
|
+
circle(11, 11, 7),
|
|
26
|
+
"m20 20-3.5-3.5",
|
|
27
|
+
"M11 8v3l2 1"
|
|
28
|
+
],
|
|
29
|
+
questions: [
|
|
30
|
+
circle(12, 12, 8.5),
|
|
31
|
+
"M9.6 9.4a2.5 2.5 0 1 1 3.4 2.4c-.6.3-1 .8-1 1.5v.4",
|
|
32
|
+
"M12 16.6v.1"
|
|
33
|
+
],
|
|
34
|
+
prreview: [
|
|
35
|
+
circle(6, 6, 2),
|
|
36
|
+
circle(6, 18, 2),
|
|
37
|
+
circle(18, 18, 2),
|
|
38
|
+
"M6 8v8",
|
|
39
|
+
"M18 16V9a3 3 0 0 0-3-3h-4",
|
|
40
|
+
"m13 4-2 2 2 2"
|
|
41
|
+
],
|
|
42
|
+
workspace: ["M3 6.5A1.5 1.5 0 0 1 4.5 5h4l2 2.5h9A1.5 1.5 0 0 1 21 9v9.5a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 18.5v-12Z"],
|
|
43
|
+
knowledge: [
|
|
44
|
+
"M5 4.5A1.5 1.5 0 0 1 6.5 3H19v15H6.5A1.5 1.5 0 0 0 5 19.5v-15Z",
|
|
45
|
+
"M5 19.5A1.5 1.5 0 0 0 6.5 21H19",
|
|
46
|
+
"M9 7.5h6"
|
|
47
|
+
],
|
|
48
|
+
scout: [
|
|
49
|
+
circle(12, 12, 8.5),
|
|
50
|
+
"M12 12l5-5",
|
|
51
|
+
"M12 7.5a4.5 4.5 0 1 0 4.5 4.5"
|
|
52
|
+
],
|
|
53
|
+
evidence: [
|
|
54
|
+
"M4 20h16",
|
|
55
|
+
"M7 16v-5",
|
|
56
|
+
"M12 16V6",
|
|
57
|
+
"M17 16v-8"
|
|
58
|
+
],
|
|
59
|
+
settings: [
|
|
60
|
+
"M4 7h9M17 7h3M4 17h3M11 17h9",
|
|
61
|
+
circle(15, 7, 2),
|
|
62
|
+
circle(9, 17, 2)
|
|
63
|
+
],
|
|
64
|
+
add: ["M12 5v14M5 12h14"],
|
|
65
|
+
repos: [
|
|
66
|
+
circle(6, 5, 2),
|
|
67
|
+
circle(6, 19, 2),
|
|
68
|
+
circle(18, 7, 2),
|
|
69
|
+
"M6 7v10",
|
|
70
|
+
"M18 9c0 5-6 4-11 8"
|
|
71
|
+
],
|
|
72
|
+
lock: [rect(5, 11, 14, 10, 2), "M8 11V8a4 4 0 0 1 8 0v3"],
|
|
73
|
+
search: [circle(11, 11, 7), "m20 20-3.5-3.5"],
|
|
74
|
+
bolt: ["M13 2 4 14h7l-1 8 9-12h-7l1-8Z"],
|
|
75
|
+
arrow: ["M5 12h14M13 6l6 6-6 6"],
|
|
76
|
+
chevron: ["m9 6 6 6-6 6"],
|
|
77
|
+
theme: [circle(12, 12, 8.5), "M12 3.5a8.5 8.5 0 0 1 0 17Z"]
|
|
78
|
+
};
|
|
79
|
+
var railKinds = (off) => choicesOf(BOARD_KINDS.filter((kind) => kind === "delivery" || !off.includes(kind)));
|
|
80
|
+
function railBoards(routeId, board, cardBoard, off = []) {
|
|
81
|
+
const open = cardBoard !== null ? choiceOf(cardBoard) : routeId === "/b/research" ? "research" : isBoardRoute(routeId) ? board : void 0;
|
|
82
|
+
return railKinds(off).map((kind) => ({
|
|
83
|
+
kind,
|
|
84
|
+
label: choiceLabel(kind),
|
|
85
|
+
current: open === kind
|
|
86
|
+
}));
|
|
87
|
+
}
|
|
88
|
+
function railCounts(boards) {
|
|
89
|
+
const counts = {};
|
|
90
|
+
for (const board of boards ?? []) {
|
|
91
|
+
const kind = choiceOf(board.kind);
|
|
92
|
+
counts[kind] = (counts[kind] ?? 0) + openCount(board);
|
|
93
|
+
}
|
|
94
|
+
return counts;
|
|
95
|
+
}
|
|
96
|
+
var repoNames = (repos, project) => repos.map((repo) => repo.path === "." ? project : repo.path);
|
|
97
|
+
var repoLine = (count) => count === 0 ? "No repository yet" : `${count} ${count === 1 ? "repository" : "repositories"}`;
|
|
98
|
+
function busyOf(boards) {
|
|
99
|
+
const cards = boards.flatMap((board) => board.cards);
|
|
100
|
+
return {
|
|
101
|
+
waiting: cards.filter(waitingOnMe).length,
|
|
102
|
+
running: cards.filter((card) => card.state === "running").length
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
function selectorRows(choices = [], live = null) {
|
|
106
|
+
return choices.map((one) => one.current && one.waiting !== null && live !== null ? {
|
|
107
|
+
...one,
|
|
108
|
+
...busyOf(live)
|
|
109
|
+
} : one).sort((a, b) => (b.waiting ?? 0) - (a.waiting ?? 0) || (b.running ?? 0) - (a.running ?? 0) || a.id - b.id);
|
|
110
|
+
}
|
|
111
|
+
var projectLine = (one) => one.running !== null && one.running > 0 ? `${repoLine(one.repos)} · ${one.running} running` : repoLine(one.repos);
|
|
112
|
+
var when = (ms, timeZone) => new Intl.DateTimeFormat("en-GB", {
|
|
113
|
+
timeZone,
|
|
114
|
+
day: "numeric",
|
|
115
|
+
month: "short",
|
|
116
|
+
hour: "2-digit",
|
|
117
|
+
minute: "2-digit",
|
|
118
|
+
hour12: false
|
|
119
|
+
}).format(new Date(ms));
|
|
120
|
+
function railUsage(profiles, limits, timeZone) {
|
|
121
|
+
const profile = profiles[0];
|
|
122
|
+
if (profile === void 0 || LIMIT_SIGNAL[profile.vendor].knownSilent) return null;
|
|
123
|
+
const seen = limits[profile.id];
|
|
124
|
+
const window = seen?.windows.find((one) => one.name === "five_hour");
|
|
125
|
+
if (seen === void 0 || window === void 0 || window.used === null) return null;
|
|
126
|
+
return {
|
|
127
|
+
label: profile.label,
|
|
128
|
+
share: Math.round(window.used * 100),
|
|
129
|
+
resets: window.resetsAt === null ? null : when(window.resetsAt * 1e3, timeZone),
|
|
130
|
+
seen: when(seen.seenAt, timeZone)
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export { ICONS as I, repoNames as a, busyOf as b, repoLine as c, circle as d, railCounts as e, railBoards as f, railKinds as g, projectLine as p, railUsage as r, selectorRows as s };
|
|
135
|
+
//# sourceMappingURL=rail.js-BePBwOqZ.js.map
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { q as blockPlace } from './src.js-Cm8RAH_q.js';
|
|
2
|
+
|
|
3
|
+
//#region ../../packages/ui/src/ticket/review.ts
|
|
4
|
+
var DECISION_WORD = {
|
|
5
|
+
APPROVED: "Approved",
|
|
6
|
+
CHANGES_REQUESTED: "Changes requested",
|
|
7
|
+
REVIEW_REQUIRED: "Waiting on review"
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Which block of `now` is which block of `before`, as pairs of their places in each list.
|
|
11
|
+
*
|
|
12
|
+
* What a round stores for a finding is its label, its file, its line and its words. Two blocks are
|
|
13
|
+
* the same finding when the label and the file match, and of those the nearest line wins. The line
|
|
14
|
+
* only ranks: the author edits the file between two rounds, so every line below the edit moves. The
|
|
15
|
+
* words take no part, because a second round rewords what it found. The place in the list takes no
|
|
16
|
+
* part either; it only breaks a tie between two lines equally near.
|
|
17
|
+
*
|
|
18
|
+
* ponytail: greedy, nearest pair first. Two findings of one label in one file that an edit swapped
|
|
19
|
+
* can pair the wrong way round. The counts stay right and only which one reads as fixed is off; the
|
|
20
|
+
* body is what would tell them apart, and that is what a round rewrites.
|
|
21
|
+
*/
|
|
22
|
+
function pairs(before, now) {
|
|
23
|
+
const near = [];
|
|
24
|
+
now.forEach((block, at) => {
|
|
25
|
+
before.forEach((other, from) => {
|
|
26
|
+
if (block.label === other.label && block.path === other.path) near.push({
|
|
27
|
+
now: at,
|
|
28
|
+
before: from,
|
|
29
|
+
distance: Math.abs((block.line ?? 0) - (other.line ?? 0))
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
near.sort((one, other) => one.distance - other.distance);
|
|
34
|
+
const paired = /* @__PURE__ */ new Map();
|
|
35
|
+
const taken = /* @__PURE__ */ new Set();
|
|
36
|
+
for (const one of near) {
|
|
37
|
+
if (paired.has(one.now) || taken.has(one.before)) continue;
|
|
38
|
+
paired.set(one.now, one.before);
|
|
39
|
+
taken.add(one.before);
|
|
40
|
+
}
|
|
41
|
+
return paired;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The last round given, against every round before it.
|
|
45
|
+
*
|
|
46
|
+
* The rounds come oldest first, and each is compared with the one before it in the list, so a
|
|
47
|
+
* finding carried through three rounds is open since the first. A round missing from the list, such
|
|
48
|
+
* as one that cannot be read, is passed over rather than read as empty, which would call every
|
|
49
|
+
* finding before it fixed. Nothing is read here.
|
|
50
|
+
*/
|
|
51
|
+
function diffRounds(rounds) {
|
|
52
|
+
let open = [];
|
|
53
|
+
const fixed = [];
|
|
54
|
+
for (const round of rounds) {
|
|
55
|
+
const before = open;
|
|
56
|
+
const paired = pairs(before.map((one) => one.block), round.blocks);
|
|
57
|
+
const kept = new Set(paired.values());
|
|
58
|
+
before.forEach((one, at) => {
|
|
59
|
+
if (!kept.has(at) && one.block.label !== "praise") fixed.push({
|
|
60
|
+
...one,
|
|
61
|
+
fixedIn: round.number
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
open = round.blocks.map((block, at) => ({
|
|
65
|
+
block,
|
|
66
|
+
since: before[paired.get(at) ?? -1]?.since ?? round.number
|
|
67
|
+
}));
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
open,
|
|
71
|
+
fixed
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
var ageWord = (one, round) => one.since === round ? `new in round ${round}` : `open since round ${one.since}`;
|
|
75
|
+
function fixedLine(fixed) {
|
|
76
|
+
const where = new Set(fixed.map((one) => one.since)).size === 1 ? `round ${fixed[0]?.since ?? ""}` : "earlier rounds";
|
|
77
|
+
return fixed.length === 1 ? `1 finding from ${where} is fixed` : `${fixed.length} findings from ${where} are fixed`;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* A round as one text for a pull request on GitHub: every block as a conventional comment with its
|
|
81
|
+
* place on the line above it, one blank line between two. One comment pasted on its own is its text
|
|
82
|
+
* alone; in one text for the whole round the place says where each one is.
|
|
83
|
+
*/
|
|
84
|
+
var conventionalComments = (blocks) => blocks.map((block) => block.subject === null ? block.text : `${blockPlace(block) ?? ""}\n${block.text}`).join("\n\n");
|
|
85
|
+
var counted = (count, word) => count === 1 ? `1 ${word}` : `${count} ${word}s`;
|
|
86
|
+
/**
|
|
87
|
+
* Why another review round makes sense, or why it reads the same code, for the decision panel. Null when
|
|
88
|
+
* there is nothing to say: before the first round, or with no push known and nothing left open.
|
|
89
|
+
*/
|
|
90
|
+
function rereviewWhy(facts) {
|
|
91
|
+
const { author, round, pushed, open } = facts;
|
|
92
|
+
if (round === null) return null;
|
|
93
|
+
const said = [pushed === null ? null : pushed > 0 ? `${author ?? "The author"} pushed ${counted(pushed, "commit")} after round ${round}.` : `The last Read pull requests saw no push after round ${round}. Another round would read the same code.`, open > 0 ? `${counted(open, "finding")} from round ${round} ${open === 1 ? "is" : "are"} still open.` : null].filter((one) => one !== null);
|
|
94
|
+
return said.length === 0 ? null : said.join(" ");
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export { DECISION_WORD as D, ageWord as a, conventionalComments as c, diffRounds as d, fixedLine as f, rereviewWhy as r };
|
|
98
|
+
//# sourceMappingURL=review.js-MPqnq9Gy.js.map
|
|
@@ -0,0 +1,265 @@
|
|
|
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/runtime/pathname.js
|
|
2
|
+
var DATA_SUFFIX = "/__data.json";
|
|
3
|
+
var HTML_DATA_SUFFIX = ".html__data.json";
|
|
4
|
+
/** @param {string} pathname */
|
|
5
|
+
function has_data_suffix(pathname) {
|
|
6
|
+
return pathname.endsWith(DATA_SUFFIX) || pathname.endsWith(HTML_DATA_SUFFIX);
|
|
7
|
+
}
|
|
8
|
+
/** @param {string} pathname */
|
|
9
|
+
function add_data_suffix(pathname) {
|
|
10
|
+
if (pathname.endsWith(".html")) return pathname.replace(/\.html$/, HTML_DATA_SUFFIX);
|
|
11
|
+
return pathname.replace(/\/$/, "") + DATA_SUFFIX;
|
|
12
|
+
}
|
|
13
|
+
/** @param {string} pathname */
|
|
14
|
+
function strip_data_suffix(pathname) {
|
|
15
|
+
if (pathname.endsWith(HTML_DATA_SUFFIX)) return pathname.slice(0, -16) + ".html";
|
|
16
|
+
return pathname.slice(0, -12);
|
|
17
|
+
}
|
|
18
|
+
var ROUTE_SUFFIX = "/__route.js";
|
|
19
|
+
/**
|
|
20
|
+
* @param {string} pathname
|
|
21
|
+
* @returns {boolean}
|
|
22
|
+
*/
|
|
23
|
+
function has_resolution_suffix(pathname) {
|
|
24
|
+
return pathname.endsWith(ROUTE_SUFFIX);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Convert a regular URL to a route to send to SvelteKit's server-side route resolution endpoint
|
|
28
|
+
* @param {string} pathname
|
|
29
|
+
* @returns {string}
|
|
30
|
+
*/
|
|
31
|
+
function add_resolution_suffix(pathname) {
|
|
32
|
+
return pathname.replace(/\/$/, "") + ROUTE_SUFFIX;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @param {string} pathname
|
|
36
|
+
* @returns {string}
|
|
37
|
+
*/
|
|
38
|
+
function strip_resolution_suffix(pathname) {
|
|
39
|
+
return pathname.slice(0, -11);
|
|
40
|
+
}
|
|
41
|
+
var internal = new URL("sveltekit-internal://");
|
|
42
|
+
/**
|
|
43
|
+
* @param {string} base
|
|
44
|
+
* @param {string} path
|
|
45
|
+
*/
|
|
46
|
+
function resolve(base, path) {
|
|
47
|
+
if (path[0] === "/" && path[1] === "/") return path;
|
|
48
|
+
let url = new URL(base, internal);
|
|
49
|
+
url = new URL(path, url);
|
|
50
|
+
return url.protocol === internal.protocol ? url.pathname + url.search + url.hash : url.href;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* @param {string} path
|
|
54
|
+
* @param {import('types').TrailingSlash} trailing_slash
|
|
55
|
+
*/
|
|
56
|
+
function normalize_path(path, trailing_slash) {
|
|
57
|
+
if (path === "/" || trailing_slash === "ignore") return path;
|
|
58
|
+
if (trailing_slash === "never") return path.endsWith("/") ? path.slice(0, -1) : path;
|
|
59
|
+
else if (trailing_slash === "always" && !path.endsWith("/")) return path + "/";
|
|
60
|
+
return path;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Decode pathname excluding %25 to prevent further double decoding of params
|
|
64
|
+
* @param {string} pathname
|
|
65
|
+
*/
|
|
66
|
+
function decode_pathname(pathname) {
|
|
67
|
+
return pathname.split("%25").map(decodeURI).join("%25");
|
|
68
|
+
}
|
|
69
|
+
/** @param {Record<string, string>} params */
|
|
70
|
+
function decode_params(params) {
|
|
71
|
+
for (const key in params) params[key] = decodeURIComponent(params[key]);
|
|
72
|
+
return params;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @param {URL} url
|
|
76
|
+
* @param {() => void} callback
|
|
77
|
+
* @param {(search_param: string) => void} search_params_callback
|
|
78
|
+
* @param {boolean} [allow_hash]
|
|
79
|
+
*/
|
|
80
|
+
function make_trackable(url, callback, search_params_callback, allow_hash = false) {
|
|
81
|
+
const tracked = new URL(url);
|
|
82
|
+
Object.defineProperty(tracked, "searchParams", {
|
|
83
|
+
value: new Proxy(tracked.searchParams, { get(obj, key) {
|
|
84
|
+
if (key === "get" || key === "getAll" || key === "has") return (param, ...rest) => {
|
|
85
|
+
search_params_callback(param);
|
|
86
|
+
return obj[key](param, ...rest);
|
|
87
|
+
};
|
|
88
|
+
callback();
|
|
89
|
+
const value = Reflect.get(obj, key);
|
|
90
|
+
return typeof value === "function" ? value.bind(obj) : value;
|
|
91
|
+
} }),
|
|
92
|
+
enumerable: true,
|
|
93
|
+
configurable: true
|
|
94
|
+
});
|
|
95
|
+
/**
|
|
96
|
+
* URL properties that could change during the lifetime of the page,
|
|
97
|
+
* which excludes things like `origin`
|
|
98
|
+
* @type {(keyof URL)[]}
|
|
99
|
+
*/
|
|
100
|
+
const tracked_url_properties = [
|
|
101
|
+
"href",
|
|
102
|
+
"pathname",
|
|
103
|
+
"search",
|
|
104
|
+
"toString",
|
|
105
|
+
"toJSON"
|
|
106
|
+
];
|
|
107
|
+
if (allow_hash) tracked_url_properties.push("hash");
|
|
108
|
+
for (const property of tracked_url_properties) Object.defineProperty(tracked, property, {
|
|
109
|
+
get() {
|
|
110
|
+
callback();
|
|
111
|
+
return url[property];
|
|
112
|
+
},
|
|
113
|
+
enumerable: true,
|
|
114
|
+
configurable: true
|
|
115
|
+
});
|
|
116
|
+
tracked[Symbol.for("nodejs.util.inspect.custom")] = (_depth, opts, inspect) => {
|
|
117
|
+
return inspect(url, opts);
|
|
118
|
+
};
|
|
119
|
+
tracked.searchParams[Symbol.for("nodejs.util.inspect.custom")] = (_depth, opts, inspect) => {
|
|
120
|
+
return inspect(url.searchParams, opts);
|
|
121
|
+
};
|
|
122
|
+
if (!allow_hash) disable_hash(tracked);
|
|
123
|
+
return tracked;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Disallow access to `url.hash` on the server and in `load`
|
|
127
|
+
* @param {URL} url
|
|
128
|
+
*/
|
|
129
|
+
function disable_hash(url) {
|
|
130
|
+
allow_nodejs_console_log(url);
|
|
131
|
+
Object.defineProperty(url, "hash", { get() {
|
|
132
|
+
throw new Error("Cannot access event.url.hash. Consider using `page.url.hash` inside a component instead");
|
|
133
|
+
} });
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Disallow access to `url.search` and `url.searchParams` during prerendering
|
|
137
|
+
* @param {URL} url
|
|
138
|
+
*/
|
|
139
|
+
function disable_search(url) {
|
|
140
|
+
allow_nodejs_console_log(url);
|
|
141
|
+
for (const property of ["search", "searchParams"]) Object.defineProperty(url, property, { get() {
|
|
142
|
+
throw new Error(`Cannot access url.${property} on a page with prerendering enabled`);
|
|
143
|
+
} });
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Allow URL to be console logged, bypassing disabled properties.
|
|
147
|
+
* @param {URL} url
|
|
148
|
+
*/
|
|
149
|
+
function allow_nodejs_console_log(url) {
|
|
150
|
+
url[Symbol.for("nodejs.util.inspect.custom")] = (_depth, opts, inspect) => {
|
|
151
|
+
return inspect(new URL(url), opts);
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
//#endregion
|
|
155
|
+
//#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/routing.js
|
|
156
|
+
/**
|
|
157
|
+
* Returns `false` for `(group)` segments
|
|
158
|
+
* @param {string} segment
|
|
159
|
+
*/
|
|
160
|
+
function affects_path(segment) {
|
|
161
|
+
return segment !== "" && !/^\([^)]+\)$/.test(segment);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Splits a route id into its segments, removing segments that
|
|
165
|
+
* don't affect the path (i.e. groups). The root route is represented by `/`
|
|
166
|
+
* and will be returned as `['']`.
|
|
167
|
+
* @param {string} route
|
|
168
|
+
* @returns string[]
|
|
169
|
+
*/
|
|
170
|
+
function get_route_segments(route) {
|
|
171
|
+
return route.slice(1).split("/").filter(affects_path);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* @param {RegExpMatchArray} match
|
|
175
|
+
* @param {import('types').RouteParam[]} params
|
|
176
|
+
* @param {Record<string, import('@sveltejs/kit').ParamMatcher>} matchers
|
|
177
|
+
*/
|
|
178
|
+
function exec(match, params, matchers) {
|
|
179
|
+
/** @type {Record<string, string>} */
|
|
180
|
+
const result = {};
|
|
181
|
+
const values = match.slice(1);
|
|
182
|
+
const values_needing_match = values.filter((value) => value !== void 0);
|
|
183
|
+
let buffered = 0;
|
|
184
|
+
for (let i = 0; i < params.length; i += 1) {
|
|
185
|
+
const param = params[i];
|
|
186
|
+
let value = values[i - buffered];
|
|
187
|
+
if (param.chained && param.rest && buffered) {
|
|
188
|
+
value = values.slice(i - buffered, i + 1).filter((s) => s).join("/");
|
|
189
|
+
buffered = 0;
|
|
190
|
+
}
|
|
191
|
+
if (value === void 0) {
|
|
192
|
+
if (param.rest) value = "";
|
|
193
|
+
else continue;
|
|
194
|
+
}
|
|
195
|
+
if (!param.matcher || matchers[param.matcher](value)) {
|
|
196
|
+
result[param.name] = value;
|
|
197
|
+
const next_param = params[i + 1];
|
|
198
|
+
const next_value = values[i + 1];
|
|
199
|
+
if (next_param && !next_param.rest && next_param.optional && next_value && param.chained) buffered = 0;
|
|
200
|
+
if (!next_param && !next_value && Object.keys(result).length === values_needing_match.length) buffered = 0;
|
|
201
|
+
continue;
|
|
202
|
+
}
|
|
203
|
+
if (param.optional && param.chained) {
|
|
204
|
+
buffered++;
|
|
205
|
+
continue;
|
|
206
|
+
}
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
if (buffered) return;
|
|
210
|
+
return result;
|
|
211
|
+
}
|
|
212
|
+
var basic_param_pattern = /\[(\[)?(\.\.\.)?(\w+?)(?:=(\w+))?\]\]?/g;
|
|
213
|
+
/**
|
|
214
|
+
* Populate a route ID with params to resolve a pathname.
|
|
215
|
+
* @example
|
|
216
|
+
* ```js
|
|
217
|
+
* resolveRoute(
|
|
218
|
+
* `/blog/[slug]/[...somethingElse]`,
|
|
219
|
+
* {
|
|
220
|
+
* slug: 'hello-world',
|
|
221
|
+
* somethingElse: 'something/else'
|
|
222
|
+
* }
|
|
223
|
+
* ); // `/blog/hello-world/something/else`
|
|
224
|
+
* ```
|
|
225
|
+
* @param {string} id
|
|
226
|
+
* @param {Record<string, string | undefined>} params
|
|
227
|
+
* @returns {string}
|
|
228
|
+
*/
|
|
229
|
+
function resolve_route(id, params) {
|
|
230
|
+
const segments = get_route_segments(id);
|
|
231
|
+
const has_id_trailing_slash = id != "/" && id.endsWith("/");
|
|
232
|
+
return "/" + segments.map((segment) => segment.replace(basic_param_pattern, (_, optional, rest, name) => {
|
|
233
|
+
const param_value = params[name];
|
|
234
|
+
if (!param_value) {
|
|
235
|
+
if (optional) return "";
|
|
236
|
+
if (rest && param_value !== void 0) return "";
|
|
237
|
+
throw new Error(`Missing parameter '${name}' in route ${id}`);
|
|
238
|
+
}
|
|
239
|
+
if (param_value.startsWith("/") || param_value.endsWith("/")) throw new Error(`Parameter '${name}' in route ${id} cannot start or end with a slash -- this would cause an invalid route like foo//bar`);
|
|
240
|
+
return param_value;
|
|
241
|
+
})).filter(Boolean).join("/") + (has_id_trailing_slash ? "/" : "");
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Find the first route that matches the given path
|
|
245
|
+
* @template {{pattern: RegExp, params: import('types').RouteParam[]}} Route
|
|
246
|
+
* @param {string} path - The decoded pathname to match
|
|
247
|
+
* @param {Route[]} routes
|
|
248
|
+
* @param {Record<string, import('@sveltejs/kit').ParamMatcher>} matchers
|
|
249
|
+
* @returns {{ route: Route, params: Record<string, string> } | null}
|
|
250
|
+
*/
|
|
251
|
+
function find_route(path, routes, matchers) {
|
|
252
|
+
for (const route of routes) {
|
|
253
|
+
const match = route.pattern.exec(path);
|
|
254
|
+
if (!match) continue;
|
|
255
|
+
const matched = exec(match, route.params, matchers);
|
|
256
|
+
if (matched) return {
|
|
257
|
+
route,
|
|
258
|
+
params: decode_params(matched)
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
return null;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export { has_data_suffix as a, strip_data_suffix as b, add_data_suffix as c, decode_pathname as d, add_resolution_suffix as e, find_route as f, disable_search as g, has_resolution_suffix as h, resolve_route as i, make_trackable as m, normalize_path as n, resolve as r, strip_resolution_suffix as s };
|
|
265
|
+
//# sourceMappingURL=routing.js-B8s1QwSP.js.map
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { X as readRun, c as cardRuns } from './node.js-Bz2jT5wt.js';
|
|
2
|
+
import { E as tailLog, bS as runLogTime } from './src3.js-h9tTEbVb.js';
|
|
3
|
+
import { t as toolSubject } from './activity.js-CSoPUQLq.js';
|
|
4
|
+
import { w as whenSaid } from './when-said.js-0F9asAma.js';
|
|
5
|
+
|
|
6
|
+
//#region src/lib/run-log.ts
|
|
7
|
+
var plain = (status, text) => new Response(text, {
|
|
8
|
+
status,
|
|
9
|
+
headers: { "content-type": "text/plain; charset=utf-8" }
|
|
10
|
+
});
|
|
11
|
+
var RAW_CAP = 67108864;
|
|
12
|
+
async function logResponse(db, parse, key, runId, signal, options) {
|
|
13
|
+
if (!/^\d+$/.test(runId)) return plain(400, `"${runId}" is not a run id.`);
|
|
14
|
+
const run = readRun(db, Number(runId));
|
|
15
|
+
if (run === null || run.cardKey !== key) return plain(404, `${key} has no run ${runId}.`);
|
|
16
|
+
if (run.logPath === "") return plain(404, `Run ${runId} has no log. It ended before it could start one.`);
|
|
17
|
+
const lines = tailLog(run.logPath, signal, {
|
|
18
|
+
pollMs: options.pollMs,
|
|
19
|
+
follow: !options.raw
|
|
20
|
+
});
|
|
21
|
+
if (options.raw) {
|
|
22
|
+
const cap = options.rawCap ?? RAW_CAP;
|
|
23
|
+
let text = "";
|
|
24
|
+
for await (const line of lines) {
|
|
25
|
+
text += `${line}\n`;
|
|
26
|
+
if (text.length > cap) return plain(413, `The log of run ${runId} is over ${cap} bytes, too large to download here. It is at ${run.logPath}.`);
|
|
27
|
+
}
|
|
28
|
+
return new Response(text, { headers: {
|
|
29
|
+
"content-type": "application/x-ndjson; charset=utf-8",
|
|
30
|
+
"content-disposition": `attachment; filename="${key}-run-${runId}.ndjson"`
|
|
31
|
+
} });
|
|
32
|
+
}
|
|
33
|
+
const cwd = db.prepare("SELECT cwd FROM runs WHERE id = ?").get(run.id)?.cwd ?? "";
|
|
34
|
+
const named = (event) => event.type === "tool" ? {
|
|
35
|
+
...event,
|
|
36
|
+
subject: toolSubject(event.input, cwd)
|
|
37
|
+
} : event;
|
|
38
|
+
const encoder = new TextEncoder();
|
|
39
|
+
const body = new ReadableStream({ async start(controller) {
|
|
40
|
+
try {
|
|
41
|
+
let at = null;
|
|
42
|
+
for await (const line of lines) {
|
|
43
|
+
const noted = runLogTime(line);
|
|
44
|
+
if (noted !== null) {
|
|
45
|
+
at = noted;
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
for (const event of parse(line, run.engine).map(named)) controller.enqueue(encoder.encode(`${JSON.stringify(at === null ? event : {
|
|
49
|
+
...event,
|
|
50
|
+
at
|
|
51
|
+
})}\n`));
|
|
52
|
+
}
|
|
53
|
+
} finally {
|
|
54
|
+
controller.close();
|
|
55
|
+
}
|
|
56
|
+
} });
|
|
57
|
+
return new Response(body, { headers: {
|
|
58
|
+
"content-type": "application/x-ndjson; charset=utf-8",
|
|
59
|
+
"cache-control": "no-store"
|
|
60
|
+
} });
|
|
61
|
+
}
|
|
62
|
+
function rawLog(db, key, query, signal, rawCap) {
|
|
63
|
+
const other = [...query.keys()].find((name) => name !== "run");
|
|
64
|
+
if (other !== void 0) return Promise.resolve(plain(400, `Download raw serves only a run's own log, named by its run id. It does not read "${other}".`));
|
|
65
|
+
return logResponse(db, () => [], key, query.get("run") ?? "", signal, {
|
|
66
|
+
raw: true,
|
|
67
|
+
rawCap
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function logFor(db, key, asked, now = /* @__PURE__ */ new Date()) {
|
|
71
|
+
const runs = cardRuns(db, key).reverse().map((run) => ({
|
|
72
|
+
id: run.id,
|
|
73
|
+
phase: run.phase,
|
|
74
|
+
state: run.state,
|
|
75
|
+
startedAt: run.startedAt,
|
|
76
|
+
endedAt: run.endedAt,
|
|
77
|
+
engine: run.engine,
|
|
78
|
+
model: run.model,
|
|
79
|
+
effort: run.effort,
|
|
80
|
+
wall: run.wall,
|
|
81
|
+
costUsd: run.costUsd,
|
|
82
|
+
durationMs: run.durationMs,
|
|
83
|
+
tokens: run.tokens === null ? null : run.tokens.input + run.tokens.output,
|
|
84
|
+
started: run.startedAt === null ? null : whenSaid(run.startedAt, now),
|
|
85
|
+
failureReason: run.state === "failed" ? run.failureReason : null
|
|
86
|
+
}));
|
|
87
|
+
return {
|
|
88
|
+
runs,
|
|
89
|
+
selected: runs.find((run) => String(run.id) === asked)?.id ?? runs[0]?.id ?? null
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export { logResponse as a, logFor as l, rawLog as r };
|
|
94
|
+
//# sourceMappingURL=run-log.js-CnN2jOcg.js.map
|