purplemux 0.2.2 → 0.2.3
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/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/build-manifest.json +88 -88
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/required-server-files.json +1 -1
- package/.next/standalone/.next/routes-manifest.json +51 -7
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0t1c-6w._.js → [root-of-the-server]__016s4a9._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__05ij_ys._.js +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0cjfc~l._.js → [root-of-the-server]__06h3gzy._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__08tdlcm._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0qda0wx._.js → [root-of-the-server]__0_fu3k.._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0pv48rv._.js → [root-of-the-server]__0_imm_0._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0ef59mr._.js → [root-of-the-server]__0abp0lo._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0auutl5._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0bo-su1._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0bocpgx._.js +30 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0c-bb5d._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0dt2efu._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0zjping._.js → [root-of-the-server]__0g8mjyh._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0ihlt6s._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__045g9-a._.js → [root-of-the-server]__0lk7ru8._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0l~_wd0._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__04o.cbq._.js → [root-of-the-server]__0m99ffd._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0hzysmw._.js → [root-of-the-server]__0q8lffz._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0vjtjtc._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0x_e0yw._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0t7wqt6._.js → [root-of-the-server]__10h2vlr._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__11iyaqz._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__00yjayf._.js → [root-of-the-server]__121-6-e._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__12ksl6n._.js +2 -2
- package/.next/standalone/.next/server/chunks/{_0out7wm._.js → _0-mgr1c._.js} +1 -1
- package/.next/standalone/.next/server/chunks/_0.5a4bu._.js +3 -0
- package/.next/standalone/.next/server/chunks/{_134uyu_._.js → _03-duro._.js} +1 -1
- package/.next/standalone/.next/server/chunks/_05-8rnc._.js +3 -0
- package/.next/standalone/.next/server/chunks/{_0ap4fy.._.js → _07097f~._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{_0st-_d~._.js → _0jzxge9._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{_0uo_gs5._.js → _0ll-5~7._.js} +1 -1
- package/.next/standalone/.next/server/chunks/_0mhomq~._.js +3 -0
- package/.next/standalone/.next/server/chunks/{_0.hbe-v._.js → _0pk0hms._.js} +1 -1
- package/.next/standalone/.next/server/chunks/_0qm27ix._.js +3 -0
- package/.next/standalone/.next/server/chunks/{_0su2osz._.js → _0v81st0._.js} +1 -1
- package/.next/standalone/.next/server/chunks/_0vgpyhz._.js +3 -0
- package/.next/standalone/.next/server/chunks/{_1368r9s._.js → _0w0qjyh._.js} +1 -1
- package/.next/standalone/.next/server/chunks/_0wok5xu._.js +3 -0
- package/.next/standalone/.next/server/chunks/{_0tumyht._.js → _0wu6uxd._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{_04dq3gt._.js → _0z7d6.z._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{_0c63jma._.js → _0zf5mig._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{_0mnwbyo._.js → _0~~9-pj._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{src_lib_0vs5asg._.js → src_lib_0p.xsqi._.js} +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_layout-store_ts_0fanx7c._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_workspace-store_ts_0vqt073._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0da5cj~._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0hwcydd._.js → [root-of-the-server]__0grkevn._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0t9ru13._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__12b2-y_._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_0-ug5tr._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{_00rrt71._.js → _016o9_-._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{_0y5jzd3._.js → _020f2r.._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{_0_c~3id._.js → _02jzd5g._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_04iqb-o._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{_0sfctwm._.js → _04q3_kj._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{_08h9ynz._.js → _058y~nz._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{_0_soefg._.js → _0a_u5qm._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{_00ehnd~._.js → _0c1yivm._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{_0kno-5w._.js → _0d58w1~._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{_0rxhzwm._.js → _0ftinmo._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_0h4kenr._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_0nib_x8._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_0nuztht._.js +18 -0
- package/.next/standalone/.next/server/chunks/ssr/_0nvs1~o._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_0oca87b._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_0ovjjn5._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{_0lnui2f._.js → _0ozy~xe._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_0pg-q18._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{_0svke5s._.js → _0pk4~_0._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_0qt-m3l._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_0w.1ts8._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_0w1phzp._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_0w6jc9p._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_101yu0w._.js +18 -0
- package/.next/standalone/.next/server/chunks/ssr/_13c-b~p._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_13lrp9_._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{messages_046iw4z._.js → messages_02eoowy._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{messages_0zr0cc7._.js → messages_0hmq5dp._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_de_diff_json_[json]_cjs_0w6blyy._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_de_settings_json_[json]_cjs_0ksu4_w._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_de_sidebar_json_[json]_cjs_0loc-1-._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_de_workspace_json_[json]_cjs_0g7nkdq._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_en_diff_json_[json]_cjs_0z34_dc._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_en_settings_json_[json]_cjs_0qwl-zt._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_en_sidebar_json_[json]_cjs_0un0e3f._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_en_workspace_json_[json]_cjs_0m9rzyy._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_es_diff_json_[json]_cjs_0kheix4._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_es_settings_json_[json]_cjs_0ce_kv6._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_es_sidebar_json_[json]_cjs_080u46~._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_es_workspace_json_[json]_cjs_0xf0_50._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_fr_diff_json_[json]_cjs_11vxoy5._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_fr_settings_json_[json]_cjs_0h_6lba._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_fr_sidebar_json_[json]_cjs_05y8v8h._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_fr_workspace_json_[json]_cjs_0h88f-g._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_ja_diff_json_[json]_cjs_0t~9dro._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_ja_settings_json_[json]_cjs_0pg~fls._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_ja_sidebar_json_[json]_cjs_0i0x8w9._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_ja_workspace_json_[json]_cjs_03dlzmi._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_ko_diff_json_[json]_cjs_0cw7xj1._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_ko_settings_json_[json]_cjs_07xpfc8._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_ko_sidebar_json_[json]_cjs_0mql5dv._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_ko_workspace_json_[json]_cjs_0frxg.r._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_pt-BR_diff_json_[json]_cjs_0vc-p7n._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_pt-BR_settings_json_[json]_cjs_0frspzp._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_pt-BR_sidebar_json_[json]_cjs_07h4b1q._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_pt-BR_workspace_json_[json]_cjs_0lahru2._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_ru_diff_json_[json]_cjs_07na~n8._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_ru_settings_json_[json]_cjs_08ex00.._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_ru_sidebar_json_[json]_cjs_0aksrjo._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_ru_workspace_json_[json]_cjs_0wm5nhc._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_tr_diff_json_[json]_cjs_0a00gr_._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_tr_settings_json_[json]_cjs_0piu0da._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_tr_sidebar_json_[json]_cjs_0yj47nu._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_tr_workspace_json_[json]_cjs_0wygfyf._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_zh-CN_diff_json_[json]_cjs_0b01x_1._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_zh-CN_settings_json_[json]_cjs_0uazwgy._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_zh-CN_sidebar_json_[json]_cjs_0yzmolg._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_zh-CN_workspace_json_[json]_cjs_0h3v0-e._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_zh-TW_diff_json_[json]_cjs_088r89k._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_zh-TW_settings_json_[json]_cjs_09u0c5l._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_zh-TW_sidebar_json_[json]_cjs_0pnu~0h._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/messages_zh-TW_workspace_json_[json]_cjs_0ymw5wz._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_02oar3h._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_0_2gaq0._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_0bbmd88._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_0ydhwnx._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_1294wzs._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{src_components_0rs9yzr._.js → src_components_0_aiven._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{src_components_0cflin8._.js → src_components_0geizrr._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{src_components_0g.s~e7._.js → src_components_11_1i~k._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{src_components_0jrj_vu._.js → src_components_12mrirb._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_components_features_mobile_mobile-terminal-page_tsx_02chzch._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_components_features_workspace_terminal-page_tsx_0wuq-jl._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_components_ui_input_tsx_0pgha5u._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/src_hooks_use-browser-title_ts_0bw6.cb._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_hooks_use-workspace-store_ts_0h40e5c._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_lib_workspace-store_ts_00x-rec._.js +1 -1
- package/.next/standalone/.next/server/middleware-build-manifest.js +88 -88
- package/.next/standalone/.next/server/pages/_app/build-manifest.json +7 -6
- package/.next/standalone/.next/server/pages/_app/client-build-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/_app.js +5 -5
- package/.next/standalone/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/_document.js +3 -3
- package/.next/standalone/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/_error.js +4 -4
- package/.next/standalone/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/cli/tabs/[tabId]/result.js +2 -2
- package/.next/standalone/.next/server/pages/api/cli/tabs/[tabId]/result.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/cli/tabs/[tabId]/send.js +2 -2
- package/.next/standalone/.next/server/pages/api/cli/tabs/[tabId]/send.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/cli/tabs/[tabId]/status.js +2 -2
- package/.next/standalone/.next/server/pages/api/cli/tabs/[tabId]/status.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/cli/tabs/[tabId].js +2 -2
- package/.next/standalone/.next/server/pages/api/cli/tabs/[tabId].js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/cli/tabs.js +2 -2
- package/.next/standalone/.next/server/pages/api/cli/tabs.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/cli/workspaces.js +1 -1
- package/.next/standalone/.next/server/pages/api/cli/workspaces.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/git/sync/pages-manifest.json +3 -0
- package/.next/standalone/.next/server/pages/api/git/sync.js +5 -0
- package/.next/standalone/.next/server/pages/api/git/sync.js.map +5 -0
- package/.next/standalone/.next/server/pages/api/git/sync.js.nft.json +1 -0
- package/.next/standalone/.next/server/pages/api/layout/commit-diff/pages-manifest.json +3 -0
- package/.next/standalone/.next/server/pages/api/layout/commit-diff.js +5 -0
- package/.next/standalone/.next/server/pages/api/layout/commit-diff.js.map +5 -0
- package/.next/standalone/.next/server/pages/api/layout/commit-diff.js.nft.json +1 -0
- package/.next/standalone/.next/server/pages/api/layout/file-content/pages-manifest.json +3 -0
- package/.next/standalone/.next/server/pages/api/layout/file-content.js +5 -0
- package/.next/standalone/.next/server/pages/api/layout/file-content.js.map +5 -0
- package/.next/standalone/.next/server/pages/api/layout/file-content.js.nft.json +1 -0
- package/.next/standalone/.next/server/pages/api/layout/git-log/pages-manifest.json +3 -0
- package/.next/standalone/.next/server/pages/api/layout/git-log.js +5 -0
- package/.next/standalone/.next/server/pages/api/layout/git-log.js.map +5 -0
- package/.next/standalone/.next/server/pages/api/layout/git-log.js.nft.json +1 -0
- package/.next/standalone/.next/server/pages/api/layout/pane/[paneId]/tabs/[tabId]/move.js +2 -2
- package/.next/standalone/.next/server/pages/api/layout/pane/[paneId]/tabs/[tabId]/move.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/layout/pane/[paneId]/tabs/[tabId].js +3 -3
- package/.next/standalone/.next/server/pages/api/layout/pane/[paneId]/tabs/[tabId].js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/layout/pane/[paneId]/tabs/order.js +2 -2
- package/.next/standalone/.next/server/pages/api/layout/pane/[paneId]/tabs/order.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/layout/pane/[paneId]/tabs.js +3 -3
- package/.next/standalone/.next/server/pages/api/layout/pane/[paneId]/tabs.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/layout/pane/[paneId].js +2 -2
- package/.next/standalone/.next/server/pages/api/layout/pane/[paneId].js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/layout/pane.js +2 -2
- package/.next/standalone/.next/server/pages/api/layout/pane.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/layout.js +2 -2
- package/.next/standalone/.next/server/pages/api/layout.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/message-history.js +1 -1
- package/.next/standalone/.next/server/pages/api/message-history.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/push/vapid-key.js +1 -1
- package/.next/standalone/.next/server/pages/api/push/vapid-key.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/daily-report/cache.js +1 -1
- package/.next/standalone/.next/server/pages/api/stats/daily-report/cache.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/daily-report/generate.js +1 -1
- package/.next/standalone/.next/server/pages/api/stats/daily-report/generate.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/daily-report/list.js +2 -2
- package/.next/standalone/.next/server/pages/api/stats/daily-report/list.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/projects.js +2 -2
- package/.next/standalone/.next/server/pages/api/stats/projects.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/sessions.js +2 -2
- package/.next/standalone/.next/server/pages/api/stats/sessions.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/uptime.js +2 -2
- package/.next/standalone/.next/server/pages/api/stats/uptime.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/status/hook.js +3 -3
- package/.next/standalone/.next/server/pages/api/status/hook.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/status/statusline.js +5 -5
- package/.next/standalone/.next/server/pages/api/status/statusline.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/tmux/permission-options.js +1 -1
- package/.next/standalone/.next/server/pages/api/tmux/permission-options.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/tmux/recover-unknown.js +5 -5
- package/.next/standalone/.next/server/pages/api/tmux/recover-unknown.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/tmux/reset.js +3 -3
- package/.next/standalone/.next/server/pages/api/tmux/reset.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/[workspaceId].js +2 -2
- package/.next/standalone/.next/server/pages/api/workspace/[workspaceId].js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/active.js +2 -2
- package/.next/standalone/.next/server/pages/api/workspace/active.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/group/[groupId]/pages-manifest.json +3 -0
- package/.next/standalone/.next/server/pages/api/workspace/group/[groupId].js +8 -0
- package/.next/standalone/.next/server/pages/api/workspace/group/[groupId].js.map +5 -0
- package/.next/standalone/.next/server/pages/api/workspace/group/[groupId].js.nft.json +1 -0
- package/.next/standalone/.next/server/pages/api/workspace/group/pages-manifest.json +3 -0
- package/.next/standalone/.next/server/pages/api/workspace/group/reorder/pages-manifest.json +3 -0
- package/.next/standalone/.next/server/pages/api/workspace/group/reorder.js +8 -0
- package/.next/standalone/.next/server/pages/api/workspace/group/reorder.js.map +5 -0
- package/.next/standalone/.next/server/pages/api/workspace/group/reorder.js.nft.json +1 -0
- package/.next/standalone/.next/server/pages/api/workspace/group.js +8 -0
- package/.next/standalone/.next/server/pages/api/workspace/group.js.map +5 -0
- package/.next/standalone/.next/server/pages/api/workspace/group.js.nft.json +1 -0
- package/.next/standalone/.next/server/pages/api/workspace/reorder.js +2 -2
- package/.next/standalone/.next/server/pages/api/workspace/reorder.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/validate.js +2 -2
- package/.next/standalone/.next/server/pages/api/workspace/validate.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace.js +4 -4
- package/.next/standalone/.next/server/pages/api/workspace.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/de/404.html +1 -1
- package/.next/standalone/.next/server/pages/de/500.html +1 -1
- package/.next/standalone/.next/server/pages/en/404.html +1 -1
- package/.next/standalone/.next/server/pages/en/500.html +1 -1
- package/.next/standalone/.next/server/pages/es/404.html +1 -1
- package/.next/standalone/.next/server/pages/es/500.html +1 -1
- package/.next/standalone/.next/server/pages/fr/404.html +1 -1
- package/.next/standalone/.next/server/pages/fr/500.html +1 -1
- package/.next/standalone/.next/server/pages/index/build-manifest.json +17 -17
- package/.next/standalone/.next/server/pages/index/client-build-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/index/react-loadable-manifest.json +4 -4
- package/.next/standalone/.next/server/pages/index.js +16 -16
- package/.next/standalone/.next/server/pages/index.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/ja/404.html +1 -1
- package/.next/standalone/.next/server/pages/ja/500.html +1 -1
- package/.next/standalone/.next/server/pages/ko/404.html +1 -1
- package/.next/standalone/.next/server/pages/ko/500.html +1 -1
- package/.next/standalone/.next/server/pages/login/build-manifest.json +9 -10
- package/.next/standalone/.next/server/pages/login/client-build-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/login.js +10 -10
- package/.next/standalone/.next/server/pages/login.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/pt-BR/404.html +1 -1
- package/.next/standalone/.next/server/pages/pt-BR/500.html +1 -1
- package/.next/standalone/.next/server/pages/reports/build-manifest.json +17 -17
- package/.next/standalone/.next/server/pages/reports/client-build-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/reports.js +16 -16
- package/.next/standalone/.next/server/pages/reports.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/reset.js +5 -5
- package/.next/standalone/.next/server/pages/reset.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/ru/404.html +1 -1
- package/.next/standalone/.next/server/pages/ru/500.html +1 -1
- package/.next/standalone/.next/server/pages/stats/build-manifest.json +16 -16
- package/.next/standalone/.next/server/pages/stats/client-build-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/stats.js +17 -17
- package/.next/standalone/.next/server/pages/stats.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/tools-required/build-manifest.json +3 -3
- package/.next/standalone/.next/server/pages/tools-required/client-build-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/tools-required.js +6 -6
- package/.next/standalone/.next/server/pages/tools-required.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/tr/404.html +1 -1
- package/.next/standalone/.next/server/pages/tr/500.html +1 -1
- package/.next/standalone/.next/server/pages/webview/build-manifest.json +16 -16
- package/.next/standalone/.next/server/pages/webview/client-build-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/webview.js +18 -18
- package/.next/standalone/.next/server/pages/webview.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/zh-CN/404.html +1 -1
- package/.next/standalone/.next/server/pages/zh-CN/500.html +1 -1
- package/.next/standalone/.next/server/pages/zh-TW/404.html +1 -1
- package/.next/standalone/.next/server/pages/zh-TW/500.html +1 -1
- package/.next/standalone/.next/server/pages-manifest.json +7 -0
- package/.next/standalone/.next/static/{5mb_D_gy6E3wsT_BhuXDS → X7BRO7ORR4bKFt1LXzGU8}/_buildManifest.js +13 -6
- package/.next/standalone/.next/static/chunks/0-7en.d6a3jki.js +1 -0
- package/.next/standalone/.next/static/chunks/{0qr~rkd5sq-yp.js → 0-p.9vdmq-_co.js} +7 -6
- package/.next/standalone/.next/static/chunks/0-pm5wxsyxs3e.js +1 -0
- package/.next/standalone/.next/static/chunks/00ljvc.i_9p~6.js +1 -0
- package/.next/standalone/.next/static/chunks/01raz3nv-e~~d.js +1 -0
- package/.next/standalone/.next/static/chunks/01ul8lmr04ls3.js +1 -0
- package/.next/standalone/.next/static/chunks/024gkwka6p59k.js +1 -0
- package/.next/standalone/.next/static/chunks/{0.ecwkadp7-hq.js → 034_utxy1sujb.js} +1 -1
- package/.next/standalone/.next/static/chunks/038h8wl_~fi3u.js +1 -0
- package/.next/standalone/.next/static/chunks/038s7u_er9zkt.js +1 -0
- package/.next/standalone/.next/static/chunks/03ljx9csfmrpn.js +1 -0
- package/.next/standalone/.next/static/chunks/03sj62c3p8g11.js +1 -0
- package/.next/standalone/.next/static/chunks/{17l496oycdhjx.js → 03vck__37a5cl.js} +1 -1
- package/.next/standalone/.next/static/chunks/05b7zy0n0vhms.js +1 -0
- package/.next/standalone/.next/static/chunks/05kshd9vdrl4o.js +1 -0
- package/.next/standalone/.next/static/chunks/{0w_03xk_xkc5a.js → 05kyduw8swd_h.js} +1 -1
- package/.next/standalone/.next/static/chunks/05w~qu2zpvh2f.js +1 -0
- package/.next/standalone/.next/static/chunks/05zne4hn1v65k.js +24 -0
- package/.next/standalone/.next/static/chunks/06vobum5720oa.js +1 -0
- package/.next/standalone/.next/static/chunks/06vxx-4w.uvj0.js +23 -0
- package/.next/standalone/.next/static/chunks/{0fotmrplo6yc7.js → 07.5h~7~q9~1e.js} +1 -1
- package/.next/standalone/.next/static/chunks/071hdd91oy~.7.js +1 -0
- package/.next/standalone/.next/static/chunks/08e5.t4gotxaw.js +1 -0
- package/.next/standalone/.next/static/chunks/{0v6__.cfcitpl.js → 08qhrobub25u0.js} +1 -1
- package/.next/standalone/.next/static/chunks/08ttt2~ok56v6.js +1 -0
- package/.next/standalone/.next/static/chunks/{11wdicoufd516.js → 094_-.5.ue3p4.js} +1 -1
- package/.next/standalone/.next/static/chunks/09qd4fo1rz3it.js +1 -0
- package/.next/standalone/.next/static/chunks/09sf~1tyznv2b.js +1 -0
- package/.next/standalone/.next/static/chunks/09x4be2pfe6z0.js +1 -0
- package/.next/standalone/.next/static/chunks/0a7eicps6hbl6.js +1 -0
- package/.next/standalone/.next/static/chunks/{0i2uqmry6cyl_.js → 0c2_tqkbyti3h.js} +1 -1
- package/.next/standalone/.next/static/chunks/0di4o-khzv2gt.js +1 -0
- package/.next/standalone/.next/static/chunks/0e20ujygcf3hc.js +1 -0
- package/.next/standalone/.next/static/chunks/0e5t3kx~_brfk.js +1 -0
- package/.next/standalone/.next/static/chunks/0ebjicjua7yl-.js +1 -0
- package/.next/standalone/.next/static/chunks/0evu-825nnqef.js +1 -0
- package/.next/standalone/.next/static/chunks/0f.5lthmbt~yc.js +1 -0
- package/.next/standalone/.next/static/chunks/0gr4lznv-6qml.js +1 -0
- package/.next/standalone/.next/static/chunks/0hl3ccityypgx.js +1 -0
- package/.next/standalone/.next/static/chunks/0hzis~e79cnwi.js +1 -0
- package/.next/standalone/.next/static/chunks/0j.sfmmqj2xel.js +23 -0
- package/.next/standalone/.next/static/chunks/0jkvb4hgqlgxk.js +1 -0
- package/.next/standalone/.next/static/chunks/0k2_zze3o98ow.js +1 -0
- package/.next/standalone/.next/static/chunks/0kaufevqdhsld.js +1 -0
- package/.next/standalone/.next/static/chunks/0mvvym~9uf429.js +1 -0
- package/.next/standalone/.next/static/chunks/0n2k1al4sr_qq.css +1 -0
- package/.next/standalone/.next/static/chunks/0n4fv8.loh_0x.js +1 -0
- package/.next/standalone/.next/static/chunks/0nn618je7_7ec.js +16 -0
- package/.next/standalone/.next/static/chunks/{0pb15t~lqcp4y.js → 0oh5xnzizgxt1.js} +1 -1
- package/.next/standalone/.next/static/chunks/0po8l-8pns0vb.js +1 -0
- package/.next/standalone/.next/static/chunks/0pv9~yath4mjh.js +1 -0
- package/.next/standalone/.next/static/chunks/0q0yh17_ncipj.js +1 -0
- package/.next/standalone/.next/static/chunks/0q9nn4yuva4jl.js +1 -0
- package/.next/standalone/.next/static/chunks/0qkrdmhiv-0d3.js +1 -0
- package/.next/standalone/.next/static/chunks/{14xlpbx6dj_4i.js → 0r9z55-r31en8.js} +1 -1
- package/.next/standalone/.next/static/chunks/{0efkrks2gm27v.js → 0ra09kjja5rf..js} +1 -1
- package/.next/standalone/.next/static/chunks/0reai1zdu.khx.js +1 -0
- package/.next/standalone/.next/static/chunks/0sc7tkg1gojr..js +1 -0
- package/.next/standalone/.next/static/chunks/0szl_dovu0hgw.js +1 -0
- package/.next/standalone/.next/static/chunks/{0axhnd2vw3m5e.js → 0t-o-jwf0~-b5.js} +1 -1
- package/.next/standalone/.next/static/chunks/{0ml5~2ty-rbv_.js → 0t5w4x7owhfbe.js} +1 -1
- package/.next/standalone/.next/static/chunks/{02mfn213kze9c.js → 0te1jnz5.rt.r.js} +3 -3
- package/.next/standalone/.next/static/chunks/0uhkmh73bi.8w.js +1 -0
- package/.next/standalone/.next/static/chunks/0v6zafwjb5kk6.js +1 -0
- package/.next/standalone/.next/static/chunks/0vvqh.pfm9jum.js +1 -0
- package/.next/standalone/.next/static/chunks/0w6_q_4rzxy6l.js +1 -0
- package/.next/standalone/.next/static/chunks/0wjrfyntnywn5.js +1 -0
- package/.next/standalone/.next/static/chunks/0wvu-lowt9uem.js +1 -0
- package/.next/standalone/.next/static/chunks/0x.dxrfqc.ix9.js +16 -0
- package/.next/standalone/.next/static/chunks/0xvbx6ob2wnco.js +1 -0
- package/.next/standalone/.next/static/chunks/0yd3l8p2m9-c_.js +1 -0
- package/.next/standalone/.next/static/chunks/0ynitrrzdxcnh.js +15 -0
- package/.next/standalone/.next/static/chunks/{0se1ra8f1bor~.js → 0z_~g~mb.kjs1.js} +1 -1
- package/.next/standalone/.next/static/chunks/0~nexgc77r_hk.js +23 -0
- package/.next/standalone/.next/static/chunks/{0afll97o4hu39.js → 0~ts_4hi7.u_0.js} +1 -1
- package/.next/standalone/.next/static/chunks/105sb_yg7fcpu.js +1 -0
- package/.next/standalone/.next/static/chunks/{0a0wcelktujjt.js → 119t_hwpxj_ko.js} +1 -1
- package/.next/standalone/.next/static/chunks/{128d.rbx4e4rt.js → 121i8u8byuotx.js} +1 -1
- package/.next/standalone/.next/static/chunks/13_l03e3sab-g.js +1 -0
- package/.next/standalone/.next/static/chunks/13~.y-z7wud.h.js +1 -0
- package/.next/standalone/.next/static/chunks/140j4evqxtxmn.js +1 -0
- package/.next/standalone/.next/static/chunks/142km8a40ar5o.js +1 -0
- package/.next/standalone/.next/static/chunks/149sb_-h03mxq.js +1 -0
- package/.next/standalone/.next/static/chunks/156~ejmpjxu8e.js +1 -0
- package/.next/standalone/.next/static/chunks/169ui~u~dpalg.js +1 -0
- package/.next/standalone/.next/static/chunks/16bag6z7n~ffw.js +1 -0
- package/.next/standalone/.next/static/chunks/171_ek.xwzobw.js +1 -0
- package/.next/standalone/.next/static/chunks/179zldqdb4pm2.js +1 -0
- package/.next/standalone/.next/static/chunks/{turbopack-0hwi_g-tegs_u.js → turbopack-0d-xk62f1t05v.js} +1 -1
- package/.next/standalone/.next/static/chunks/{turbopack-11tk4snp~dxd4.js → turbopack-0nn9kx.dkgwqs.js} +1 -1
- package/.next/standalone/.next/static/chunks/turbopack-0rb3q18bhb2hu.js +1 -0
- package/.next/standalone/.next/static/chunks/turbopack-0zcblahe.hdqd.js +1 -0
- package/.next/standalone/.next/static/chunks/{turbopack-17.piokhhz77b.js → turbopack-0~wmco6ifn20m.js} +1 -1
- package/.next/standalone/.next/static/chunks/{turbopack-0sisjg~-koq5w.js → turbopack-1469mxaruw82d.js} +1 -1
- package/.next/standalone/.next/static/chunks/{turbopack-066o21-32lo7n.js → turbopack-15bv~a4hbvh29.js} +1 -1
- package/.next/standalone/messages/de/diff.json +26 -1
- package/.next/standalone/messages/de/settings.json +3 -1
- package/.next/standalone/messages/de/sidebar.json +10 -1
- package/.next/standalone/messages/de/workspace.json +2 -0
- package/.next/standalone/messages/en/diff.json +26 -1
- package/.next/standalone/messages/en/settings.json +3 -1
- package/.next/standalone/messages/en/sidebar.json +10 -1
- package/.next/standalone/messages/en/workspace.json +2 -0
- package/.next/standalone/messages/es/diff.json +26 -1
- package/.next/standalone/messages/es/settings.json +3 -1
- package/.next/standalone/messages/es/sidebar.json +10 -1
- package/.next/standalone/messages/es/workspace.json +2 -0
- package/.next/standalone/messages/fr/diff.json +26 -1
- package/.next/standalone/messages/fr/settings.json +3 -1
- package/.next/standalone/messages/fr/sidebar.json +10 -1
- package/.next/standalone/messages/fr/workspace.json +2 -0
- package/.next/standalone/messages/ja/diff.json +26 -1
- package/.next/standalone/messages/ja/settings.json +3 -1
- package/.next/standalone/messages/ja/sidebar.json +10 -1
- package/.next/standalone/messages/ja/workspace.json +2 -0
- package/.next/standalone/messages/ko/diff.json +26 -1
- package/.next/standalone/messages/ko/settings.json +3 -1
- package/.next/standalone/messages/ko/sidebar.json +10 -1
- package/.next/standalone/messages/ko/workspace.json +2 -0
- package/.next/standalone/messages/pt-BR/diff.json +26 -1
- package/.next/standalone/messages/pt-BR/settings.json +3 -1
- package/.next/standalone/messages/pt-BR/sidebar.json +10 -1
- package/.next/standalone/messages/pt-BR/workspace.json +2 -0
- package/.next/standalone/messages/ru/diff.json +26 -1
- package/.next/standalone/messages/ru/settings.json +3 -1
- package/.next/standalone/messages/ru/sidebar.json +10 -1
- package/.next/standalone/messages/ru/workspace.json +2 -0
- package/.next/standalone/messages/tr/diff.json +26 -1
- package/.next/standalone/messages/tr/settings.json +3 -1
- package/.next/standalone/messages/tr/sidebar.json +10 -1
- package/.next/standalone/messages/tr/workspace.json +2 -0
- package/.next/standalone/messages/zh-CN/diff.json +26 -1
- package/.next/standalone/messages/zh-CN/settings.json +3 -1
- package/.next/standalone/messages/zh-CN/sidebar.json +10 -1
- package/.next/standalone/messages/zh-CN/workspace.json +2 -0
- package/.next/standalone/messages/zh-TW/diff.json +26 -1
- package/.next/standalone/messages/zh-TW/settings.json +3 -1
- package/.next/standalone/messages/zh-TW/sidebar.json +10 -1
- package/.next/standalone/messages/zh-TW/workspace.json +2 -0
- package/.next/standalone/package.json +1 -1
- package/.next/standalone/server.js +1 -1
- package/.next/standalone/src/pages/api/layout/commit-diff.ts +94 -0
- package/.next/standalone/src/pages/api/layout/cwd.ts +38 -0
- package/.next/standalone/src/pages/api/layout/diff.ts +196 -0
- package/.next/standalone/src/pages/api/layout/file-content.ts +130 -0
- package/.next/standalone/src/pages/api/layout/git-log.ts +55 -0
- package/.next/standalone/src/pages/api/layout/index.ts +38 -0
- package/.next/standalone/src/pages/api/layout/pane/[paneId]/index.ts +38 -0
- package/.next/standalone/src/pages/api/layout/pane/[paneId]/tabs/[tabId]/index.ts +94 -0
- package/.next/standalone/src/pages/api/layout/pane/[paneId]/tabs/[tabId]/move.ts +31 -0
- package/.next/standalone/src/pages/api/layout/pane/[paneId]/tabs/index.ts +66 -0
- package/.next/standalone/src/pages/api/layout/pane/[paneId]/tabs/order.ts +30 -0
- package/.next/standalone/src/pages/api/layout/pane/index.ts +38 -0
- package/dist/server.js +59 -7
- package/package.json +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0n61.a8._.js +0 -30
- package/.next/standalone/.next/server/chunks/_04pfden._.js +0 -3
- package/.next/standalone/.next/server/chunks/_09vws3v._.js +0 -3
- package/.next/standalone/.next/server/chunks/_0e8e4zn._.js +0 -3
- package/.next/standalone/.next/server/chunks/_0isokfh._.js +0 -3
- package/.next/standalone/.next/server/chunks/_0j2u-od._.js +0 -3
- package/.next/standalone/.next/server/chunks/_0t8j4qd._.js +0 -3
- package/.next/standalone/.next/server/chunks/_0xd1ivw._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0c0bz7t._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0nkl4wz._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0-67bvb._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_02nf4d7._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_05dcjwi._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_06yggfn._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0al4.z9._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0dg4_bi._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0f8k39w._.js +0 -14
- package/.next/standalone/.next/server/chunks/ssr/_0gp1meg._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0hqzsa8._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0nkeoiw._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0ob2rr-._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0ulmx3c._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0wlh.pc._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0y31tie._.js +0 -14
- package/.next/standalone/.next/server/chunks/ssr/_0~.theb._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_11rnj4l._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_124p60s._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_@base-ui_react_esm_03v8q-a._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_@base-ui_react_esm_0wddb~n._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/src_lib_message-namespaces_ts_0wjpvu5._.js +0 -3
- package/.next/standalone/.next/static/chunks/0-8-cf3vuob~..js +0 -1
- package/.next/standalone/.next/static/chunks/0-97ruc25d2lz.js +0 -1
- package/.next/standalone/.next/static/chunks/0-ku865ak6iur.js +0 -1
- package/.next/standalone/.next/static/chunks/00g7isu_5s43..js +0 -1
- package/.next/standalone/.next/static/chunks/00nx1s6rpu537.js +0 -1
- package/.next/standalone/.next/static/chunks/00s-0sui~_24w.js +0 -1
- package/.next/standalone/.next/static/chunks/01-fb9rb-21.a.js +0 -1
- package/.next/standalone/.next/static/chunks/02dumv8n.ewiw.js +0 -1
- package/.next/standalone/.next/static/chunks/02r-a1_lz7fuk.js +0 -1
- package/.next/standalone/.next/static/chunks/03eaekq6omt65.js +0 -1
- package/.next/standalone/.next/static/chunks/04~p~.qz9diil.js +0 -1
- package/.next/standalone/.next/static/chunks/05_e09pgcymkh.js +0 -1
- package/.next/standalone/.next/static/chunks/05y90.zbqijkv.js +0 -1
- package/.next/standalone/.next/static/chunks/07-xm--o034du.js +0 -1
- package/.next/standalone/.next/static/chunks/072ccw0gkueqq.js +0 -1
- package/.next/standalone/.next/static/chunks/07i6~xrmgspp8.js +0 -1
- package/.next/standalone/.next/static/chunks/07rq~qv9ldwo~.js +0 -1
- package/.next/standalone/.next/static/chunks/08vvx8xtxwt5o.js +0 -1
- package/.next/standalone/.next/static/chunks/08zfbuugw_i52.js +0 -23
- package/.next/standalone/.next/static/chunks/09agwg~-xbxbs.js +0 -1
- package/.next/standalone/.next/static/chunks/0a1hi9y0lwv3j.js +0 -1
- package/.next/standalone/.next/static/chunks/0ajkjqq1xc_.a.js +0 -1
- package/.next/standalone/.next/static/chunks/0chjvj73yfmoj.js +0 -1
- package/.next/standalone/.next/static/chunks/0d4vi6-ju6lha.js +0 -1
- package/.next/standalone/.next/static/chunks/0daflfjkvkh-d.js +0 -1
- package/.next/standalone/.next/static/chunks/0dh2cf_c4gz65.js +0 -1
- package/.next/standalone/.next/static/chunks/0dqb3atw-kpb2.js +0 -1
- package/.next/standalone/.next/static/chunks/0fuay9akccsr9.js +0 -1
- package/.next/standalone/.next/static/chunks/0fwnzw~qq_abm.js +0 -1
- package/.next/standalone/.next/static/chunks/0gjtphww9wtey.js +0 -12
- package/.next/standalone/.next/static/chunks/0h-7ntqpip4oi.js +0 -1
- package/.next/standalone/.next/static/chunks/0idah_uu8ylro.js +0 -1
- package/.next/standalone/.next/static/chunks/0iw7xjsfo1v-u.js +0 -16
- package/.next/standalone/.next/static/chunks/0jj7ska-q4zmb.js +0 -1
- package/.next/standalone/.next/static/chunks/0k50-hp08.xtp.js +0 -1
- package/.next/standalone/.next/static/chunks/0n1xl_9xb64~a.js +0 -1
- package/.next/standalone/.next/static/chunks/0nh~2y4pr-6b-.js +0 -1
- package/.next/standalone/.next/static/chunks/0nyar-7g9rya6.js +0 -1
- package/.next/standalone/.next/static/chunks/0o_yi7-4-ckig.js +0 -1
- package/.next/standalone/.next/static/chunks/0om8~g_7-c-x5.js +0 -12
- package/.next/standalone/.next/static/chunks/0otoymu09sgml.js +0 -1
- package/.next/standalone/.next/static/chunks/0oxlivdn8c89b.js +0 -1
- package/.next/standalone/.next/static/chunks/0qwvk-uq944-d.js +0 -23
- package/.next/standalone/.next/static/chunks/0r7uk81oh650e.js +0 -1
- package/.next/standalone/.next/static/chunks/0r_ynb..7ongv.js +0 -23
- package/.next/standalone/.next/static/chunks/0ro78lxc~ndn_.js +0 -1
- package/.next/standalone/.next/static/chunks/0ryghnq7iy47v.js +0 -24
- package/.next/standalone/.next/static/chunks/0t_38o03_pjwq.js +0 -1
- package/.next/standalone/.next/static/chunks/0u9~wuf2zbs5z.js +0 -1
- package/.next/standalone/.next/static/chunks/0vmc7tq7ze-wk.js +0 -1
- package/.next/standalone/.next/static/chunks/0wlz6--vu7adu.js +0 -1
- package/.next/standalone/.next/static/chunks/0wp13r5su.j3e.js +0 -1
- package/.next/standalone/.next/static/chunks/0wx.aq674yk~q.js +0 -1
- package/.next/standalone/.next/static/chunks/0xas4ca5n6mzi.js +0 -1
- package/.next/standalone/.next/static/chunks/0xmalbon9eqvg.js +0 -1
- package/.next/standalone/.next/static/chunks/0y1_gk64rkp0g.js +0 -1
- package/.next/standalone/.next/static/chunks/0zz.9uk42mbks.js +0 -1
- package/.next/standalone/.next/static/chunks/0~nlz9.lltzrz.js +0 -1
- package/.next/standalone/.next/static/chunks/10bvbbw1062os.js +0 -1
- package/.next/standalone/.next/static/chunks/11gch78bg_qsn.js +0 -1
- package/.next/standalone/.next/static/chunks/11nk1lwom62oe.js +0 -1
- package/.next/standalone/.next/static/chunks/131tx--pi8.tm.js +0 -1
- package/.next/standalone/.next/static/chunks/132lgf3mld2ax.js +0 -1
- package/.next/standalone/.next/static/chunks/13nitezuv6q6x.js +0 -1
- package/.next/standalone/.next/static/chunks/13~7v30_nnqks.js +0 -1
- package/.next/standalone/.next/static/chunks/16dbi-ty-ptnr.js +0 -1
- package/.next/standalone/.next/static/chunks/17jcucuef_33-.js +0 -1
- package/.next/standalone/.next/static/chunks/184~yri~m3wao.css +0 -1
- package/.next/standalone/.next/static/chunks/186b1th1fl440.js +0 -1
- package/.next/standalone/.next/static/chunks/18d9u7jni2vco.js +0 -1
- package/.next/standalone/.next/static/chunks/turbopack-0abq2d._xmt7y.js +0 -1
- package/.next/standalone/.next/static/chunks/turbopack-0np.oib7-.1fp.js +0 -1
- /package/.next/standalone/.next/static/{5mb_D_gy6E3wsT_BhuXDS → X7BRO7ORR4bKFt1LXzGU8}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/.next/static/{5mb_D_gy6E3wsT_BhuXDS → X7BRO7ORR4bKFt1LXzGU8}/_ssgManifest.js +0 -0
|
@@ -7,5 +7,14 @@
|
|
|
7
7
|
"notes": "笔记",
|
|
8
8
|
"stats": "使用统计",
|
|
9
9
|
"collapseSidebar": "收起侧边栏",
|
|
10
|
-
"expandSidebar": "展开侧边栏"
|
|
10
|
+
"expandSidebar": "展开侧边栏",
|
|
11
|
+
"newWorkspace": "新建工作区",
|
|
12
|
+
"newGroup": "新建分组",
|
|
13
|
+
"renameGroup": "重命名分组",
|
|
14
|
+
"ungroup": "取消分组",
|
|
15
|
+
"moveToGroup": "移动到分组",
|
|
16
|
+
"removeFromGroup": "从分组中移除",
|
|
17
|
+
"ungrouped": "未分组",
|
|
18
|
+
"defaultGroupName": "新建分组",
|
|
19
|
+
"emptyGroup": "(空)"
|
|
11
20
|
}
|
|
@@ -5,5 +5,30 @@
|
|
|
5
5
|
"refresh": "Refresh",
|
|
6
6
|
"sideBySide": "Side by side",
|
|
7
7
|
"lineByLine": "Line by line",
|
|
8
|
-
"fileList": "Files"
|
|
8
|
+
"fileList": "Files",
|
|
9
|
+
"tabChanges": "Changes",
|
|
10
|
+
"tabHistory": "History",
|
|
11
|
+
"noCommits": "No commits",
|
|
12
|
+
"ahead": "Unpushed",
|
|
13
|
+
"back": "Back",
|
|
14
|
+
"commitNotFound": "Commit not found",
|
|
15
|
+
"sync": "Sync",
|
|
16
|
+
"syncing": "Syncing...",
|
|
17
|
+
"syncUpToDate": "Already up to date",
|
|
18
|
+
"syncSuccess": "Synced",
|
|
19
|
+
"syncErrorNoUpstream": "No upstream branch. Set it in terminal",
|
|
20
|
+
"syncErrorAuth": "Authentication failed. Check git credentials",
|
|
21
|
+
"syncErrorDiverged": "Branches diverged. Rebase or merge in terminal",
|
|
22
|
+
"syncErrorRejected": "Push rejected. Try syncing again",
|
|
23
|
+
"syncErrorLocalChanges": "Local changes would be overwritten. Commit or stash first",
|
|
24
|
+
"syncErrorTimeout": "Sync timed out",
|
|
25
|
+
"syncErrorGeneric": "Sync failed",
|
|
26
|
+
"askClaude": "Ask Claude",
|
|
27
|
+
"claudePromptDiverged": "Git sync failed. {branch} has diverged from {upstream}. Please rebase onto the latest origin and resolve any conflicts.",
|
|
28
|
+
"claudePromptRejected": "Git push was rejected. There appear to be new commits on {upstream}. Please pull to merge, then push again.",
|
|
29
|
+
"claudePromptAuth": "Git authentication failed. Please check the credential helper or SSH configuration and try again.",
|
|
30
|
+
"claudePromptNoUpstream": "The {branch} branch has no upstream. Please push to origin and set up the tracking branch.",
|
|
31
|
+
"claudePromptLocalChanges": "Git pull failed because local uncommitted changes would be overwritten by merge. Please stash or commit the changes, pull from {upstream}, and reapply the stash if you stashed.",
|
|
32
|
+
"claudePromptTimeout": "Git sync timed out. Please check the network connection and retry.",
|
|
33
|
+
"claudePromptGeneric": "Git sync failed. Please review the error below and resolve it."
|
|
9
34
|
}
|
|
@@ -69,7 +69,9 @@
|
|
|
69
69
|
},
|
|
70
70
|
"claude": {
|
|
71
71
|
"skipPermissions": "跳過權限檢查",
|
|
72
|
-
"skipPermissionsDescription": "執行 Claude CLI 時加入 --dangerously-skip-permissions 選項。"
|
|
72
|
+
"skipPermissionsDescription": "執行 Claude CLI 時加入 --dangerously-skip-permissions 選項。",
|
|
73
|
+
"showTerminal": "在 Claude 中一同顯示終端機",
|
|
74
|
+
"showTerminalDescription": "在 Claude Code 旁顯示終端機區域。關閉時,新的 Claude 分頁將以收合的終端機開啟。"
|
|
73
75
|
},
|
|
74
76
|
"auth": {
|
|
75
77
|
"changePassword": "變更密碼",
|
|
@@ -7,5 +7,14 @@
|
|
|
7
7
|
"notes": "筆記",
|
|
8
8
|
"stats": "使用統計",
|
|
9
9
|
"collapseSidebar": "收合側邊欄",
|
|
10
|
-
"expandSidebar": "展開側邊欄"
|
|
10
|
+
"expandSidebar": "展開側邊欄",
|
|
11
|
+
"newWorkspace": "新增工作區",
|
|
12
|
+
"newGroup": "新增群組",
|
|
13
|
+
"renameGroup": "重新命名群組",
|
|
14
|
+
"ungroup": "解除群組",
|
|
15
|
+
"moveToGroup": "移至群組",
|
|
16
|
+
"removeFromGroup": "從群組移除",
|
|
17
|
+
"ungrouped": "未分群",
|
|
18
|
+
"defaultGroupName": "新增群組",
|
|
19
|
+
"emptyGroup": "(空)"
|
|
11
20
|
}
|
|
@@ -9,7 +9,7 @@ const currentPort = parseInt(process.env.PORT, 10) || 3000
|
|
|
9
9
|
const hostname = process.env.HOSTNAME || '0.0.0.0'
|
|
10
10
|
|
|
11
11
|
let keepAliveTimeout = parseInt(process.env.KEEP_ALIVE_TIMEOUT, 10)
|
|
12
|
-
const nextConfig = {"env":{"NEXT_PUBLIC_COMMIT_HASH":"
|
|
12
|
+
const nextConfig = {"env":{"NEXT_PUBLIC_COMMIT_HASH":"26a24da"},"webpack":null,"typescript":{"ignoreBuildErrors":false},"typedRoutes":false,"distDir":"./.next","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.ts","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"poweredByHeader":true,"compress":true,"images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":14400,"formats":["image/webp"],"maximumRedirects":3,"maximumResponseBody":50000000,"dangerouslyAllowLocalIP":false,"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"attachment","localPatterns":[{"pathname":"**","search":""}],"remotePatterns":[],"qualities":[75],"unoptimized":false,"customCacheHandler":false},"devIndicators":{"position":"bottom-left"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":{"locales":["en","ko","ja","zh-CN","es","de","fr","pt-BR","zh-TW","ru","tr"],"defaultLocale":"en","localeDetection":false},"productionBrowserSourceMaps":false,"excludeDefaultMomentLocales":true,"reactProductionProfiling":false,"reactStrictMode":true,"reactMaxHeadersLength":6000,"httpAgentOptions":{"keepAlive":true},"logging":{"serverFunctions":true,"browserToTerminal":"warn"},"compiler":{},"expireTime":31536000,"staticPageGenerationTimeout":60,"output":"standalone","modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"outputFileTracingRoot":"/home/runner/work/purplemux/purplemux","cacheComponents":false,"cacheLife":{"default":{"stale":300,"revalidate":900,"expire":4294967294},"seconds":{"stale":30,"revalidate":1,"expire":60},"minutes":{"stale":300,"revalidate":60,"expire":3600},"hours":{"stale":300,"revalidate":3600,"expire":86400},"days":{"stale":300,"revalidate":86400,"expire":604800},"weeks":{"stale":300,"revalidate":604800,"expire":2592000},"max":{"stale":300,"revalidate":2592000,"expire":31536000}},"cacheHandlers":{},"experimental":{"appNewScrollHandler":false,"useSkewCookie":false,"cssChunking":true,"multiZoneDraftMode":false,"appNavFailHandling":false,"prerenderEarlyExit":true,"serverMinification":true,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"cachedNavigations":false,"partialFallbacks":false,"dynamicOnHover":false,"varyParams":false,"prefetchInlining":false,"preloadEntriesOnStart":true,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","proxyPrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":3,"memoryBasedWorkersCount":false,"imgOptConcurrency":null,"imgOptTimeoutInSeconds":7,"imgOptMaxInputPixels":268402689,"imgOptSequentialRead":null,"imgOptSkipMetadata":null,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"swcTraceProfiling":false,"forceSwcTransforms":false,"largePageDataBytes":128000,"typedEnv":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"authInterrupts":false,"webpackMemoryOptimizations":false,"optimizeServerReact":true,"strictRouteTypes":false,"viewTransition":false,"removeUncaughtErrorAndRejectionListeners":false,"validateRSCRequestHeaders":false,"staleTimes":{"dynamic":0,"static":300},"reactDebugChannel":true,"serverComponentsHmrCache":true,"staticGenerationMaxConcurrency":8,"staticGenerationMinPagesPerWorker":25,"transitionIndicator":false,"gestureTransition":false,"inlineCss":false,"useCache":false,"globalNotFound":false,"browserDebugInfoInTerminal":"warn","lockDistDir":true,"proxyClientMaxBodySize":10485760,"hideLogsAfterAbort":false,"mcpServer":true,"turbopackFileSystemCacheForDev":true,"turbopackFileSystemCacheForBuild":false,"turbopackInferModuleSideEffects":true,"turbopackPluginRuntimeStrategy":"childProcesses","optimizePackageImports":["react-icons","lucide-react","date-fns","lodash-es","ramda","antd","react-bootstrap","ahooks","@ant-design/icons","@headlessui/react","@headlessui-float/react","@heroicons/react/20/solid","@heroicons/react/24/solid","@heroicons/react/24/outline","@visx/visx","@tremor/react","rxjs","@mui/material","@mui/icons-material","recharts","react-use","effect","@effect/schema","@effect/platform","@effect/platform-node","@effect/platform-browser","@effect/platform-bun","@effect/sql","@effect/sql-mssql","@effect/sql-mysql2","@effect/sql-pg","@effect/sql-sqlite-node","@effect/sql-sqlite-bun","@effect/sql-sqlite-wasm","@effect/sql-sqlite-react-native","@effect/rpc","@effect/rpc-http","@effect/typeclass","@effect/experimental","@effect/opentelemetry","@material-ui/core","@material-ui/icons","@tabler/icons-react","mui-core","react-icons/ai","react-icons/bi","react-icons/bs","react-icons/cg","react-icons/ci","react-icons/di","react-icons/fa","react-icons/fa6","react-icons/fc","react-icons/fi","react-icons/gi","react-icons/go","react-icons/gr","react-icons/hi","react-icons/hi2","react-icons/im","react-icons/io","react-icons/io5","react-icons/lia","react-icons/lib","react-icons/lu","react-icons/md","react-icons/pi","react-icons/ri","react-icons/rx","react-icons/si","react-icons/sl","react-icons/tb","react-icons/tfi","react-icons/ti","react-icons/vsc","react-icons/wi"],"trustHostHeader":false,"isExperimentalCompile":false},"htmlLimitedBots":"[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight","bundlePagesRouterDependencies":true,"configFileName":"next.config.ts","outputFileTracingExcludes":{"*":["./release/**","./CLAUDE.md","./AGENTS.md","./README*.md","./docs/**","./.specs/**","./.claude/**","./tests/**"]},"turbopack":{"root":"/home/runner/work/purplemux/purplemux"},"distDirRoot":".next"}
|
|
13
13
|
|
|
14
14
|
process.env.__NEXT_PRIVATE_STANDALONE_CONFIG = JSON.stringify(nextConfig)
|
|
15
15
|
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { NextApiRequest, NextApiResponse } from 'next';
|
|
2
|
+
import { execFile as execFileCb } from 'child_process';
|
|
3
|
+
import { promisify } from 'util';
|
|
4
|
+
import { getSessionCwd, hasSession } from '@/lib/tmux';
|
|
5
|
+
import { createLogger } from '@/lib/logger';
|
|
6
|
+
|
|
7
|
+
const execFile = promisify(execFileCb);
|
|
8
|
+
const log = createLogger('commit-diff');
|
|
9
|
+
const CMD_TIMEOUT = 10000;
|
|
10
|
+
const MAX_BUFFER = 10 * 1024 * 1024;
|
|
11
|
+
|
|
12
|
+
const FIELD = '\x1f';
|
|
13
|
+
const HASH_RE = /^[0-9a-f]{4,40}$/i;
|
|
14
|
+
|
|
15
|
+
interface ICommitMeta {
|
|
16
|
+
hash: string;
|
|
17
|
+
shortHash: string;
|
|
18
|
+
subject: string;
|
|
19
|
+
body: string;
|
|
20
|
+
author: string;
|
|
21
|
+
email: string;
|
|
22
|
+
timestamp: number;
|
|
23
|
+
parents: string[];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const handler = async (req: NextApiRequest, res: NextApiResponse) => {
|
|
27
|
+
if (req.method !== 'GET') {
|
|
28
|
+
res.setHeader('Allow', 'GET');
|
|
29
|
+
return res.status(405).json({ error: 'Method not allowed' });
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const session = req.query.session as string | undefined;
|
|
33
|
+
const hash = req.query.hash as string | undefined;
|
|
34
|
+
|
|
35
|
+
if (!session || !hash) {
|
|
36
|
+
return res.status(400).json({ error: 'session and hash parameters required' });
|
|
37
|
+
}
|
|
38
|
+
if (!HASH_RE.test(hash)) {
|
|
39
|
+
return res.status(400).json({ error: 'Invalid hash format' });
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
const exists = await hasSession(session);
|
|
43
|
+
if (!exists) {
|
|
44
|
+
return res.status(404).json({ error: 'Session not found' });
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
const cwd = await getSessionCwd(session);
|
|
48
|
+
if (!cwd) {
|
|
49
|
+
return res.status(500).json({ error: 'Failed to get CWD' });
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
try {
|
|
53
|
+
const metaFormat = `%H${FIELD}%P${FIELD}%an${FIELD}%ae${FIELD}%at${FIELD}%s${FIELD}%b`;
|
|
54
|
+
const { stdout: metaOut } = await execFile(
|
|
55
|
+
'git',
|
|
56
|
+
['-C', cwd, 'log', '-1', `--format=${metaFormat}`, hash],
|
|
57
|
+
{ timeout: CMD_TIMEOUT },
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
const parts = metaOut.replace(/\n$/, '').split(FIELD);
|
|
61
|
+
if (parts.length < 7) {
|
|
62
|
+
return res.status(404).json({ error: 'Commit not found' });
|
|
63
|
+
}
|
|
64
|
+
const [fullHash, parentsStr, author, email, ts, subject, ...bodyParts] = parts;
|
|
65
|
+
const parents = parentsStr.trim() ? parentsStr.trim().split(/\s+/) : [];
|
|
66
|
+
|
|
67
|
+
const meta: ICommitMeta = {
|
|
68
|
+
hash: fullHash,
|
|
69
|
+
shortHash: fullHash.slice(0, 7),
|
|
70
|
+
subject,
|
|
71
|
+
body: bodyParts.join(FIELD).trim(),
|
|
72
|
+
author,
|
|
73
|
+
email,
|
|
74
|
+
timestamp: parseInt(ts, 10) * 1000,
|
|
75
|
+
parents,
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
const diffArgs = parents.length === 0
|
|
79
|
+
? ['-C', cwd, 'show', '--format=', fullHash]
|
|
80
|
+
: ['-C', cwd, 'diff', `${fullHash}^..${fullHash}`];
|
|
81
|
+
|
|
82
|
+
const { stdout: diff } = await execFile('git', diffArgs, {
|
|
83
|
+
timeout: CMD_TIMEOUT,
|
|
84
|
+
maxBuffer: MAX_BUFFER,
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
return res.status(200).json({ commit: meta, diff });
|
|
88
|
+
} catch (err) {
|
|
89
|
+
log.error(`commit-diff failed: ${err instanceof Error ? err.message : err}`);
|
|
90
|
+
return res.status(500).json({ error: 'Failed to get commit diff' });
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
export default handler;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { NextApiRequest, NextApiResponse } from 'next';
|
|
2
|
+
import { getSessionCwd, getLastCommand, hasSession } from '@/lib/tmux';
|
|
3
|
+
import { createLogger } from '@/lib/logger';
|
|
4
|
+
|
|
5
|
+
const log = createLogger('layout');
|
|
6
|
+
|
|
7
|
+
const handler = async (req: NextApiRequest, res: NextApiResponse) => {
|
|
8
|
+
if (req.method !== 'GET') {
|
|
9
|
+
res.setHeader('Allow', 'GET');
|
|
10
|
+
return res.status(405).json({ error: 'Method not allowed' });
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const session = req.query.session as string | undefined;
|
|
14
|
+
if (!session) {
|
|
15
|
+
return res.status(400).json({ error: 'session parameter required' });
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const exists = await hasSession(session);
|
|
19
|
+
if (!exists) {
|
|
20
|
+
return res.status(404).json({ error: 'Session not found' });
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
try {
|
|
24
|
+
const [cwd, lastCommand] = await Promise.all([
|
|
25
|
+
getSessionCwd(session),
|
|
26
|
+
getLastCommand(session),
|
|
27
|
+
]);
|
|
28
|
+
if (!cwd) {
|
|
29
|
+
return res.status(500).json({ error: 'Failed to get CWD' });
|
|
30
|
+
}
|
|
31
|
+
return res.status(200).json({ cwd, lastCommand });
|
|
32
|
+
} catch (err) {
|
|
33
|
+
log.error(`cwd query failed: ${err instanceof Error ? err.message : err}`);
|
|
34
|
+
return res.status(500).json({ error: 'Failed to get CWD' });
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export default handler;
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import type { NextApiRequest, NextApiResponse } from 'next';
|
|
2
|
+
import { execFile as execFileCb } from 'child_process';
|
|
3
|
+
import { createHash } from 'crypto';
|
|
4
|
+
import { promisify } from 'util';
|
|
5
|
+
import { getSessionCwd, hasSession } from '@/lib/tmux';
|
|
6
|
+
import { createLogger } from '@/lib/logger';
|
|
7
|
+
|
|
8
|
+
const execFile = promisify(execFileCb);
|
|
9
|
+
const log = createLogger('diff');
|
|
10
|
+
const CMD_TIMEOUT = 10000;
|
|
11
|
+
const FETCH_TIMEOUT = 20000;
|
|
12
|
+
|
|
13
|
+
const getAheadBehind = async (cwd: string): Promise<{ ahead: number; behind: number }> => {
|
|
14
|
+
try {
|
|
15
|
+
const { stdout } = await execFile(
|
|
16
|
+
'git',
|
|
17
|
+
['rev-list', '--left-right', '--count', 'HEAD...@{upstream}'],
|
|
18
|
+
{ cwd, timeout: CMD_TIMEOUT },
|
|
19
|
+
);
|
|
20
|
+
const parts = stdout.trim().split(/\s+/);
|
|
21
|
+
return {
|
|
22
|
+
ahead: parseInt(parts[0], 10) || 0,
|
|
23
|
+
behind: parseInt(parts[1], 10) || 0,
|
|
24
|
+
};
|
|
25
|
+
} catch {
|
|
26
|
+
return { ahead: 0, behind: 0 };
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
interface IHeadCommit {
|
|
31
|
+
hash: string;
|
|
32
|
+
shortHash: string;
|
|
33
|
+
subject: string;
|
|
34
|
+
author: string;
|
|
35
|
+
timestamp: number;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface IRepoMeta {
|
|
39
|
+
branch: string;
|
|
40
|
+
upstream: string | null;
|
|
41
|
+
isDetached: boolean;
|
|
42
|
+
stash: number;
|
|
43
|
+
headCommit: IHeadCommit | null;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const FIELD = '\x1f';
|
|
47
|
+
|
|
48
|
+
const getRepoMeta = async (cwd: string): Promise<IRepoMeta> => {
|
|
49
|
+
const [branchRes, upstreamRes, stashRes, headRes] = await Promise.allSettled([
|
|
50
|
+
execFile('git', ['rev-parse', '--abbrev-ref', 'HEAD'], { cwd, timeout: CMD_TIMEOUT }),
|
|
51
|
+
execFile('git', ['rev-parse', '--abbrev-ref', '--symbolic-full-name', '@{upstream}'], { cwd, timeout: CMD_TIMEOUT }),
|
|
52
|
+
execFile('git', ['stash', 'list'], { cwd, timeout: CMD_TIMEOUT }),
|
|
53
|
+
execFile('git', ['log', '-1', `--format=%H${FIELD}%s${FIELD}%an${FIELD}%at`], { cwd, timeout: CMD_TIMEOUT }),
|
|
54
|
+
]);
|
|
55
|
+
|
|
56
|
+
const branch = branchRes.status === 'fulfilled' ? branchRes.value.stdout.trim() : '';
|
|
57
|
+
const upstream = upstreamRes.status === 'fulfilled' ? upstreamRes.value.stdout.trim() : null;
|
|
58
|
+
const stashOut = stashRes.status === 'fulfilled' ? stashRes.value.stdout.trim() : '';
|
|
59
|
+
const stash = stashOut ? stashOut.split('\n').length : 0;
|
|
60
|
+
|
|
61
|
+
let headCommit: IHeadCommit | null = null;
|
|
62
|
+
if (headRes.status === 'fulfilled') {
|
|
63
|
+
const parts = headRes.value.stdout.trim().split(FIELD);
|
|
64
|
+
if (parts.length >= 4) {
|
|
65
|
+
const [hash, subject, author, ts] = parts;
|
|
66
|
+
headCommit = {
|
|
67
|
+
hash,
|
|
68
|
+
shortHash: hash.slice(0, 7),
|
|
69
|
+
subject,
|
|
70
|
+
author,
|
|
71
|
+
timestamp: parseInt(ts, 10) * 1000,
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return {
|
|
77
|
+
branch,
|
|
78
|
+
upstream,
|
|
79
|
+
isDetached: branch === 'HEAD',
|
|
80
|
+
stash,
|
|
81
|
+
headCommit,
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
const computeDiffHash = async (cwd: string) => {
|
|
86
|
+
const [{ stdout: headOut }, { stdout: statusOut }, { stdout: shortstatOut }] = await Promise.all([
|
|
87
|
+
execFile('git', ['rev-parse', 'HEAD'], { cwd, timeout: CMD_TIMEOUT }),
|
|
88
|
+
execFile('git', ['status', '--porcelain', '-uall'], { cwd, timeout: CMD_TIMEOUT }),
|
|
89
|
+
execFile('git', ['diff', 'HEAD', '--shortstat'], { cwd, timeout: CMD_TIMEOUT }),
|
|
90
|
+
]);
|
|
91
|
+
return createHash('sha1')
|
|
92
|
+
.update(`${headOut.trim()}\n${statusOut}\n${shortstatOut}`)
|
|
93
|
+
.digest('hex')
|
|
94
|
+
.slice(0, 16);
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
const handler = async (req: NextApiRequest, res: NextApiResponse) => {
|
|
98
|
+
if (req.method !== 'GET') {
|
|
99
|
+
res.setHeader('Allow', 'GET');
|
|
100
|
+
return res.status(405).json({ error: 'Method not allowed' });
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
const session = req.query.session as string | undefined;
|
|
104
|
+
const hashOnly = req.query.hashOnly === 'true';
|
|
105
|
+
const doFetch = req.query.fetch === 'true';
|
|
106
|
+
|
|
107
|
+
if (!session) {
|
|
108
|
+
return res.status(400).json({ error: 'session parameter required' });
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
const exists = await hasSession(session);
|
|
112
|
+
if (!exists) {
|
|
113
|
+
return res.status(404).json({ error: 'Session not found' });
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
const cwd = await getSessionCwd(session);
|
|
117
|
+
if (!cwd) {
|
|
118
|
+
return res.status(500).json({ error: 'Failed to get CWD' });
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
try {
|
|
122
|
+
await execFile('git', ['rev-parse', '--is-inside-work-tree'], { cwd, timeout: CMD_TIMEOUT });
|
|
123
|
+
} catch {
|
|
124
|
+
return res.status(200).json({ isGitRepo: false, diff: '', hash: '' });
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
let fetched = false;
|
|
128
|
+
if (doFetch) {
|
|
129
|
+
try {
|
|
130
|
+
await execFile('git', ['fetch', '--prune'], { cwd, timeout: FETCH_TIMEOUT });
|
|
131
|
+
fetched = true;
|
|
132
|
+
} catch (err) {
|
|
133
|
+
log.warn(`silent fetch failed: ${err instanceof Error ? err.message : err}`);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
try {
|
|
138
|
+
if (hashOnly) {
|
|
139
|
+
const [hash, aheadBehind] = await Promise.all([
|
|
140
|
+
computeDiffHash(cwd),
|
|
141
|
+
getAheadBehind(cwd),
|
|
142
|
+
]);
|
|
143
|
+
return res.status(200).json({
|
|
144
|
+
isGitRepo: true,
|
|
145
|
+
hash,
|
|
146
|
+
ahead: aheadBehind.ahead,
|
|
147
|
+
behind: aheadBehind.behind,
|
|
148
|
+
fetched,
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
const [{ stdout: diff }, { stdout: statusOut }, hash, aheadBehind, meta] = await Promise.all([
|
|
153
|
+
execFile('git', ['diff', 'HEAD'], { cwd, timeout: CMD_TIMEOUT, maxBuffer: 5 * 1024 * 1024 }),
|
|
154
|
+
execFile('git', ['status', '--porcelain', '-uall'], { cwd, timeout: CMD_TIMEOUT }),
|
|
155
|
+
computeDiffHash(cwd),
|
|
156
|
+
getAheadBehind(cwd),
|
|
157
|
+
getRepoMeta(cwd),
|
|
158
|
+
]);
|
|
159
|
+
|
|
160
|
+
const untrackedFiles = statusOut
|
|
161
|
+
.split('\n')
|
|
162
|
+
.filter((line) => line.startsWith('??'))
|
|
163
|
+
.map((line) => line.slice(3).trim());
|
|
164
|
+
|
|
165
|
+
let fullDiff = diff;
|
|
166
|
+
for (const file of untrackedFiles) {
|
|
167
|
+
try {
|
|
168
|
+
const { stdout: fileDiff } = await execFile('git', ['diff', '--no-index', '/dev/null', file], { cwd, timeout: CMD_TIMEOUT });
|
|
169
|
+
fullDiff += fileDiff;
|
|
170
|
+
} catch (err: unknown) {
|
|
171
|
+
if (err && typeof err === 'object' && 'stdout' in err) {
|
|
172
|
+
fullDiff += (err as { stdout: string }).stdout;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
return res.status(200).json({
|
|
178
|
+
isGitRepo: true,
|
|
179
|
+
diff: fullDiff,
|
|
180
|
+
hash,
|
|
181
|
+
ahead: aheadBehind.ahead,
|
|
182
|
+
behind: aheadBehind.behind,
|
|
183
|
+
branch: meta.branch,
|
|
184
|
+
upstream: meta.upstream,
|
|
185
|
+
isDetached: meta.isDetached,
|
|
186
|
+
stash: meta.stash,
|
|
187
|
+
headCommit: meta.headCommit,
|
|
188
|
+
fetched,
|
|
189
|
+
});
|
|
190
|
+
} catch (err) {
|
|
191
|
+
log.error(`git diff failed: ${err instanceof Error ? err.message : err}`);
|
|
192
|
+
return res.status(500).json({ error: 'Failed to get diff' });
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
export default handler;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import type { NextApiRequest, NextApiResponse } from 'next';
|
|
2
|
+
import { execFile as execFileCb } from 'child_process';
|
|
3
|
+
import { promisify } from 'util';
|
|
4
|
+
import { readFile } from 'fs/promises';
|
|
5
|
+
import { resolve, sep } from 'path';
|
|
6
|
+
import { getSessionCwd, hasSession } from '@/lib/tmux';
|
|
7
|
+
import { createLogger } from '@/lib/logger';
|
|
8
|
+
|
|
9
|
+
const execFile = promisify(execFileCb);
|
|
10
|
+
const log = createLogger('file-content');
|
|
11
|
+
|
|
12
|
+
const CMD_TIMEOUT = 10_000;
|
|
13
|
+
const MAX_BYTES = 1_000_000;
|
|
14
|
+
const WORKTREE = 'WORKTREE';
|
|
15
|
+
const REF_RE = /^[A-Za-z0-9][A-Za-z0-9_\-/.^~]{0,200}$/;
|
|
16
|
+
|
|
17
|
+
interface ISideResult {
|
|
18
|
+
content: string;
|
|
19
|
+
truncated: boolean;
|
|
20
|
+
binary: boolean;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const EMPTY_SIDE: ISideResult = { content: '', truncated: false, binary: false };
|
|
24
|
+
|
|
25
|
+
const sanitizeRepoPath = (p: string | undefined | string[]): string | null => {
|
|
26
|
+
if (!p || Array.isArray(p)) return null;
|
|
27
|
+
if (p === '/dev/null') return null;
|
|
28
|
+
if (p.includes('\0')) return null;
|
|
29
|
+
if (p.startsWith('/')) return null;
|
|
30
|
+
|
|
31
|
+
let depth = 0;
|
|
32
|
+
for (const part of p.split('/')) {
|
|
33
|
+
if (part === '' || part === '.') continue;
|
|
34
|
+
if (part === '..') {
|
|
35
|
+
depth -= 1;
|
|
36
|
+
if (depth < 0) return null;
|
|
37
|
+
} else {
|
|
38
|
+
depth += 1;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return p;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const sanitizeRef = (r: string | string[] | undefined, fallback: string): string | null => {
|
|
45
|
+
const v = Array.isArray(r) ? r[0] : r;
|
|
46
|
+
if (!v) return fallback;
|
|
47
|
+
if (v === WORKTREE) return WORKTREE;
|
|
48
|
+
if (!REF_RE.test(v)) return null;
|
|
49
|
+
return v;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
const fromBuffer = (buf: Buffer): ISideResult => {
|
|
53
|
+
if (buf.length > MAX_BYTES) return { content: '', truncated: true, binary: false };
|
|
54
|
+
if (buf.includes(0)) return { content: '', truncated: false, binary: true };
|
|
55
|
+
return { content: buf.toString('utf8'), truncated: false, binary: false };
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
const readFromRef = async (cwd: string, ref: string, relPath: string): Promise<ISideResult> => {
|
|
59
|
+
try {
|
|
60
|
+
const { stdout } = await execFile(
|
|
61
|
+
'git',
|
|
62
|
+
['-C', cwd, 'show', `${ref}:${relPath}`],
|
|
63
|
+
{ timeout: CMD_TIMEOUT, maxBuffer: MAX_BYTES + 1024, encoding: 'buffer' },
|
|
64
|
+
);
|
|
65
|
+
return fromBuffer(stdout as unknown as Buffer);
|
|
66
|
+
} catch {
|
|
67
|
+
return EMPTY_SIDE;
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
const readFromWorktree = async (cwd: string, relPath: string): Promise<ISideResult> => {
|
|
72
|
+
try {
|
|
73
|
+
const resolved = resolve(cwd, relPath);
|
|
74
|
+
if (resolved !== cwd && !resolved.startsWith(cwd + sep)) return EMPTY_SIDE;
|
|
75
|
+
const buf = await readFile(resolved);
|
|
76
|
+
return fromBuffer(buf);
|
|
77
|
+
} catch {
|
|
78
|
+
return EMPTY_SIDE;
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
const loadSide = (cwd: string, ref: string, relPath: string | null): Promise<ISideResult> => {
|
|
83
|
+
if (!relPath) return Promise.resolve(EMPTY_SIDE);
|
|
84
|
+
return ref === WORKTREE ? readFromWorktree(cwd, relPath) : readFromRef(cwd, ref, relPath);
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
const handler = async (req: NextApiRequest, res: NextApiResponse) => {
|
|
88
|
+
if (req.method !== 'GET') {
|
|
89
|
+
res.setHeader('Allow', 'GET');
|
|
90
|
+
return res.status(405).json({ error: 'Method not allowed' });
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
const session = typeof req.query.session === 'string' ? req.query.session : undefined;
|
|
94
|
+
if (!session) return res.status(400).json({ error: 'session parameter required' });
|
|
95
|
+
|
|
96
|
+
const oldPath = sanitizeRepoPath(req.query.oldPath);
|
|
97
|
+
const newPath = sanitizeRepoPath(req.query.newPath);
|
|
98
|
+
const oldRef = sanitizeRef(req.query.oldRef, 'HEAD');
|
|
99
|
+
const newRef = sanitizeRef(req.query.newRef, WORKTREE);
|
|
100
|
+
|
|
101
|
+
if (!oldRef || !newRef) return res.status(400).json({ error: 'Invalid ref' });
|
|
102
|
+
if (!oldPath && !newPath) return res.status(400).json({ error: 'oldPath or newPath required' });
|
|
103
|
+
|
|
104
|
+
if (!(await hasSession(session))) return res.status(404).json({ error: 'Session not found' });
|
|
105
|
+
|
|
106
|
+
const cwd = await getSessionCwd(session);
|
|
107
|
+
if (!cwd) return res.status(500).json({ error: 'Failed to get CWD' });
|
|
108
|
+
|
|
109
|
+
try {
|
|
110
|
+
const [oldSide, newSide] = await Promise.all([
|
|
111
|
+
loadSide(cwd, oldRef, oldPath),
|
|
112
|
+
loadSide(cwd, newRef, newPath),
|
|
113
|
+
]);
|
|
114
|
+
|
|
115
|
+
const truncated = oldSide.truncated || newSide.truncated;
|
|
116
|
+
const binary = oldSide.binary || newSide.binary;
|
|
117
|
+
|
|
118
|
+
return res.status(200).json({
|
|
119
|
+
oldContent: truncated || binary ? '' : oldSide.content,
|
|
120
|
+
newContent: truncated || binary ? '' : newSide.content,
|
|
121
|
+
truncated,
|
|
122
|
+
binary,
|
|
123
|
+
});
|
|
124
|
+
} catch (err) {
|
|
125
|
+
log.error(`file-content failed: ${err instanceof Error ? err.message : err}`);
|
|
126
|
+
return res.status(500).json({ error: 'Failed to get file content' });
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
export default handler;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { NextApiRequest, NextApiResponse } from 'next';
|
|
2
|
+
import { execFile as execFileCb } from 'child_process';
|
|
3
|
+
import { promisify } from 'util';
|
|
4
|
+
import { getSessionCwd, hasSession } from '@/lib/tmux';
|
|
5
|
+
import { getCommitLog } from '@/lib/git-log';
|
|
6
|
+
import { createLogger } from '@/lib/logger';
|
|
7
|
+
|
|
8
|
+
const execFile = promisify(execFileCb);
|
|
9
|
+
const log = createLogger('git-log');
|
|
10
|
+
const CMD_TIMEOUT = 5000;
|
|
11
|
+
const DEFAULT_LIMIT = 50;
|
|
12
|
+
const MAX_LIMIT = 500;
|
|
13
|
+
|
|
14
|
+
const handler = async (req: NextApiRequest, res: NextApiResponse) => {
|
|
15
|
+
if (req.method !== 'GET') {
|
|
16
|
+
res.setHeader('Allow', 'GET');
|
|
17
|
+
return res.status(405).json({ error: 'Method not allowed' });
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const session = req.query.session as string | undefined;
|
|
21
|
+
const limitParam = parseInt(req.query.limit as string, 10);
|
|
22
|
+
const limit = Math.min(Number.isFinite(limitParam) && limitParam > 0 ? limitParam : DEFAULT_LIMIT, MAX_LIMIT);
|
|
23
|
+
const skipParam = parseInt(req.query.skip as string, 10);
|
|
24
|
+
const skip = Number.isFinite(skipParam) && skipParam > 0 ? skipParam : 0;
|
|
25
|
+
|
|
26
|
+
if (!session) {
|
|
27
|
+
return res.status(400).json({ error: 'session parameter required' });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const exists = await hasSession(session);
|
|
31
|
+
if (!exists) {
|
|
32
|
+
return res.status(404).json({ error: 'Session not found' });
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const cwd = await getSessionCwd(session);
|
|
36
|
+
if (!cwd) {
|
|
37
|
+
return res.status(500).json({ error: 'Failed to get CWD' });
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
try {
|
|
41
|
+
await execFile('git', ['-C', cwd, 'rev-parse', '--is-inside-work-tree'], { timeout: CMD_TIMEOUT });
|
|
42
|
+
} catch {
|
|
43
|
+
return res.status(200).json({ isGitRepo: false, commits: [] });
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
try {
|
|
47
|
+
const result = await getCommitLog(cwd, limit, skip);
|
|
48
|
+
return res.status(200).json({ isGitRepo: true, ...result });
|
|
49
|
+
} catch (err) {
|
|
50
|
+
log.error(`git log failed: ${err instanceof Error ? err.message : err}`);
|
|
51
|
+
return res.status(500).json({ error: 'Failed to get commit log' });
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export default handler;
|