@dylanpiercey/work 0.0.54 → 0.0.55
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/dist/{_B4j4T87Y.js → _DEyQrZwJ.js} +2 -2
- package/dist/{_DR15xnsO.js → _DqS1ynQN.js} +17 -17
- package/dist/index.mjs +59 -57
- package/dist/public/assets/{_jwK_hfjX.js → _-_1HfJf9.js} +1 -1
- package/dist/public/assets/_-_1HfJf9.js.br +0 -0
- package/dist/public/assets/{_Da-rGF4b.js → _3d_5Ooi5.js} +1 -1
- package/dist/public/assets/_3d_5Ooi5.js.br +0 -0
- package/dist/public/assets/{_CcTjaIzI.js → _B3vk87Um.js} +1 -1
- package/dist/public/assets/_B3vk87Um.js.br +0 -0
- package/dist/public/assets/{_Dyazf_9g2.js → _B6I9X5iE2.js} +1 -1
- package/dist/public/assets/{_A2jsCTtm.js → _B78s3bFY.js} +1 -1
- package/dist/public/assets/_B78s3bFY.js.br +0 -0
- package/dist/public/assets/{_CHLpoD3f.js → _B9ZV4ThY.js} +1 -1
- package/dist/public/assets/_B9ZV4ThY.js.br +0 -0
- package/dist/public/assets/{_CxtuK-4o.js → _BC3BfNXZ.js} +1 -1
- package/dist/public/assets/_BC3BfNXZ.js.br +0 -0
- package/dist/public/assets/{_C2GlkLwv2.js → _BFA3i9452.js} +1 -1
- package/dist/public/assets/_BFA3i9452.js.br +0 -0
- package/dist/public/assets/{_BHEpUtr6.js → _BMjHaHZ0.js} +1 -1
- package/dist/public/assets/_BMjHaHZ0.js.br +0 -0
- package/dist/public/assets/{_BQsqC8hk2.js → _BN6Pobuf2.js} +1 -1
- package/dist/public/assets/_BN6Pobuf2.js.br +0 -0
- package/dist/public/assets/{_D22P9fs6.js → _BPnS2wvB.js} +1 -1
- package/dist/public/assets/_BPnS2wvB.js.br +0 -0
- package/dist/public/assets/{_JunsJNNT.js → _BW39OCyN.js} +1 -1
- package/dist/public/assets/{_COZxTai62.js → _B_dUaQRU2.js} +1 -1
- package/dist/public/assets/_B_dUaQRU2.js.br +0 -0
- package/dist/public/assets/{_B4FjU53F.js → _BcGbsup-.js} +1 -1
- package/dist/public/assets/_BcGbsup-.js.br +0 -0
- package/dist/public/assets/{_Dj_1nc7E.js → _BdVHm2ph.js} +1 -1
- package/dist/public/assets/_BdVHm2ph.js.br +0 -0
- package/dist/public/assets/{_Dm6TcMqi.js → _BgV2TULh.js} +1 -1
- package/dist/public/assets/_BgV2TULh.js.br +0 -0
- package/dist/public/assets/{_Bhh5Ko4a.js → _BhUjWRsM.js} +1 -1
- package/dist/public/assets/_BhUjWRsM.js.br +0 -0
- package/dist/public/assets/{_3iN6whOI.js → _BkSHd_ab.js} +1 -1
- package/dist/public/assets/_BkSHd_ab.js.br +0 -0
- package/dist/public/assets/{_NiC1R4Zi.js → _BlU5wvvf.js} +1 -1
- package/dist/public/assets/_BlU5wvvf.js.br +0 -0
- package/dist/public/assets/{_DkB32b3m.js → _BsMYRdqe.js} +1 -1
- package/dist/public/assets/_BsMYRdqe.js.br +0 -0
- package/dist/public/assets/{_xgbGvU0_.js → _BsTMn0Bi.js} +1 -1
- package/dist/public/assets/_BsTMn0Bi.js.br +0 -0
- package/dist/public/assets/{_CyA-LmOZ.js → _Bs_rBpsW.js} +1 -1
- package/dist/public/assets/_Bs_rBpsW.js.br +0 -0
- package/dist/public/assets/{_CfEBnXzN2.js → _Bsb7b0_o2.js} +1 -1
- package/dist/public/assets/_Bsb7b0_o2.js.br +0 -0
- package/dist/public/assets/{_C8QiF9rQ2.js → _C0Jd785o2.js} +1 -1
- package/dist/public/assets/_C0Jd785o2.js.br +0 -0
- package/dist/public/assets/{_Ck3v32PD2.js → _C0KuyU8B2.js} +1 -1
- package/dist/public/assets/_C0KuyU8B2.js.br +0 -0
- package/dist/public/assets/{_DgNVeyzF2.js → _C2JTviuS2.js} +1 -1
- package/dist/public/assets/_C2JTviuS2.js.br +0 -0
- package/dist/public/assets/{_C3KlaubL.js → _CAkQILrc.js} +1 -1
- package/dist/public/assets/_CAkQILrc.js.br +0 -0
- package/dist/public/assets/{_CvhEn6fJ.js → _CUPlBvNC.js} +1 -1
- package/dist/public/assets/_CUPlBvNC.js.br +0 -0
- package/dist/public/assets/{_WdT3NjzX.js → _CW9ejsrh.js} +1 -1
- package/dist/public/assets/_CW9ejsrh.js.br +0 -0
- package/dist/public/assets/{_0V8k51kI.js → _CXSbyTaW.js} +1 -1
- package/dist/public/assets/_CXSbyTaW.js.br +0 -0
- package/dist/public/assets/{_CDjaEo10.js → _Cbz6i_Ir.js} +1 -1
- package/dist/public/assets/_Cbz6i_Ir.js.br +0 -0
- package/dist/public/assets/{_m3T7ukQb.js → _CejWSKTc.js} +1 -1
- package/dist/public/assets/_CejWSKTc.js.br +0 -0
- package/dist/public/assets/{_d5f4QTNy.js → _CiQdYEHQ.js} +1 -1
- package/dist/public/assets/_CiQdYEHQ.js.br +0 -0
- package/dist/public/assets/{_CKk0ZDCe2.js → _CkBCJdr-2.js} +1 -1
- package/dist/public/assets/_CkBCJdr-2.js.br +0 -0
- package/dist/public/assets/{_Cp4nSHKn.js → _CnWkhnTU.js} +1 -1
- package/dist/public/assets/_CnWkhnTU.js.br +0 -0
- package/dist/public/assets/{_DTu90wH32.js → _D3htbFuc2.js} +1 -1
- package/dist/public/assets/_D3htbFuc2.js.br +0 -0
- package/dist/public/assets/{_BXF4B0C02.js → _DD4Vp1Mf2.js} +1 -1
- package/dist/public/assets/_DD4Vp1Mf2.js.br +0 -0
- package/dist/public/assets/{_CRdFP8h02.js → _DDnzt87R2.js} +1 -1
- package/dist/public/assets/_DDnzt87R2.js.br +0 -0
- package/dist/public/assets/{_beMrsQN4.js → _DLWtlgKH.js} +1 -1
- package/dist/public/assets/_DLWtlgKH.js.br +0 -0
- package/dist/public/assets/{_ByDxqOzU.js → _DMNunCvV.js} +1 -1
- package/dist/public/assets/_DMNunCvV.js.br +0 -0
- package/dist/public/assets/{_BAlET148.js → _DMhWlh7L.js} +1 -1
- package/dist/public/assets/_DMhWlh7L.js.br +0 -0
- package/dist/public/assets/{_D-8pDqL72.js → _DOKc26YL2.js} +1 -1
- package/dist/public/assets/_DOKc26YL2.js.br +0 -0
- package/dist/public/assets/{_BQdiaGWX.js → _DSd-10LO.js} +1 -1
- package/dist/public/assets/_DSd-10LO.js.br +0 -0
- package/dist/public/assets/{_ClYsbNrN.js → _DTX6XFTY.js} +1 -1
- package/dist/public/assets/_DTX6XFTY.js.br +0 -0
- package/dist/public/assets/{_C3VLh26m2.js → _DTc0OxUJ2.js} +1 -1
- package/dist/public/assets/_DTc0OxUJ2.js.br +0 -0
- package/dist/public/assets/{_DhxBiaex2.js → _DZipbShr2.js} +1 -1
- package/dist/public/assets/_DZipbShr2.js.br +0 -0
- package/dist/public/assets/{_BZLAeUzn2.js → _D_metatX2.js} +1 -1
- package/dist/public/assets/_D_metatX2.js.br +0 -0
- package/dist/public/assets/{_DO4-VZBL.js → _D_yA6Eq7.js} +1 -1
- package/dist/public/assets/_D_yA6Eq7.js.br +0 -0
- package/dist/public/assets/{_D-VvLd-E.js → _Dbz6yAhK.js} +1 -1
- package/dist/public/assets/_Dbz6yAhK.js.br +0 -0
- package/dist/public/assets/{_Di8Ne6Hf.js → _DcMEpabj.js} +1 -1
- package/dist/public/assets/_DcMEpabj.js.br +0 -0
- package/dist/public/assets/{_CQADEuH72.js → _DcdqGN3z2.js} +1 -1
- package/dist/public/assets/_DcdqGN3z2.js.br +0 -0
- package/dist/public/assets/{_BUZmjFg3.js → _Dd4UI6m9.js} +1 -1
- package/dist/public/assets/_Dd4UI6m9.js.br +0 -0
- package/dist/public/assets/{_I86QjKeM2.js → _DebjdWD82.js} +1 -1
- package/dist/public/assets/_DebjdWD82.js.br +0 -0
- package/dist/public/assets/{_b94SvbqO.js → _DlgvawWO.js} +1 -1
- package/dist/public/assets/_DlgvawWO.js.br +0 -0
- package/dist/public/assets/{_pGFAO9Go.js → _Dm3_XJhp.js} +1 -1
- package/dist/public/assets/_Dm3_XJhp.js.br +0 -0
- package/dist/public/assets/{_CrE6MkHi.js → _DoYTmicm.js} +1 -1
- package/dist/public/assets/_DoYTmicm.js.br +0 -0
- package/dist/public/assets/{_6ljHM438.js → _Dp2tIHGY.js} +1 -1
- package/dist/public/assets/_Dp2tIHGY.js.br +0 -0
- package/dist/public/assets/{_D0ZL1lfg.js → _DtSOe2hG.js} +1 -1
- package/dist/public/assets/_DtSOe2hG.js.br +0 -0
- package/dist/public/assets/{_5J2qupPz.js → _DuJiHnT9.js} +1 -1
- package/dist/public/assets/_DuJiHnT9.js.br +0 -0
- package/dist/public/assets/{_BoZqES4q2.js → _LNwJ-4DM2.js} +1 -1
- package/dist/public/assets/_LNwJ-4DM2.js.br +0 -0
- package/dist/public/assets/{_Dzq_2DGW.js → _LYSyk8ub.js} +1 -1
- package/dist/public/assets/_LYSyk8ub.js.br +0 -0
- package/dist/public/assets/{_Cm3lFAdK.js → _NHqJTRXU.js} +1 -1
- package/dist/public/assets/_NHqJTRXU.js.br +0 -0
- package/dist/public/assets/{_CsWJaBHs.js → _RZjPJJI9.js} +5 -5
- package/dist/public/assets/_RZjPJJI9.js.br +0 -0
- package/dist/public/assets/{_HLo9hRiL.js → _TJEWRjd5.js} +1 -1
- package/dist/public/assets/_TJEWRjd5.js.br +0 -0
- package/dist/public/assets/{_DsppIoFS.js → _TrUY5-Oo.js} +1 -1
- package/dist/public/assets/_TrUY5-Oo.js.br +0 -0
- package/dist/public/assets/{_bvtTZwpQ2.js → _V8-82yNW2.js} +1 -1
- package/dist/public/assets/{_C9jMFK4-.js → __nDBXvyf.js} +1 -1
- package/dist/public/assets/__nDBXvyf.js.br +0 -0
- package/dist/public/assets/{_80INQku92.js → _chIgh5T12.js} +1 -1
- package/dist/public/assets/_chIgh5T12.js.br +0 -0
- package/dist/public/assets/{_7jeC7CYl.js → _da-D4VPw.js} +1 -1
- package/dist/public/assets/_da-D4VPw.js.br +0 -0
- package/dist/public/assets/{_BAxaVCgt.js → _eSdLWSrw.js} +1 -1
- package/dist/public/assets/_eSdLWSrw.js.br +0 -0
- package/dist/public/assets/{_CqcR6jL3.js → _itykIiaw.js} +1 -1
- package/dist/public/assets/_itykIiaw.js.br +0 -0
- package/dist/public/assets/{_DqHB-IE62.js → _jid9u3Bf2.js} +1 -1
- package/dist/public/assets/_jid9u3Bf2.js.br +0 -0
- package/dist/public/assets/{_kJnweNq_2.js → _oCTE7tfG2.js} +1 -1
- package/dist/public/assets/_oCTE7tfG2.js.br +0 -0
- package/dist/public/assets/{_Cy0DKZKN2.js → _oamUDqK52.js} +1 -1
- package/dist/public/assets/_oamUDqK52.js.br +0 -0
- package/dist/public/assets/{_Ct31p7v-.js → _v-whlyoS.js} +1 -1
- package/dist/public/assets/_v-whlyoS.js.br +0 -0
- package/dist/public/assets/{diff-view-BycwYQvt.css → diff-view-2uvkksbH.css} +1 -1
- package/dist/public/assets/diff-view-2uvkksbH.css.br +0 -0
- package/dist/public/assets/{index-DW2ZKvBG.js → index-CY8tmRJ8.js} +3 -3
- package/dist/public/assets/index-CY8tmRJ8.js.br +0 -0
- package/dist/public/assets/{index-CEw5rn6U.css → index-mnzNQz7z.css} +1 -1
- package/dist/public/assets/index-mnzNQz7z.css.br +0 -0
- package/package.json +1 -1
- package/dist/public/assets/_0V8k51kI.js.br +0 -0
- package/dist/public/assets/_3iN6whOI.js.br +0 -0
- package/dist/public/assets/_5J2qupPz.js.br +0 -0
- package/dist/public/assets/_6ljHM438.js.br +0 -0
- package/dist/public/assets/_7jeC7CYl.js.br +0 -0
- package/dist/public/assets/_80INQku92.js.br +0 -0
- package/dist/public/assets/_A2jsCTtm.js.br +0 -0
- package/dist/public/assets/_B4FjU53F.js.br +0 -0
- package/dist/public/assets/_BAlET148.js.br +0 -0
- package/dist/public/assets/_BAxaVCgt.js.br +0 -0
- package/dist/public/assets/_BHEpUtr6.js.br +0 -0
- package/dist/public/assets/_BQdiaGWX.js.br +0 -0
- package/dist/public/assets/_BQsqC8hk2.js.br +0 -0
- package/dist/public/assets/_BUZmjFg3.js.br +0 -0
- package/dist/public/assets/_BXF4B0C02.js.br +0 -0
- package/dist/public/assets/_BZLAeUzn2.js.br +0 -0
- package/dist/public/assets/_Bhh5Ko4a.js.br +0 -0
- package/dist/public/assets/_BoZqES4q2.js.br +0 -0
- package/dist/public/assets/_ByDxqOzU.js.br +0 -0
- package/dist/public/assets/_C2GlkLwv2.js.br +0 -0
- package/dist/public/assets/_C3KlaubL.js.br +0 -0
- package/dist/public/assets/_C3VLh26m2.js.br +0 -0
- package/dist/public/assets/_C8QiF9rQ2.js.br +0 -0
- package/dist/public/assets/_C9jMFK4-.js.br +0 -0
- package/dist/public/assets/_CDjaEo10.js.br +0 -0
- package/dist/public/assets/_CHLpoD3f.js.br +0 -0
- package/dist/public/assets/_CKk0ZDCe2.js.br +0 -0
- package/dist/public/assets/_COZxTai62.js.br +0 -0
- package/dist/public/assets/_CQADEuH72.js.br +0 -0
- package/dist/public/assets/_CRdFP8h02.js.br +0 -0
- package/dist/public/assets/_CcTjaIzI.js.br +0 -0
- package/dist/public/assets/_CfEBnXzN2.js.br +0 -0
- package/dist/public/assets/_Ck3v32PD2.js.br +0 -0
- package/dist/public/assets/_ClYsbNrN.js.br +0 -0
- package/dist/public/assets/_Cm3lFAdK.js.br +0 -0
- package/dist/public/assets/_Cp4nSHKn.js.br +0 -0
- package/dist/public/assets/_CqcR6jL3.js.br +0 -0
- package/dist/public/assets/_CrE6MkHi.js.br +0 -0
- package/dist/public/assets/_CsWJaBHs.js.br +0 -0
- package/dist/public/assets/_Ct31p7v-.js.br +0 -0
- package/dist/public/assets/_CvhEn6fJ.js.br +0 -0
- package/dist/public/assets/_CxtuK-4o.js.br +0 -0
- package/dist/public/assets/_Cy0DKZKN2.js.br +0 -0
- package/dist/public/assets/_CyA-LmOZ.js.br +0 -0
- package/dist/public/assets/_D-8pDqL72.js.br +0 -0
- package/dist/public/assets/_D-VvLd-E.js.br +0 -0
- package/dist/public/assets/_D0ZL1lfg.js.br +0 -0
- package/dist/public/assets/_D22P9fs6.js.br +0 -0
- package/dist/public/assets/_DO4-VZBL.js.br +0 -0
- package/dist/public/assets/_DTu90wH32.js.br +0 -0
- package/dist/public/assets/_Da-rGF4b.js.br +0 -0
- package/dist/public/assets/_DgNVeyzF2.js.br +0 -0
- package/dist/public/assets/_DhxBiaex2.js.br +0 -0
- package/dist/public/assets/_Di8Ne6Hf.js.br +0 -0
- package/dist/public/assets/_Dj_1nc7E.js.br +0 -0
- package/dist/public/assets/_DkB32b3m.js.br +0 -0
- package/dist/public/assets/_Dm6TcMqi.js.br +0 -0
- package/dist/public/assets/_DqHB-IE62.js.br +0 -0
- package/dist/public/assets/_DsppIoFS.js.br +0 -0
- package/dist/public/assets/_Dzq_2DGW.js.br +0 -0
- package/dist/public/assets/_HLo9hRiL.js.br +0 -0
- package/dist/public/assets/_I86QjKeM2.js.br +0 -0
- package/dist/public/assets/_NiC1R4Zi.js.br +0 -0
- package/dist/public/assets/_WdT3NjzX.js.br +0 -0
- package/dist/public/assets/_b94SvbqO.js.br +0 -0
- package/dist/public/assets/_beMrsQN4.js.br +0 -0
- package/dist/public/assets/_d5f4QTNy.js.br +0 -0
- package/dist/public/assets/_jwK_hfjX.js.br +0 -0
- package/dist/public/assets/_kJnweNq_2.js.br +0 -0
- package/dist/public/assets/_m3T7ukQb.js.br +0 -0
- package/dist/public/assets/_pGFAO9Go.js.br +0 -0
- package/dist/public/assets/_xgbGvU0_.js.br +0 -0
- package/dist/public/assets/diff-view-BycwYQvt.css.br +0 -0
- package/dist/public/assets/index-CEw5rn6U.css.br +0 -0
- package/dist/public/assets/index-DW2ZKvBG.js.br +0 -0
|
@@ -2210,8 +2210,8 @@ var icon_sidebar_default = _template("R", (input) => {
|
|
|
2210
2210
|
});
|
|
2211
2211
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
2212
2212
|
});
|
|
2213
|
-
var findInput = "
|
|
2214
|
-
var findIconBtn = "
|
|
2213
|
+
var findInput = "_fc _e";
|
|
2214
|
+
var findIconBtn = "_ff _D";
|
|
2215
2215
|
//#endregion
|
|
2216
2216
|
//#region src/tags/icons/icon-search.marko
|
|
2217
2217
|
var icon_search_default = _template("O", (input) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as _set_serialize_reason, B as _html, C as _attr_select_value, F as _existing_scope, G as _resume_branch, H as _if, J as _scope_with_id, K as _scope_id, L as _for_of, M as _el_read_error, N as _el_resume, P as _escape, Q as _serialize_if, S as _attr_option_value, U as _peek_scope_id, W as _resume, X as _sep, Y as _script, Z as _serialize_guard, a as diffTreeOpen, b as _attr_details_or_dialog_open, ct as attrTag, et as _show_end, f as icon_refresh_default, i as icon_sidebar_default, j as _el, k as _content_resume, m as toast_default, n as findIconBtn, nt as _subscribe, o as diffUncommitted, p as icon_base_default, q as _scope_reason, r as findInput, rt as _template, t as icon_search_default, tt as _show_start, u as fuzzy, ut as writeScope, v as _attr, w as _attr_style, x as _attr_input_value, y as _attr_class } from "./
|
|
1
|
+
import { $ as _set_serialize_reason, B as _html, C as _attr_select_value, F as _existing_scope, G as _resume_branch, H as _if, J as _scope_with_id, K as _scope_id, L as _for_of, M as _el_read_error, N as _el_resume, P as _escape, Q as _serialize_if, S as _attr_option_value, U as _peek_scope_id, W as _resume, X as _sep, Y as _script, Z as _serialize_guard, a as diffTreeOpen, b as _attr_details_or_dialog_open, ct as attrTag, et as _show_end, f as icon_refresh_default, i as icon_sidebar_default, j as _el, k as _content_resume, m as toast_default, n as findIconBtn, nt as _subscribe, o as diffUncommitted, p as icon_base_default, q as _scope_reason, r as findInput, rt as _template, t as icon_search_default, tt as _show_start, u as fuzzy, ut as writeScope, v as _attr, w as _attr_style, x as _attr_input_value, y as _attr_class } from "./_DEyQrZwJ.js";
|
|
2
2
|
//#region src/client/clipboard.ts
|
|
3
3
|
/** Copy text to the clipboard. `navigator.clipboard` needs a secure
|
|
4
4
|
* context — absent over plain-http LAN origins — so fall back to a hidden
|
|
@@ -283,7 +283,7 @@ var icon_back_default = _template("A", (input) => {
|
|
|
283
283
|
});
|
|
284
284
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
285
285
|
});
|
|
286
|
-
var fileFilter = "
|
|
286
|
+
var fileFilter = "_e6 _e";
|
|
287
287
|
//#endregion
|
|
288
288
|
//#region src/tags/file-filter.marko
|
|
289
289
|
var file_filter_default = _template("j", (input) => {
|
|
@@ -313,7 +313,7 @@ var file_filter_default = _template("j", (input) => {
|
|
|
313
313
|
pending = v;
|
|
314
314
|
box.timer = setTimeout(flush, 150);
|
|
315
315
|
}, "j2", $scope0_id);
|
|
316
|
-
_html(`<div${_attr_class("
|
|
316
|
+
_html(`<div${_attr_class("_e5")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
|
|
317
317
|
type(v);
|
|
318
318
|
}, "j0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
|
|
319
319
|
_script($scope0_id, "j3");
|
|
@@ -339,7 +339,7 @@ var diff_send_default = _template("g", (input) => {
|
|
|
339
339
|
let sendTarget = null;
|
|
340
340
|
const sessions = input.sessions || [];
|
|
341
341
|
const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
|
|
342
|
-
_html(`<span${_attr_class("
|
|
342
|
+
_html(`<span${_attr_class("_e7")}><button type=button${_attr_class("_h")} title="Copy comments as markdown">Copy${_el_resume($scope0_id, "c")}</button>${_el_resume($scope0_id, "b")}`);
|
|
343
343
|
_if(() => {
|
|
344
344
|
if (sessions.length === 1) {
|
|
345
345
|
const $scope1_id = _scope_id();
|
|
@@ -349,11 +349,11 @@ var diff_send_default = _template("g", (input) => {
|
|
|
349
349
|
return 0;
|
|
350
350
|
} else if (sessions.length) {
|
|
351
351
|
const $scope2_id = _scope_id();
|
|
352
|
-
_html(`<span${_attr_class("
|
|
352
|
+
_html(`<span${_attr_class("_e8")}><button type=button${_attr_class("_e9")}${_attr("disabled", sending)}>Send to${_el_resume($scope2_id, "c")}</button>${_el_resume($scope2_id, "b")}`);
|
|
353
353
|
_attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
|
|
354
354
|
sendTarget = _new_sendTarget;
|
|
355
355
|
}, "g0", $scope2_id), () => {
|
|
356
|
-
_html(`<select${_attr_class("
|
|
356
|
+
_html(`<select${_attr_class("_e_")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
|
|
357
357
|
_for_of(sessions, (s) => {
|
|
358
358
|
const $scope3_id = _scope_id();
|
|
359
359
|
_html(`<option${_attr_option_value(s.id)}>${_escape(s.title || s.agent)}${_el_resume($scope3_id, "b", $sg__input_sessions)}</option>${_el_resume($scope3_id, "a", $sg__input_sessions)}`);
|
|
@@ -1889,9 +1889,9 @@ var diff_find_default = _template("f", (input) => {
|
|
|
1889
1889
|
el.select();
|
|
1890
1890
|
}, 0);
|
|
1891
1891
|
}, "f5", $scope0_id);
|
|
1892
|
-
_html(`<div${_attr_class(["
|
|
1892
|
+
_html(`<div${_attr_class(["_fb", !open && "_fa"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
|
|
1893
1893
|
type(v);
|
|
1894
|
-
}, "f0", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in diffs" aria-label="Find in diffs">${_el_resume($scope0_id, "b")}<span${_attr_class("
|
|
1894
|
+
}, "f0", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in diffs" aria-label="Find in diffs">${_el_resume($scope0_id, "b")}<span${_attr_class("_fe")}>${open && (query || "").trim() ? hits.length ? `${_escape(`${at + 1}`)}/${_escape(`${hits.length}`)}` : "0/0" : ""}${_el_resume($scope0_id, "d")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class(findIconBtn)} title="Close find" tabindex=${open ? "0" : "-1"}>×</button>${_el_resume($scope0_id, "g")}</div>${_el_resume($scope0_id, "a")}`);
|
|
1895
1895
|
_script($scope0_id, "f6");
|
|
1896
1896
|
_script($scope0_id, "f7");
|
|
1897
1897
|
_script($scope0_id, "f8");
|
|
@@ -1930,7 +1930,7 @@ var diff_file_default = _template("e", (input) => {
|
|
|
1930
1930
|
_scope_reason();
|
|
1931
1931
|
const $scope0_id = _scope_id();
|
|
1932
1932
|
_el($scope0_id, "e0");
|
|
1933
|
-
_html(`<div${_attr_class(["
|
|
1933
|
+
_html(`<div${_attr_class(["_e4", input.class])}></div>${_el_resume($scope0_id, "a")}`);
|
|
1934
1934
|
_script($scope0_id, "e1");
|
|
1935
1935
|
writeScope($scope0_id, {
|
|
1936
1936
|
e: input.file,
|
|
@@ -1959,10 +1959,10 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
1959
1959
|
let openedRepos = input.openedRepos;
|
|
1960
1960
|
let collapsedDirs = /* @__PURE__ */ new Set();
|
|
1961
1961
|
const commentKeys = input.commentKeys || /* @__PURE__ */ new Set();
|
|
1962
|
-
_html(`<aside${_attr_class(["
|
|
1962
|
+
_html(`<aside${_attr_class(["_fD", { ["_fC"]: input.open === false }])}>`);
|
|
1963
1963
|
_for_of(input.sections, (section) => {
|
|
1964
1964
|
const $scope1_id = _scope_id();
|
|
1965
|
-
_html(`<div${_attr_class("
|
|
1965
|
+
_html(`<div${_attr_class("_fE")}><button type=button${_attr_class(["_fF", { ["_fC"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_fK")}>${collapsedRepos.has(section.id) ? "▸" : "▾"}${_el_resume($scope1_id, "d")}</span>${_sep($sg__input_sections)}${_escape(section.label)}${_el_resume($scope1_id, "e", $sg__input_sections)}</button>${_el_resume($scope1_id, "b")}`);
|
|
1966
1966
|
_if(() => {
|
|
1967
1967
|
if (!collapsedRepos.has(section.id) || openedRepos.has(section.id)) {
|
|
1968
1968
|
const $scope2_id = _scope_id();
|
|
@@ -1989,17 +1989,17 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
1989
1989
|
_if(() => {
|
|
1990
1990
|
if (!hiddenByCollapse(row) && row.kind === "dir") {
|
|
1991
1991
|
const $scope5_id = _scope_id();
|
|
1992
|
-
_html(`<button type=button${_attr_class(["
|
|
1992
|
+
_html(`<button type=button${_attr_class(["_fG", { ["_fC"]: collapsedDirs.has(dirKey(row.path)) }])}${_attr("title", row.path)}${_attr_style(`padding-left:${.35 + row.depth * .75}rem`)}><span${_attr_class("_fK")}>${collapsedDirs.has(dirKey(row.path)) ? "▸" : "▾"}${_el_resume($scope5_id, "c")}</span>${_escape(row.label)}${_el_resume($scope5_id, "d", $sg__input_sections)}/</button>${_el_resume($scope5_id, "a")}`);
|
|
1993
1993
|
_script($scope5_id, "h3");
|
|
1994
1994
|
_subscribe($si__input_sections && $if_content__dirKey__closures, _subscribe($collapsedDirs__closures, writeScope($scope5_id, { Cv: 1 })));
|
|
1995
1995
|
return 0;
|
|
1996
1996
|
} else if (!hiddenByCollapse(row) && row.kind !== "dir") {
|
|
1997
1997
|
const $scope4_id = _scope_id();
|
|
1998
|
-
_html(`<button type=button${_attr_class("
|
|
1998
|
+
_html(`<button type=button${_attr_class("_fH")}${_attr("title", row.file.path)}${_attr_style(`padding-left:${.5 + row.depth * .75}rem`)}><span${_attr_class("_fL")}${_attr("data-status", row.file.status)}>${_escape(row.file.status)}${_el_resume($scope4_id, "c", $sg__input_sections)}</span>${_el_resume($scope4_id, "b", $sg__input_sections)}<span${_attr_class("_fI")}>${_escape(row.name)}${_el_resume($scope4_id, "e", $sg__input_sections)}</span>`);
|
|
1999
1999
|
_if(() => {
|
|
2000
2000
|
if (commentKeys.has(row.file.key)) {
|
|
2001
2001
|
const $scope6_id = _scope_id();
|
|
2002
|
-
_html(`<span${_attr_class("
|
|
2002
|
+
_html(`<span${_attr_class("_fJ")}>💬</span>`);
|
|
2003
2003
|
_serialize_if($scope0_reason, 0) && writeScope($scope6_id, {});
|
|
2004
2004
|
return 0;
|
|
2005
2005
|
}
|
|
@@ -2060,7 +2060,7 @@ var diff_tree_default = _template("h", (input) => {
|
|
|
2060
2060
|
});
|
|
2061
2061
|
//#endregion
|
|
2062
2062
|
//#region src/tags/diff-file-sheet.css.ts
|
|
2063
|
-
var iconBtn = "
|
|
2063
|
+
var iconBtn = "_fs _D";
|
|
2064
2064
|
//#endregion
|
|
2065
2065
|
//#region src/tags/diff-file-sheet.marko
|
|
2066
2066
|
var diff_file_sheet_default = _template("d", (input) => {
|
|
@@ -2073,10 +2073,10 @@ var diff_file_sheet_default = _template("d", (input) => {
|
|
|
2073
2073
|
_if(() => {
|
|
2074
2074
|
if (open) {
|
|
2075
2075
|
const $scope1_id = _scope_id();
|
|
2076
|
-
_html(`<div${_attr_class("
|
|
2076
|
+
_html(`<div${_attr_class("_fu")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_fv")} role=dialog aria-label="Jump to file"><div${_attr_class("_fw")}><strong${_attr_class("_ft")}>Files</strong><span${_attr_class("_fx")}>${_escape(input.files.length)}${_el_resume($scope1_id, "f", _serialize_guard($scope0_reason, 6))}${_sep($sg__input_total__OR__input_files_length)}${input.files.length !== total ? ` / ${_escape(`${total}`)}` : ""}${_el_resume($scope1_id, "g", $sg__input_total__OR__input_files_length)}</span><button type=button${_attr_class(iconBtn)} title=Close aria-label=Close>×</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_fy")}>`);
|
|
2077
2077
|
_for_of(input.files, (file) => {
|
|
2078
2078
|
const $scope2_id = _scope_id();
|
|
2079
|
-
_html(`<button type=button${_attr_class(["
|
|
2079
|
+
_html(`<button type=button${_attr_class(["_fz", "_q"])}><span${_attr_class("_fB")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope2_id, "c", $sg__input_files)}</span>${_el_resume($scope2_id, "b", $sg__input_files)}<span${_attr_class("_fA")}${_attr("title", file.key)}><bdi>${_escape(file.key)}${_el_resume($scope2_id, "e", $sg__input_files)}</bdi></span>${_el_resume($scope2_id, "d", $sg__input_files)}`);
|
|
2080
2080
|
_if(() => {
|
|
2081
2081
|
if (commentKeys.has(file.key)) {
|
|
2082
2082
|
const $scope3_id = _scope_id();
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./_BMI-E3GI.js";
|
|
2
2
|
import { $ as get, A as subscribe, B as setPref, C as setScrapedPhase, D as pushPublicKey, E as deleteSubscription, F as disabledAgents, G as setupPath, H as doctor, I as enabledAgents, J as TOOLS, K as which, L as getSetting, M as subscriberJoins, N as agentChoices, O as saveSubscription, P as allPrefs, Q as db, R as preferredAgent, S as setAgentPhase, T as summaryFromHookPayload, U as ghKnownHosts, V as setSetting, W as miseVersions, X as toolById, Y as agentById, Z as all, _ as tmuxName, a as ensureTmuxServer, at as tmux, b as clearAgentPhase, c as killWorkspaceSessions, d as newSessionArgs, et as workspacePath, g as sessionStates, h as sendToSession, i as disposeSessions, it as run, j as subscriberCount, k as publish, l as listSessions, m as renameSession, n as clearTmuxStarted, nt as gh, o as getSession, ot as config, p as panePids, q as DEFAULT_GITHUB_HOST, r as createSession, rt as git, s as killSession, t as cleanEnv, tt as TMUX_SOCKET, u as markTmuxStarted, v as tmuxWasStarted, w as setSessionViewers, x as reasonFromHookPayload, y as reportsWorking, z as setDisabledAgents } from "./_DFLVEzHW.js";
|
|
3
|
-
import { $ as _set_serialize_reason, A as _dynamic_tag, B as _html, C as _attr_select_value, D as _await, E as _attrs_partial, F as _existing_scope, G as _resume_branch, H as _if, I as _flush_head, J as _scope_with_id, K as _scope_id, L as _for_of, M as _el_read_error, N as _el_resume, O as _content, P as _escape, Q as _serialize_if, R as _hoist, S as _attr_option_value, T as _attrs, U as _peek_scope_id, V as _id, W as _resume, X as _sep, Y as _script, Z as _serialize_guard, _ as $global, at as _trailers, c as sideNavOpen, ct as attrTag, d as rankRepos, et as _show_end, f as icon_refresh_default, g as phase, h as btnSm, i as icon_sidebar_default, it as _to_text, k as _content_resume, l as workspaceTab, lt as withPageAssets, m as toast_default, n as findIconBtn, nt as _subscribe, ot as _try, p as icon_base_default, q as _scope_reason, r as findInput, rt as _template, s as setWorkspaceTab, st as _var, tt as _show_start, ut as writeScope, v as _attr, w as _attr_style, x as _attr_input_value, y as _attr_class, z as _hoist_read_error } from "./
|
|
3
|
+
import { $ as _set_serialize_reason, A as _dynamic_tag, B as _html, C as _attr_select_value, D as _await, E as _attrs_partial, F as _existing_scope, G as _resume_branch, H as _if, I as _flush_head, J as _scope_with_id, K as _scope_id, L as _for_of, M as _el_read_error, N as _el_resume, O as _content, P as _escape, Q as _serialize_if, R as _hoist, S as _attr_option_value, T as _attrs, U as _peek_scope_id, V as _id, W as _resume, X as _sep, Y as _script, Z as _serialize_guard, _ as $global, at as _trailers, c as sideNavOpen, ct as attrTag, d as rankRepos, et as _show_end, f as icon_refresh_default, g as phase, h as btnSm, i as icon_sidebar_default, it as _to_text, k as _content_resume, l as workspaceTab, lt as withPageAssets, m as toast_default, n as findIconBtn, nt as _subscribe, ot as _try, p as icon_base_default, q as _scope_reason, r as findInput, rt as _template, s as setWorkspaceTab, st as _var, tt as _show_start, ut as writeScope, v as _attr, w as _attr_style, x as _attr_input_value, y as _attr_class, z as _hoist_read_error } from "./_DEyQrZwJ.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import path from "node:path";
|
|
@@ -3168,11 +3168,11 @@ var usage_meters_default = _template("x", (input) => {
|
|
|
3168
3168
|
const $scope0_reason = _scope_reason(), $sg__input_agent__OR__input_hideName = _serialize_guard($scope0_reason, 0), $sg__input_agent = _serialize_guard($scope0_reason, 1), $si__input_agent = _serialize_if($scope0_reason, 1), $sg__input_hideName = _serialize_guard($scope0_reason, 2), $si__input_agent__OR__input_hideName = _serialize_if($scope0_reason, 0);
|
|
3169
3169
|
const $scope0_id = _scope_id();
|
|
3170
3170
|
const agent = input.agent;
|
|
3171
|
-
_html(`<div${_attr_class(["
|
|
3171
|
+
_html(`<div${_attr_class(["_cG", { ["_cH"]: input.hideName }])}><div${_attr_class("_cI")}>`);
|
|
3172
3172
|
_if(() => {
|
|
3173
3173
|
if (!input.hideName) {
|
|
3174
3174
|
const $scope1_id = _scope_id();
|
|
3175
|
-
_html(`<strong${_attr_class("
|
|
3175
|
+
_html(`<strong${_attr_class("_c1")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
|
|
3176
3176
|
$si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
|
|
3177
3177
|
return 0;
|
|
3178
3178
|
}
|
|
@@ -3180,7 +3180,7 @@ var usage_meters_default = _template("x", (input) => {
|
|
|
3180
3180
|
_if(() => {
|
|
3181
3181
|
if (agent.plan) {
|
|
3182
3182
|
const $scope2_id = _scope_id();
|
|
3183
|
-
_html(`<span${_attr_class("
|
|
3183
|
+
_html(`<span${_attr_class("_cJ")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
|
|
3184
3184
|
$si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
3185
3185
|
return 0;
|
|
3186
3186
|
}
|
|
@@ -3188,25 +3188,25 @@ var usage_meters_default = _template("x", (input) => {
|
|
|
3188
3188
|
_if(() => {
|
|
3189
3189
|
if (agent.stale_seconds != null) {
|
|
3190
3190
|
const $scope3_id = _scope_id();
|
|
3191
|
-
_html(`<span${_attr_class("
|
|
3191
|
+
_html(`<span${_attr_class("_cK")}${_attr("title", `${agent.note || "couldn't reach this provider"} — these are the last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>⚠ ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "b", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
|
|
3192
3192
|
$si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
|
|
3193
3193
|
return 0;
|
|
3194
3194
|
}
|
|
3195
3195
|
}, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
|
|
3196
|
-
_html(`</div><div${_attr_class(["
|
|
3196
|
+
_html(`</div><div${_attr_class(["_cL", { ["_c2"]: agent.stale_seconds != null }])}>`);
|
|
3197
3197
|
_for_of(agent.windows || [], (win) => {
|
|
3198
3198
|
const $scope4_id = _scope_id();
|
|
3199
3199
|
const pct = Math.round(win.used_percent);
|
|
3200
3200
|
const label = resetLabel(win.resets_at, agent.stale_seconds != null);
|
|
3201
|
-
const fillClass = win.used_percent >= 90 ? "
|
|
3202
|
-
const pctClass = win.used_percent >= 90 ? "
|
|
3203
|
-
_html(`<div${_attr_class("
|
|
3201
|
+
const fillClass = win.used_percent >= 90 ? "_cU" : win.used_percent >= 70 ? "_cT" : win.used_percent >= 40 ? "_cS" : "_cR";
|
|
3202
|
+
const pctClass = win.used_percent >= 90 ? "_cZ" : win.used_percent >= 70 ? "_cY" : win.used_percent >= 40 ? "_cX" : "_cW";
|
|
3203
|
+
_html(`<div${_attr_class("_cN")}${_attr("title", `${win.window}: ${pct}% used${win.resets_at ? ` — resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_cO")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_cP")}><span${_attr_class(["_cQ", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope4_id, "e", $sg__input_agent)}</span><span${_attr_class(["_cV", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}%</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_c0")}>${label ? `↻ ${_escape(`${_to_text(label)}`)}` : ""}${_el_resume($scope4_id, "i", $sg__input_agent)}</span></div>${_el_resume($scope4_id, "a", $sg__input_agent)}`);
|
|
3204
3204
|
$si__input_agent && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
|
|
3205
3205
|
}, "window", $scope0_id, "g", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
|
|
3206
3206
|
_if(() => {
|
|
3207
3207
|
if (agent.note) {
|
|
3208
3208
|
const $scope5_id = _scope_id();
|
|
3209
|
-
_html(`<p${_attr_class("
|
|
3209
|
+
_html(`<p${_attr_class("_cM")}>${_escape(agent.note)}${_el_resume($scope5_id, "b", $sg__input_agent)}</p>`);
|
|
3210
3210
|
$si__input_agent && writeScope($scope5_id, { _: _scope_with_id($scope0_id) });
|
|
3211
3211
|
return 0;
|
|
3212
3212
|
}
|
|
@@ -3242,7 +3242,7 @@ var modal_view_default = _template("l", (input) => {
|
|
|
3242
3242
|
const { label, class: inputClass, open: _open, openChange: _openChange, dismissable: _dismissable, content, footer, closedby: _closedby, onCancel: _onCancel, onClose: _onClose, "aria-label": inputAriaLabel, "aria-labelledby": inputLabelledBy, ...htmlInput } = input;
|
|
3243
3243
|
const dismissable = input.dismissable !== false;
|
|
3244
3244
|
let open = input.open;
|
|
3245
|
-
_html(`<dialog${_attr_class(["
|
|
3245
|
+
_html(`<dialog${_attr_class(["_fn", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
|
|
3246
3246
|
...htmlInput,
|
|
3247
3247
|
open: null
|
|
3248
3248
|
}, {
|
|
@@ -3252,20 +3252,20 @@ var modal_view_default = _template("l", (input) => {
|
|
|
3252
3252
|
closedby: 1,
|
|
3253
3253
|
"on-cancel": 1,
|
|
3254
3254
|
"on-close": 1
|
|
3255
|
-
}, "a", $scope0_id, "dialog")}><div${_attr_class("
|
|
3255
|
+
}, "a", $scope0_id, "dialog")}><div${_attr_class("_fo")}>`);
|
|
3256
3256
|
_dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
|
|
3257
3257
|
_html("</div>");
|
|
3258
3258
|
_if(() => {
|
|
3259
3259
|
if (footer) {
|
|
3260
3260
|
const $scope1_id = _scope_id();
|
|
3261
|
-
_html(`<form method=dialog${_attr_class("
|
|
3261
|
+
_html(`<form method=dialog${_attr_class("_fp")}>`);
|
|
3262
3262
|
_dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
|
|
3263
3263
|
_html("</form>");
|
|
3264
3264
|
$si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
|
|
3265
3265
|
return 0;
|
|
3266
3266
|
} else if (input.openChange) {
|
|
3267
3267
|
const $scope2_id = _scope_id();
|
|
3268
|
-
_html(`<form method=dialog${_attr_class("
|
|
3268
|
+
_html(`<form method=dialog${_attr_class("_fp")}>`);
|
|
3269
3269
|
dialog_close_default({
|
|
3270
3270
|
class: ["_h", "_i"],
|
|
3271
3271
|
content: _content("l0", () => {
|
|
@@ -4735,8 +4735,8 @@ function activeAgent(session) {
|
|
|
4735
4735
|
const command = session.state?.command?.trim();
|
|
4736
4736
|
return command && agentFromCommand(command) || session.agent;
|
|
4737
4737
|
}
|
|
4738
|
-
var iconBtn$1 = "
|
|
4739
|
-
var navToggle = "
|
|
4738
|
+
var iconBtn$1 = "_dh _D";
|
|
4739
|
+
var navToggle = "_dm _D";
|
|
4740
4740
|
_template("C", (input) => {
|
|
4741
4741
|
const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
|
|
4742
4742
|
const $scope0_id = _scope_id();
|
|
@@ -5108,10 +5108,10 @@ var side_nav_item_default = _template("s", (input) => {
|
|
|
5108
5108
|
agent: "shell",
|
|
5109
5109
|
size: 12
|
|
5110
5110
|
});
|
|
5111
|
-
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class("
|
|
5111
|
+
_html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class("_fq")}>`);
|
|
5112
5112
|
_for_of([], (agent) => {
|
|
5113
5113
|
const $scope7_id = _scope_id();
|
|
5114
|
-
_html(`<button${_attr_class("
|
|
5114
|
+
_html(`<button${_attr_class("_fr")}>`);
|
|
5115
5115
|
_set_serialize_reason(12);
|
|
5116
5116
|
const $childScope2 = _peek_scope_id();
|
|
5117
5117
|
icon_agent_default({
|
|
@@ -5376,25 +5376,25 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5376
5376
|
const wsSelected = view !== "settings" && view !== "new";
|
|
5377
5377
|
const otherIds = itemIds.filter((id) => id !== ws.id);
|
|
5378
5378
|
const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
|
|
5379
|
-
_html(`<aside${_attr_class(["
|
|
5380
|
-
["
|
|
5381
|
-
["
|
|
5379
|
+
_html(`<aside${_attr_class(["_dl", {
|
|
5380
|
+
["_dj"]: !navOpen,
|
|
5381
|
+
["_dk"]: isPage
|
|
5382
5382
|
}])}${_attr("hidden", view === "diff")}>`);
|
|
5383
5383
|
_if(() => {
|
|
5384
5384
|
if (isPage) {
|
|
5385
5385
|
const $scope1_id = _scope_id();
|
|
5386
|
-
_html(`<header${_attr_class("
|
|
5386
|
+
_html(`<header${_attr_class("_do")}><h1${_attr_class("_dp")}>Workspaces</h1><div${_attr_class("_dq")}>`);
|
|
5387
5387
|
_if(() => {}, $scope1_id, "d", 1, 1, 1, 0, 1);
|
|
5388
5388
|
_html(`<button${_attr_class([
|
|
5389
5389
|
iconBtn$1,
|
|
5390
|
-
"
|
|
5391
|
-
{ ["
|
|
5390
|
+
"_dr",
|
|
5391
|
+
{ ["_dg"]: view === "settings" }
|
|
5392
5392
|
])} title=Settings aria-pressed=${view === "settings" ? "true" : "false"}>`);
|
|
5393
5393
|
icon_settings_default({ size: 16 });
|
|
5394
5394
|
_if(() => {
|
|
5395
5395
|
if (input.setupReady === false) {
|
|
5396
5396
|
const $scope10_id = _scope_id();
|
|
5397
|
-
_html(`<span${_attr_class(["_s", "
|
|
5397
|
+
_html(`<span${_attr_class(["_s", "_di"])} title="Machine setup incomplete"></span>`);
|
|
5398
5398
|
$si__input_setupReady && writeScope($scope10_id, {});
|
|
5399
5399
|
return 0;
|
|
5400
5400
|
}
|
|
@@ -5405,13 +5405,13 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5405
5405
|
return 0;
|
|
5406
5406
|
}
|
|
5407
5407
|
}, $scope0_id, "b", 1, 1, 1, 0, 1);
|
|
5408
|
-
_html(`<div${_attr_class("
|
|
5408
|
+
_html(`<div${_attr_class("_du")}>`);
|
|
5409
5409
|
_for_of(listIds, (wsId) => {
|
|
5410
5410
|
const $scope2_id = _scope_id();
|
|
5411
5411
|
_if(() => {
|
|
5412
5412
|
if (isPage && wsId === ws.id) {
|
|
5413
5413
|
const $scope11_id = _scope_id();
|
|
5414
|
-
_html(`<h2${_attr_class("
|
|
5414
|
+
_html(`<h2${_attr_class("_ds")}>Current</h2>`);
|
|
5415
5415
|
writeScope($scope11_id, {});
|
|
5416
5416
|
return 0;
|
|
5417
5417
|
}
|
|
@@ -5419,7 +5419,7 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5419
5419
|
_if(() => {
|
|
5420
5420
|
if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
|
|
5421
5421
|
const $scope12_id = _scope_id();
|
|
5422
|
-
_html(`<h2${_attr_class("
|
|
5422
|
+
_html(`<h2${_attr_class("_ds")}>Other spaces</h2>`);
|
|
5423
5423
|
writeScope($scope12_id, {});
|
|
5424
5424
|
return 0;
|
|
5425
5425
|
}
|
|
@@ -5517,7 +5517,7 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5517
5517
|
railHover = null;
|
|
5518
5518
|
}, 150);
|
|
5519
5519
|
}, "t9", $scope3_id);
|
|
5520
|
-
_html(`<div${_attr_class("
|
|
5520
|
+
_html(`<div${_attr_class("_dv")}>`);
|
|
5521
5521
|
_for_of(itemIds, (wsId, i) => {
|
|
5522
5522
|
const $scope4_id = _scope_id();
|
|
5523
5523
|
_html("<span>");
|
|
@@ -5564,7 +5564,7 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5564
5564
|
if (railHover) {
|
|
5565
5565
|
const $scope5_id = _scope_id();
|
|
5566
5566
|
const hoverId = railHover.id;
|
|
5567
|
-
_html(`<div${_attr_class("
|
|
5567
|
+
_html(`<div${_attr_class("_dy")}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
|
|
5568
5568
|
_set_serialize_reason({
|
|
5569
5569
|
0: 1,
|
|
5570
5570
|
1: 1,
|
|
@@ -5667,11 +5667,11 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5667
5667
|
return 0;
|
|
5668
5668
|
}
|
|
5669
5669
|
}, $scope0_id, "d");
|
|
5670
|
-
_html(`<div${_attr_class("
|
|
5670
|
+
_html(`<div${_attr_class("_dw")}>`);
|
|
5671
5671
|
_if(() => {
|
|
5672
5672
|
if (isPage) {
|
|
5673
5673
|
const $scope6_id = _scope_id();
|
|
5674
|
-
_html(`<button${_attr_class(["
|
|
5674
|
+
_html(`<button${_attr_class(["_dt", { ["_dg"]: view === "new" }])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
|
|
5675
5675
|
icon_folder_plus_default({ size: 16 });
|
|
5676
5676
|
_html(` New workspace</button>${_el_resume($scope6_id, "a")}`);
|
|
5677
5677
|
_script($scope6_id, "t21");
|
|
@@ -5693,19 +5693,19 @@ var side_nav_default = _template("t", (input) => {
|
|
|
5693
5693
|
return 1;
|
|
5694
5694
|
}
|
|
5695
5695
|
}, $scope7_id, "a", 1, 1, 1, "</button>", 1);
|
|
5696
|
-
_html(`<div${_attr_class(["_r", "
|
|
5696
|
+
_html(`<div${_attr_class(["_r", "_dx"])}></div>`);
|
|
5697
5697
|
_if(() => {}, $scope7_id, "c", 1, 1, 1, 0, 1);
|
|
5698
|
-
_html(`<button${_attr_class([iconBtn$1, { ["
|
|
5698
|
+
_html(`<button${_attr_class([iconBtn$1, { ["_dg"]: view === "settings" }])} title=Settings aria-pressed=${view === "settings" ? "true" : "false"}>`);
|
|
5699
5699
|
icon_settings_default({ size: 15 });
|
|
5700
5700
|
_if(() => {
|
|
5701
5701
|
if (input.setupReady === false) {
|
|
5702
5702
|
const $scope15_id = _scope_id();
|
|
5703
|
-
_html(`<span${_attr_class(["_s", "
|
|
5703
|
+
_html(`<span${_attr_class(["_s", "_di"])} title="Machine setup incomplete"></span>`);
|
|
5704
5704
|
$si__input_setupReady && writeScope($scope15_id, {});
|
|
5705
5705
|
return 0;
|
|
5706
5706
|
}
|
|
5707
5707
|
}, $scope7_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
|
|
5708
|
-
_html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([iconBtn$1, { ["
|
|
5708
|
+
_html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([iconBtn$1, { ["_dg"]: view === "new" }])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
|
|
5709
5709
|
icon_folder_plus_default({ size: 16 });
|
|
5710
5710
|
_html(`</button>${_el_resume($scope7_id, "g")}`);
|
|
5711
5711
|
_script($scope7_id, "t23");
|
|
@@ -5781,8 +5781,8 @@ function repoWebUrl(fullName) {
|
|
|
5781
5781
|
return `https://github.com/${fullName}`;
|
|
5782
5782
|
}
|
|
5783
5783
|
var iconBtn = "_bU _D";
|
|
5784
|
-
var content = "
|
|
5785
|
-
var pageMeta = "
|
|
5784
|
+
var content = "_c3 _T";
|
|
5785
|
+
var pageMeta = "_c4 _Y";
|
|
5786
5786
|
//#endregion
|
|
5787
5787
|
//#region src/tags/manage-workspace.marko
|
|
5788
5788
|
var api$2;
|
|
@@ -5876,16 +5876,16 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
5876
5876
|
setTimeout(() => loadProcs(void 0), 500);
|
|
5877
5877
|
}, "k5", $scope0_id);
|
|
5878
5878
|
const titleId = _id();
|
|
5879
|
-
_html(`<div${_attr_class("_R")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_S")}><div${_attr_class(content)}><header${_attr_class("_V")}><div${_attr_class("_X")}><h1${_attr("id", titleId)}${_attr_class("_W")}>Manage</h1><p${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("
|
|
5879
|
+
_html(`<div${_attr_class("_R")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_S")}><div${_attr_class(content)}><header${_attr_class("_V")}><div${_attr_class("_X")}><h1${_attr("id", titleId)}${_attr_class("_W")}>Manage</h1><p${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_c5")}>${_escape(ws.name)}${_el_resume($scope0_id, "i")}</span>`);
|
|
5880
5880
|
_if(() => {
|
|
5881
5881
|
if (ws.status !== "active") {
|
|
5882
5882
|
const $scope10_id = _scope_id();
|
|
5883
|
-
_html(`<span${_attr_class(["
|
|
5883
|
+
_html(`<span${_attr_class(["_c8", "_c9"])}>Archived</span>`);
|
|
5884
5884
|
writeScope($scope10_id, {});
|
|
5885
5885
|
return 0;
|
|
5886
5886
|
}
|
|
5887
5887
|
}, $scope0_id, "j", 1, 1, 1, 0, 1);
|
|
5888
|
-
_html(`<span${_attr_class("
|
|
5888
|
+
_html(`<span${_attr_class("_c6")} aria-hidden=true>·</span><span${_attr_class(["_c7", "_q"])}>${_escape(ws.display_path || ws.path)}${_el_resume($scope0_id, "m")}</span></p>${_el_resume($scope0_id, "g")}</div></header>`);
|
|
5889
5889
|
_if(() => {
|
|
5890
5890
|
if (error) {
|
|
5891
5891
|
const $scope2_id = _scope_id();
|
|
@@ -5924,7 +5924,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
5924
5924
|
_html(`</button>${_el_resume($scope0_id, "v")}</div><ul${_attr_class("_bI")}>`);
|
|
5925
5925
|
_for_of(ws.repos, (row) => {
|
|
5926
5926
|
const $scope1_id = _scope_id();
|
|
5927
|
-
_html(`<li${_attr_class("_bK")}><div${_attr_class("_bL")}><span${_attr_class(["_bM", "_q"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bN")}><a${_attr_class(["_bO", "
|
|
5927
|
+
_html(`<li${_attr_class("_bK")}><div${_attr_class("_bL")}><span${_attr_class(["_bM", "_q"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bN")}><a${_attr_class(["_bO", "_da"])}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(row.full_name)}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
|
|
5928
5928
|
_if(() => {
|
|
5929
5929
|
if (row.base_branch !== row.default_branch) {
|
|
5930
5930
|
const $scope11_id = _scope_id();
|
|
@@ -5974,7 +5974,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
5974
5974
|
return 0;
|
|
5975
5975
|
}
|
|
5976
5976
|
}, $scope0_id, "a0", 1, 1, 1, 0, 1);
|
|
5977
|
-
_html(`<div${_attr_class("
|
|
5977
|
+
_html(`<div${_attr_class("_c_")}>`);
|
|
5978
5978
|
const $childScope2 = _peek_scope_id();
|
|
5979
5979
|
let refreshCatalog = repo_picker_default({
|
|
5980
5980
|
exclude: inWorkspace,
|
|
@@ -6004,7 +6004,7 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6004
6004
|
_html(`<span${_attr_class("_bN")}>`);
|
|
6005
6005
|
_for_of(p.ports, (port) => {
|
|
6006
6006
|
const $scope16_id = _scope_id();
|
|
6007
|
-
_html(`<button${_attr_class(["_l", "
|
|
6007
|
+
_html(`<button${_attr_class(["_l", "_db"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope16_id, "b")}</button>${_el_resume($scope16_id, "a")}`);
|
|
6008
6008
|
_script($scope16_id, "k13");
|
|
6009
6009
|
writeScope($scope16_id, { d: port });
|
|
6010
6010
|
}, (x) => String(x), $scope15_id, "a", 1, 1, 1, "</span>", 1);
|
|
@@ -6024,17 +6024,17 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6024
6024
|
return 0;
|
|
6025
6025
|
}
|
|
6026
6026
|
}, $scope0_id, "a4", 1, 1, 1, 0, 1);
|
|
6027
|
-
_html(`<section${_attr_class(["_bF", "
|
|
6027
|
+
_html(`<section${_attr_class(["_bF", "_dc"])}><div${_attr_class("_bG")}><h2${_attr_class("_bV")}>Workspace</h2></div><div${_attr_class("_dd")}>`);
|
|
6028
6028
|
_if(() => {
|
|
6029
6029
|
if (ws.status === "active") {
|
|
6030
6030
|
const $scope4_id = _scope_id();
|
|
6031
|
-
_html(`<button type=button${_attr_class(["_h", "
|
|
6031
|
+
_html(`<button type=button${_attr_class(["_h", "_de"])}${_attr("disabled", !!pendingAction)}>${pendingAction === "archive" ? "Archiving…" : "Archive"}${_el_resume($scope4_id, "b")}</button>${_el_resume($scope4_id, "a")}`);
|
|
6032
6032
|
_script($scope4_id, "k15");
|
|
6033
6033
|
writeScope($scope4_id, {});
|
|
6034
6034
|
return 0;
|
|
6035
6035
|
} else {
|
|
6036
6036
|
const $scope5_id = _scope_id();
|
|
6037
|
-
_html(`<button type=button${_attr_class(["_h", "
|
|
6037
|
+
_html(`<button type=button${_attr_class(["_h", "_de"])}${_attr("disabled", !!pendingAction)}>Restore</button>${_el_resume($scope5_id, "a")}`);
|
|
6038
6038
|
_script($scope5_id, "k16");
|
|
6039
6039
|
writeScope($scope5_id, {});
|
|
6040
6040
|
return 1;
|
|
@@ -6043,9 +6043,9 @@ var manage_workspace_default = _template("k", (input) => {
|
|
|
6043
6043
|
_html(`<button type=button${_attr_class([
|
|
6044
6044
|
"_h",
|
|
6045
6045
|
"_k",
|
|
6046
|
-
"
|
|
6046
|
+
"_de",
|
|
6047
6047
|
{ ["_j"]: confirmingDelete }
|
|
6048
|
-
])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "ab")}</button>${_el_resume($scope0_id, "aa")}</div><p${_attr_class("
|
|
6048
|
+
])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "ab")}</button>${_el_resume($scope0_id, "aa")}</div><p${_attr_class("_df")}>Archive hides the space from the list. Delete removes it and its worktrees.</p></section></div></div></div>`);
|
|
6049
6049
|
_script($scope0_id, "k17");
|
|
6050
6050
|
_script($scope0_id, "k18");
|
|
6051
6051
|
writeScope($scope0_id, {
|
|
@@ -6116,15 +6116,15 @@ var term_find_default = _template("u", (input) => {
|
|
|
6116
6116
|
const canStep = hasQuery && open;
|
|
6117
6117
|
const keybar = input.placement === "keybar";
|
|
6118
6118
|
_html(`<div${_attr_class([
|
|
6119
|
-
"
|
|
6120
|
-
keybar ? "
|
|
6121
|
-
!open && "
|
|
6122
|
-
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["
|
|
6119
|
+
"_fg",
|
|
6120
|
+
keybar ? "_fi" : "_fh",
|
|
6121
|
+
!open && "_fk"
|
|
6122
|
+
])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_fb", keybar ? "_fj" : "_fd"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
|
|
6123
6123
|
if (!open) return;
|
|
6124
6124
|
query = v;
|
|
6125
6125
|
live.query = v;
|
|
6126
6126
|
run(0);
|
|
6127
|
-
}, "u0", $scope0_id))}${_attr_class([findInput, keybar && "
|
|
6127
|
+
}, "u0", $scope0_id))}${_attr_class([findInput, keybar && "_fl"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_fm"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_fm"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class([findIconBtn, keybar && "_fm"])} title="Close find" tabindex=${open ? "0" : "-1"}>×</button>${_el_resume($scope0_id, "f")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
|
|
6128
6128
|
_script($scope0_id, "u4");
|
|
6129
6129
|
_script($scope0_id, "u5");
|
|
6130
6130
|
_script($scope0_id, "u6");
|
|
@@ -6542,7 +6542,7 @@ var work_view_default = _template("y", (input) => {
|
|
|
6542
6542
|
let DiffView = null;
|
|
6543
6543
|
const loadDiffView = _resume(() => {
|
|
6544
6544
|
if (DiffView) return;
|
|
6545
|
-
import("./
|
|
6545
|
+
import("./_DqS1ynQN.js").then((m) => {
|
|
6546
6546
|
DiffView = m.default;
|
|
6547
6547
|
});
|
|
6548
6548
|
}, "y4", $scope0_id);
|
|
@@ -14567,12 +14567,14 @@ async function handleTermConnection(ws, req) {
|
|
|
14567
14567
|
lastSend = Date.now();
|
|
14568
14568
|
}
|
|
14569
14569
|
};
|
|
14570
|
+
let exited = false;
|
|
14570
14571
|
proc.onData((data) => {
|
|
14571
14572
|
pending.push(data);
|
|
14572
14573
|
if (flushTimer) return;
|
|
14573
14574
|
flushTimer = setTimeout(flush, Date.now() - lastSend >= FLUSH_MS ? 1 : FLUSH_MS);
|
|
14574
14575
|
});
|
|
14575
14576
|
proc.onExit(() => {
|
|
14577
|
+
exited = true;
|
|
14576
14578
|
tmux([
|
|
14577
14579
|
"has-session",
|
|
14578
14580
|
"-t",
|
|
@@ -14609,7 +14611,7 @@ async function handleTermConnection(ws, req) {
|
|
|
14609
14611
|
ws.on("message", (data, isBinary) => {
|
|
14610
14612
|
if (isBinary) {
|
|
14611
14613
|
if (lastForced.get(session.id) !== `${dims[0]}x${dims[1]}`) forceWindowSize();
|
|
14612
|
-
proc.write(data.toString());
|
|
14614
|
+
if (!exited) proc.write(data.toString());
|
|
14613
14615
|
} else {
|
|
14614
14616
|
const text = data.toString();
|
|
14615
14617
|
const resize = parseResize(text);
|
|
@@ -14792,4 +14794,4 @@ server.listen(port, () => {
|
|
|
14792
14794
|
//#endregion
|
|
14793
14795
|
export {};
|
|
14794
14796
|
|
|
14795
|
-
;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-
|
|
14797
|
+
;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-mnzNQz7z.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/index-mnzNQz7z.css\"",">"],"defer":[2,"/assets/index-CY8tmRJ8.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/index-CY8tmRJ8.js\"","></script>"]}};
|