purplemux-improved 0.5.10 → 0.5.12
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 +27 -27
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/required-server-files.json +3 -3
- package/.next/standalone/.next/routes-manifest.json +8 -8
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__12-wi42._.js → [root-of-the-server]__000~qjm._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__00v0ixb._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__013of3i._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__01aay-_._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0iw5845._.js → [root-of-the-server]__01dt1gs._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__01u4._8._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__02u6axj._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__13xm2n4._.js → [root-of-the-server]__03h_e27._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__03ll_5v._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__03xag63._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__04fz1d~._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__04lky3-._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__04rpysj._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__06w7.ew._.js → [root-of-the-server]__04xece_._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0chna3_._.js → [root-of-the-server]__05dwgd0._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__05e-z81._.js → [root-of-the-server]__05rqn-i._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__06oe5.j._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__07s69vr._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__08_dnoo._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__08cmcoj._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__09l7ini._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0h-tl~k._.js → [root-of-the-server]__0_5s9f9._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0nu.kuw._.js → [root-of-the-server]__0a0mdoy._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0b88x6w._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0ck~ku4._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0erern8._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0f3jsg8._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0lo4z8l._.js → [root-of-the-server]__0fnqj.t._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0giji3p._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0i3oioq._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0i8ipd.._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0iq6-8h._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0q9_dth._.js → [root-of-the-server]__0jhov~3._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0q9uzb5._.js → [root-of-the-server]__0l1ag7y._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__12_exku._.js → [root-of-the-server]__0l_rns5._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0l~uj4v._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0m54.g1._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0sw~ed_._.js → [root-of-the-server]__0o0b~uu._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0fm6xg4._.js → [root-of-the-server]__0omm2qq._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0on-h3m._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0op18s-._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0pg7_fw._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__10_9861._.js → [root-of-the-server]__0pvo80h._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0rbgf3-._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0rjqtbi._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0w1zkwl._.js → [root-of-the-server]__0rq9~ac._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0s083lq._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0s3wg1~._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0sa8ao9._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0l9frv-._.js → [root-of-the-server]__0t9jgyg._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0syywhn._.js → [root-of-the-server]__0u1k-9q._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0u1wxle._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0x4-_v.._.js → [root-of-the-server]__0v3gf92._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0w-qu_a._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0wisaw_._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0wsoy6w._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0wvl61.._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0ks8c30._.js → [root-of-the-server]__0x.iuul._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0x7-5tr._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0yvhxd_._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0~m0xis._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0m6q6-z._.js → [root-of-the-server]__10leoan._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0-yu90-._.js → [root-of-the-server]__10rl9zl._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__113lma2._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0~zbv97._.js → [root-of-the-server]__11855-c._.js} +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0.19htf._.js → [root-of-the-server]__11encfh._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__12al..h._.js +1 -1
- package/.next/standalone/.next/server/chunks/_00vdqud._.js +1 -1
- package/.next/standalone/.next/server/chunks/_06f3i9g._.js +1 -1
- package/.next/standalone/.next/server/chunks/_07.32jx._.js +1 -1
- package/.next/standalone/.next/server/chunks/_0aalm4i._.js +1 -1
- package/.next/standalone/.next/server/chunks/_0gn9lng._.js +1 -1
- package/.next/standalone/.next/server/chunks/{_03og39t._.js → _0kw44sl._.js} +2 -2
- package/.next/standalone/.next/server/chunks/_0sqdl_i._.js +1 -1
- package/.next/standalone/.next/server/chunks/{_0dn43~6._.js → _0sydlp4._.js} +2 -2
- package/.next/standalone/.next/server/chunks/_13s4mkq._.js +1 -1
- package/.next/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_pages-api_0fxm9i5.js +3 -0
- package/.next/standalone/.next/server/chunks/src_lib_0-o.oy9._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_0.vh62c._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_00ub152._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_010u62x._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_01_zlj6._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_04~o6t3._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_081-eq-._.js +3 -3
- package/.next/standalone/.next/server/chunks/src_lib_0a1cvww._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_0a4xa2y._.js +3 -3
- package/.next/standalone/.next/server/chunks/src_lib_0dn01gx._.js +1 -1
- package/.next/standalone/.next/server/chunks/{src_lib_0mix7rp._.js → src_lib_0k8ta3-._.js} +2 -2
- package/.next/standalone/.next/server/chunks/src_lib_0mtwi6u._.js +3 -3
- package/.next/standalone/.next/server/chunks/src_lib_0own5hb._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_0qs0bfm._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_0ra1aoi._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_0swq686._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_0t5lh83._.js +3 -3
- package/.next/standalone/.next/server/chunks/src_lib_0vturf8._.js +2 -2
- package/.next/standalone/.next/server/chunks/src_lib_0wj78pu._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_0y.3_y1._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_0z_s-en._.js +1 -1
- package/.next/standalone/.next/server/chunks/{src_lib_0wkqevc._.js → src_lib_0zysttz._.js} +2 -2
- package/.next/standalone/.next/server/chunks/src_lib_0~sx163._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_110pvob._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_12-f48f._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_12781ba._.js +3 -3
- package/.next/standalone/.next/server/chunks/src_lib_12gh62l._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_12jhu3a._.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_providers_codex_0cgxuon._.js +193 -0
- package/.next/standalone/.next/server/chunks/src_lib_providers_codex_0dcne0r._.js +193 -0
- package/.next/standalone/.next/server/chunks/src_lib_providers_codex_0p-qyg1._.js +193 -0
- package/.next/standalone/.next/server/chunks/src_lib_session-parser-codex_ts_0bwwbur._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0mi~~90._.js → [root-of-the-server]__04vciz6._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{_0lqx2d7._.js → _05a~_tq._.js} +3 -3
- package/.next/standalone/.next/server/chunks/ssr/{_0ht6_89._.js → _0_iy0mw._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_0a3w-rg._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{_078zx7m._.js → _0aslac_._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_0bnw_6t._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{_0y.lddn._.js → _0e28ssk._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{_07m_2wm._.js → _0jvh3y8._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_0ofci7p._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{_06zc~1t._.js → _0qz5u.l._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_0rqsi1~._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_0u064mq._.js +25 -0
- package/.next/standalone/.next/server/chunks/ssr/_0vh1m_k._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{_08~6k~z._.js → _10u~nz7._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{src_components_0gkst~q._.js → src_components_05hb4wa._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{src_components_0jj6ibd._.js → src_components_0otb-1t._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{src_components_0st._oe._.js → src_components_0v6e6h5._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{src_components_11bj1h_._.js → src_components_0wp9o4o._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_components_features_login_install-dialog_tsx_0hobkwr._.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_hooks_use-browser-title_ts_0bw6.cb._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/src_lib_00ztu0a._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/src_lib_0w7gvn7._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{src_lib_access-filter_ts_04e111x._.js → src_lib_access-filter_ts_0-li6iv._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{src_lib_access-filter_ts_0ep7_7p._.js → src_lib_access-filter_ts_054_15b._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{src_lib_access-filter_ts_0j92f.e._.js → src_lib_access-filter_ts_09c7bba._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{src_lib_access-filter_ts_0wxsto0._.js → src_lib_access-filter_ts_0ff0ay6._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_lib_access-filter_ts_0~c-h9i._.js +3 -0
- package/.next/standalone/.next/server/middleware-build-manifest.js +27 -27
- package/.next/standalone/.next/server/pages/_app/build-manifest.json +3 -3
- package/.next/standalone/.next/server/pages/_app/client-build-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/api/app-update.js +5 -5
- package/.next/standalone/.next/server/pages/api/app-update.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/auth/preflight.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/check-agent.js +2 -2
- package/.next/standalone/.next/server/pages/api/check-agent.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/check-claude.js +2 -2
- package/.next/standalone/.next/server/pages/api/check-claude.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/claude/status-line.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/cli/tabs/[tabId]/browser/console.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/cli/tabs/[tabId]/browser/eval.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/cli/tabs/[tabId]/browser/network.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/cli/tabs/[tabId]/browser/screenshot.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/cli/tabs/[tabId]/browser/url.js.nft.json +1 -1
- 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.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 +3 -3
- package/.next/standalone/.next/server/pages/api/cli/tabs.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/cli/workspaces.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/codex/launch-args.js +2 -2
- package/.next/standalone/.next/server/pages/api/codex/launch-args.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/codex/launch-command.js +2 -2
- package/.next/standalone/.next/server/pages/api/codex/launch-command.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/codex/sessions.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/codex/status-line.js +4 -4
- package/.next/standalone/.next/server/pages/api/codex/status-line.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/git/commit.js +3 -3
- package/.next/standalone/.next/server/pages/api/git/commit.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/input-queue.js +7 -7
- package/.next/standalone/.next/server/pages/api/input-queue.js.nft.json +1 -1
- 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 +2 -2
- 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.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/layout/pane/[paneId]/tabs.js +2 -2
- 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.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/layout/pane.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/layout.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/message-history.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/preflight/runtime.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/scheduled-tasks.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/session-files/[...path].js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/session-history.js +5 -5
- package/.next/standalone/.next/server/pages/api/session-history.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/session-tags.js +3 -3
- package/.next/standalone/.next/server/pages/api/session-tags.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/session-workflow.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/aggregated.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/cache-status.js.nft.json +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.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/daily-report/list.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/history.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/overview.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/projects.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/sessions.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/stats/uptime.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/status/agent-launch.js +2 -2
- package/.next/standalone/.next/server/pages/api/status/agent-launch.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/status/hook.js +2 -2
- package/.next/standalone/.next/server/pages/api/status/hook.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/status/statusline.js +2 -2
- package/.next/standalone/.next/server/pages/api/status/statusline.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/system/agent-processes.js +10 -9
- package/.next/standalone/.next/server/pages/api/system/agent-processes.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/system/idle-tabs.js +6 -6
- package/.next/standalone/.next/server/pages/api/system/idle-tabs.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/terminal-commands.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/terminal-keys.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/timeline/sessions.js.nft.json +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/plan-options.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/tmux/recover-unknown.js +2 -2
- 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 +4 -4
- package/.next/standalone/.next/server/pages/api/tmux/reset.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/[workspaceId].js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/active.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/generate-branch-name.js +2 -2
- package/.next/standalone/.next/server/pages/api/workspace/generate-branch-name.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/group/[groupId].js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/group/reorder.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/group.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/reorder.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/validate.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/worktree-actions.js +3 -3
- package/.next/standalone/.next/server/pages/api/workspace/worktree-actions.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/worktree.js +2 -2
- package/.next/standalone/.next/server/pages/api/workspace/worktree.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/worktrees.js +1 -1
- package/.next/standalone/.next/server/pages/api/workspace/worktrees.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/api/workspace.js +5 -5
- 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/file-preview.js +1 -1
- package/.next/standalone/.next/server/pages/file-preview.js.nft.json +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 +5 -5
- package/.next/standalone/.next/server/pages/index/client-build-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/index/react-loadable-manifest.json +6 -6
- package/.next/standalone/.next/server/pages/index.js +1 -1
- 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 +2 -2
- package/.next/standalone/.next/server/pages/login/client-build-manifest.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 +4 -4
- package/.next/standalone/.next/server/pages/reports/client-build-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/reports.js +1 -1
- package/.next/standalone/.next/server/pages/reports.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/reset.js +1 -1
- 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 +4 -4
- package/.next/standalone/.next/server/pages/stats/client-build-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/stats.js +1 -1
- package/.next/standalone/.next/server/pages/stats.js.nft.json +1 -1
- package/.next/standalone/.next/server/pages/tools-required/build-manifest.json +2 -2
- package/.next/standalone/.next/server/pages/tools-required/client-build-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/tools-required.js +1 -1
- 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 +4 -4
- package/.next/standalone/.next/server/pages/webview/client-build-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/webview.js +1 -1
- 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/static/{xQtD5gmqxR0WbufR-m3-b → KSPZEOKlXuaPhmdGlwZxT}/_buildManifest.js +6 -6
- package/.next/standalone/.next/static/chunks/{0fajyvp51pux..js → 0-o3i9rwv6dzj.js} +3 -3
- package/.next/standalone/.next/static/chunks/00vworbelwh9a.css +1 -0
- package/.next/standalone/.next/static/chunks/{0qohgg6op-_rz.js → 01migx8xnb_bj.js} +1 -1
- package/.next/standalone/.next/static/chunks/02j919-_h_o59.js +1 -0
- package/.next/standalone/.next/static/chunks/{0xz_epq5cvuy9.js → 0762n4-azcf3q.js} +1 -1
- package/.next/standalone/.next/static/chunks/{01fpfoi-402a-.js → 08.oo9haaotgu.js} +4 -4
- package/.next/standalone/.next/static/chunks/{030zlx1rtffv1.js → 0a4~vp7vd624o.js} +1 -1
- package/.next/standalone/.next/static/chunks/{0gg9t_aovxzj3.js → 0a_qzyxf5bq_f.js} +8 -8
- package/.next/standalone/.next/static/chunks/{0rckqviz0~j46.js → 0ar6x3d9tv434.js} +1 -1
- package/.next/standalone/.next/static/chunks/0kwwsu.8usihl.js +1 -0
- package/.next/standalone/.next/static/chunks/0mgm7~~msdgoy.js +1 -0
- package/.next/standalone/.next/static/chunks/{0.evucin7ig~~.js → 0n7g.j696jfpf.js} +1 -1
- package/.next/standalone/.next/static/chunks/{0w.0yq_m_l2.o.js → 0pbxj99mr9un4.js} +4 -4
- package/.next/standalone/.next/static/chunks/0pzi3sqfo73vw.js +1 -0
- package/.next/standalone/.next/static/chunks/0qfe_t1~a6hkw.js +1 -0
- package/.next/standalone/.next/static/chunks/{08-0--g7ih-t3.js → 0r1_xeag0fz_b.js} +5 -5
- package/.next/standalone/.next/static/chunks/{177h7fml18cnl.js → 0ti45-0zl-td0.js} +4 -4
- package/.next/standalone/.next/static/chunks/{12k__8eqtaps5.js → 0wxr1ndlr1jfj.js} +2 -2
- package/.next/standalone/.next/static/chunks/0zjt.u~p3r8cs.js +150 -0
- package/.next/standalone/.next/static/chunks/{0xtj050cg6bsc.js → 14bantyc~hdpb.js} +2 -2
- package/.next/standalone/.next/static/chunks/14kid.pevvwla.js +2 -0
- package/.next/standalone/.next/static/chunks/{turbopack-0b~sw3tb0u2mg.js → turbopack-0fvbeca8ccg4w.js} +1 -1
- package/.next/standalone/.next/static/chunks/{turbopack-0b5lv_fqc7rtq.js → turbopack-0gp8agrlmjdt6.js} +1 -1
- package/.next/standalone/.next/static/chunks/{turbopack-0x9il~fl1eoea.js → turbopack-0r891i.lhjx4o.js} +1 -1
- package/.next/standalone/.next/static/chunks/{turbopack-0-_7j3o0bdql0.js → turbopack-0s1h8a5y98z1k.js} +1 -1
- package/.next/standalone/.next/static/chunks/{turbopack-17su6fgu09y07.js → turbopack-11792u34c2ui6.js} +1 -1
- package/.next/standalone/.next/static/chunks/{turbopack-06iuohw5at4v9.js → turbopack-17i5zynk90874.js} +1 -1
- package/.next/standalone/.next/static/chunks/{turbopack-17~adsg6ro5tq.js → turbopack-17p1dfy0t6xna.js} +1 -1
- package/.next/standalone/messages/de/terminal.json +1 -0
- package/.next/standalone/messages/en/terminal.json +1 -0
- package/.next/standalone/messages/es/terminal.json +1 -0
- package/.next/standalone/messages/fr/terminal.json +1 -0
- package/.next/standalone/messages/ja/terminal.json +1 -0
- package/.next/standalone/messages/ko/terminal.json +1 -0
- package/.next/standalone/messages/pt-BR/terminal.json +1 -0
- package/.next/standalone/messages/ru/terminal.json +1 -0
- package/.next/standalone/messages/tr/terminal.json +1 -0
- package/.next/standalone/messages/zh-CN/terminal.json +1 -0
- package/.next/standalone/messages/zh-TW/terminal.json +1 -0
- package/.next/standalone/package.json +1 -1
- package/.next/standalone/server.js +1 -1
- package/dist/server.js +355 -234
- package/package.json +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0a_4ho7._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0lfzlui._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0wok-80._.js +0 -3
- package/.next/standalone/.next/server/chunks/src_lib_providers_codex_0oinqxc._.js +0 -193
- package/.next/standalone/.next/server/chunks/src_lib_providers_codex_0wbualb._.js +0 -193
- package/.next/standalone/.next/server/chunks/ssr/_07z960e._.js +0 -25
- package/.next/standalone/.next/server/chunks/ssr/src_lib_access-filter_ts_0~7oqr~._.js +0 -3
- package/.next/standalone/.next/static/chunks/0.zjwvx4tfvxj.js +0 -1
- package/.next/standalone/.next/static/chunks/01i56-ghb9v~d.js +0 -1
- package/.next/standalone/.next/static/chunks/0b6.jp._4c5fj.css +0 -1
- package/.next/standalone/.next/static/chunks/0fa3nks7d-8ww.js +0 -1
- package/.next/standalone/.next/static/chunks/0p6jkxo~-g5~f.js +0 -150
- package/.next/standalone/.next/static/chunks/0tobh0zntf3k6.js +0 -1
- package/.next/standalone/.next/static/chunks/0w2abwllkf.-f.js +0 -2
- package/.next/standalone/.next/static/chunks/15~jkipevfkkl.js +0 -1
- /package/.next/standalone/.next/static/{xQtD5gmqxR0WbufR-m3-b → KSPZEOKlXuaPhmdGlwZxT}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/.next/static/{xQtD5gmqxR0WbufR-m3-b → KSPZEOKlXuaPhmdGlwZxT}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
KSPZEOKlXuaPhmdGlwZxT
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"pages": {
|
|
3
3
|
"/": [
|
|
4
|
-
"static/chunks/
|
|
4
|
+
"static/chunks/0n7g.j696jfpf.js",
|
|
5
5
|
"static/chunks/10eg9-amxy7_-.js",
|
|
6
6
|
"static/chunks/0fc_1a6y8hbkl.js",
|
|
7
7
|
"static/chunks/0qxtlcmfu_xkd.js",
|
|
8
8
|
"static/chunks/0f.6b01k3n5vs.js",
|
|
9
9
|
"static/chunks/0cirqrl74bser.js",
|
|
10
|
-
"static/chunks/
|
|
10
|
+
"static/chunks/0pzi3sqfo73vw.js",
|
|
11
11
|
"static/chunks/0c_~pa-d_aw_m.js",
|
|
12
12
|
"static/chunks/0arcl1etocsgx.js",
|
|
13
13
|
"static/chunks/0zjt8p-ozu0uu.js",
|
|
14
14
|
"static/chunks/120~ymj4jia1c.js",
|
|
15
|
-
"static/chunks/
|
|
15
|
+
"static/chunks/01migx8xnb_bj.js",
|
|
16
16
|
"static/chunks/0x-3ykiwped2_.js",
|
|
17
17
|
"static/chunks/09c5mm6~ykp-1.js",
|
|
18
18
|
"static/chunks/10yt_6qu076cy.js",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"static/chunks/02tu2oiemhu1l.js",
|
|
21
21
|
"static/chunks/09gle~-0lfi7..js",
|
|
22
22
|
"static/chunks/04gpbm0cwnycg.js",
|
|
23
|
-
"static/chunks/
|
|
23
|
+
"static/chunks/14kid.pevvwla.js",
|
|
24
24
|
"static/chunks/05toklz07yrgl.js",
|
|
25
|
-
"static/chunks/turbopack-
|
|
25
|
+
"static/chunks/turbopack-0s1h8a5y98z1k.js"
|
|
26
26
|
],
|
|
27
27
|
"/_app": [
|
|
28
28
|
"static/chunks/10eg9-amxy7_-.js",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"static/chunks/0fw9pyi5omlh0.js",
|
|
31
31
|
"static/chunks/09gle~-0lfi7..js",
|
|
32
32
|
"static/chunks/03snjn_okgxa4.js",
|
|
33
|
-
"static/chunks/
|
|
33
|
+
"static/chunks/02j919-_h_o59.js",
|
|
34
34
|
"static/chunks/0op0kfzecsp0n.js",
|
|
35
|
-
"static/chunks/
|
|
35
|
+
"static/chunks/00vworbelwh9a.css",
|
|
36
36
|
"static/chunks/107edt81z_gzy.css",
|
|
37
|
-
"static/chunks/turbopack-
|
|
37
|
+
"static/chunks/turbopack-11792u34c2ui6.js"
|
|
38
38
|
],
|
|
39
39
|
"/_error": [
|
|
40
40
|
"static/chunks/0pyxythdmi0t4.js",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"static/chunks/17vdzbjqzhe52.js",
|
|
62
62
|
"static/chunks/0c_~pa-d_aw_m.js",
|
|
63
63
|
"static/chunks/09gle~-0lfi7..js",
|
|
64
|
-
"static/chunks/
|
|
64
|
+
"static/chunks/0762n4-azcf3q.js",
|
|
65
65
|
"static/chunks/05d81k_c-whyp.js",
|
|
66
66
|
"static/chunks/0n9sjh9x_62vs.js",
|
|
67
67
|
"static/chunks/14p04c39nk6-k.js",
|
|
68
68
|
"static/chunks/03snjn_okgxa4.js",
|
|
69
|
-
"static/chunks/turbopack-
|
|
69
|
+
"static/chunks/turbopack-0fvbeca8ccg4w.js"
|
|
70
70
|
],
|
|
71
71
|
"/reports": [
|
|
72
72
|
"static/chunks/0ek-nnyawof6n.js",
|
|
@@ -84,14 +84,14 @@
|
|
|
84
84
|
"static/chunks/07uj5sy9586t~.js",
|
|
85
85
|
"static/chunks/120~ymj4jia1c.js",
|
|
86
86
|
"static/chunks/16p624f~02o5~.js",
|
|
87
|
-
"static/chunks/
|
|
87
|
+
"static/chunks/0ar6x3d9tv434.js",
|
|
88
88
|
"static/chunks/09gle~-0lfi7..js",
|
|
89
|
-
"static/chunks/
|
|
89
|
+
"static/chunks/14kid.pevvwla.js",
|
|
90
90
|
"static/chunks/06141_ry1u7_8.js",
|
|
91
91
|
"static/chunks/0arcl1etocsgx.js",
|
|
92
92
|
"static/chunks/0zjt8p-ozu0uu.js",
|
|
93
|
-
"static/chunks/
|
|
94
|
-
"static/chunks/turbopack-
|
|
93
|
+
"static/chunks/0qfe_t1~a6hkw.js",
|
|
94
|
+
"static/chunks/turbopack-0r891i.lhjx4o.js"
|
|
95
95
|
],
|
|
96
96
|
"/reset": [
|
|
97
97
|
"static/chunks/0.z6h61kqq.zf.js",
|
|
@@ -112,18 +112,18 @@
|
|
|
112
112
|
"static/chunks/02tu2oiemhu1l.js",
|
|
113
113
|
"static/chunks/0arcl1etocsgx.js",
|
|
114
114
|
"static/chunks/0cirqrl74bser.js",
|
|
115
|
-
"static/chunks/
|
|
115
|
+
"static/chunks/0a4~vp7vd624o.js",
|
|
116
116
|
"static/chunks/10yt_6qu076cy.js",
|
|
117
117
|
"static/chunks/03snjn_okgxa4.js",
|
|
118
118
|
"static/chunks/120~ymj4jia1c.js",
|
|
119
119
|
"static/chunks/0327mszok07wd.js",
|
|
120
120
|
"static/chunks/09gle~-0lfi7..js",
|
|
121
|
-
"static/chunks/
|
|
122
|
-
"static/chunks/
|
|
121
|
+
"static/chunks/0qfe_t1~a6hkw.js",
|
|
122
|
+
"static/chunks/14kid.pevvwla.js",
|
|
123
123
|
"static/chunks/04gpbm0cwnycg.js",
|
|
124
124
|
"static/chunks/0zjt8p-ozu0uu.js",
|
|
125
125
|
"static/chunks/0c_~pa-d_aw_m.js",
|
|
126
|
-
"static/chunks/turbopack-
|
|
126
|
+
"static/chunks/turbopack-17i5zynk90874.js"
|
|
127
127
|
],
|
|
128
128
|
"/tools-required": [
|
|
129
129
|
"static/chunks/0yo.llzzy~hac.js",
|
|
@@ -133,10 +133,10 @@
|
|
|
133
133
|
"static/chunks/16x40~xp1mhpw.js",
|
|
134
134
|
"static/chunks/03snjn_okgxa4.js",
|
|
135
135
|
"static/chunks/09gle~-0lfi7..js",
|
|
136
|
-
"static/chunks/
|
|
136
|
+
"static/chunks/0762n4-azcf3q.js",
|
|
137
137
|
"static/chunks/0j1lz_utmgoz6.js",
|
|
138
138
|
"static/chunks/0h1chj6zcagzj.js",
|
|
139
|
-
"static/chunks/turbopack-
|
|
139
|
+
"static/chunks/turbopack-17p1dfy0t6xna.js"
|
|
140
140
|
],
|
|
141
141
|
"/webview": [
|
|
142
142
|
"static/chunks/001igp3_2dqsz.js",
|
|
@@ -144,31 +144,31 @@
|
|
|
144
144
|
"static/chunks/0cirqrl74bser.js",
|
|
145
145
|
"static/chunks/0f.6b01k3n5vs.js",
|
|
146
146
|
"static/chunks/0fc_1a6y8hbkl.js",
|
|
147
|
-
"static/chunks/
|
|
147
|
+
"static/chunks/0qfe_t1~a6hkw.js",
|
|
148
148
|
"static/chunks/0x-3ykiwped2_.js",
|
|
149
149
|
"static/chunks/0qxtlcmfu_xkd.js",
|
|
150
150
|
"static/chunks/0arcl1etocsgx.js",
|
|
151
151
|
"static/chunks/0c_~pa-d_aw_m.js",
|
|
152
|
-
"static/chunks/
|
|
152
|
+
"static/chunks/01migx8xnb_bj.js",
|
|
153
153
|
"static/chunks/10yt_6qu076cy.js",
|
|
154
154
|
"static/chunks/09gle~-0lfi7..js",
|
|
155
155
|
"static/chunks/03snjn_okgxa4.js",
|
|
156
|
-
"static/chunks/
|
|
156
|
+
"static/chunks/14kid.pevvwla.js",
|
|
157
157
|
"static/chunks/05toklz07yrgl.js",
|
|
158
158
|
"static/chunks/02tu2oiemhu1l.js",
|
|
159
159
|
"static/chunks/0n_xpk8xvecgd.js",
|
|
160
160
|
"static/chunks/06141_ry1u7_8.js",
|
|
161
161
|
"static/chunks/120~ymj4jia1c.js",
|
|
162
162
|
"static/chunks/0zjt8p-ozu0uu.js",
|
|
163
|
-
"static/chunks/turbopack-
|
|
163
|
+
"static/chunks/turbopack-0gp8agrlmjdt6.js"
|
|
164
164
|
]
|
|
165
165
|
},
|
|
166
166
|
"devFiles": [],
|
|
167
167
|
"polyfillFiles": [],
|
|
168
168
|
"lowPriorityFiles": [
|
|
169
|
-
"static/
|
|
170
|
-
"static/
|
|
171
|
-
"static/
|
|
169
|
+
"static/KSPZEOKlXuaPhmdGlwZxT/_buildManifest.js",
|
|
170
|
+
"static/KSPZEOKlXuaPhmdGlwZxT/_ssgManifest.js",
|
|
171
|
+
"static/KSPZEOKlXuaPhmdGlwZxT/_clientMiddlewareManifest.js"
|
|
172
172
|
],
|
|
173
173
|
"rootMainFiles": []
|
|
174
174
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"routes": {},
|
|
4
4
|
"dynamicRoutes": {},
|
|
5
5
|
"preview": {
|
|
6
|
-
"previewModeId": "
|
|
7
|
-
"previewModeSigningKey": "
|
|
8
|
-
"previewModeEncryptionKey": "
|
|
6
|
+
"previewModeId": "bd72964a74e5304c94e6bdcae1eba5f4",
|
|
7
|
+
"previewModeSigningKey": "6e4b1e1ea9d370ed96bb42e46cfc0284d1967603bee12202dae6276754868cb3",
|
|
8
|
+
"previewModeEncryptionKey": "778d42998a6930bf9574c0fe95f75fd7142483640d6c414a56401487e6cd8ecf"
|
|
9
9
|
},
|
|
10
10
|
"notFoundRoutes": []
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": 1,
|
|
3
3
|
"config": {
|
|
4
4
|
"env": {
|
|
5
|
-
"NEXT_PUBLIC_COMMIT_HASH": "
|
|
5
|
+
"NEXT_PUBLIC_COMMIT_HASH": "76c1790"
|
|
6
6
|
},
|
|
7
7
|
"webpack": null,
|
|
8
8
|
"typescript": {
|
|
@@ -127,8 +127,8 @@
|
|
|
127
127
|
"allowedDevOrigins": [
|
|
128
128
|
"127.0.0.1",
|
|
129
129
|
"[::1]",
|
|
130
|
-
"10.1.
|
|
131
|
-
"[fe80::
|
|
130
|
+
"10.1.0.165",
|
|
131
|
+
"[fe80::6245:bdff:fe00:4fcb]"
|
|
132
132
|
],
|
|
133
133
|
"cacheComponents": false,
|
|
134
134
|
"cacheLife": {
|
|
@@ -780,35 +780,35 @@
|
|
|
780
780
|
"dataRoutes": [
|
|
781
781
|
{
|
|
782
782
|
"page": "/",
|
|
783
|
-
"dataRouteRegex": "^/_next/data/
|
|
783
|
+
"dataRouteRegex": "^/_next/data/KSPZEOKlXuaPhmdGlwZxT/index\\.json$"
|
|
784
784
|
},
|
|
785
785
|
{
|
|
786
786
|
"page": "/file-preview",
|
|
787
|
-
"dataRouteRegex": "^/_next/data/
|
|
787
|
+
"dataRouteRegex": "^/_next/data/KSPZEOKlXuaPhmdGlwZxT/file-preview\\.json$"
|
|
788
788
|
},
|
|
789
789
|
{
|
|
790
790
|
"page": "/login",
|
|
791
|
-
"dataRouteRegex": "^/_next/data/
|
|
791
|
+
"dataRouteRegex": "^/_next/data/KSPZEOKlXuaPhmdGlwZxT/login\\.json$"
|
|
792
792
|
},
|
|
793
793
|
{
|
|
794
794
|
"page": "/reports",
|
|
795
|
-
"dataRouteRegex": "^/_next/data/
|
|
795
|
+
"dataRouteRegex": "^/_next/data/KSPZEOKlXuaPhmdGlwZxT/reports\\.json$"
|
|
796
796
|
},
|
|
797
797
|
{
|
|
798
798
|
"page": "/reset",
|
|
799
|
-
"dataRouteRegex": "^/_next/data/
|
|
799
|
+
"dataRouteRegex": "^/_next/data/KSPZEOKlXuaPhmdGlwZxT/reset\\.json$"
|
|
800
800
|
},
|
|
801
801
|
{
|
|
802
802
|
"page": "/stats",
|
|
803
|
-
"dataRouteRegex": "^/_next/data/
|
|
803
|
+
"dataRouteRegex": "^/_next/data/KSPZEOKlXuaPhmdGlwZxT/stats\\.json$"
|
|
804
804
|
},
|
|
805
805
|
{
|
|
806
806
|
"page": "/tools-required",
|
|
807
|
-
"dataRouteRegex": "^/_next/data/
|
|
807
|
+
"dataRouteRegex": "^/_next/data/KSPZEOKlXuaPhmdGlwZxT/tools-required\\.json$"
|
|
808
808
|
},
|
|
809
809
|
{
|
|
810
810
|
"page": "/webview",
|
|
811
|
-
"dataRouteRegex": "^/_next/data/
|
|
811
|
+
"dataRouteRegex": "^/_next/data/KSPZEOKlXuaPhmdGlwZxT/webview\\.json$"
|
|
812
812
|
}
|
|
813
813
|
],
|
|
814
814
|
"i18n": {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module.exports=[446786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},814747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},924868,(e,t,r)=>{t.exports=e.x("fs/promises",()=>require("fs/promises"))},130146,(e,t,r)=>{t.exports=e.x("pino-28069d5257187539",()=>require("pino-28069d5257187539"))},224361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},233405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},666680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},59639,(e,t,r)=>{t.exports=e.x("node:process",()=>require("node:process"))},25146,e=>{"use strict";var t=e.i(130146),r=e.i(814747),n=e.i(446786);let s=r.default.join(n.default.homedir(),".purplemux","logs"),i=process.env.LOG_LEVEL||"info",a=(e=>{if(!e)return{};let t={};for(let r of e.split(",")){let[e,n]=r.split("=").map(e=>e.trim());e&&n&&(t[e]=n)}return t})(process.env.LOG_LEVELS),o=["trace","debug","info","warn","error","fatal"],u=globalThis;if(!u.__ptRootLogger){let e=[i,...Object.values(a)].reduce((e,t)=>o.indexOf(t)<o.indexOf(e)?t:e,"fatal");u.__ptRootLogger=(0,t.default)({level:e,transport:{targets:[{target:"pino-roll",level:e,options:{file:r.default.join(s,"purplemux"),frequency:"daily",dateFormat:"yyyy-MM-dd",limit:{count:7},mkdir:!0}},{target:"pino-pretty",level:e,options:{colorize:!0,ignore:"pid,hostname,module",translateTime:"HH:MM:ss",messageFormat:"[{module}] {msg}"}}]}})}let l=u.__ptRootLogger;e.s(["createLogger",0,e=>{let t=l.child({module:e});return t.level=a[e]??i,t}])},44014,e=>{"use strict";let t,r;var n=e.i(666680);e.s(["nanoid",0,function(e=21){var s=e|=0;if(s<0||s>1024)throw RangeError("Wrong ID size");!t||t.length<s?(t=Buffer.allocUnsafe(128*s),n.webcrypto.getRandomValues(t),r=0):r+s>t.length&&(n.webcrypto.getRandomValues(t),r=0),r+=s;let i="";for(let n=r-e;n<r;n++)i+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&t[n]];return i}],44014)},270406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},254799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},522734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},688947,(e,t,r)=>{t.exports=e.x("stream",()=>require("stream"))},406461,(e,t,r)=>{t.exports=e.x("zlib",()=>require("zlib"))},524836,(e,t,r)=>{t.exports=e.x("https",()=>require("https"))},921517,(e,t,r)=>{t.exports=e.x("http",()=>require("http"))},504446,(e,t,r)=>{t.exports=e.x("net",()=>require("net"))},755004,(e,t,r)=>{t.exports=e.x("tls",()=>require("tls"))},792509,(e,t,r)=>{t.exports=e.x("url",()=>require("url"))},500874,(e,t,r)=>{t.exports=e.x("buffer",()=>require("buffer"))},427699,(e,t,r)=>{t.exports=e.x("events",()=>require("events"))},990294,(e,t,r)=>{e.e,t.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",s="week",i="month",a="quarter",o="year",u="date",l="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},h="en",p={};p[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var v="$isDayjsObject",m=function(e){return e instanceof x||!(!e||!e[v])},g=function e(t,r,n){var s;if(!t)return h;if("string"==typeof t){var i=t.toLowerCase();p[i]&&(s=i),r&&(p[i]=r,s=i);var a=t.split("-");if(!s&&a.length>1)return e(a[0])}else{var o=t.name;p[o]=t,s=o}return!n&&s&&(h=s),s||!n&&h},$=function(e,t){if(m(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new x(r)},y={s:f,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(r/60),2,"0")+":"+f(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),s=t.clone().add(n,i),a=r-s<0,o=t.clone().add(n+(a?-1:1),i);return+(-(n+(r-s)/(a?s-o:o-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(l){return({M:i,y:o,w:s,d:"day",D:u,h:n,m:r,s:t,ms:e,Q:a})[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};y.l=g,y.i=m,y.w=function(e,t){return $(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function f(e){this.$L=g(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[v]=!0}var h=f.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(c);if(n){var s=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return y},h.isValid=function(){return this.$d.toString()!==l},h.isSame=function(e,t){var r=$(e);return this.startOf(t)<=r&&r<=this.endOf(t)},h.isAfter=function(e,t){return $(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<$(e)},h.$g=function(e,t,r){return y.u(e)?this[t]:this.set(r,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,a){var l=this,c=!!y.u(a)||a,d=y.p(e),f=function(e,t){var r=y.w(l.$u?Date.UTC(l.$y,t,e):new Date(l.$y,t,e),l);return c?r:r.endOf("day")},h=function(e,t){return y.w(l.toDate()[e].apply(l.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),l)},p=this.$W,v=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(d){case o:return c?f(1,0):f(31,11);case i:return c?f(1,v):f(0,v+1);case s:var $=this.$locale().weekStart||0,x=(p<$?p+7:p)-$;return f(c?m-x:m+(6-x),v);case"day":case u:return h(g+"Hours",0);case n:return h(g+"Minutes",1);case r:return h(g+"Seconds",2);case t:return h(g+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(s,a){var l,c=y.p(s),d="set"+(this.$u?"UTC":""),f=((l={}).day=d+"Date",l[u]=d+"Date",l[i]=d+"Month",l[o]=d+"FullYear",l[n]=d+"Hours",l[r]=d+"Minutes",l[t]=d+"Seconds",l[e]=d+"Milliseconds",l)[c],h="day"===c?this.$D+(a-this.$W):a;if(c===i||c===o){var p=this.clone().set(u,1);p.$d[f](h),p.init(),this.$d=p.set(u,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[y.p(e)]()},h.add=function(e,a){var u,l=this;e=Number(e);var c=y.p(a),d=function(t){var r=$(l);return y.w(r.date(r.date()+Math.round(t*e)),l)};if(c===i)return this.set(i,this.$M+e);if(c===o)return this.set(o,this.$y+e);if("day"===c)return d(1);if(c===s)return d(7);var f=((u={})[r]=6e4,u[n]=36e5,u[t]=1e3,u)[c]||1,h=this.$d.getTime()+e*f;return y.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var n=e||"YYYY-MM-DDTHH:mm:ssZ",s=y.z(this),i=this.$H,a=this.$m,o=this.$M,u=r.weekdays,c=r.months,f=r.meridiem,h=function(e,r,s,i){return e&&(e[r]||e(t,n))||s[r].slice(0,i)},p=function(e){return y.s(i%12||12,e,"0")},v=f||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(d,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return y.s(t.$y,4,"0");case"M":return o+1;case"MM":return y.s(o+1,2,"0");case"MMM":return h(r.monthsShort,o,c,3);case"MMMM":return h(c,o);case"D":return t.$D;case"DD":return y.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(r.weekdaysMin,t.$W,u,2);case"ddd":return h(r.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(i);case"HH":return y.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return v(i,a,!0);case"A":return v(i,a,!1);case"m":return String(a);case"mm":return y.s(a,2,"0");case"s":return String(t.$s);case"ss":return y.s(t.$s,2,"0");case"SSS":return y.s(t.$ms,3,"0");case"Z":return s}return null}(e)||s.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(e,u,l){var c,d=this,f=y.p(u),h=$(e),p=(h.utcOffset()-this.utcOffset())*6e4,v=this-h,m=function(){return y.m(d,h)};switch(f){case o:c=m()/12;break;case i:c=m();break;case a:c=m()/3;break;case s:c=(v-p)/6048e5;break;case"day":c=(v-p)/864e5;break;case n:c=v/36e5;break;case r:c=v/6e4;break;case t:c=v/1e3;break;default:c=v}return l?c:y.a(c)},h.daysInMonth=function(){return this.endOf(i).$D},h.$locale=function(){return p[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=g(e,t,!0);return n&&(r.$L=n),r},h.clone=function(){return y.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),_=x.prototype;return $.prototype=_,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",o],["$D",u]].forEach(function(e){_[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),$.extend=function(e,t){return e.$i||(e(t,x,$),e.$i=!0),$},$.locale=g,$.isDayjs=m,$.unix=function(e){return $(1e3*e)},$.en=p[h],$.Ls=p,$.p={},$}()},282992,e=>{"use strict";let t=globalThis;t.__ptAgentProviders||(t.__ptAgentProviders=new Map);let r=t.__ptAgentProviders;e.s(["getProvider",0,e=>r.get(e)??null,"getProviderByPanelType",0,e=>{if(!e)return null;for(let t of r.values())if(t.panelType===e)return t;return null},"getProviderByProcessName",0,(e,t)=>{for(let n of r.values())if(n.matchesProcess(e,t))return n;return null},"listProviders",0,()=>Array.from(r.values()),"registerProvider",0,e=>{r.set(e.id,e)}])},843887,e=>{"use strict";var t=e.i(924868),r=e.i(446786),n=e.i(814747);let s=n.default.join(r.default.homedir(),".purplemux","hidden-sessions.json"),i=globalThis,a=(e,t)=>`${e}:${t}`,o=async()=>{try{let e=JSON.parse(await t.default.readFile(s,"utf8"));if(!Array.isArray(e)||!e.every(e=>"string"==typeof e))throw Error("Invalid hidden session history");return new Set(e)}catch(e){if("ENOENT"===e.code)return new Set;throw e}};e.s(["hideSession",0,(e,r)=>{let u=(i.__purplemuxHiddenSessionsLock??Promise.resolve()).then(async()=>{let i=await o(),u=a(e,r);i.has(u)||(i.add(u),await t.default.mkdir(n.default.dirname(s),{recursive:!0}),await t.default.writeFile(`${s}.tmp`,JSON.stringify([...i],null,2),{mode:384}),await t.default.rename(`${s}.tmp`,s))});return i.__purplemuxHiddenSessionsLock=u.catch(()=>{}),u},"readHiddenSessions",0,o,"sessionHistoryKey",0,a])},319668,(e,t,r)=>{t.exports=e.x("readline",()=>require("readline"))},824046,e=>{"use strict";var t=e.i(926747),r=e.i(190406),n=e.i(244898),s=e.i(262950),i=e.i(751905),a=e.i(322429),o=e.i(25146),u=e.i(845994);let l=(0,o.createLogger)("codex-launch-args"),c=e=>"string"==typeof e&&e.trim()?e.trim():null,d=async(e,t)=>{if("POST"!==e.method)return t.setHeader("Allow","POST"),t.status(405).json({error:"Method not allowed"});let r=e.body,n=c(r?.workspaceId)??await (0,a.getActiveWorkspaceId)(),s=c(r?.resumeSessionId)??void 0;try{let e=await (0,i.buildCodexRuntimeArgs)(n??void 0,s),{codexEnvironment:r={}}=await (0,u.getConfig)();return t.setHeader("Cache-Control","no-store"),t.status(200).json({args:e,env:r})}catch(e){return l.error(`codex launch args build failed: ${e instanceof Error?e.message:e}`),t.status(500).json({error:"Failed to build Codex launch args"})}};e.s(["default",0,d],239779);var f=e.i(239779),h=e.i(7031),p=e.i(181927),v=e.i(846432);let m=(0,s.hoist)(f,"default"),g=(0,s.hoist)(f,"config"),$=new n.PagesAPIRouteModule({definition:{kind:r.RouteKind.PAGES_API,page:"/api/codex/launch-args",pathname:"/api/codex/launch-args",bundlePath:"",filename:""},userland:f,distDir:".next",relativeProjectDir:""});async function y(e,r,n){n.requestMeta&&(0,v.setRequestMeta)(e,n.requestMeta),$.isDev&&(0,v.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let s="/api/codex/launch-args";s=s.replace(/\/index$/,"")||"/";let i=await $.prepare(e,r,{srcPage:s});if(!i){r.statusCode=400,r.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve());return}let{query:a,params:o,prerenderManifest:u,routerServerContext:l}=i;try{let t,n=e.method||"GET",i=(0,h.getTracer)(),c=i.getActiveScopeSpan(),d=!!(null==l?void 0:l.isWrappedByNextServer),f=$.instrumentationOnRequestError.bind($),v=async c=>$.render(e,r,{query:{...a,...o},params:o,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:u.preview,propagateError:!1,dev:$.isDev,page:"/api/codex/launch-args",internalRevalidate:null==l?void 0:l.revalidate,onError:(...t)=>f(e,...t)}).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":r.statusCode,"next.rsc":!1});let e=i.getRootSpanAttributes();if(!e)return;if(e.get("next.span_type")!==p.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${e.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=e.get("next.route");if(a){let e=`${n} ${a}`;c.setAttributes({"next.route":a,"http.route":a,"next.span_name":e}),c.updateName(e),t&&t!==c&&(t.setAttribute("http.route",a),t.updateName(e))}else c.updateName(`${n} ${s}`)});d&&c?await v(c):(t=i.getActiveScopeSpan(),await i.withPropagatedContext(e.headers,()=>i.trace(p.BaseServerSpan.handleRequest,{spanName:`${n} ${s}`,kind:h.SpanKind.SERVER,attributes:{"http.method":n,"http.target":e.url}},v),void 0,!d))}catch(e){if($.isDev)throw e;(0,t.sendError)(r,500,"Internal Server Error")}finally{null==n.waitUntil||n.waitUntil.call(n,Promise.resolve())}}e.s(["config",0,g,"default",0,m,"handler",0,y],824046)},757186,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_koffi_00.jnkr._.js"].map(t=>e.l(t))).then(()=>t(747431)))},981532,e=>{e.v(e=>Promise.resolve().then(()=>e(322429)))},322522,e=>{e.v(e=>Promise.resolve().then(()=>e(459015)))},245061,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_tab-title_ts_0onatvs._.js"].map(t=>e.l(t))).then(()=>t(785128)))},489335,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_0h.cczv._.js","server/chunks/[root-of-the-server]__0zquag4._.js","server/chunks/src_lib_0bfz8tg._.js","server/chunks/_0~19dm5._.js","server/chunks/[root-of-the-server]__0dvg4ie._.js"].map(t=>e.l(t))).then(()=>t(601043)))}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__000~qjm._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[446786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},814747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},924868,(e,t,r)=>{t.exports=e.x("fs/promises",()=>require("fs/promises"))},130146,(e,t,r)=>{t.exports=e.x("pino-28069d5257187539",()=>require("pino-28069d5257187539"))},224361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},233405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},666680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},59639,(e,t,r)=>{t.exports=e.x("node:process",()=>require("node:process"))},25146,e=>{"use strict";var t=e.i(130146),r=e.i(814747),n=e.i(446786);let s=r.default.join(n.default.homedir(),".purplemux","logs"),i=process.env.LOG_LEVEL||"info",a=(e=>{if(!e)return{};let t={};for(let r of e.split(",")){let[e,n]=r.split("=").map(e=>e.trim());e&&n&&(t[e]=n)}return t})(process.env.LOG_LEVELS),o=["trace","debug","info","warn","error","fatal"],u=globalThis;if(!u.__ptRootLogger){let e=[i,...Object.values(a)].reduce((e,t)=>o.indexOf(t)<o.indexOf(e)?t:e,"fatal");u.__ptRootLogger=(0,t.default)({level:e,transport:{targets:[{target:"pino-roll",level:e,options:{file:r.default.join(s,"purplemux"),frequency:"daily",dateFormat:"yyyy-MM-dd",limit:{count:7},mkdir:!0}},{target:"pino-pretty",level:e,options:{colorize:!0,ignore:"pid,hostname,module",translateTime:"HH:MM:ss",messageFormat:"[{module}] {msg}"}}]}})}let l=u.__ptRootLogger;e.s(["createLogger",0,e=>{let t=l.child({module:e});return t.level=a[e]??i,t}])},44014,e=>{"use strict";let t,r;var n=e.i(666680);e.s(["nanoid",0,function(e=21){var s=e|=0;if(s<0||s>1024)throw RangeError("Wrong ID size");!t||t.length<s?(t=Buffer.allocUnsafe(128*s),n.webcrypto.getRandomValues(t),r=0):r+s>t.length&&(n.webcrypto.getRandomValues(t),r=0),r+=s;let i="";for(let n=r-e;n<r;n++)i+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&t[n]];return i}],44014)},270406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},254799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},522734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},688947,(e,t,r)=>{t.exports=e.x("stream",()=>require("stream"))},406461,(e,t,r)=>{t.exports=e.x("zlib",()=>require("zlib"))},524836,(e,t,r)=>{t.exports=e.x("https",()=>require("https"))},921517,(e,t,r)=>{t.exports=e.x("http",()=>require("http"))},504446,(e,t,r)=>{t.exports=e.x("net",()=>require("net"))},755004,(e,t,r)=>{t.exports=e.x("tls",()=>require("tls"))},792509,(e,t,r)=>{t.exports=e.x("url",()=>require("url"))},500874,(e,t,r)=>{t.exports=e.x("buffer",()=>require("buffer"))},427699,(e,t,r)=>{t.exports=e.x("events",()=>require("events"))},990294,(e,t,r)=>{e.e,t.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",s="week",i="month",a="quarter",o="year",u="date",l="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,c=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},h="en",p={};p[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var m="$isDayjsObject",v=function(e){return e instanceof x||!(!e||!e[m])},y=function e(t,r,n){var s;if(!t)return h;if("string"==typeof t){var i=t.toLowerCase();p[i]&&(s=i),r&&(p[i]=r,s=i);var a=t.split("-");if(!s&&a.length>1)return e(a[0])}else{var o=t.name;p[o]=t,s=o}return!n&&s&&(h=s),s||!n&&h},g=function(e,t){if(v(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new x(r)},$={s:f,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(r/60),2,"0")+":"+f(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),s=t.clone().add(n,i),a=r-s<0,o=t.clone().add(n+(a?-1:1),i);return+(-(n+(r-s)/(a?s-o:o-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(l){return({M:i,y:o,w:s,d:"day",D:u,h:n,m:r,s:t,ms:e,Q:a})[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};$.l=y,$.i=v,$.w=function(e,t){return g(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function f(e){this.$L=y(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[m]=!0}var h=f.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if($.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var s=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return $},h.isValid=function(){return this.$d.toString()!==l},h.isSame=function(e,t){var r=g(e);return this.startOf(t)<=r&&r<=this.endOf(t)},h.isAfter=function(e,t){return g(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<g(e)},h.$g=function(e,t,r){return $.u(e)?this[t]:this.set(r,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,a){var l=this,d=!!$.u(a)||a,c=$.p(e),f=function(e,t){var r=$.w(l.$u?Date.UTC(l.$y,t,e):new Date(l.$y,t,e),l);return d?r:r.endOf("day")},h=function(e,t){return $.w(l.toDate()[e].apply(l.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),l)},p=this.$W,m=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(c){case o:return d?f(1,0):f(31,11);case i:return d?f(1,m):f(0,m+1);case s:var g=this.$locale().weekStart||0,x=(p<g?p+7:p)-g;return f(d?v-x:v+(6-x),m);case"day":case u:return h(y+"Hours",0);case n:return h(y+"Minutes",1);case r:return h(y+"Seconds",2);case t:return h(y+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(s,a){var l,d=$.p(s),c="set"+(this.$u?"UTC":""),f=((l={}).day=c+"Date",l[u]=c+"Date",l[i]=c+"Month",l[o]=c+"FullYear",l[n]=c+"Hours",l[r]=c+"Minutes",l[t]=c+"Seconds",l[e]=c+"Milliseconds",l)[d],h="day"===d?this.$D+(a-this.$W):a;if(d===i||d===o){var p=this.clone().set(u,1);p.$d[f](h),p.init(),this.$d=p.set(u,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[$.p(e)]()},h.add=function(e,a){var u,l=this;e=Number(e);var d=$.p(a),c=function(t){var r=g(l);return $.w(r.date(r.date()+Math.round(t*e)),l)};if(d===i)return this.set(i,this.$M+e);if(d===o)return this.set(o,this.$y+e);if("day"===d)return c(1);if(d===s)return c(7);var f=((u={})[r]=6e4,u[n]=36e5,u[t]=1e3,u)[d]||1,h=this.$d.getTime()+e*f;return $.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var n=e||"YYYY-MM-DDTHH:mm:ssZ",s=$.z(this),i=this.$H,a=this.$m,o=this.$M,u=r.weekdays,d=r.months,f=r.meridiem,h=function(e,r,s,i){return e&&(e[r]||e(t,n))||s[r].slice(0,i)},p=function(e){return $.s(i%12||12,e,"0")},m=f||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(c,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return $.s(t.$y,4,"0");case"M":return o+1;case"MM":return $.s(o+1,2,"0");case"MMM":return h(r.monthsShort,o,d,3);case"MMMM":return h(d,o);case"D":return t.$D;case"DD":return $.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(r.weekdaysMin,t.$W,u,2);case"ddd":return h(r.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(i);case"HH":return $.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return m(i,a,!0);case"A":return m(i,a,!1);case"m":return String(a);case"mm":return $.s(a,2,"0");case"s":return String(t.$s);case"ss":return $.s(t.$s,2,"0");case"SSS":return $.s(t.$ms,3,"0");case"Z":return s}return null}(e)||s.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(e,u,l){var d,c=this,f=$.p(u),h=g(e),p=(h.utcOffset()-this.utcOffset())*6e4,m=this-h,v=function(){return $.m(c,h)};switch(f){case o:d=v()/12;break;case i:d=v();break;case a:d=v()/3;break;case s:d=(m-p)/6048e5;break;case"day":d=(m-p)/864e5;break;case n:d=m/36e5;break;case r:d=m/6e4;break;case t:d=m/1e3;break;default:d=m}return l?d:$.a(d)},h.daysInMonth=function(){return this.endOf(i).$D},h.$locale=function(){return p[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=y(e,t,!0);return n&&(r.$L=n),r},h.clone=function(){return $.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),_=x.prototype;return g.prototype=_,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",o],["$D",u]].forEach(function(e){_[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),g.extend=function(e,t){return e.$i||(e(t,x,g),e.$i=!0),g},g.locale=y,g.isDayjs=v,g.unix=function(e){return g(1e3*e)},g.en=p[h],g.Ls=p,g.p={},g}()},282992,e=>{"use strict";let t=globalThis;t.__ptAgentProviders||(t.__ptAgentProviders=new Map);let r=t.__ptAgentProviders;e.s(["getProvider",0,e=>r.get(e)??null,"getProviderByPanelType",0,e=>{if(!e)return null;for(let t of r.values())if(t.panelType===e)return t;return null},"getProviderByProcessName",0,(e,t)=>{for(let n of r.values())if(n.matchesProcess(e,t))return n;return null},"listProviders",0,()=>Array.from(r.values()),"registerProvider",0,e=>{r.set(e.id,e)}])},843887,e=>{"use strict";var t=e.i(924868),r=e.i(446786),n=e.i(814747);let s=n.default.join(r.default.homedir(),".purplemux","hidden-sessions.json"),i=globalThis,a=(e,t)=>`${e}:${t}`,o=async()=>{try{let e=JSON.parse(await t.default.readFile(s,"utf8"));if(!Array.isArray(e)||!e.every(e=>"string"==typeof e))throw Error("Invalid hidden session history");return new Set(e)}catch(e){if("ENOENT"===e.code)return new Set;throw e}};e.s(["hideSession",0,(e,r)=>{let u=(i.__purplemuxHiddenSessionsLock??Promise.resolve()).then(async()=>{let i=await o(),u=a(e,r);i.has(u)||(i.add(u),await t.default.mkdir(n.default.dirname(s),{recursive:!0}),await t.default.writeFile(`${s}.tmp`,JSON.stringify([...i],null,2),{mode:384}),await t.default.rename(`${s}.tmp`,s))});return i.__purplemuxHiddenSessionsLock=u.catch(()=>{}),u},"readHiddenSessions",0,o,"sessionHistoryKey",0,a])},26102,e=>{"use strict";var t=e.i(926747),r=e.i(190406),n=e.i(244898),s=e.i(262950),i=e.i(444237),a=e.i(577996),o=e.i(322429);let u=i.z.object({ids:i.z.array(i.z.string().min(1).max(100)).max(a.MAX_TERMINAL_COMMANDS).refine(e=>new Set(e).size===e.length)}),l=async(e,t)=>{try{if("GET"===e.method)return t.status(200).json(await (0,o.getTerminalCommands)());if(!["POST","PATCH","DELETE","PUT"].includes(e.method??""))return t.setHeader("Allow","GET, POST, PATCH, DELETE, PUT"),t.status(405).json({error:"Method not allowed"});if("PUT"===e.method){let r=u.safeParse(e.body);if(!r.success)return t.status(400).json({error:"Invalid command order"});return t.status(200).json(await (0,o.updateTerminalCommand)({action:"reorder",ids:r.data.ids}))}let r=e.body?.id;if("POST"!==e.method&&("string"!=typeof r||!r||r.length>100))return t.status(400).json({error:"Invalid command ID"});if("DELETE"===e.method)return t.status(200).json(await (0,o.updateTerminalCommand)({action:"delete",id:r}));let n=a.terminalCommandSchema.safeParse(e.body);if(!n.success)return t.status(400).json({error:"Invalid terminal command"});let s=await (0,o.updateTerminalCommand)("POST"===e.method?{action:"create",value:n.data}:{action:"edit",id:r,value:n.data});return t.status(200).json(s)}catch(r){let e=r.status;return t.status(404===e||409===e?e:500).json({error:"Unable to update terminal commands"})}};e.s(["default",0,l],581696);var d=e.i(581696),c=e.i(7031),f=e.i(181927),h=e.i(846432);let p=(0,s.hoist)(d,"default"),m=(0,s.hoist)(d,"config"),v=new n.PagesAPIRouteModule({definition:{kind:r.RouteKind.PAGES_API,page:"/api/terminal-commands",pathname:"/api/terminal-commands",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function y(e,r,n){n.requestMeta&&(0,h.setRequestMeta)(e,n.requestMeta),v.isDev&&(0,h.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let s="/api/terminal-commands";s=s.replace(/\/index$/,"")||"/";let i=await v.prepare(e,r,{srcPage:s});if(!i){r.statusCode=400,r.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve());return}let{query:a,params:o,prerenderManifest:u,routerServerContext:l}=i;try{let t,n=e.method||"GET",i=(0,c.getTracer)(),d=i.getActiveScopeSpan(),h=!!(null==l?void 0:l.isWrappedByNextServer),p=v.instrumentationOnRequestError.bind(v),m=async d=>v.render(e,r,{query:{...a,...o},params:o,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:u.preview,propagateError:!1,dev:v.isDev,page:"/api/terminal-commands",internalRevalidate:null==l?void 0:l.revalidate,onError:(...t)=>p(e,...t)}).finally(()=>{if(!d)return;d.setAttributes({"http.status_code":r.statusCode,"next.rsc":!1});let e=i.getRootSpanAttributes();if(!e)return;if(e.get("next.span_type")!==f.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${e.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=e.get("next.route");if(a){let e=`${n} ${a}`;d.setAttributes({"next.route":a,"http.route":a,"next.span_name":e}),d.updateName(e),t&&t!==d&&(t.setAttribute("http.route",a),t.updateName(e))}else d.updateName(`${n} ${s}`)});h&&d?await m(d):(t=i.getActiveScopeSpan(),await i.withPropagatedContext(e.headers,()=>i.trace(f.BaseServerSpan.handleRequest,{spanName:`${n} ${s}`,kind:c.SpanKind.SERVER,attributes:{"http.method":n,"http.target":e.url}},m),void 0,!h))}catch(e){if(v.isDev)throw e;(0,t.sendError)(r,500,"Internal Server Error")}finally{null==n.waitUntil||n.waitUntil.call(n,Promise.resolve())}}e.s(["config",0,m,"default",0,p,"handler",0,y],26102)},757186,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_koffi_00.jnkr._.js"].map(t=>e.l(t))).then(()=>t(747431)))},981532,e=>{e.v(e=>Promise.resolve().then(()=>e(322429)))},322522,e=>{e.v(e=>Promise.resolve().then(()=>e(459015)))},245061,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_tab-title_ts_0onatvs._.js"].map(t=>e.l(t))).then(()=>t(785128)))},489335,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_0h.cczv._.js","server/chunks/[root-of-the-server]__0zquag4._.js","server/chunks/[root-of-the-server]__0yyt~7b._.js","server/chunks/src_lib_0bfz8tg._.js","server/chunks/src_lib_providers_codex_0oinqxc._.js","server/chunks/_0~19dm5._.js"].map(t=>e.l(t))).then(()=>t(601043)))}];
|
|
1
|
+
module.exports=[446786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},814747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},924868,(e,t,r)=>{t.exports=e.x("fs/promises",()=>require("fs/promises"))},130146,(e,t,r)=>{t.exports=e.x("pino-28069d5257187539",()=>require("pino-28069d5257187539"))},224361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},233405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},666680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},59639,(e,t,r)=>{t.exports=e.x("node:process",()=>require("node:process"))},25146,e=>{"use strict";var t=e.i(130146),r=e.i(814747),n=e.i(446786);let s=r.default.join(n.default.homedir(),".purplemux","logs"),i=process.env.LOG_LEVEL||"info",a=(e=>{if(!e)return{};let t={};for(let r of e.split(",")){let[e,n]=r.split("=").map(e=>e.trim());e&&n&&(t[e]=n)}return t})(process.env.LOG_LEVELS),o=["trace","debug","info","warn","error","fatal"],u=globalThis;if(!u.__ptRootLogger){let e=[i,...Object.values(a)].reduce((e,t)=>o.indexOf(t)<o.indexOf(e)?t:e,"fatal");u.__ptRootLogger=(0,t.default)({level:e,transport:{targets:[{target:"pino-roll",level:e,options:{file:r.default.join(s,"purplemux"),frequency:"daily",dateFormat:"yyyy-MM-dd",limit:{count:7},mkdir:!0}},{target:"pino-pretty",level:e,options:{colorize:!0,ignore:"pid,hostname,module",translateTime:"HH:MM:ss",messageFormat:"[{module}] {msg}"}}]}})}let l=u.__ptRootLogger;e.s(["createLogger",0,e=>{let t=l.child({module:e});return t.level=a[e]??i,t}])},44014,e=>{"use strict";let t,r;var n=e.i(666680);e.s(["nanoid",0,function(e=21){var s=e|=0;if(s<0||s>1024)throw RangeError("Wrong ID size");!t||t.length<s?(t=Buffer.allocUnsafe(128*s),n.webcrypto.getRandomValues(t),r=0):r+s>t.length&&(n.webcrypto.getRandomValues(t),r=0),r+=s;let i="";for(let n=r-e;n<r;n++)i+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&t[n]];return i}],44014)},270406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},254799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},522734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},688947,(e,t,r)=>{t.exports=e.x("stream",()=>require("stream"))},406461,(e,t,r)=>{t.exports=e.x("zlib",()=>require("zlib"))},524836,(e,t,r)=>{t.exports=e.x("https",()=>require("https"))},921517,(e,t,r)=>{t.exports=e.x("http",()=>require("http"))},504446,(e,t,r)=>{t.exports=e.x("net",()=>require("net"))},755004,(e,t,r)=>{t.exports=e.x("tls",()=>require("tls"))},792509,(e,t,r)=>{t.exports=e.x("url",()=>require("url"))},500874,(e,t,r)=>{t.exports=e.x("buffer",()=>require("buffer"))},427699,(e,t,r)=>{t.exports=e.x("events",()=>require("events"))},990294,(e,t,r)=>{e.e,t.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",s="week",i="month",a="quarter",o="year",u="date",l="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,c=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},h="en",p={};p[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var m="$isDayjsObject",v=function(e){return e instanceof x||!(!e||!e[m])},y=function e(t,r,n){var s;if(!t)return h;if("string"==typeof t){var i=t.toLowerCase();p[i]&&(s=i),r&&(p[i]=r,s=i);var a=t.split("-");if(!s&&a.length>1)return e(a[0])}else{var o=t.name;p[o]=t,s=o}return!n&&s&&(h=s),s||!n&&h},g=function(e,t){if(v(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new x(r)},$={s:f,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(r/60),2,"0")+":"+f(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),s=t.clone().add(n,i),a=r-s<0,o=t.clone().add(n+(a?-1:1),i);return+(-(n+(r-s)/(a?s-o:o-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(l){return({M:i,y:o,w:s,d:"day",D:u,h:n,m:r,s:t,ms:e,Q:a})[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};$.l=y,$.i=v,$.w=function(e,t){return g(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function f(e){this.$L=y(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[m]=!0}var h=f.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if($.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var s=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return $},h.isValid=function(){return this.$d.toString()!==l},h.isSame=function(e,t){var r=g(e);return this.startOf(t)<=r&&r<=this.endOf(t)},h.isAfter=function(e,t){return g(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<g(e)},h.$g=function(e,t,r){return $.u(e)?this[t]:this.set(r,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,a){var l=this,d=!!$.u(a)||a,c=$.p(e),f=function(e,t){var r=$.w(l.$u?Date.UTC(l.$y,t,e):new Date(l.$y,t,e),l);return d?r:r.endOf("day")},h=function(e,t){return $.w(l.toDate()[e].apply(l.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),l)},p=this.$W,m=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(c){case o:return d?f(1,0):f(31,11);case i:return d?f(1,m):f(0,m+1);case s:var g=this.$locale().weekStart||0,x=(p<g?p+7:p)-g;return f(d?v-x:v+(6-x),m);case"day":case u:return h(y+"Hours",0);case n:return h(y+"Minutes",1);case r:return h(y+"Seconds",2);case t:return h(y+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(s,a){var l,d=$.p(s),c="set"+(this.$u?"UTC":""),f=((l={}).day=c+"Date",l[u]=c+"Date",l[i]=c+"Month",l[o]=c+"FullYear",l[n]=c+"Hours",l[r]=c+"Minutes",l[t]=c+"Seconds",l[e]=c+"Milliseconds",l)[d],h="day"===d?this.$D+(a-this.$W):a;if(d===i||d===o){var p=this.clone().set(u,1);p.$d[f](h),p.init(),this.$d=p.set(u,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[$.p(e)]()},h.add=function(e,a){var u,l=this;e=Number(e);var d=$.p(a),c=function(t){var r=g(l);return $.w(r.date(r.date()+Math.round(t*e)),l)};if(d===i)return this.set(i,this.$M+e);if(d===o)return this.set(o,this.$y+e);if("day"===d)return c(1);if(d===s)return c(7);var f=((u={})[r]=6e4,u[n]=36e5,u[t]=1e3,u)[d]||1,h=this.$d.getTime()+e*f;return $.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var n=e||"YYYY-MM-DDTHH:mm:ssZ",s=$.z(this),i=this.$H,a=this.$m,o=this.$M,u=r.weekdays,d=r.months,f=r.meridiem,h=function(e,r,s,i){return e&&(e[r]||e(t,n))||s[r].slice(0,i)},p=function(e){return $.s(i%12||12,e,"0")},m=f||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(c,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return $.s(t.$y,4,"0");case"M":return o+1;case"MM":return $.s(o+1,2,"0");case"MMM":return h(r.monthsShort,o,d,3);case"MMMM":return h(d,o);case"D":return t.$D;case"DD":return $.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(r.weekdaysMin,t.$W,u,2);case"ddd":return h(r.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(i);case"HH":return $.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return m(i,a,!0);case"A":return m(i,a,!1);case"m":return String(a);case"mm":return $.s(a,2,"0");case"s":return String(t.$s);case"ss":return $.s(t.$s,2,"0");case"SSS":return $.s(t.$ms,3,"0");case"Z":return s}return null}(e)||s.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(e,u,l){var d,c=this,f=$.p(u),h=g(e),p=(h.utcOffset()-this.utcOffset())*6e4,m=this-h,v=function(){return $.m(c,h)};switch(f){case o:d=v()/12;break;case i:d=v();break;case a:d=v()/3;break;case s:d=(m-p)/6048e5;break;case"day":d=(m-p)/864e5;break;case n:d=m/36e5;break;case r:d=m/6e4;break;case t:d=m/1e3;break;default:d=m}return l?d:$.a(d)},h.daysInMonth=function(){return this.endOf(i).$D},h.$locale=function(){return p[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=y(e,t,!0);return n&&(r.$L=n),r},h.clone=function(){return $.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),_=x.prototype;return g.prototype=_,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",o],["$D",u]].forEach(function(e){_[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),g.extend=function(e,t){return e.$i||(e(t,x,g),e.$i=!0),g},g.locale=y,g.isDayjs=v,g.unix=function(e){return g(1e3*e)},g.en=p[h],g.Ls=p,g.p={},g}()},282992,e=>{"use strict";let t=globalThis;t.__ptAgentProviders||(t.__ptAgentProviders=new Map);let r=t.__ptAgentProviders;e.s(["getProvider",0,e=>r.get(e)??null,"getProviderByPanelType",0,e=>{if(!e)return null;for(let t of r.values())if(t.panelType===e)return t;return null},"getProviderByProcessName",0,(e,t)=>{for(let n of r.values())if(n.matchesProcess(e,t))return n;return null},"listProviders",0,()=>Array.from(r.values()),"registerProvider",0,e=>{r.set(e.id,e)}])},843887,e=>{"use strict";var t=e.i(924868),r=e.i(446786),n=e.i(814747);let s=n.default.join(r.default.homedir(),".purplemux","hidden-sessions.json"),i=globalThis,a=(e,t)=>`${e}:${t}`,o=async()=>{try{let e=JSON.parse(await t.default.readFile(s,"utf8"));if(!Array.isArray(e)||!e.every(e=>"string"==typeof e))throw Error("Invalid hidden session history");return new Set(e)}catch(e){if("ENOENT"===e.code)return new Set;throw e}};e.s(["hideSession",0,(e,r)=>{let u=(i.__purplemuxHiddenSessionsLock??Promise.resolve()).then(async()=>{let i=await o(),u=a(e,r);i.has(u)||(i.add(u),await t.default.mkdir(n.default.dirname(s),{recursive:!0}),await t.default.writeFile(`${s}.tmp`,JSON.stringify([...i],null,2),{mode:384}),await t.default.rename(`${s}.tmp`,s))});return i.__purplemuxHiddenSessionsLock=u.catch(()=>{}),u},"readHiddenSessions",0,o,"sessionHistoryKey",0,a])},26102,e=>{"use strict";var t=e.i(926747),r=e.i(190406),n=e.i(244898),s=e.i(262950),i=e.i(444237),a=e.i(577996),o=e.i(322429);let u=i.z.object({ids:i.z.array(i.z.string().min(1).max(100)).max(a.MAX_TERMINAL_COMMANDS).refine(e=>new Set(e).size===e.length)}),l=async(e,t)=>{try{if("GET"===e.method)return t.status(200).json(await (0,o.getTerminalCommands)());if(!["POST","PATCH","DELETE","PUT"].includes(e.method??""))return t.setHeader("Allow","GET, POST, PATCH, DELETE, PUT"),t.status(405).json({error:"Method not allowed"});if("PUT"===e.method){let r=u.safeParse(e.body);if(!r.success)return t.status(400).json({error:"Invalid command order"});return t.status(200).json(await (0,o.updateTerminalCommand)({action:"reorder",ids:r.data.ids}))}let r=e.body?.id;if("POST"!==e.method&&("string"!=typeof r||!r||r.length>100))return t.status(400).json({error:"Invalid command ID"});if("DELETE"===e.method)return t.status(200).json(await (0,o.updateTerminalCommand)({action:"delete",id:r}));let n=a.terminalCommandSchema.safeParse(e.body);if(!n.success)return t.status(400).json({error:"Invalid terminal command"});let s=await (0,o.updateTerminalCommand)("POST"===e.method?{action:"create",value:n.data}:{action:"edit",id:r,value:n.data});return t.status(200).json(s)}catch(r){let e=r.status;return t.status(404===e||409===e?e:500).json({error:"Unable to update terminal commands"})}};e.s(["default",0,l],581696);var d=e.i(581696),c=e.i(7031),f=e.i(181927),h=e.i(846432);let p=(0,s.hoist)(d,"default"),m=(0,s.hoist)(d,"config"),v=new n.PagesAPIRouteModule({definition:{kind:r.RouteKind.PAGES_API,page:"/api/terminal-commands",pathname:"/api/terminal-commands",bundlePath:"",filename:""},userland:d,distDir:".next",relativeProjectDir:""});async function y(e,r,n){n.requestMeta&&(0,h.setRequestMeta)(e,n.requestMeta),v.isDev&&(0,h.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let s="/api/terminal-commands";s=s.replace(/\/index$/,"")||"/";let i=await v.prepare(e,r,{srcPage:s});if(!i){r.statusCode=400,r.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve());return}let{query:a,params:o,prerenderManifest:u,routerServerContext:l}=i;try{let t,n=e.method||"GET",i=(0,c.getTracer)(),d=i.getActiveScopeSpan(),h=!!(null==l?void 0:l.isWrappedByNextServer),p=v.instrumentationOnRequestError.bind(v),m=async d=>v.render(e,r,{query:{...a,...o},params:o,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:u.preview,propagateError:!1,dev:v.isDev,page:"/api/terminal-commands",internalRevalidate:null==l?void 0:l.revalidate,onError:(...t)=>p(e,...t)}).finally(()=>{if(!d)return;d.setAttributes({"http.status_code":r.statusCode,"next.rsc":!1});let e=i.getRootSpanAttributes();if(!e)return;if(e.get("next.span_type")!==f.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${e.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=e.get("next.route");if(a){let e=`${n} ${a}`;d.setAttributes({"next.route":a,"http.route":a,"next.span_name":e}),d.updateName(e),t&&t!==d&&(t.setAttribute("http.route",a),t.updateName(e))}else d.updateName(`${n} ${s}`)});h&&d?await m(d):(t=i.getActiveScopeSpan(),await i.withPropagatedContext(e.headers,()=>i.trace(f.BaseServerSpan.handleRequest,{spanName:`${n} ${s}`,kind:c.SpanKind.SERVER,attributes:{"http.method":n,"http.target":e.url}},m),void 0,!h))}catch(e){if(v.isDev)throw e;(0,t.sendError)(r,500,"Internal Server Error")}finally{null==n.waitUntil||n.waitUntil.call(n,Promise.resolve())}}e.s(["config",0,m,"default",0,p,"handler",0,y],26102)},757186,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_koffi_00.jnkr._.js"].map(t=>e.l(t))).then(()=>t(747431)))},981532,e=>{e.v(e=>Promise.resolve().then(()=>e(322429)))},322522,e=>{e.v(e=>Promise.resolve().then(()=>e(459015)))},245061,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_tab-title_ts_0onatvs._.js"].map(t=>e.l(t))).then(()=>t(785128)))},489335,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_0h.cczv._.js","server/chunks/[root-of-the-server]__0zquag4._.js","server/chunks/[root-of-the-server]__0yyt~7b._.js","server/chunks/src_lib_0bfz8tg._.js","server/chunks/src_lib_providers_codex_0dcne0r._.js","server/chunks/_0~19dm5._.js"].map(t=>e.l(t))).then(()=>t(601043)))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__00v0ixb._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[38271,e=>{"use strict";var t=e.i(926747),r=e.i(190406),s=e.i(244898),a=e.i(262950),i=e.i(200523);let n=async(e,t)=>{await (0,i.withBrowserTab)(e,t,"GET",async({tabId:e,bridge:r})=>{let[s,a]=await Promise.all([r.getUrl(e),r.getTitle(e)]);null===s?t.status(409).json({error:"Browser tab not attached yet"}):t.status(200).json({tabId:e,url:s,title:a})})};e.s(["default",0,n],293755);var l=e.i(293755),o=e.i(7031),u=e.i(181927),d=e.i(846432);let p=(0,a.hoist)(l,"default"),c=(0,a.hoist)(l,"config"),v=new s.PagesAPIRouteModule({definition:{kind:r.RouteKind.PAGES_API,page:"/api/cli/tabs/[tabId]/browser/url",pathname:"/api/cli/tabs/[tabId]/browser/url",bundlePath:"",filename:""},userland:l,distDir:".next",relativeProjectDir:""});async function h(e,r,s){s.requestMeta&&(0,d.setRequestMeta)(e,s.requestMeta),v.isDev&&(0,d.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let a="/api/cli/tabs/[tabId]/browser/url";a=a.replace(/\/index$/,"")||"/";let i=await v.prepare(e,r,{srcPage:a});if(!i){r.statusCode=400,r.end("Bad Request"),null==s.waitUntil||s.waitUntil.call(s,Promise.resolve());return}let{query:n,params:l,prerenderManifest:p,routerServerContext:c}=i;try{let t,s=e.method||"GET",i=(0,o.getTracer)(),d=i.getActiveScopeSpan(),h=!!(null==c?void 0:c.isWrappedByNextServer),_=v.instrumentationOnRequestError.bind(v),b=async o=>v.render(e,r,{query:{...n,...l},params:l,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:p.preview,propagateError:!1,dev:v.isDev,page:"/api/cli/tabs/[tabId]/browser/url",internalRevalidate:null==c?void 0:c.revalidate,onError:(...t)=>_(e,...t)}).finally(()=>{if(!o)return;o.setAttributes({"http.status_code":r.statusCode,"next.rsc":!1});let e=i.getRootSpanAttributes();if(!e)return;if(e.get("next.span_type")!==u.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${e.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let n=e.get("next.route");if(n){let e=`${s} ${n}`;o.setAttributes({"next.route":n,"http.route":n,"next.span_name":e}),o.updateName(e),t&&t!==o&&(t.setAttribute("http.route",n),t.updateName(e))}else o.updateName(`${s} ${a}`)});h&&d?await b(d):(t=i.getActiveScopeSpan(),await i.withPropagatedContext(e.headers,()=>i.trace(u.BaseServerSpan.handleRequest,{spanName:`${s} ${a}`,kind:o.SpanKind.SERVER,attributes:{"http.method":s,"http.target":e.url}},b),void 0,!h))}catch(e){if(v.isDev)throw e;(0,t.sendError)(r,500,"Internal Server Error")}finally{null==s.waitUntil||s.waitUntil.call(s,Promise.resolve())}}e.s(["config",0,c,"default",0,p,"handler",0,h],38271)},757186,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_koffi_00.jnkr._.js"].map(t=>e.l(t))).then(()=>t(747431)))},981532,e=>{e.v(e=>Promise.resolve().then(()=>e(322429)))},322522,e=>{e.v(e=>Promise.resolve().then(()=>e(459015)))},245061,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_tab-title_ts_0onatvs._.js"].map(t=>e.l(t))).then(()=>t(785128)))},489335,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_0h.cczv._.js","server/chunks/[root-of-the-server]__0zquag4._.js","server/chunks/[root-of-the-server]__0a0nf8l._.js","server/chunks/src_lib_0bfz8tg._.js","server/chunks/
|
|
1
|
+
module.exports=[38271,e=>{"use strict";var t=e.i(926747),r=e.i(190406),s=e.i(244898),a=e.i(262950),i=e.i(200523);let n=async(e,t)=>{await (0,i.withBrowserTab)(e,t,"GET",async({tabId:e,bridge:r})=>{let[s,a]=await Promise.all([r.getUrl(e),r.getTitle(e)]);null===s?t.status(409).json({error:"Browser tab not attached yet"}):t.status(200).json({tabId:e,url:s,title:a})})};e.s(["default",0,n],293755);var l=e.i(293755),o=e.i(7031),u=e.i(181927),d=e.i(846432);let p=(0,a.hoist)(l,"default"),c=(0,a.hoist)(l,"config"),v=new s.PagesAPIRouteModule({definition:{kind:r.RouteKind.PAGES_API,page:"/api/cli/tabs/[tabId]/browser/url",pathname:"/api/cli/tabs/[tabId]/browser/url",bundlePath:"",filename:""},userland:l,distDir:".next",relativeProjectDir:""});async function h(e,r,s){s.requestMeta&&(0,d.setRequestMeta)(e,s.requestMeta),v.isDev&&(0,d.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let a="/api/cli/tabs/[tabId]/browser/url";a=a.replace(/\/index$/,"")||"/";let i=await v.prepare(e,r,{srcPage:a});if(!i){r.statusCode=400,r.end("Bad Request"),null==s.waitUntil||s.waitUntil.call(s,Promise.resolve());return}let{query:n,params:l,prerenderManifest:p,routerServerContext:c}=i;try{let t,s=e.method||"GET",i=(0,o.getTracer)(),d=i.getActiveScopeSpan(),h=!!(null==c?void 0:c.isWrappedByNextServer),_=v.instrumentationOnRequestError.bind(v),b=async o=>v.render(e,r,{query:{...n,...l},params:l,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:p.preview,propagateError:!1,dev:v.isDev,page:"/api/cli/tabs/[tabId]/browser/url",internalRevalidate:null==c?void 0:c.revalidate,onError:(...t)=>_(e,...t)}).finally(()=>{if(!o)return;o.setAttributes({"http.status_code":r.statusCode,"next.rsc":!1});let e=i.getRootSpanAttributes();if(!e)return;if(e.get("next.span_type")!==u.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${e.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let n=e.get("next.route");if(n){let e=`${s} ${n}`;o.setAttributes({"next.route":n,"http.route":n,"next.span_name":e}),o.updateName(e),t&&t!==o&&(t.setAttribute("http.route",n),t.updateName(e))}else o.updateName(`${s} ${a}`)});h&&d?await b(d):(t=i.getActiveScopeSpan(),await i.withPropagatedContext(e.headers,()=>i.trace(u.BaseServerSpan.handleRequest,{spanName:`${s} ${a}`,kind:o.SpanKind.SERVER,attributes:{"http.method":s,"http.target":e.url}},b),void 0,!h))}catch(e){if(v.isDev)throw e;(0,t.sendError)(r,500,"Internal Server Error")}finally{null==s.waitUntil||s.waitUntil.call(s,Promise.resolve())}}e.s(["config",0,c,"default",0,p,"handler",0,h],38271)},757186,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_koffi_00.jnkr._.js"].map(t=>e.l(t))).then(()=>t(747431)))},981532,e=>{e.v(e=>Promise.resolve().then(()=>e(322429)))},322522,e=>{e.v(e=>Promise.resolve().then(()=>e(459015)))},245061,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_tab-title_ts_0onatvs._.js"].map(t=>e.l(t))).then(()=>t(785128)))},489335,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_0h.cczv._.js","server/chunks/[root-of-the-server]__0zquag4._.js","server/chunks/[root-of-the-server]__0a0nf8l._.js","server/chunks/src_lib_0bfz8tg._.js","server/chunks/src_lib_providers_codex_0dcne0r._.js","server/chunks/_0~19dm5._.js"].map(t=>e.l(t))).then(()=>t(601043)))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__013of3i._.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
module.exports=[282992,e=>{"use strict";let t=globalThis;t.__ptAgentProviders||(t.__ptAgentProviders=new Map);let i=t.__ptAgentProviders;e.s(["getProvider",0,e=>i.get(e)??null,"getProviderByPanelType",0,e=>{if(!e)return null;for(let t of i.values())if(t.panelType===e)return t;return null},"getProviderByProcessName",0,(e,t)=>{for(let r of i.values())if(r.matchesProcess(e,t))return r;return null},"listProviders",0,()=>Array.from(i.values()),"registerProvider",0,e=>{i.set(e.id,e)}])},853932,e=>{"use strict";var t=e.i(282992);let i={status:"not-running",sessionId:null,jsonlPath:null,pid:null,startedAt:null,cwd:null},r={status:"not-installed",sessionId:null,jsonlPath:null,pid:null,startedAt:null,cwd:null},s=async(e,s)=>{let a=(0,t.listProviders)(),n=a.length>0;for(let t of a){let i=await t.detectActiveSession(e,s);if("running"===i.status)return{provider:t,info:i};"not-installed"!==i.status&&(n=!1)}return{provider:null,info:n?r:i}};e.s(["detectAnyActiveSession",0,s])},783607,e=>{"use strict";var t=e.i(282992),i=e.i(878275);e.s(["getTabAgentProvider",0,e=>{let r=(0,i.getTabAgentProviderId)(e);return r?(0,t.getProvider)(r):null}])},75874,e=>{"use strict";var t=e.i(924868),i=e.i(814747),r=e.i(446786);let s=i.default.join(r.default.homedir(),".purplemux"),a=i.default.join(s,"push-subscriptions.json"),n=globalThis;n.__ptPushLock||(n.__ptPushLock=Promise.resolve());let o=async e=>{let t,i=new Promise(e=>{t=e}),r=n.__ptPushLock;n.__ptPushLock=i,await r;try{return await e()}finally{t()}},l=async()=>{try{let e=await t.default.readFile(a,"utf-8");return JSON.parse(e)}catch{return[]}},d=async e=>{await t.default.mkdir(s,{recursive:!0});let i=a+".tmp";try{await t.default.writeFile(i,JSON.stringify(e,null,2),{mode:384}),await t.default.rename(i,a)}catch(e){throw await t.default.unlink(i).catch(()=>{}),e}},u=async()=>l(),c=async()=>(await l()).map(e=>({endpoint:e.endpoint})),f=async e=>o(async()=>{let t=await l(),i=t.findIndex(t=>t.endpoint===e.endpoint);i>=0?t[i]=e:t.push(e),await d(t)}),p=async e=>o(async()=>{let t=await l(),i=t.filter(t=>t.endpoint!==e);i.length!==t.length&&await d(i)}),y=globalThis;y.__ptVisibleDevices||(y.__ptVisibleDevices=new Map);let h=y.__ptVisibleDevices,w=globalThis;w.__ptSessionPushTarget||(w.__ptSessionPushTarget=new Map);let g=w.__ptSessionPushTarget;e.s(["addSubscription",0,f,"clearSessionPushTarget",0,e=>{g.delete(e)},"getSubscriptions",0,u,"isAnyDeviceVisible",0,()=>{let e=Date.now();for(let[t,i]of h)if(!(e-i>6e4))return!0;else h.delete(t);return!1},"listDeviceEndpoints",0,c,"markDeviceHidden",0,e=>{h.delete(e)},"markDeviceVisible",0,e=>{h.set(e,Date.now())},"removeSubscription",0,p,"setSessionPushTarget",0,(e,t)=>{g.set(e,t)}])},449719,(e,t,i)=>{t.exports=e.x("assert",()=>require("assert"))},870722,(e,t,i)=>{t.exports=e.x("tty",()=>require("tty"))},785128,e=>{"use strict";let t=new Set(["zsh","bash","fish","sh","-zsh","-bash","-fish","-sh"]),i=new Set(["codex","Codex","node"]),r=e=>{if("~"===e||"/"===e)return e;let t=e.replace(/\/$/,"").split("/");return t[t.length-1]||e},s=(e,t,r)=>("codex"===r||!r&&"codex-cli"===t)&&i.has(e)?"Codex":("claude"===r||!r&&"claude-code"===t)&&["node","bun","claude"].includes(e)?"Claude":e;e.s(["formatTabTitle",0,(e,i,a)=>{let n=e.trim();if(!n)return"";let o=(e=>{let t=e.trim();if(!t)return null;let i=t.indexOf("|");return i>0?t.slice(0,i):null})(e);if(null!==o){let e=n.slice(n.indexOf("|")+1);return t.has(o)?r(e):s(o,i,a)}let l=n.match(/@[^:]+:\s*(.*)/);if(l)return r(l[1].trim());if(n.startsWith("/")||n.startsWith("~"))return r(n);let d=n.split(/\s+/)[0];return t.has(d)?"":s(d||"",i,a)}])},746514,e=>{"use strict";var t=e.i(924868),i=e.i(522734),r=e.i(814747),s=e.i(319668),a=e.i(511748),n=e.i(459015),o=e.i(25146),l=e.i(299481),d=e.i(611345);let u=(0,o.createLogger)("session-list"),c=r.default.join(process.env.HOME||process.env.USERPROFILE||"/",".claude","projects"),f=globalThis;f.__ptClaudeSessionMetaCache||(f.__ptClaudeSessionMetaCache=(0,l.createSessionMetaCache)());let p=f.__ptClaudeSessionMetaCache,y=e=>{let t=(0,a.toClaudeProjectName)(e);return r.default.join(c,t)},h=e=>e.length<=200?e:e.slice(0,200)+"…",w=async e=>{let t=(0,i.createReadStream)(e,{encoding:"utf-8"}),r=s.default.createInterface({input:t,crlfDelay:1/0}),a=null,n="",o=0,l=!0;try{for await(let e of r){if(l&&(l=!1,e.trim()))try{let t=JSON.parse(e);t.timestamp&&(a=new Date(t.timestamp).toISOString())}catch{}if((e.includes('"type":"human"')||e.includes('"type": "human"')||e.includes('"type":"user"')||e.includes('"type": "user"'))&&!e.includes('"isMeta":true')&&!e.includes('"isMeta": true')&&(o++,!n))try{let t=JSON.parse(e);if(("human"===t.type||"user"===t.type)&&!t.isMeta){let e=t.message;if(e)if("string"==typeof e)n=h(e);else if(Array.isArray(e.content)){let t=e.content.find(e=>"text"===e.type&&e.text);t&&(n=h(t.text))}else"string"==typeof e.content&&(n=h(e.content))}}catch{}}}finally{r.close(),t.destroy()}return{startedAt:a,firstMessage:n,turnCount:o}},g=async e=>{try{return await p.read(e,async t=>{let{startedAt:i,firstMessage:s,turnCount:a}=await w(e);return{sessionId:r.default.basename(e,".jsonl"),startedAt:i||t.birthtime.toISOString(),lastActivityAt:t.mtime.toISOString(),firstMessage:s,turnCount:a}})}catch(t){return u.warn({err:t},`failed to parse session meta: ${e}`),null}},m=async(e,i)=>{let s,a=i||await (0,n.getSessionCwd)(e);if(!a)throw Error("cwd-lookup-failed");let o=y(a);try{s=(await t.default.readdir(o)).filter(e=>e.endsWith(".jsonl"))}catch{return[]}let l=s.map(e=>()=>g(r.default.join(o,e))),u=await (0,d.runWithConcurrency)(l,10),c=[];for(let e of u)"fulfilled"===e.status&&e.value&&c.push(e.value);return c.sort((e,t)=>new Date(t.lastActivityAt).getTime()-new Date(e.lastActivityAt).getTime()),c};e.s(["cwdToProjectPath",0,y,"listSessions",0,m])},429739,892169,e=>{"use strict";var t=e.i(924868),i=e.i(446786),r=e.i(814747),s=e.i(964759),a=e.i(333184),n=e.i(233405),o=e.i(319668),l=e.i(713915);let d=async e=>{let t=await (0,l.getShellPath)();await new Promise((i,r)=>{let s=(0,n.spawn)("codex",["app-server","--stdio"],{env:{...process.env,PATH:t},stdio:["pipe","pipe","ignore"]}),a=o.default.createInterface({input:s.stdout}),l=!1,d=!1,u=e=>{l||(l=!0,clearTimeout(c),a.close(),s.stdin.end(),s.kill(),e?r(e):i())},c=setTimeout(()=>u(Error("Codex session deletion timed out")),3e4),f=e=>s.stdin.write(`${JSON.stringify(e)}
|
|
2
|
-
`);s.on("error",u),s.stdin.on("error",u),s.on("exit",()=>u(Error("Codex exited before confirming deletion"))),a.on("line",t=>{let i;try{i=JSON.parse(t)}catch{return}if(1===i.id||2===i.id)if(i.error){if(d&&2===i.id&&-32600===i.error.code&&i.error.message===`no rollout found for thread id ${e}`)return void u();u(Error(i.error.message??"Codex session deletion failed"))}else 1!==i.id||d?2===i.id&&d&&u():(d=!0,f({method:"initialized",params:{}}),f({id:2,method:"thread/delete",params:{threadId:e}}))}),f({id:1,method:"initialize",params:{clientInfo:{name:"purplemux-improved",version:"1.0.0"},capabilities:{experimentalApi:!0}}})})};var u=e.i(517873),c=e.i(254388);let f=globalThis;f.__ptCodexDeletionLocks??=new Map;let p=f.__ptCodexDeletionLocks,y=async(e,t)=>{let i=(p.get(e)??Promise.resolve()).then(t),r=i.then(()=>{},()=>{});p.set(e,r);try{await i}finally{p.get(e)===r&&p.delete(e)}},h=e=>r.default.join(i.default.homedir(),".purplemux","session-deletions","codex",`${e}.json`),w=async e=>{try{let i=JSON.parse(await t.default.readFile(h(e),"utf8"));if(i?.version!==1||!Array.isArray(i.pending)||!i.pending.every(e=>"string"==typeof e&&/^[a-zA-Z0-9_-]{1,128}$/.test(e))||new Set(i.pending).size!==i.pending.length||i.pending.length>0&&i.pending.at(-1)!==e)throw Error("Invalid Codex deletion progress");return i.pending}catch(e){if("ENOENT"===e.code)return[];throw e}},g=async(e,i)=>{let s=h(e);await t.default.mkdir(r.default.dirname(s),{recursive:!0}),await t.default.writeFile(`${s}.tmp`,JSON.stringify({version:1,pending:i}),{mode:384}),await t.default.rename(`${s}.tmp`,s)},m=async e=>{try{await t.default.unlink(h(e))}catch(e){if("ENOENT"!==e.code)throw e}};class v extends Error{constructor(){super("Session is in use")}}let S=(e,t,i)=>{if(Object.values((0,s.getStatusManager)().getAllForClient()).some(r=>(!i||r.workspaceId!==i)&&(r.agentProviderId??("codex-cli"===r.panelType?"codex":"claude"))===e&&r.agentSessionId===t&&"inactive"!==r.cliState))throw new v},_=async(e,i)=>{let s,n=r.default.join(e,"sessions");try{s=await t.default.readdir(n)}catch(e){if("ENOENT"===e.code)return;throw e}for(let e of s.filter(e=>e.endsWith(".json"))){let s;try{s=JSON.parse(await t.default.readFile(r.default.join(n,e),"utf8"))}catch{continue}if(s.sessionId===i&&"number"==typeof s.pid&&await (0,a.isProcessRunning)(s.pid))throw new v}},x=async(e,s)=>{let a,n=r.default.join(i.default.homedir(),".claude");await _(n,e);try{a=await t.default.realpath(r.default.join(n,"projects"))}catch(e){if("ENOENT"===e.code)return;throw e}for(let i of(await t.default.readdir(a,{withFileTypes:!0}))){let n,o;if(!i.isDirectory())continue;let l=r.default.join(a,i.name),d=r.default.join(l,`${e}.jsonl`);try{n=await t.default.lstat(d)}catch(e){if("ENOENT"===e.code)continue;throw e}if(!n.isFile()||n.isSymbolicLink()||await t.default.realpath(l)!==l)throw Error("Unsafe session path");let u=r.default.join(l,e);try{o=await t.default.lstat(u)}catch(e){if("ENOENT"!==e.code)throw e}if(o&&(!o.isDirectory()||o.isSymbolicLink()))throw Error("Unsafe session directory");S("claude",e,s),o&&await t.default.rm(u,{recursive:!0}),await t.default.unlink(d)}},P=async(e,t,i,r)=>{if(!/^[a-zA-Z0-9_-]{1,128}$/.test(t))throw Error("Invalid session ID");S(e,t,i),"codex"===e?await y(t,async()=>{let e=await w(t),s=[...(await (0,c.collectCodexSessionFamily)(t)).filter(t=>!e.includes(t)),...e];for(let e of s)S("codex",e,i);await g(t,s);try{for(let[e,a]of s.entries())S("codex",a,i),await d(a),await r?.(a),await g(t,s.slice(e+1));await m(t)}finally{(0,u.clearCodexSessionListCache)()}}):(await x(t,i),await r?.(t))};e.s(["SessionInUseError",0,v,"deleteOriginalSession",0,P],429739);var I=e.i(843887),b=e.i(961116),j=e.i(322429);let A=async(e,t,i)=>{t&&await (0,I.hideSession)(e,t),await (0,j.removeSessionWorkflow)(e,t,i);let r=await (0,b.removeSessionHistory)(e,t,i);(0,s.getStatusManager)().broadcast({type:"session-history:sync",entries:r})};e.s(["removeSessionRecords",0,A],892169)},601043,e=>{"use strict";var t=e.i(924868),i=e.i(814747),r=e.i(825265),s=e.i(459015),a=e.i(429739),n=e.i(961116),o=e.i(843887),l=e.i(892169),d=e.i(964759);let u=e=>i.default.join((0,r.resolveLayoutDir)(e),"session-deletion.json"),c=async e=>{try{let i=JSON.parse(await t.default.readFile(u(e),"utf8"));if(!Array.isArray(i.sessions)||!Array.isArray(i.deleted)||!i.deleted.every(e=>"string"==typeof e)||!i.sessions.every(e=>["claude","codex"].includes(e.provider)&&"string"==typeof e.sessionId))throw Error("Invalid session deletion progress");return i}catch(e){if("ENOENT"===e.code)return{sessions:[],deleted:[]};throw e}},f=async(e,r)=>{let s=u(e);await t.default.mkdir(i.default.dirname(s),{recursive:!0}),await t.default.writeFile(`${s}.tmp`,JSON.stringify(r),{mode:384}),await t.default.rename(`${s}.tmp`,s)},p=async(e,t)=>{let i=new Map,r=(e,t)=>{("claude"===e||"codex"===e)&&t&&i.set((0,o.sessionHistoryKey)(e,t),{provider:e,sessionId:t})};for(let e of t)r(e.agentState?.providerId,e.agentState?.sessionId),r("claude",e.claudeSessionId);for(let t of Object.values((0,d.getStatusManager)().getAllForClient()))t.workspaceId===e&&r(t.agentProviderId??("codex-cli"===t.panelType?"codex":"claude"),t.agentSessionId);for(let t of(await (0,n.getSessionHistory)()))t.workspaceId===e&&r(t.providerId,t.agentSessionId);let s=await c(e);for(let e of s.sessions)r(e.provider,e.sessionId);let a=[...i.values()];return await f(e,{...s,sessions:a}),a},y=async(e,t)=>{let i=await c(e);for(let{provider:r,sessionId:n}of((0,d.getStatusManager)().removeWorkspaceTabs(e,!1),t)){let t=(0,o.sessionHistoryKey)(r,n);if(i.deleted.includes(t))await (0,l.removeSessionRecords)(r,n);else{if([...(await (0,s.getAllPanesInfo)({strict:!0})).keys()].some(t=>t.startsWith(`pt-${e}-`)))throw Error("Workspace sessions are still running");await (0,a.deleteOriginalSession)(r,n,e,e=>(0,l.removeSessionRecords)(r,e)),i.deleted.push(t),await f(e,i)}}for(let t of(await (0,n.getSessionHistory)()))t.workspaceId!==e||t.agentSessionId||await (0,n.removeSessionHistory)(t.providerId,null,t.id);(0,d.getStatusManager)().broadcast({type:"session-history:sync",entries:await (0,n.getSessionHistory)()})};e.s(["collectWorkspaceSessions",0,p,"deleteWorkspaceSessions",0,y])},489335,e=>{e.v(t=>Promise.all(["server/chunks/[root-of-the-server]__01aay-_._.js","server/chunks/
|
|
2
|
+
`);s.on("error",u),s.stdin.on("error",u),s.on("exit",()=>u(Error("Codex exited before confirming deletion"))),a.on("line",t=>{let i;try{i=JSON.parse(t)}catch{return}if(1===i.id||2===i.id)if(i.error){if(d&&2===i.id&&-32600===i.error.code&&i.error.message===`no rollout found for thread id ${e}`)return void u();u(Error(i.error.message??"Codex session deletion failed"))}else 1!==i.id||d?2===i.id&&d&&u():(d=!0,f({method:"initialized",params:{}}),f({id:2,method:"thread/delete",params:{threadId:e}}))}),f({id:1,method:"initialize",params:{clientInfo:{name:"purplemux-improved",version:"1.0.0"},capabilities:{experimentalApi:!0}}})})};var u=e.i(517873),c=e.i(254388);let f=globalThis;f.__ptCodexDeletionLocks??=new Map;let p=f.__ptCodexDeletionLocks,y=async(e,t)=>{let i=(p.get(e)??Promise.resolve()).then(t),r=i.then(()=>{},()=>{});p.set(e,r);try{await i}finally{p.get(e)===r&&p.delete(e)}},h=e=>r.default.join(i.default.homedir(),".purplemux","session-deletions","codex",`${e}.json`),w=async e=>{try{let i=JSON.parse(await t.default.readFile(h(e),"utf8"));if(i?.version!==1||!Array.isArray(i.pending)||!i.pending.every(e=>"string"==typeof e&&/^[a-zA-Z0-9_-]{1,128}$/.test(e))||new Set(i.pending).size!==i.pending.length||i.pending.length>0&&i.pending.at(-1)!==e)throw Error("Invalid Codex deletion progress");return i.pending}catch(e){if("ENOENT"===e.code)return[];throw e}},g=async(e,i)=>{let s=h(e);await t.default.mkdir(r.default.dirname(s),{recursive:!0}),await t.default.writeFile(`${s}.tmp`,JSON.stringify({version:1,pending:i}),{mode:384}),await t.default.rename(`${s}.tmp`,s)},m=async e=>{try{await t.default.unlink(h(e))}catch(e){if("ENOENT"!==e.code)throw e}};class v extends Error{constructor(){super("Session is in use")}}let S=(e,t,i)=>{if(Object.values((0,s.getStatusManager)().getAllForClient()).some(r=>(!i||r.workspaceId!==i)&&(r.agentProviderId??("codex-cli"===r.panelType?"codex":"claude"))===e&&r.agentSessionId===t&&"inactive"!==r.cliState))throw new v},_=async(e,i)=>{let s,n=r.default.join(e,"sessions");try{s=await t.default.readdir(n)}catch(e){if("ENOENT"===e.code)return;throw e}for(let e of s.filter(e=>e.endsWith(".json"))){let s;try{s=JSON.parse(await t.default.readFile(r.default.join(n,e),"utf8"))}catch{continue}if(s.sessionId===i&&"number"==typeof s.pid&&await (0,a.isProcessRunning)(s.pid))throw new v}},x=async(e,s)=>{let a,n=r.default.join(i.default.homedir(),".claude");await _(n,e);try{a=await t.default.realpath(r.default.join(n,"projects"))}catch(e){if("ENOENT"===e.code)return;throw e}for(let i of(await t.default.readdir(a,{withFileTypes:!0}))){let n,o;if(!i.isDirectory())continue;let l=r.default.join(a,i.name),d=r.default.join(l,`${e}.jsonl`);try{n=await t.default.lstat(d)}catch(e){if("ENOENT"===e.code)continue;throw e}if(!n.isFile()||n.isSymbolicLink()||await t.default.realpath(l)!==l)throw Error("Unsafe session path");let u=r.default.join(l,e);try{o=await t.default.lstat(u)}catch(e){if("ENOENT"!==e.code)throw e}if(o&&(!o.isDirectory()||o.isSymbolicLink()))throw Error("Unsafe session directory");S("claude",e,s),o&&await t.default.rm(u,{recursive:!0}),await t.default.unlink(d)}},P=async(e,t,i,r)=>{if(!/^[a-zA-Z0-9_-]{1,128}$/.test(t))throw Error("Invalid session ID");S(e,t,i),"codex"===e?await y(t,async()=>{let e=await w(t),s=[...(await (0,c.collectCodexSessionFamily)(t)).filter(t=>!e.includes(t)),...e];for(let e of s)S("codex",e,i);await g(t,s);try{for(let[e,a]of s.entries())S("codex",a,i),await d(a),await r?.(a),await g(t,s.slice(e+1));await m(t)}finally{(0,u.clearCodexSessionListCache)()}}):(await x(t,i),await r?.(t))};e.s(["SessionInUseError",0,v,"deleteOriginalSession",0,P],429739);var I=e.i(843887),b=e.i(961116),j=e.i(322429);let A=async(e,t,i)=>{t&&await (0,I.hideSession)(e,t),await (0,j.removeSessionWorkflow)(e,t,i);let r=await (0,b.removeSessionHistory)(e,t,i);(0,s.getStatusManager)().broadcast({type:"session-history:sync",entries:r})};e.s(["removeSessionRecords",0,A],892169)},601043,e=>{"use strict";var t=e.i(924868),i=e.i(814747),r=e.i(825265),s=e.i(459015),a=e.i(429739),n=e.i(961116),o=e.i(843887),l=e.i(892169),d=e.i(964759);let u=e=>i.default.join((0,r.resolveLayoutDir)(e),"session-deletion.json"),c=async e=>{try{let i=JSON.parse(await t.default.readFile(u(e),"utf8"));if(!Array.isArray(i.sessions)||!Array.isArray(i.deleted)||!i.deleted.every(e=>"string"==typeof e)||!i.sessions.every(e=>["claude","codex"].includes(e.provider)&&"string"==typeof e.sessionId))throw Error("Invalid session deletion progress");return i}catch(e){if("ENOENT"===e.code)return{sessions:[],deleted:[]};throw e}},f=async(e,r)=>{let s=u(e);await t.default.mkdir(i.default.dirname(s),{recursive:!0}),await t.default.writeFile(`${s}.tmp`,JSON.stringify(r),{mode:384}),await t.default.rename(`${s}.tmp`,s)},p=async(e,t)=>{let i=new Map,r=(e,t)=>{("claude"===e||"codex"===e)&&t&&i.set((0,o.sessionHistoryKey)(e,t),{provider:e,sessionId:t})};for(let e of t)r(e.agentState?.providerId,e.agentState?.sessionId),r("claude",e.claudeSessionId);for(let t of Object.values((0,d.getStatusManager)().getAllForClient()))t.workspaceId===e&&r(t.agentProviderId??("codex-cli"===t.panelType?"codex":"claude"),t.agentSessionId);for(let t of(await (0,n.getSessionHistory)()))t.workspaceId===e&&r(t.providerId,t.agentSessionId);let s=await c(e);for(let e of s.sessions)r(e.provider,e.sessionId);let a=[...i.values()];return await f(e,{...s,sessions:a}),a},y=async(e,t)=>{let i=await c(e);for(let{provider:r,sessionId:n}of((0,d.getStatusManager)().removeWorkspaceTabs(e,!1),t)){let t=(0,o.sessionHistoryKey)(r,n);if(i.deleted.includes(t))await (0,l.removeSessionRecords)(r,n);else{if([...(await (0,s.getAllPanesInfo)({strict:!0})).keys()].some(t=>t.startsWith(`pt-${e}-`)))throw Error("Workspace sessions are still running");await (0,a.deleteOriginalSession)(r,n,e,e=>(0,l.removeSessionRecords)(r,e)),i.deleted.push(t),await f(e,i)}}for(let t of(await (0,n.getSessionHistory)()))t.workspaceId!==e||t.agentSessionId||await (0,n.removeSessionHistory)(t.providerId,null,t.id);(0,d.getStatusManager)().broadcast({type:"session-history:sync",entries:await (0,n.getSessionHistory)()})};e.s(["collectWorkspaceSessions",0,p,"deleteWorkspaceSessions",0,y])},489335,e=>{e.v(t=>Promise.all(["server/chunks/[root-of-the-server]__01aay-_._.js","server/chunks/_0ug833-._.js","server/chunks/[root-of-the-server]__0zquag4._.js","server/chunks/_0~19dm5._.js","server/chunks/src_lib_providers_codex_0dcne0r._.js","server/chunks/src_lib_0bfz8tg._.js"].map(t=>e.l(t))).then(()=>t(601043)))}];
|
|
3
3
|
|
|
4
4
|
//# sourceMappingURL=%5Broot-of-the-server%5D__01aay-_._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module.exports=[319668,(e,t,r)=>{t.exports=e.x("readline",()=>require("readline"))},853932,e=>{"use strict";var t=e.i(282992);let r={status:"not-running",sessionId:null,jsonlPath:null,pid:null,startedAt:null,cwd:null},s={status:"not-installed",sessionId:null,jsonlPath:null,pid:null,startedAt:null,cwd:null},a=async(e,a)=>{let n=(0,t.listProviders)(),i=n.length>0;for(let t of n){let r=await t.detectActiveSession(e,a);if("running"===r.status)return{provider:t,info:r};"not-installed"!==r.status&&(i=!1)}return{provider:null,info:i?s:r}};e.s(["detectAnyActiveSession",0,a])},783607,e=>{"use strict";var t=e.i(282992),r=e.i(878275);e.s(["getTabAgentProvider",0,e=>{let s=(0,r.getTabAgentProviderId)(e);return s?(0,t.getProvider)(s):null}])},462180,e=>{"use strict";var t=e.i(798415),r=e.i(751905),s=e.i(282992);e.i(853932),(0,s.registerProvider)(t.claudeProvider),(0,s.registerProvider)(r.codexProvider),e.s([])},500208,e=>{"use strict";var t=e.i(926747),r=e.i(190406),s=e.i(244898),a=e.i(262950),n=e.i(871911),i=e.i(200523),l=e.i(825265);e.i(462180);var o=e.i(783607);let d=async(e,t)=>{if(!(0,n.verifyCliToken)(e))return t.status(403).json({error:"Forbidden"});let r=e.query.tabId,s="string"==typeof e.query.workspaceId?e.query.workspaceId:void 0;if(!s)return t.status(400).json({error:"workspaceId is required"});if("GET"===e.method){let e=await (0,i.findTab)(s,r);if(!e)return t.status(404).json({error:"Tab not found"});let a=(0,o.getTabAgentProvider)(e.tab);return t.status(200).json({tabId:e.tab.id,workspaceId:e.workspaceId,paneId:e.paneId,name:e.tab.name,sessionName:e.tab.sessionName,panelType:e.tab.panelType,agentProviderId:a?.id??null,agentSessionId:a?.readSessionId(e.tab)??null})}if("DELETE"===e.method){let e=await (0,i.findTab)(s,r);if(!e)return t.status(404).json({error:"Tab not found"});let a=await (0,l.removeTabFromPane)(s,e.paneId,r);return t.status(200).json({ok:a})}return t.setHeader("Allow","GET, DELETE"),t.status(405).json({error:"Method not allowed"})};e.s(["default",0,d],287635);var u=e.i(287635),p=e.i(7031),v=e.i(181927),c=e.i(846432);let h=(0,a.hoist)(u,"default"),b=(0,a.hoist)(u,"config"),f=new s.PagesAPIRouteModule({definition:{kind:r.RouteKind.PAGES_API,page:"/api/cli/tabs/[tabId]/index",pathname:"/api/cli/tabs/[tabId]",bundlePath:"",filename:""},userland:u,distDir:".next",relativeProjectDir:""});async function g(e,r,s){s.requestMeta&&(0,c.setRequestMeta)(e,s.requestMeta),f.isDev&&(0,c.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let a="/api/cli/tabs/[tabId]/index";a=a.replace(/\/index$/,"")||"/";let n=await f.prepare(e,r,{srcPage:a});if(!n){r.statusCode=400,r.end("Bad Request"),null==s.waitUntil||s.waitUntil.call(s,Promise.resolve());return}let{query:i,params:l,prerenderManifest:o,routerServerContext:d}=n;try{let t,s=e.method||"GET",n=(0,p.getTracer)(),u=n.getActiveScopeSpan(),c=!!(null==d?void 0:d.isWrappedByNextServer),h=f.instrumentationOnRequestError.bind(f),b=async u=>f.render(e,r,{query:{...i,...l},params:l,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:o.preview,propagateError:!1,dev:f.isDev,page:"/api/cli/tabs/[tabId]/index",internalRevalidate:null==d?void 0:d.revalidate,onError:(...t)=>h(e,...t)}).finally(()=>{if(!u)return;u.setAttributes({"http.status_code":r.statusCode,"next.rsc":!1});let e=n.getRootSpanAttributes();if(!e)return;if(e.get("next.span_type")!==v.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${e.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let i=e.get("next.route");if(i){let e=`${s} ${i}`;u.setAttributes({"next.route":i,"http.route":i,"next.span_name":e}),u.updateName(e),t&&t!==u&&(t.setAttribute("http.route",i),t.updateName(e))}else u.updateName(`${s} ${a}`)});c&&u?await b(u):(t=n.getActiveScopeSpan(),await n.withPropagatedContext(e.headers,()=>n.trace(v.BaseServerSpan.handleRequest,{spanName:`${s} ${a}`,kind:p.SpanKind.SERVER,attributes:{"http.method":s,"http.target":e.url}},b),void 0,!c))}catch(e){if(f.isDev)throw e;(0,t.sendError)(r,500,"Internal Server Error")}finally{null==s.waitUntil||s.waitUntil.call(s,Promise.resolve())}}e.s(["config",0,b,"default",0,h,"handler",0,g],500208)},757186,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_koffi_00.jnkr._.js"].map(t=>e.l(t))).then(()=>t(747431)))},981532,e=>{e.v(e=>Promise.resolve().then(()=>e(322429)))},322522,e=>{e.v(e=>Promise.resolve().then(()=>e(459015)))},245061,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_tab-title_ts_0onatvs._.js"].map(t=>e.l(t))).then(()=>t(785128)))},489335,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_0h.cczv._.js","server/chunks/[root-of-the-server]__0zquag4._.js","server/chunks/src_lib_0bfz8tg._.js","server/chunks/_0~19dm5._.js","server/chunks/[root-of-the-server]__0kpvta5._.js"].map(t=>e.l(t))).then(()=>t(601043)))}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__01dt1gs._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[446786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},814747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},924868,(e,t,r)=>{t.exports=e.x("fs/promises",()=>require("fs/promises"))},130146,(e,t,r)=>{t.exports=e.x("pino-28069d5257187539",()=>require("pino-28069d5257187539"))},224361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},233405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},666680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},59639,(e,t,r)=>{t.exports=e.x("node:process",()=>require("node:process"))},25146,e=>{"use strict";var t=e.i(130146),r=e.i(814747),n=e.i(446786);let s=r.default.join(n.default.homedir(),".purplemux","logs"),i=process.env.LOG_LEVEL||"info",a=(e=>{if(!e)return{};let t={};for(let r of e.split(",")){let[e,n]=r.split("=").map(e=>e.trim());e&&n&&(t[e]=n)}return t})(process.env.LOG_LEVELS),o=["trace","debug","info","warn","error","fatal"],u=globalThis;if(!u.__ptRootLogger){let e=[i,...Object.values(a)].reduce((e,t)=>o.indexOf(t)<o.indexOf(e)?t:e,"fatal");u.__ptRootLogger=(0,t.default)({level:e,transport:{targets:[{target:"pino-roll",level:e,options:{file:r.default.join(s,"purplemux"),frequency:"daily",dateFormat:"yyyy-MM-dd",limit:{count:7},mkdir:!0}},{target:"pino-pretty",level:e,options:{colorize:!0,ignore:"pid,hostname,module",translateTime:"HH:MM:ss",messageFormat:"[{module}] {msg}"}}]}})}let l=u.__ptRootLogger;e.s(["createLogger",0,e=>{let t=l.child({module:e});return t.level=a[e]??i,t}])},44014,e=>{"use strict";let t,r;var n=e.i(666680);e.s(["nanoid",0,function(e=21){var s=e|=0;if(s<0||s>1024)throw RangeError("Wrong ID size");!t||t.length<s?(t=Buffer.allocUnsafe(128*s),n.webcrypto.getRandomValues(t),r=0):r+s>t.length&&(n.webcrypto.getRandomValues(t),r=0),r+=s;let i="";for(let n=r-e;n<r;n++)i+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&t[n]];return i}],44014)},270406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},254799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},522734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},688947,(e,t,r)=>{t.exports=e.x("stream",()=>require("stream"))},406461,(e,t,r)=>{t.exports=e.x("zlib",()=>require("zlib"))},524836,(e,t,r)=>{t.exports=e.x("https",()=>require("https"))},921517,(e,t,r)=>{t.exports=e.x("http",()=>require("http"))},504446,(e,t,r)=>{t.exports=e.x("net",()=>require("net"))},755004,(e,t,r)=>{t.exports=e.x("tls",()=>require("tls"))},792509,(e,t,r)=>{t.exports=e.x("url",()=>require("url"))},500874,(e,t,r)=>{t.exports=e.x("buffer",()=>require("buffer"))},427699,(e,t,r)=>{t.exports=e.x("events",()=>require("events"))},990294,(e,t,r)=>{e.e,t.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",s="week",i="month",a="quarter",o="year",u="date",l="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,c=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},h="en",p={};p[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var v="$isDayjsObject",m=function(e){return e instanceof x||!(!e||!e[v])},y=function e(t,r,n){var s;if(!t)return h;if("string"==typeof t){var i=t.toLowerCase();p[i]&&(s=i),r&&(p[i]=r,s=i);var a=t.split("-");if(!s&&a.length>1)return e(a[0])}else{var o=t.name;p[o]=t,s=o}return!n&&s&&(h=s),s||!n&&h},g=function(e,t){if(m(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new x(r)},$={s:f,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(r/60),2,"0")+":"+f(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),s=t.clone().add(n,i),a=r-s<0,o=t.clone().add(n+(a?-1:1),i);return+(-(n+(r-s)/(a?s-o:o-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(l){return({M:i,y:o,w:s,d:"day",D:u,h:n,m:r,s:t,ms:e,Q:a})[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};$.l=y,$.i=m,$.w=function(e,t){return g(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function f(e){this.$L=y(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[v]=!0}var h=f.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if($.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var s=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return $},h.isValid=function(){return this.$d.toString()!==l},h.isSame=function(e,t){var r=g(e);return this.startOf(t)<=r&&r<=this.endOf(t)},h.isAfter=function(e,t){return g(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<g(e)},h.$g=function(e,t,r){return $.u(e)?this[t]:this.set(r,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,a){var l=this,d=!!$.u(a)||a,c=$.p(e),f=function(e,t){var r=$.w(l.$u?Date.UTC(l.$y,t,e):new Date(l.$y,t,e),l);return d?r:r.endOf("day")},h=function(e,t){return $.w(l.toDate()[e].apply(l.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),l)},p=this.$W,v=this.$M,m=this.$D,y="set"+(this.$u?"UTC":"");switch(c){case o:return d?f(1,0):f(31,11);case i:return d?f(1,v):f(0,v+1);case s:var g=this.$locale().weekStart||0,x=(p<g?p+7:p)-g;return f(d?m-x:m+(6-x),v);case"day":case u:return h(y+"Hours",0);case n:return h(y+"Minutes",1);case r:return h(y+"Seconds",2);case t:return h(y+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(s,a){var l,d=$.p(s),c="set"+(this.$u?"UTC":""),f=((l={}).day=c+"Date",l[u]=c+"Date",l[i]=c+"Month",l[o]=c+"FullYear",l[n]=c+"Hours",l[r]=c+"Minutes",l[t]=c+"Seconds",l[e]=c+"Milliseconds",l)[d],h="day"===d?this.$D+(a-this.$W):a;if(d===i||d===o){var p=this.clone().set(u,1);p.$d[f](h),p.init(),this.$d=p.set(u,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[$.p(e)]()},h.add=function(e,a){var u,l=this;e=Number(e);var d=$.p(a),c=function(t){var r=g(l);return $.w(r.date(r.date()+Math.round(t*e)),l)};if(d===i)return this.set(i,this.$M+e);if(d===o)return this.set(o,this.$y+e);if("day"===d)return c(1);if(d===s)return c(7);var f=((u={})[r]=6e4,u[n]=36e5,u[t]=1e3,u)[d]||1,h=this.$d.getTime()+e*f;return $.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var n=e||"YYYY-MM-DDTHH:mm:ssZ",s=$.z(this),i=this.$H,a=this.$m,o=this.$M,u=r.weekdays,d=r.months,f=r.meridiem,h=function(e,r,s,i){return e&&(e[r]||e(t,n))||s[r].slice(0,i)},p=function(e){return $.s(i%12||12,e,"0")},v=f||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(c,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return $.s(t.$y,4,"0");case"M":return o+1;case"MM":return $.s(o+1,2,"0");case"MMM":return h(r.monthsShort,o,d,3);case"MMMM":return h(d,o);case"D":return t.$D;case"DD":return $.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(r.weekdaysMin,t.$W,u,2);case"ddd":return h(r.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(i);case"HH":return $.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return v(i,a,!0);case"A":return v(i,a,!1);case"m":return String(a);case"mm":return $.s(a,2,"0");case"s":return String(t.$s);case"ss":return $.s(t.$s,2,"0");case"SSS":return $.s(t.$ms,3,"0");case"Z":return s}return null}(e)||s.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(e,u,l){var d,c=this,f=$.p(u),h=g(e),p=(h.utcOffset()-this.utcOffset())*6e4,v=this-h,m=function(){return $.m(c,h)};switch(f){case o:d=m()/12;break;case i:d=m();break;case a:d=m()/3;break;case s:d=(v-p)/6048e5;break;case"day":d=(v-p)/864e5;break;case n:d=v/36e5;break;case r:d=v/6e4;break;case t:d=v/1e3;break;default:d=v}return l?d:$.a(d)},h.daysInMonth=function(){return this.endOf(i).$D},h.$locale=function(){return p[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=y(e,t,!0);return n&&(r.$L=n),r},h.clone=function(){return $.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),_=x.prototype;return g.prototype=_,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",o],["$D",u]].forEach(function(e){_[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),g.extend=function(e,t){return e.$i||(e(t,x,g),e.$i=!0),g},g.locale=y,g.isDayjs=m,g.unix=function(e){return g(1e3*e)},g.en=p[h],g.Ls=p,g.p={},g}()},282992,e=>{"use strict";let t=globalThis;t.__ptAgentProviders||(t.__ptAgentProviders=new Map);let r=t.__ptAgentProviders;e.s(["getProvider",0,e=>r.get(e)??null,"getProviderByPanelType",0,e=>{if(!e)return null;for(let t of r.values())if(t.panelType===e)return t;return null},"getProviderByProcessName",0,(e,t)=>{for(let n of r.values())if(n.matchesProcess(e,t))return n;return null},"listProviders",0,()=>Array.from(r.values()),"registerProvider",0,e=>{r.set(e.id,e)}])},843887,e=>{"use strict";var t=e.i(924868),r=e.i(446786),n=e.i(814747);let s=n.default.join(r.default.homedir(),".purplemux","hidden-sessions.json"),i=globalThis,a=(e,t)=>`${e}:${t}`,o=async()=>{try{let e=JSON.parse(await t.default.readFile(s,"utf8"));if(!Array.isArray(e)||!e.every(e=>"string"==typeof e))throw Error("Invalid hidden session history");return new Set(e)}catch(e){if("ENOENT"===e.code)return new Set;throw e}};e.s(["hideSession",0,(e,r)=>{let u=(i.__purplemuxHiddenSessionsLock??Promise.resolve()).then(async()=>{let i=await o(),u=a(e,r);i.has(u)||(i.add(u),await t.default.mkdir(n.default.dirname(s),{recursive:!0}),await t.default.writeFile(`${s}.tmp`,JSON.stringify([...i],null,2),{mode:384}),await t.default.rename(`${s}.tmp`,s))});return i.__purplemuxHiddenSessionsLock=u.catch(()=>{}),u},"readHiddenSessions",0,o,"sessionHistoryKey",0,a])},954429,e=>{"use strict";var t=e.i(926747),r=e.i(190406),n=e.i(244898),s=e.i(262950),i=e.i(825265),a=e.i(322429);let o=async(e,t)=>{if("POST"!==e.method)return t.setHeader("Allow","POST"),t.status(405).json({error:"Method not allowed"});let r=e.query.workspace||await (0,a.getActiveWorkspaceId)();if(!r)return t.status(400).json({error:"No workspace found"});let n=e.query.tabId,s=e.query.paneId,{toPaneId:o,toIndex:u}=e.body??{};if(!o||void 0===u)return t.status(400).json({error:"toPaneId and toIndex required"});let l=await (0,i.moveTabBetweenPanes)(r,n,s,o,u);return l?t.status(200).json(l):t.status(404).json({error:"Target not found"})};e.s(["default",0,o],545174);var u=e.i(545174),l=e.i(7031),d=e.i(181927),c=e.i(846432);let f=(0,s.hoist)(u,"default"),h=(0,s.hoist)(u,"config"),p=new n.PagesAPIRouteModule({definition:{kind:r.RouteKind.PAGES_API,page:"/api/layout/pane/[paneId]/tabs/[tabId]/move",pathname:"/api/layout/pane/[paneId]/tabs/[tabId]/move",bundlePath:"",filename:""},userland:u,distDir:".next",relativeProjectDir:""});async function v(e,r,n){n.requestMeta&&(0,c.setRequestMeta)(e,n.requestMeta),p.isDev&&(0,c.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let s="/api/layout/pane/[paneId]/tabs/[tabId]/move";s=s.replace(/\/index$/,"")||"/";let i=await p.prepare(e,r,{srcPage:s});if(!i){r.statusCode=400,r.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve());return}let{query:a,params:o,prerenderManifest:u,routerServerContext:f}=i;try{let t,n=e.method||"GET",i=(0,l.getTracer)(),c=i.getActiveScopeSpan(),h=!!(null==f?void 0:f.isWrappedByNextServer),v=p.instrumentationOnRequestError.bind(p),m=async l=>p.render(e,r,{query:{...a,...o},params:o,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:u.preview,propagateError:!1,dev:p.isDev,page:"/api/layout/pane/[paneId]/tabs/[tabId]/move",internalRevalidate:null==f?void 0:f.revalidate,onError:(...t)=>v(e,...t)}).finally(()=>{if(!l)return;l.setAttributes({"http.status_code":r.statusCode,"next.rsc":!1});let e=i.getRootSpanAttributes();if(!e)return;if(e.get("next.span_type")!==d.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${e.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=e.get("next.route");if(a){let e=`${n} ${a}`;l.setAttributes({"next.route":a,"http.route":a,"next.span_name":e}),l.updateName(e),t&&t!==l&&(t.setAttribute("http.route",a),t.updateName(e))}else l.updateName(`${n} ${s}`)});h&&c?await m(c):(t=i.getActiveScopeSpan(),await i.withPropagatedContext(e.headers,()=>i.trace(d.BaseServerSpan.handleRequest,{spanName:`${n} ${s}`,kind:l.SpanKind.SERVER,attributes:{"http.method":n,"http.target":e.url}},m),void 0,!h))}catch(e){if(p.isDev)throw e;(0,t.sendError)(r,500,"Internal Server Error")}finally{null==n.waitUntil||n.waitUntil.call(n,Promise.resolve())}}e.s(["config",0,h,"default",0,f,"handler",0,v],954429)},757186,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_koffi_00.jnkr._.js"].map(t=>e.l(t))).then(()=>t(747431)))},981532,e=>{e.v(e=>Promise.resolve().then(()=>e(322429)))},322522,e=>{e.v(e=>Promise.resolve().then(()=>e(459015)))},245061,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_tab-title_ts_0onatvs._.js"].map(t=>e.l(t))).then(()=>t(785128)))},489335,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_0h.cczv._.js","server/chunks/[root-of-the-server]__0zquag4._.js","server/chunks/[root-of-the-server]__0yyt~7b._.js","server/chunks/src_lib_0bfz8tg._.js","server/chunks/src_lib_providers_codex_0oinqxc._.js","server/chunks/_0~19dm5._.js"].map(t=>e.l(t))).then(()=>t(601043)))}];
|
|
1
|
+
module.exports=[446786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},814747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},924868,(e,t,r)=>{t.exports=e.x("fs/promises",()=>require("fs/promises"))},130146,(e,t,r)=>{t.exports=e.x("pino-28069d5257187539",()=>require("pino-28069d5257187539"))},224361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},233405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},666680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},59639,(e,t,r)=>{t.exports=e.x("node:process",()=>require("node:process"))},25146,e=>{"use strict";var t=e.i(130146),r=e.i(814747),n=e.i(446786);let s=r.default.join(n.default.homedir(),".purplemux","logs"),i=process.env.LOG_LEVEL||"info",a=(e=>{if(!e)return{};let t={};for(let r of e.split(",")){let[e,n]=r.split("=").map(e=>e.trim());e&&n&&(t[e]=n)}return t})(process.env.LOG_LEVELS),o=["trace","debug","info","warn","error","fatal"],u=globalThis;if(!u.__ptRootLogger){let e=[i,...Object.values(a)].reduce((e,t)=>o.indexOf(t)<o.indexOf(e)?t:e,"fatal");u.__ptRootLogger=(0,t.default)({level:e,transport:{targets:[{target:"pino-roll",level:e,options:{file:r.default.join(s,"purplemux"),frequency:"daily",dateFormat:"yyyy-MM-dd",limit:{count:7},mkdir:!0}},{target:"pino-pretty",level:e,options:{colorize:!0,ignore:"pid,hostname,module",translateTime:"HH:MM:ss",messageFormat:"[{module}] {msg}"}}]}})}let l=u.__ptRootLogger;e.s(["createLogger",0,e=>{let t=l.child({module:e});return t.level=a[e]??i,t}])},44014,e=>{"use strict";let t,r;var n=e.i(666680);e.s(["nanoid",0,function(e=21){var s=e|=0;if(s<0||s>1024)throw RangeError("Wrong ID size");!t||t.length<s?(t=Buffer.allocUnsafe(128*s),n.webcrypto.getRandomValues(t),r=0):r+s>t.length&&(n.webcrypto.getRandomValues(t),r=0),r+=s;let i="";for(let n=r-e;n<r;n++)i+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&t[n]];return i}],44014)},270406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},254799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},522734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},688947,(e,t,r)=>{t.exports=e.x("stream",()=>require("stream"))},406461,(e,t,r)=>{t.exports=e.x("zlib",()=>require("zlib"))},524836,(e,t,r)=>{t.exports=e.x("https",()=>require("https"))},921517,(e,t,r)=>{t.exports=e.x("http",()=>require("http"))},504446,(e,t,r)=>{t.exports=e.x("net",()=>require("net"))},755004,(e,t,r)=>{t.exports=e.x("tls",()=>require("tls"))},792509,(e,t,r)=>{t.exports=e.x("url",()=>require("url"))},500874,(e,t,r)=>{t.exports=e.x("buffer",()=>require("buffer"))},427699,(e,t,r)=>{t.exports=e.x("events",()=>require("events"))},990294,(e,t,r)=>{e.e,t.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",s="week",i="month",a="quarter",o="year",u="date",l="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,c=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},h="en",p={};p[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var v="$isDayjsObject",m=function(e){return e instanceof x||!(!e||!e[v])},y=function e(t,r,n){var s;if(!t)return h;if("string"==typeof t){var i=t.toLowerCase();p[i]&&(s=i),r&&(p[i]=r,s=i);var a=t.split("-");if(!s&&a.length>1)return e(a[0])}else{var o=t.name;p[o]=t,s=o}return!n&&s&&(h=s),s||!n&&h},g=function(e,t){if(m(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new x(r)},$={s:f,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(r/60),2,"0")+":"+f(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),s=t.clone().add(n,i),a=r-s<0,o=t.clone().add(n+(a?-1:1),i);return+(-(n+(r-s)/(a?s-o:o-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(l){return({M:i,y:o,w:s,d:"day",D:u,h:n,m:r,s:t,ms:e,Q:a})[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};$.l=y,$.i=m,$.w=function(e,t){return g(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function f(e){this.$L=y(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[v]=!0}var h=f.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if($.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var s=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return $},h.isValid=function(){return this.$d.toString()!==l},h.isSame=function(e,t){var r=g(e);return this.startOf(t)<=r&&r<=this.endOf(t)},h.isAfter=function(e,t){return g(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<g(e)},h.$g=function(e,t,r){return $.u(e)?this[t]:this.set(r,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,a){var l=this,d=!!$.u(a)||a,c=$.p(e),f=function(e,t){var r=$.w(l.$u?Date.UTC(l.$y,t,e):new Date(l.$y,t,e),l);return d?r:r.endOf("day")},h=function(e,t){return $.w(l.toDate()[e].apply(l.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),l)},p=this.$W,v=this.$M,m=this.$D,y="set"+(this.$u?"UTC":"");switch(c){case o:return d?f(1,0):f(31,11);case i:return d?f(1,v):f(0,v+1);case s:var g=this.$locale().weekStart||0,x=(p<g?p+7:p)-g;return f(d?m-x:m+(6-x),v);case"day":case u:return h(y+"Hours",0);case n:return h(y+"Minutes",1);case r:return h(y+"Seconds",2);case t:return h(y+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(s,a){var l,d=$.p(s),c="set"+(this.$u?"UTC":""),f=((l={}).day=c+"Date",l[u]=c+"Date",l[i]=c+"Month",l[o]=c+"FullYear",l[n]=c+"Hours",l[r]=c+"Minutes",l[t]=c+"Seconds",l[e]=c+"Milliseconds",l)[d],h="day"===d?this.$D+(a-this.$W):a;if(d===i||d===o){var p=this.clone().set(u,1);p.$d[f](h),p.init(),this.$d=p.set(u,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[$.p(e)]()},h.add=function(e,a){var u,l=this;e=Number(e);var d=$.p(a),c=function(t){var r=g(l);return $.w(r.date(r.date()+Math.round(t*e)),l)};if(d===i)return this.set(i,this.$M+e);if(d===o)return this.set(o,this.$y+e);if("day"===d)return c(1);if(d===s)return c(7);var f=((u={})[r]=6e4,u[n]=36e5,u[t]=1e3,u)[d]||1,h=this.$d.getTime()+e*f;return $.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var n=e||"YYYY-MM-DDTHH:mm:ssZ",s=$.z(this),i=this.$H,a=this.$m,o=this.$M,u=r.weekdays,d=r.months,f=r.meridiem,h=function(e,r,s,i){return e&&(e[r]||e(t,n))||s[r].slice(0,i)},p=function(e){return $.s(i%12||12,e,"0")},v=f||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(c,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return $.s(t.$y,4,"0");case"M":return o+1;case"MM":return $.s(o+1,2,"0");case"MMM":return h(r.monthsShort,o,d,3);case"MMMM":return h(d,o);case"D":return t.$D;case"DD":return $.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(r.weekdaysMin,t.$W,u,2);case"ddd":return h(r.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(i);case"HH":return $.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return v(i,a,!0);case"A":return v(i,a,!1);case"m":return String(a);case"mm":return $.s(a,2,"0");case"s":return String(t.$s);case"ss":return $.s(t.$s,2,"0");case"SSS":return $.s(t.$ms,3,"0");case"Z":return s}return null}(e)||s.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(e,u,l){var d,c=this,f=$.p(u),h=g(e),p=(h.utcOffset()-this.utcOffset())*6e4,v=this-h,m=function(){return $.m(c,h)};switch(f){case o:d=m()/12;break;case i:d=m();break;case a:d=m()/3;break;case s:d=(v-p)/6048e5;break;case"day":d=(v-p)/864e5;break;case n:d=v/36e5;break;case r:d=v/6e4;break;case t:d=v/1e3;break;default:d=v}return l?d:$.a(d)},h.daysInMonth=function(){return this.endOf(i).$D},h.$locale=function(){return p[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=y(e,t,!0);return n&&(r.$L=n),r},h.clone=function(){return $.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),_=x.prototype;return g.prototype=_,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",o],["$D",u]].forEach(function(e){_[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),g.extend=function(e,t){return e.$i||(e(t,x,g),e.$i=!0),g},g.locale=y,g.isDayjs=m,g.unix=function(e){return g(1e3*e)},g.en=p[h],g.Ls=p,g.p={},g}()},282992,e=>{"use strict";let t=globalThis;t.__ptAgentProviders||(t.__ptAgentProviders=new Map);let r=t.__ptAgentProviders;e.s(["getProvider",0,e=>r.get(e)??null,"getProviderByPanelType",0,e=>{if(!e)return null;for(let t of r.values())if(t.panelType===e)return t;return null},"getProviderByProcessName",0,(e,t)=>{for(let n of r.values())if(n.matchesProcess(e,t))return n;return null},"listProviders",0,()=>Array.from(r.values()),"registerProvider",0,e=>{r.set(e.id,e)}])},843887,e=>{"use strict";var t=e.i(924868),r=e.i(446786),n=e.i(814747);let s=n.default.join(r.default.homedir(),".purplemux","hidden-sessions.json"),i=globalThis,a=(e,t)=>`${e}:${t}`,o=async()=>{try{let e=JSON.parse(await t.default.readFile(s,"utf8"));if(!Array.isArray(e)||!e.every(e=>"string"==typeof e))throw Error("Invalid hidden session history");return new Set(e)}catch(e){if("ENOENT"===e.code)return new Set;throw e}};e.s(["hideSession",0,(e,r)=>{let u=(i.__purplemuxHiddenSessionsLock??Promise.resolve()).then(async()=>{let i=await o(),u=a(e,r);i.has(u)||(i.add(u),await t.default.mkdir(n.default.dirname(s),{recursive:!0}),await t.default.writeFile(`${s}.tmp`,JSON.stringify([...i],null,2),{mode:384}),await t.default.rename(`${s}.tmp`,s))});return i.__purplemuxHiddenSessionsLock=u.catch(()=>{}),u},"readHiddenSessions",0,o,"sessionHistoryKey",0,a])},954429,e=>{"use strict";var t=e.i(926747),r=e.i(190406),n=e.i(244898),s=e.i(262950),i=e.i(825265),a=e.i(322429);let o=async(e,t)=>{if("POST"!==e.method)return t.setHeader("Allow","POST"),t.status(405).json({error:"Method not allowed"});let r=e.query.workspace||await (0,a.getActiveWorkspaceId)();if(!r)return t.status(400).json({error:"No workspace found"});let n=e.query.tabId,s=e.query.paneId,{toPaneId:o,toIndex:u}=e.body??{};if(!o||void 0===u)return t.status(400).json({error:"toPaneId and toIndex required"});let l=await (0,i.moveTabBetweenPanes)(r,n,s,o,u);return l?t.status(200).json(l):t.status(404).json({error:"Target not found"})};e.s(["default",0,o],545174);var u=e.i(545174),l=e.i(7031),d=e.i(181927),c=e.i(846432);let f=(0,s.hoist)(u,"default"),h=(0,s.hoist)(u,"config"),p=new n.PagesAPIRouteModule({definition:{kind:r.RouteKind.PAGES_API,page:"/api/layout/pane/[paneId]/tabs/[tabId]/move",pathname:"/api/layout/pane/[paneId]/tabs/[tabId]/move",bundlePath:"",filename:""},userland:u,distDir:".next",relativeProjectDir:""});async function v(e,r,n){n.requestMeta&&(0,c.setRequestMeta)(e,n.requestMeta),p.isDev&&(0,c.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let s="/api/layout/pane/[paneId]/tabs/[tabId]/move";s=s.replace(/\/index$/,"")||"/";let i=await p.prepare(e,r,{srcPage:s});if(!i){r.statusCode=400,r.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve());return}let{query:a,params:o,prerenderManifest:u,routerServerContext:f}=i;try{let t,n=e.method||"GET",i=(0,l.getTracer)(),c=i.getActiveScopeSpan(),h=!!(null==f?void 0:f.isWrappedByNextServer),v=p.instrumentationOnRequestError.bind(p),m=async l=>p.render(e,r,{query:{...a,...o},params:o,allowedRevalidateHeaderKeys:[],multiZoneDraftMode:!1,trustHostHeader:!1,previewProps:u.preview,propagateError:!1,dev:p.isDev,page:"/api/layout/pane/[paneId]/tabs/[tabId]/move",internalRevalidate:null==f?void 0:f.revalidate,onError:(...t)=>v(e,...t)}).finally(()=>{if(!l)return;l.setAttributes({"http.status_code":r.statusCode,"next.rsc":!1});let e=i.getRootSpanAttributes();if(!e)return;if(e.get("next.span_type")!==d.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${e.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=e.get("next.route");if(a){let e=`${n} ${a}`;l.setAttributes({"next.route":a,"http.route":a,"next.span_name":e}),l.updateName(e),t&&t!==l&&(t.setAttribute("http.route",a),t.updateName(e))}else l.updateName(`${n} ${s}`)});h&&c?await m(c):(t=i.getActiveScopeSpan(),await i.withPropagatedContext(e.headers,()=>i.trace(d.BaseServerSpan.handleRequest,{spanName:`${n} ${s}`,kind:l.SpanKind.SERVER,attributes:{"http.method":n,"http.target":e.url}},m),void 0,!h))}catch(e){if(p.isDev)throw e;(0,t.sendError)(r,500,"Internal Server Error")}finally{null==n.waitUntil||n.waitUntil.call(n,Promise.resolve())}}e.s(["config",0,h,"default",0,f,"handler",0,v],954429)},757186,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_koffi_00.jnkr._.js"].map(t=>e.l(t))).then(()=>t(747431)))},981532,e=>{e.v(e=>Promise.resolve().then(()=>e(322429)))},322522,e=>{e.v(e=>Promise.resolve().then(()=>e(459015)))},245061,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_tab-title_ts_0onatvs._.js"].map(t=>e.l(t))).then(()=>t(785128)))},489335,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_0h.cczv._.js","server/chunks/[root-of-the-server]__0zquag4._.js","server/chunks/[root-of-the-server]__0yyt~7b._.js","server/chunks/src_lib_0bfz8tg._.js","server/chunks/src_lib_providers_codex_0dcne0r._.js","server/chunks/_0~19dm5._.js"].map(t=>e.l(t))).then(()=>t(601043)))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__01u4._8._.js.map
|