@claudiolabs/claudin 1.1.7 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-1.1.9-wkz9sjmc.mjs +1 -0
- package/dist/chunks/App-1.1.9-xgs7khyz.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.9-7gfmxnyz.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.9-pf08j23x.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.9-4ze1tfxe.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.9-ztaz7kpc.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.9-hzpy5qvh.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.9-ajjzhfrp.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.9-m3n0bamd.mjs +7 -0
- package/dist/chunks/Doctor-1.1.9-74y6nka7.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.9-9av1q0k2.mjs +6 -0
- package/dist/chunks/Grove-1.1.9-me7gmbqp.mjs +1 -0
- package/dist/chunks/ITermBackend-1.1.9-776dpey8.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.9-gzyybqqn.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.9-e71y6pr4.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.9-4bkckq3q.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.9-d6c3hrvj.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.9-2dk7z5b6.mjs +1 -0
- package/dist/chunks/REPL-1.1.9-ds8mvm64.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.9-2z1ye829.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.9-68k8x7yf.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.9-anh2z73y.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.9-tedma9q3.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.9-3n1b2vrf.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.9-63awezwe.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.9-msa503cz.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.9-w058z417.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.9-t27aw1nb.mjs +1 -0
- package/dist/chunks/add-dir-1.1.9-dxvbnrfa.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.9-3kevh6af.mjs +1 -0
- package/dist/chunks/agents-1.1.9-eabf2wdc.mjs +3 -0
- package/dist/chunks/agents-1.1.9-nj93ac5m.mjs +110 -0
- package/dist/chunks/api-1.1.9-m1mrnd2p.mjs +1 -0
- package/dist/chunks/asciicast-1.1.9-d0kjtphm.mjs +1 -0
- package/dist/chunks/assistant-1.1.9-e3zkxz2m.mjs +1 -0
- package/dist/chunks/auth-1.1.9-8qm9p05y.mjs +1 -0
- package/dist/chunks/auth-1.1.9-gm4sybx1.mjs +1 -0
- package/dist/chunks/autoMode-1.1.9-p9fppced.mjs +48 -0
- package/dist/chunks/autoUpdater-1.1.9-m6etj2pr.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.9-4hvzygqr.mjs +1 -0
- package/dist/chunks/branch-1.1.9-wqszm8z2.mjs +4 -0
- package/dist/chunks/bridge-1.1.9-h886wtcd.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.9-ehv4dp42.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.9-8qkc9feq.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.9-1sdw2z47.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.9-bvwdykpj.mjs +1 -0
- package/dist/chunks/btw-1.1.9-sm4j5bt8.mjs +1 -0
- package/dist/chunks/buddy-1.1.9-fesnzyh6.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.9-6kzb7z5q.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.9-9j06fcrx.mjs +4 -0
- package/dist/chunks/caches-1.1.9-4g38wyxp.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.9-gd3bgkhe.mjs +1 -0
- package/dist/chunks/claudemd-1.1.9-7xr0h7qv.mjs +1 -0
- package/dist/chunks/clear-1.1.9-nadfsynk.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.9-48k9fftx.mjs +1 -0
- package/dist/chunks/cli-1.1.9-06k8vem7.mjs +3 -0
- package/dist/chunks/cli-1.1.9-0da4szeq.mjs +2 -0
- package/dist/chunks/cli-1.1.9-0dcyhvk3.mjs +2 -0
- package/dist/chunks/cli-1.1.9-0evqvwgb.mjs +2 -0
- package/dist/chunks/cli-1.1.9-0h7f33hw.mjs +66 -0
- package/dist/chunks/cli-1.1.9-0s7kmsaa.mjs +6 -0
- package/dist/chunks/cli-1.1.9-0w9c82qd.mjs +2 -0
- package/dist/chunks/cli-1.1.9-1932rbs7.mjs +2 -0
- package/dist/chunks/cli-1.1.9-1b1mw6v2.mjs +6 -0
- package/dist/chunks/cli-1.1.9-1ganj1qj.mjs +1 -0
- package/dist/chunks/cli-1.1.9-1gg4qe92.mjs +4 -0
- package/dist/chunks/cli-1.1.9-1q40zcz0.mjs +2 -0
- package/dist/chunks/cli-1.1.9-1ydmnrp6.mjs +2 -0
- package/dist/chunks/cli-1.1.9-223enqdr.mjs +2 -0
- package/dist/chunks/cli-1.1.9-22gp283h.mjs +2 -0
- package/dist/chunks/cli-1.1.9-260z6ry3.mjs +3 -0
- package/dist/chunks/cli-1.1.9-2t4pp98q.mjs +133 -0
- package/dist/chunks/cli-1.1.9-2wrs8key.mjs +9 -0
- package/dist/chunks/cli-1.1.9-2zeypqcv.mjs +3 -0
- package/dist/chunks/cli-1.1.9-3ajc04xt.mjs +4 -0
- package/dist/chunks/cli-1.1.9-3mgd7wkd.mjs +20 -0
- package/dist/chunks/cli-1.1.9-3nfhvvzw.mjs +3 -0
- package/dist/chunks/cli-1.1.9-3t9by3gn.mjs +2 -0
- package/dist/chunks/cli-1.1.9-4eqcxefk.mjs +4 -0
- package/dist/chunks/cli-1.1.9-4k5khbp0.mjs +5 -0
- package/dist/chunks/cli-1.1.9-4p8zymhf.mjs +2 -0
- package/dist/chunks/cli-1.1.9-4qctf8p1.mjs +2 -0
- package/dist/chunks/cli-1.1.9-4ygmyvas.mjs +2 -0
- package/dist/chunks/cli-1.1.9-4z0nxn7p.mjs +3 -0
- package/dist/chunks/cli-1.1.9-4z7ddbsc.mjs +3 -0
- package/dist/chunks/cli-1.1.9-573zndr8.mjs +2 -0
- package/dist/chunks/cli-1.1.9-5cr2dpgf.mjs +2 -0
- package/dist/chunks/cli-1.1.9-5hzaexj9.mjs +2 -0
- package/dist/chunks/cli-1.1.9-5v03p4xq.mjs +2 -0
- package/dist/chunks/cli-1.1.9-6a8pdm8s.mjs +2 -0
- package/dist/chunks/cli-1.1.9-6h5nwsn1.mjs +18 -0
- package/dist/chunks/cli-1.1.9-6kcc57kb.mjs +42 -0
- package/dist/chunks/cli-1.1.9-6mwsk9z2.mjs +2 -0
- package/dist/chunks/cli-1.1.9-6sv92w0b.mjs +2 -0
- package/dist/chunks/cli-1.1.9-79wdzxep.mjs +4 -0
- package/dist/chunks/cli-1.1.9-7y42yxmj.mjs +2 -0
- package/dist/chunks/cli-1.1.9-840ckwq8.mjs +2 -0
- package/dist/chunks/cli-1.1.9-890aswmq.mjs +2 -0
- package/dist/chunks/cli-1.1.9-8f0a6ved.mjs +2 -0
- package/dist/chunks/cli-1.1.9-8gkjdbxs.mjs +202 -0
- package/dist/chunks/cli-1.1.9-8gypdqm2.mjs +2 -0
- package/dist/chunks/cli-1.1.9-8sktt26v.mjs +2 -0
- package/dist/chunks/cli-1.1.9-8vfhjyxn.mjs +2 -0
- package/dist/chunks/cli-1.1.9-8xy2498p.mjs +2 -0
- package/dist/chunks/cli-1.1.9-8zhwfv3p.mjs +2 -0
- package/dist/chunks/cli-1.1.9-914mh2gv.mjs +16 -0
- package/dist/chunks/cli-1.1.9-97jvvqrz.mjs +2 -0
- package/dist/chunks/cli-1.1.9-98ypzgj0.mjs +25 -0
- package/dist/chunks/cli-1.1.9-9bqrz8qn.mjs +2 -0
- package/dist/chunks/cli-1.1.9-9f1te59e.mjs +2 -0
- package/dist/chunks/cli-1.1.9-9t7xx2r9.mjs +2 -0
- package/dist/chunks/cli-1.1.9-9yrwnzf6.mjs +2 -0
- package/dist/chunks/cli-1.1.9-a4c57zxm.mjs +21 -0
- package/dist/chunks/cli-1.1.9-a5z84t63.mjs +2 -0
- package/dist/chunks/cli-1.1.9-a6yyaw1d.mjs +2 -0
- package/dist/chunks/cli-1.1.9-a7x6qt7v.mjs +6 -0
- package/dist/chunks/cli-1.1.9-agbzpv77.mjs +2 -0
- package/dist/chunks/cli-1.1.9-ajr585mm.mjs +4 -0
- package/dist/chunks/cli-1.1.9-aqbj20gg.mjs +2 -0
- package/dist/chunks/cli-1.1.9-atdcgnab.mjs +2 -0
- package/dist/chunks/cli-1.1.9-atge24ab.mjs +2 -0
- package/dist/chunks/cli-1.1.9-ax8tkq65.mjs +2 -0
- package/dist/chunks/cli-1.1.9-b353901w.mjs +2 -0
- package/dist/chunks/cli-1.1.9-b3za9cts.mjs +2 -0
- package/dist/chunks/cli-1.1.9-b78c2fws.mjs +8 -0
- package/dist/chunks/cli-1.1.9-b9ykbj6y.mjs +17 -0
- package/dist/chunks/cli-1.1.9-bc22evty.mjs +2 -0
- package/dist/chunks/cli-1.1.9-bftwnbgn.mjs +5390 -0
- package/dist/chunks/cli-1.1.9-bfyz4xjz.mjs +2 -0
- package/dist/chunks/cli-1.1.9-bk3tqt6v.mjs +26 -0
- package/dist/chunks/cli-1.1.9-bwhdpxw6.mjs +12 -0
- package/dist/chunks/cli-1.1.9-c27gt3w1.mjs +2 -0
- package/dist/chunks/cli-1.1.9-c5wsttrd.mjs +2 -0
- package/dist/chunks/cli-1.1.9-c6nqtzv9.mjs +2 -0
- package/dist/chunks/cli-1.1.9-ckr5mgw1.mjs +25 -0
- package/dist/chunks/cli-1.1.9-ct1yqfqn.mjs +2 -0
- package/dist/chunks/cli-1.1.9-cwtcnyyj.mjs +2 -0
- package/dist/chunks/cli-1.1.9-d9wz5g8s.mjs +2 -0
- package/dist/chunks/cli-1.1.9-de902mzz.mjs +2 -0
- package/dist/chunks/cli-1.1.9-dh5213n0.mjs +2 -0
- package/dist/chunks/cli-1.1.9-dxt1d7jm.mjs +2 -0
- package/dist/chunks/cli-1.1.9-e0bejpfk.mjs +2 -0
- package/dist/chunks/cli-1.1.9-e1ak8jhn.mjs +12 -0
- package/dist/chunks/cli-1.1.9-e2ny87k0.mjs +15 -0
- package/dist/chunks/cli-1.1.9-e4jhw8xj.mjs +2 -0
- package/dist/chunks/cli-1.1.9-e5xq1msp.mjs +58 -0
- package/dist/chunks/cli-1.1.9-e6x7cyw4.mjs +2 -0
- package/dist/chunks/cli-1.1.9-egv4z3tf.mjs +2 -0
- package/dist/chunks/cli-1.1.9-ena9w4sg.mjs +24 -0
- package/dist/chunks/cli-1.1.9-etmwe3pd.mjs +2 -0
- package/dist/chunks/cli-1.1.9-ewst4gvt.mjs +2 -0
- package/dist/chunks/cli-1.1.9-ezkc7ag5.mjs +2 -0
- package/dist/chunks/cli-1.1.9-fcqz89mq.mjs +2 -0
- package/dist/chunks/cli-1.1.9-fdzgypr3.mjs +3 -0
- package/dist/chunks/cli-1.1.9-fqk44arm.mjs +45 -0
- package/dist/chunks/cli-1.1.9-frwdaeyw.mjs +2 -0
- package/dist/chunks/cli-1.1.9-fws7k6ak.mjs +2 -0
- package/dist/chunks/cli-1.1.9-fxyfgpjj.mjs +2 -0
- package/dist/chunks/cli-1.1.9-fy9kv0hx.mjs +2 -0
- package/dist/chunks/cli-1.1.9-fygnj03b.mjs +2 -0
- package/dist/chunks/cli-1.1.9-fzh3d8n1.mjs +2 -0
- package/dist/chunks/cli-1.1.9-ga16e8rd.mjs +3 -0
- package/dist/chunks/cli-1.1.9-gbtz45hn.mjs +3 -0
- package/dist/chunks/cli-1.1.9-gmb2wpqf.mjs +2 -0
- package/dist/chunks/cli-1.1.9-gpmbky2h.mjs +2 -0
- package/dist/chunks/cli-1.1.9-grhcdmgm.mjs +2 -0
- package/dist/chunks/cli-1.1.9-gttthtg1.mjs +2 -0
- package/dist/chunks/cli-1.1.9-gv5x5e8a.mjs +2 -0
- package/dist/chunks/cli-1.1.9-h45gam34.mjs +2 -0
- package/dist/chunks/cli-1.1.9-h66p9ghw.mjs +2 -0
- package/dist/chunks/cli-1.1.9-hq4kcpxc.mjs +2 -0
- package/dist/chunks/cli-1.1.9-j1bj4zfy.mjs +2 -0
- package/dist/chunks/cli-1.1.9-jah1vcdm.mjs +2 -0
- package/dist/chunks/cli-1.1.9-jaq6r6ba.mjs +2 -0
- package/dist/chunks/cli-1.1.9-jew2xd4p.mjs +2 -0
- package/dist/chunks/cli-1.1.9-jfyv5vb1.mjs +7 -0
- package/dist/chunks/cli-1.1.9-jmwr69v2.mjs +2 -0
- package/dist/chunks/cli-1.1.9-jn9kh16z.mjs +39 -0
- package/dist/chunks/cli-1.1.9-jqs0ktme.mjs +2 -0
- package/dist/chunks/cli-1.1.9-jqz75k6h.mjs +4 -0
- package/dist/chunks/cli-1.1.9-k0b62q76.mjs +2 -0
- package/dist/chunks/cli-1.1.9-k3tzdef2.mjs +50 -0
- package/dist/chunks/cli-1.1.9-k4gthvh4.mjs +4 -0
- package/dist/chunks/cli-1.1.9-k8kz8k9t.mjs +2 -0
- package/dist/chunks/cli-1.1.9-k9bbqwgs.mjs +2 -0
- package/dist/chunks/cli-1.1.9-kaxffmz4.mjs +2 -0
- package/dist/chunks/cli-1.1.9-kdavw6zm.mjs +2 -0
- package/dist/chunks/cli-1.1.9-kdgc8zvn.mjs +24 -0
- package/dist/chunks/cli-1.1.9-kdpv38ab.mjs +2 -0
- package/dist/chunks/cli-1.1.9-kgtexer1.mjs +2 -0
- package/dist/chunks/cli-1.1.9-khhnt4hq.mjs +2 -0
- package/dist/chunks/cli-1.1.9-khskdxps.mjs +6 -0
- package/dist/chunks/cli-1.1.9-kvk6ba28.mjs +2 -0
- package/dist/chunks/cli-1.1.9-kyn85fwa.mjs +15 -0
- package/dist/chunks/cli-1.1.9-kzqqvms6.mjs +34 -0
- package/dist/chunks/cli-1.1.9-m2x94hxw.mjs +5 -0
- package/dist/chunks/cli-1.1.9-md4ratv1.mjs +4 -0
- package/dist/chunks/cli-1.1.9-mdd84pmt.mjs +2 -0
- package/dist/chunks/cli-1.1.9-mgm6zdpx.mjs +2 -0
- package/dist/chunks/cli-1.1.9-mk4nfh2a.mjs +2 -0
- package/dist/chunks/cli-1.1.9-mp2pqq66.mjs +24 -0
- package/dist/chunks/cli-1.1.9-mt1mshmr.mjs +2 -0
- package/dist/chunks/cli-1.1.9-mw0y14ny.mjs +133 -0
- package/dist/chunks/cli-1.1.9-mz91g55f.mjs +4 -0
- package/dist/chunks/cli-1.1.9-n2qz0enm.mjs +2 -0
- package/dist/chunks/cli-1.1.9-n886v2tr.mjs +2 -0
- package/dist/chunks/cli-1.1.9-nacg7asv.mjs +2 -0
- package/dist/chunks/cli-1.1.9-nadf4arq.mjs +2 -0
- package/dist/chunks/cli-1.1.9-nbdn95s0.mjs +2 -0
- package/dist/chunks/cli-1.1.9-nbtds7y5.mjs +2 -0
- package/dist/chunks/cli-1.1.9-p24jbscq.mjs +2 -0
- package/dist/chunks/cli-1.1.9-pdcfc5y5.mjs +3 -0
- package/dist/chunks/cli-1.1.9-pjfvmwr9.mjs +2 -0
- package/dist/chunks/cli-1.1.9-ppnsbsqg.mjs +2 -0
- package/dist/chunks/cli-1.1.9-pr2kkmf8.mjs +15 -0
- package/dist/chunks/cli-1.1.9-pxbfakmz.mjs +2 -0
- package/dist/chunks/cli-1.1.9-q384fwfa.mjs +2 -0
- package/dist/chunks/cli-1.1.9-qc93tafw.mjs +2 -0
- package/dist/chunks/cli-1.1.9-qr51aqsa.mjs +2 -0
- package/dist/chunks/cli-1.1.9-r5gk3nve.mjs +2 -0
- package/dist/chunks/cli-1.1.9-r7g33857.mjs +2 -0
- package/dist/chunks/cli-1.1.9-r7gng5fx.mjs +2 -0
- package/dist/chunks/cli-1.1.9-rawga9ty.mjs +2 -0
- package/dist/chunks/cli-1.1.9-rh6wjwvg.mjs +2 -0
- package/dist/chunks/cli-1.1.9-rjztj1ez.mjs +9 -0
- package/dist/chunks/cli-1.1.9-rmd68sfp.mjs +2 -0
- package/dist/chunks/cli-1.1.9-rvmgrj4q.mjs +2 -0
- package/dist/chunks/cli-1.1.9-s52npgq0.mjs +2 -0
- package/dist/chunks/cli-1.1.9-s5b8svr6.mjs +3 -0
- package/dist/chunks/cli-1.1.9-sbmesghv.mjs +2 -0
- package/dist/chunks/cli-1.1.9-se5tezpj.mjs +3 -0
- package/dist/chunks/cli-1.1.9-spn11xgr.mjs +2 -0
- package/dist/chunks/cli-1.1.9-sqfgvaz9.mjs +2 -0
- package/dist/chunks/cli-1.1.9-sxsgvz9x.mjs +2 -0
- package/dist/chunks/cli-1.1.9-tcx9qwzz.mjs +18 -0
- package/dist/chunks/cli-1.1.9-tt85wfyx.mjs +2 -0
- package/dist/chunks/cli-1.1.9-txs7wza6.mjs +59 -0
- package/dist/chunks/cli-1.1.9-tze0002b.mjs +4 -0
- package/dist/chunks/cli-1.1.9-v4hh4r8g.mjs +2 -0
- package/dist/chunks/cli-1.1.9-v6dh85e0.mjs +4 -0
- package/dist/chunks/cli-1.1.9-vhsgp7b5.mjs +2 -0
- package/dist/chunks/cli-1.1.9-vmggmsba.mjs +2 -0
- package/dist/chunks/cli-1.1.9-w3xqbxyp.mjs +2 -0
- package/dist/chunks/cli-1.1.9-w462299v.mjs +3 -0
- package/dist/chunks/cli-1.1.9-w4yjadk7.mjs +2 -0
- package/dist/chunks/cli-1.1.9-wg00txsx.mjs +2 -0
- package/dist/chunks/cli-1.1.9-wscqghf9.mjs +2 -0
- package/dist/chunks/cli-1.1.9-wsqhh56s.mjs +2 -0
- package/dist/chunks/cli-1.1.9-wx0fgtgp.mjs +3 -0
- package/dist/chunks/cli-1.1.9-wydc25pa.mjs +2 -0
- package/dist/chunks/cli-1.1.9-x1ame9j0.mjs +2 -0
- package/dist/chunks/cli-1.1.9-x9jz46tx.mjs +2 -0
- package/dist/chunks/cli-1.1.9-xa48sv5y.mjs +6 -0
- package/dist/chunks/cli-1.1.9-xccq68bp.mjs +2 -0
- package/dist/chunks/cli-1.1.9-xmqye6j6.mjs +2 -0
- package/dist/chunks/cli-1.1.9-xn1fx31s.mjs +2 -0
- package/dist/chunks/cli-1.1.9-xxwf95xq.mjs +17 -0
- package/dist/chunks/cli-1.1.9-ygp7jfm9.mjs +2 -0
- package/dist/chunks/cli-1.1.9-ytgc0me8.mjs +2 -0
- package/dist/chunks/cli-1.1.9-yw9403an.mjs +24 -0
- package/dist/chunks/cli-1.1.9-z0wenj5y.mjs +6 -0
- package/dist/chunks/cli-1.1.9-zhyjqy1b.mjs +2 -0
- package/dist/chunks/cli-1.1.9-zp9cpxw5.mjs +12 -0
- package/dist/chunks/cli-1.1.9-zv6e4k6z.mjs +2 -0
- package/dist/chunks/cli-1.1.9-zy71vgyg.mjs +2 -0
- package/dist/chunks/client-1.1.9-ew20apkg.mjs +1 -0
- package/dist/chunks/color-1.1.9-r9fb3e7k.mjs +1 -0
- package/dist/chunks/compact-1.1.9-ea493ntb.mjs +3 -0
- package/dist/chunks/config-1.1.9-6fxf7dj2.mjs +1 -0
- package/dist/chunks/config-1.1.9-snnk2z79.mjs +1 -0
- package/dist/chunks/constants-1.1.9-adx0a3k9.mjs +1 -0
- package/dist/chunks/context-1.1.9-nxs61bmq.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.9-cppfq9pr.mjs +1 -0
- package/dist/chunks/conversation-1.1.9-3x6s0c83.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.9-vvy4jfh7.mjs +1 -0
- package/dist/chunks/copy-1.1.9-sx84nhzr.mjs +9 -0
- package/dist/chunks/cost-1.1.9-msc3677c.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.9-cpa9c11q.mjs +1 -0
- package/dist/chunks/createSession-1.1.9-kapv4jes.mjs +1 -0
- package/dist/chunks/debug-1.1.9-h57648ft.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.9-j6kdarmk.mjs +1526 -0
- package/dist/chunks/desktop-1.1.9-4z5p38ma.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.9-9c8ws2cg.mjs +1 -0
- package/dist/chunks/detection-1.1.9-2vb502cf.mjs +1 -0
- package/dist/chunks/diff-1.1.9-8m7str6k.mjs +1 -0
- package/dist/chunks/doctor-1.1.9-0f6jzgas.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.9-w983dv1c.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.9-c047s7qm.mjs +1 -0
- package/dist/chunks/effort-1.1.9-5qnffzr4.mjs +13 -0
- package/dist/chunks/engine-1.1.9-5jjj151c.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.9-jex25t6e.mjs +1 -0
- package/dist/chunks/envUtils-1.1.9-krdbmbwa.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.9-nbbgerx3.mjs +1 -0
- package/dist/chunks/environments-1.1.9-1t7bdxn2.mjs +1 -0
- package/dist/chunks/errors-1.1.9-e3vc9p8s.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.9-xazstg5e.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.9-c14n54h8.mjs +1 -0
- package/dist/chunks/exit-1.1.9-r4x4th0b.mjs +1 -0
- package/dist/chunks/explorer-1.1.9-wdzp1dsf.mjs +1 -0
- package/dist/chunks/export-1.1.9-0zmn3m1m.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.9-v3cypezj.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.9-1b722pj8.mjs +1 -0
- package/dist/chunks/fast-1.1.9-ys3bnnx1.mjs +1 -0
- package/dist/chunks/feedback-1.1.9-xtbxr07t.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.9-anc9n41n.mjs +1 -0
- package/dist/chunks/git-1.1.9-9dmxfhs7.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.9-tyw52d6k.mjs +1 -0
- package/dist/chunks/goal-1.1.9-64kdsaz8.mjs +4 -0
- package/dist/chunks/grove-1.1.9-feqpprte.mjs +1 -0
- package/dist/chunks/growthbook-1.1.9-5haradn1.mjs +1 -0
- package/dist/chunks/headless-1.1.9-x413dfed.mjs +2 -0
- package/dist/chunks/heapdump-1.1.9-z0mn192y.mjs +6 -0
- package/dist/chunks/help-1.1.9-fsng3h1g.mjs +1 -0
- package/dist/chunks/hookChains-1.1.9-h0b5hx6z.mjs +3 -0
- package/dist/chunks/hooks-1.1.9-gsjxxhxg.mjs +79 -0
- package/dist/chunks/hooks-1.1.9-hhydka88.mjs +1 -0
- package/dist/chunks/ide-1.1.9-ke6a38yk.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.9-0cf7sh4j.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.9-j5vez7jv.mjs +1 -0
- package/dist/chunks/index-1.1.9-1cqvjp5p.mjs +1 -0
- package/dist/chunks/index-1.1.9-1pambxgy.mjs +1 -0
- package/dist/chunks/index-1.1.9-2gb6syse.mjs +1 -0
- package/dist/chunks/index-1.1.9-2sk8q3x9.mjs +30 -0
- package/dist/chunks/index-1.1.9-3wevfp37.mjs +1 -0
- package/dist/chunks/index-1.1.9-3xm5j58t.mjs +1 -0
- package/dist/chunks/index-1.1.9-66dcm0v8.mjs +1 -0
- package/dist/chunks/index-1.1.9-6skqhhzf.mjs +1 -0
- package/dist/chunks/index-1.1.9-97yrmssd.mjs +1 -0
- package/dist/chunks/index-1.1.9-a0nf5r6f.mjs +1 -0
- package/dist/chunks/index-1.1.9-a6c1xz4e.mjs +2 -0
- package/dist/chunks/index-1.1.9-ad1rhnqp.mjs +9 -0
- package/dist/chunks/index-1.1.9-bw0cax5s.mjs +2 -0
- package/dist/chunks/index-1.1.9-h341k1xk.mjs +1 -0
- package/dist/chunks/index-1.1.9-jneayavn.mjs +23 -0
- package/dist/chunks/index-1.1.9-nc3014dy.mjs +1 -0
- package/dist/chunks/index-1.1.9-r1qk4xvr.mjs +1 -0
- package/dist/chunks/index-1.1.9-sfyz5cb7.mjs +9 -0
- package/dist/chunks/index-1.1.9-sg4e7zkb.mjs +5 -0
- package/dist/chunks/index-1.1.9-wkj78xgk.mjs +1 -0
- package/dist/chunks/index-1.1.9-wqjwb4zm.mjs +1 -0
- package/dist/chunks/index-1.1.9-x3yr70wm.mjs +1 -0
- package/dist/chunks/index-1.1.9-yznkq9s3.mjs +1 -0
- package/dist/chunks/init-1.1.9-0pss5n1w.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.9-xn4x74kj.mjs +1 -0
- package/dist/chunks/ink-1.1.9-zwhy78y6.mjs +1 -0
- package/dist/chunks/insights-1.1.9-hgpde32q.mjs +870 -0
- package/dist/chunks/install-1.1.9-34x0hj9y.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.9-9sw6tr8d.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.9-sddcp9xd.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.9-b52jmsm9.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.9-9d7d8js5.mjs +1 -0
- package/dist/chunks/keybindings-1.1.9-8amnba42.mjs +2 -0
- package/dist/chunks/knowledge-1.1.9-kz84fs8v.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.9-d4kwr00h.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.9-smk51q1t.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.9-a8ny49aa.mjs +1 -0
- package/dist/chunks/log-1.1.9-e9py7g1v.mjs +1 -0
- package/dist/chunks/main-1.1.9-vx43js6g.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.9-zdhg1zfw.mjs +1 -0
- package/dist/chunks/mcp-1.1.9-66xztk7e.mjs +4 -0
- package/dist/chunks/mcp-1.1.9-6q4s5vpd.mjs +1 -0
- package/dist/chunks/mcp-1.1.9-sgvnwe73.mjs +17 -0
- package/dist/chunks/mcpb-1.1.9-67ew9jzm.mjs +1 -0
- package/dist/chunks/memory-1.1.9-d580fc8g.mjs +72 -0
- package/dist/chunks/model-1.1.9-n7gjmzqe.mjs +2 -0
- package/dist/chunks/model-1.1.9-r24h6ebx.mjs +1 -0
- package/dist/chunks/node-1.1.9-kx2wx79w.mjs +12 -0
- package/dist/chunks/oauth-1.1.9-mb03cbrk.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.9-7n9g3sj8.mjs +14 -0
- package/dist/chunks/output-style-1.1.9-eb07k735.mjs +1 -0
- package/dist/chunks/package-L37ZVTF4-1.1.9-s5ve90jq.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.9-zdgekp41.mjs +1 -0
- package/dist/chunks/parser-1.1.9-v7w400w6.mjs +1 -0
- package/dist/chunks/passes-1.1.9-eq2gaejx.mjs +1 -0
- package/dist/chunks/permissions-1.1.9-e410dndk.mjs +1 -0
- package/dist/chunks/permissions-1.1.9-qdtk36nc.mjs +3 -0
- package/dist/chunks/plan-1.1.9-fz63v9vy.mjs +1 -0
- package/dist/chunks/plist-1.1.9-vvf1dmeh.mjs +1 -0
- package/dist/chunks/plugin-1.1.9-5wgxw7e5.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.9-wsqp215d.mjs +1 -0
- package/dist/chunks/plugins-1.1.9-gn7vrvsn.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.9-hk5p06zk.mjs +2 -0
- package/dist/chunks/print-1.1.9-ccqx25s0.mjs +57 -0
- package/dist/chunks/privacy-settings-1.1.9-53703vc6.mjs +1 -0
- package/dist/chunks/process-1.1.9-6e5jfgee.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.9-q27mqh31.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.9-pmx45pst.mjs +9 -0
- package/dist/chunks/prompt-1.1.9-2374kg79.mjs +1 -0
- package/dist/chunks/prompt-1.1.9-rmzk76ja.mjs +1 -0
- package/dist/chunks/prompts-1.1.9-vw2cgjmn.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.9-5qy2tmvh.mjs +13 -0
- package/dist/chunks/provider-1.1.9-a55a0767.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.9-0qf6737w.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.9-xy0peh3y.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.9-3mv4vcm2.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.9-xwrrc93y.mjs +34 -0
- package/dist/chunks/registry-1.1.9-nhs76azt.mjs +1 -0
- package/dist/chunks/release-notes-1.1.9-evdvm41n.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.9-nsan544v.mjs +2 -0
- package/dist/chunks/remote-env-1.1.9-wqd0jdhv.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.9-epxhjpaw.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.9-80pvqseg.mjs +1 -0
- package/dist/chunks/rename-1.1.9-t6q4frnz.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.9-fhcz3nmf.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.9-k6bt66pp.mjs +1 -0
- package/dist/chunks/resume-1.1.9-f8pqevkb.mjs +2 -0
- package/dist/chunks/rewind-1.1.9-mqnvjgnw.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.9-hm3xq5ew.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.9-yzzt2wgy.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.9-djbmdqmh.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.9-ca1f9nar.mjs +1 -0
- package/dist/chunks/session-1.1.9-1h4w7jv2.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.9-4xav26hz.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.9-76sy9frv.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.9-054r3b21.mjs +1 -0
- package/dist/chunks/settings-1.1.9-6xnvy3wf.mjs +1 -0
- package/dist/chunks/setup-1.1.9-ryytyyyq.mjs +5 -0
- package/dist/chunks/sinks-1.1.9-1tmn5q67.mjs +1 -0
- package/dist/chunks/skills-1.1.9-21b3ema9.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.9-4cynjbh6.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.9-0zeaaev8.mjs +1 -0
- package/dist/chunks/state-1.1.9-4vnhh3s5.mjs +1 -0
- package/dist/chunks/stats-1.1.9-n37acpyb.mjs +6 -0
- package/dist/chunks/status-1.1.9-e7fgh9na.mjs +1 -0
- package/dist/chunks/stickers-1.1.9-vpzantjb.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.9-qja4apm2.mjs +1 -0
- package/dist/chunks/tasks-1.1.9-xvrvpcpf.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.9-kc45263x.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.9-5jf6f8yz.mjs +1 -0
- package/dist/chunks/teleport-1.1.9-f1mzkj3j.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.9-7xczc9pg.mjs +1 -0
- package/dist/chunks/theme-1.1.9-xnntw39r.mjs +1 -0
- package/dist/chunks/thinkback-1.1.9-2agv1je1.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.9-0f61agae.mjs +1 -0
- package/dist/chunks/toolPool-1.1.9-x4dvej7a.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.9-2n3qz8m6.mjs +1 -0
- package/dist/chunks/tools-1.1.9-2st9wxya.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.9-24j13chh.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.9-6a2bdbmc.mjs +69 -0
- package/dist/chunks/types-1.1.9-hx767c40.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.9-1d65a9qv.mjs +4 -0
- package/dist/chunks/update-1.1.9-2qs71qk6.mjs +72 -0
- package/dist/chunks/upgrade-1.1.9-4m89wfqh.mjs +1 -0
- package/dist/chunks/upload-1.1.9-141vg13j.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.9-1hh4dkwb.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.9-awan17cf.mjs +1 -0
- package/dist/chunks/usage-1.1.9-3e6gg2kg.mjs +1 -0
- package/dist/chunks/util-1.1.9-jy80stt8.mjs +1 -0
- package/dist/chunks/utils-1.1.9-k4q7cea1.mjs +1 -0
- package/dist/chunks/vim-1.1.9-s13xmm4h.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.9-cbww8p0b.mjs +13 -0
- package/dist/chunks/watcher-1.1.9-2mym56cs.mjs +1 -0
- package/dist/chunks/wiki-1.1.9-yyjrhwn4.mjs +132 -0
- package/dist/chunks/workflows-1.1.9-4jccerzk.mjs +1 -0
- package/dist/chunks/worktree-1.1.9-fq2ry5d2.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.9-42k3m5c3.mjs +1 -0
- package/dist/chunks/wrapper-1.1.9-8kjvkg3x.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.7-ta4a3hax.mjs +0 -1
- package/dist/chunks/App-1.1.7-bb5w6zvz.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.7-92afe7m0.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.7-gx3qxf94.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.7-d0as32bc.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.7-etp5s6ps.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.7-9thhg137.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.7-wwv2cgzz.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.7-30wzw849.mjs +0 -7
- package/dist/chunks/Doctor-1.1.7-m040nz42.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.7-xemvy0mx.mjs +0 -6
- package/dist/chunks/Grove-1.1.7-0synn9dr.mjs +0 -1
- package/dist/chunks/ITermBackend-1.1.7-be5cx2dr.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.7-b37xct1d.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.7-89avh225.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.7-1k5yjmhb.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.7-0qnmq973.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.7-h9tf58hn.mjs +0 -1
- package/dist/chunks/REPL-1.1.7-93jsr9mr.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.7-gv6zzztg.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.7-p7e7703c.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.7-p8bxj585.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.7-nz62ycxc.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.7-p5pzbd37.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.7-6wwv8wy2.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.7-cdgerv78.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.7-h6jenc4t.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.7-3xbperzf.mjs +0 -1
- package/dist/chunks/add-dir-1.1.7-e1padvq0.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.7-s8xd8r8v.mjs +0 -1
- package/dist/chunks/agents-1.1.7-a5ngvagv.mjs +0 -3
- package/dist/chunks/agents-1.1.7-c2hzc3gf.mjs +0 -110
- package/dist/chunks/api-1.1.7-fkvjxbac.mjs +0 -1
- package/dist/chunks/asciicast-1.1.7-9j8vqr1m.mjs +0 -1
- package/dist/chunks/assistant-1.1.7-fxfh1k7b.mjs +0 -1
- package/dist/chunks/auth-1.1.7-nrjefdt5.mjs +0 -1
- package/dist/chunks/auth-1.1.7-z48g7tsc.mjs +0 -1
- package/dist/chunks/autoMode-1.1.7-13583dda.mjs +0 -48
- package/dist/chunks/autoUpdater-1.1.7-s5qp83zy.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.7-4nc59aph.mjs +0 -1
- package/dist/chunks/branch-1.1.7-ar2367j0.mjs +0 -4
- package/dist/chunks/bridge-1.1.7-qk1825qz.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.7-dfwv9704.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.7-ergk9b5s.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.7-re0t745d.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.7-pcfmgmj9.mjs +0 -1
- package/dist/chunks/btw-1.1.7-g8g55nje.mjs +0 -1
- package/dist/chunks/buddy-1.1.7-m8tx1e1a.mjs +0 -3
- package/dist/chunks/cacache-1.1.7-5t3nj244.mjs +0 -1
- package/dist/chunks/cache-probe-1.1.7-wk6sr8ma.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.7-3wd7pt08.mjs +0 -4
- package/dist/chunks/caches-1.1.7-rwrwkfmc.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.7-3pkhb5wd.mjs +0 -1
- package/dist/chunks/claudemd-1.1.7-zw1vywa0.mjs +0 -1
- package/dist/chunks/clear-1.1.7-xme70phr.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.7-cjgtkhn0.mjs +0 -1
- package/dist/chunks/cli-1.1.7-00r59ren.mjs +0 -2
- package/dist/chunks/cli-1.1.7-00xwy80x.mjs +0 -2
- package/dist/chunks/cli-1.1.7-07qdmr1e.mjs +0 -15
- package/dist/chunks/cli-1.1.7-0dn48gxn.mjs +0 -2
- package/dist/chunks/cli-1.1.7-0ptzaz8z.mjs +0 -15
- package/dist/chunks/cli-1.1.7-0sbdqb04.mjs +0 -45
- package/dist/chunks/cli-1.1.7-0yczgbvg.mjs +0 -133
- package/dist/chunks/cli-1.1.7-17ye23zw.mjs +0 -2
- package/dist/chunks/cli-1.1.7-1fyag9qs.mjs +0 -18
- package/dist/chunks/cli-1.1.7-1pt67y2k.mjs +0 -2
- package/dist/chunks/cli-1.1.7-1sjzdsvt.mjs +0 -2
- package/dist/chunks/cli-1.1.7-1wwtwdd5.mjs +0 -2
- package/dist/chunks/cli-1.1.7-237ea9et.mjs +0 -2
- package/dist/chunks/cli-1.1.7-247qq37c.mjs +0 -2
- package/dist/chunks/cli-1.1.7-29jtrc18.mjs +0 -6
- package/dist/chunks/cli-1.1.7-2j5f9qsg.mjs +0 -2
- package/dist/chunks/cli-1.1.7-370fzee5.mjs +0 -202
- package/dist/chunks/cli-1.1.7-37vw5n8s.mjs +0 -4
- package/dist/chunks/cli-1.1.7-3c1fz3tj.mjs +0 -3
- package/dist/chunks/cli-1.1.7-3c59vjgs.mjs +0 -3
- package/dist/chunks/cli-1.1.7-3s5h7xwp.mjs +0 -2
- package/dist/chunks/cli-1.1.7-3yd94afn.mjs +0 -2
- package/dist/chunks/cli-1.1.7-45h3r40v.mjs +0 -2
- package/dist/chunks/cli-1.1.7-4jb3802k.mjs +0 -6
- package/dist/chunks/cli-1.1.7-4vn54hra.mjs +0 -2
- package/dist/chunks/cli-1.1.7-4w65nb7a.mjs +0 -2
- package/dist/chunks/cli-1.1.7-53ptk5md.mjs +0 -2
- package/dist/chunks/cli-1.1.7-55sdnwxx.mjs +0 -2
- package/dist/chunks/cli-1.1.7-5a7dx8xv.mjs +0 -67
- package/dist/chunks/cli-1.1.7-5afzqeez.mjs +0 -2
- package/dist/chunks/cli-1.1.7-5hy6nrtz.mjs +0 -2
- package/dist/chunks/cli-1.1.7-5jtj2ksb.mjs +0 -2
- package/dist/chunks/cli-1.1.7-5p7dfxc8.mjs +0 -3
- package/dist/chunks/cli-1.1.7-5xg15za9.mjs +0 -2
- package/dist/chunks/cli-1.1.7-6327xnsa.mjs +0 -16
- package/dist/chunks/cli-1.1.7-6393tfa4.mjs +0 -2
- package/dist/chunks/cli-1.1.7-6k9j331s.mjs +0 -2
- package/dist/chunks/cli-1.1.7-709xp7h3.mjs +0 -2
- package/dist/chunks/cli-1.1.7-70dq06tj.mjs +0 -2
- package/dist/chunks/cli-1.1.7-72scj2da.mjs +0 -2
- package/dist/chunks/cli-1.1.7-77fv8msz.mjs +0 -4
- package/dist/chunks/cli-1.1.7-78k36t0w.mjs +0 -2
- package/dist/chunks/cli-1.1.7-7m4h7kpa.mjs +0 -4
- package/dist/chunks/cli-1.1.7-7ykpgzpd.mjs +0 -2
- package/dist/chunks/cli-1.1.7-7zf1vqxk.mjs +0 -2
- package/dist/chunks/cli-1.1.7-80x28qvs.mjs +0 -50
- package/dist/chunks/cli-1.1.7-89xnqhx8.mjs +0 -2
- package/dist/chunks/cli-1.1.7-8e3qerv0.mjs +0 -59
- package/dist/chunks/cli-1.1.7-8f779vem.mjs +0 -2
- package/dist/chunks/cli-1.1.7-8hfhdq9h.mjs +0 -2
- package/dist/chunks/cli-1.1.7-8ht7sy5z.mjs +0 -2
- package/dist/chunks/cli-1.1.7-8pdn9bvd.mjs +0 -2
- package/dist/chunks/cli-1.1.7-8wevpaq4.mjs +0 -25
- package/dist/chunks/cli-1.1.7-8yk0ktps.mjs +0 -26
- package/dist/chunks/cli-1.1.7-903dbpsw.mjs +0 -2
- package/dist/chunks/cli-1.1.7-91mbg6d2.mjs +0 -2
- package/dist/chunks/cli-1.1.7-9cr42mkf.mjs +0 -2
- package/dist/chunks/cli-1.1.7-9twa1dgn.mjs +0 -2
- package/dist/chunks/cli-1.1.7-9wapsqqm.mjs +0 -2
- package/dist/chunks/cli-1.1.7-a16gq5s9.mjs +0 -2
- package/dist/chunks/cli-1.1.7-a1sffgeq.mjs +0 -2
- package/dist/chunks/cli-1.1.7-a34vkb0g.mjs +0 -2
- package/dist/chunks/cli-1.1.7-a59w1d0k.mjs +0 -3
- package/dist/chunks/cli-1.1.7-a5zb1mk0.mjs +0 -4
- package/dist/chunks/cli-1.1.7-aa0r6myz.mjs +0 -3
- package/dist/chunks/cli-1.1.7-ac6ve6ks.mjs +0 -2
- package/dist/chunks/cli-1.1.7-ah2nkq02.mjs +0 -2
- package/dist/chunks/cli-1.1.7-aq4f719n.mjs +0 -2
- package/dist/chunks/cli-1.1.7-asb7164v.mjs +0 -18
- package/dist/chunks/cli-1.1.7-asnfms2j.mjs +0 -15
- package/dist/chunks/cli-1.1.7-avggtwyk.mjs +0 -2
- package/dist/chunks/cli-1.1.7-avhh3ykn.mjs +0 -2
- package/dist/chunks/cli-1.1.7-avqm93yx.mjs +0 -2
- package/dist/chunks/cli-1.1.7-avsxepp6.mjs +0 -2
- package/dist/chunks/cli-1.1.7-az0v3sy4.mjs +0 -39
- package/dist/chunks/cli-1.1.7-b9n3ev12.mjs +0 -2
- package/dist/chunks/cli-1.1.7-be3bepsr.mjs +0 -2
- package/dist/chunks/cli-1.1.7-bgyeh9f1.mjs +0 -5
- package/dist/chunks/cli-1.1.7-bmf232xq.mjs +0 -2
- package/dist/chunks/cli-1.1.7-bn38catj.mjs +0 -2
- package/dist/chunks/cli-1.1.7-bsg2jwaz.mjs +0 -2
- package/dist/chunks/cli-1.1.7-c1q5d5ds.mjs +0 -2
- package/dist/chunks/cli-1.1.7-c32f3enb.mjs +0 -2
- package/dist/chunks/cli-1.1.7-ca9b0k53.mjs +0 -3
- package/dist/chunks/cli-1.1.7-cfchvspf.mjs +0 -12
- package/dist/chunks/cli-1.1.7-cgcj8thk.mjs +0 -2
- package/dist/chunks/cli-1.1.7-cs5v2rwy.mjs +0 -2
- package/dist/chunks/cli-1.1.7-czrff7za.mjs +0 -3
- package/dist/chunks/cli-1.1.7-d44wcebs.mjs +0 -2
- package/dist/chunks/cli-1.1.7-dax2hwtd.mjs +0 -2
- package/dist/chunks/cli-1.1.7-dc8xhdv8.mjs +0 -4
- package/dist/chunks/cli-1.1.7-dnhbz3wm.mjs +0 -2
- package/dist/chunks/cli-1.1.7-dy1j64nd.mjs +0 -2
- package/dist/chunks/cli-1.1.7-e30xkgx8.mjs +0 -2
- package/dist/chunks/cli-1.1.7-e3ks80fz.mjs +0 -6
- package/dist/chunks/cli-1.1.7-e8rpt6jw.mjs +0 -2
- package/dist/chunks/cli-1.1.7-e9p7j4yw.mjs +0 -2
- package/dist/chunks/cli-1.1.7-esfdh0fz.mjs +0 -4
- package/dist/chunks/cli-1.1.7-eskazk5w.mjs +0 -4
- package/dist/chunks/cli-1.1.7-f0hcstcc.mjs +0 -2
- package/dist/chunks/cli-1.1.7-f47dycnc.mjs +0 -2
- package/dist/chunks/cli-1.1.7-fdmx4e0y.mjs +0 -2
- package/dist/chunks/cli-1.1.7-fh4kn809.mjs +0 -2
- package/dist/chunks/cli-1.1.7-fhatjz8y.mjs +0 -2
- package/dist/chunks/cli-1.1.7-fq766b4m.mjs +0 -2
- package/dist/chunks/cli-1.1.7-ftcsqcsq.mjs +0 -2
- package/dist/chunks/cli-1.1.7-ftxzdrxy.mjs +0 -2
- package/dist/chunks/cli-1.1.7-fzz66s7r.mjs +0 -2
- package/dist/chunks/cli-1.1.7-g69xsadf.mjs +0 -5652
- package/dist/chunks/cli-1.1.7-g84cjr3b.mjs +0 -2
- package/dist/chunks/cli-1.1.7-g9j8sjq1.mjs +0 -2
- package/dist/chunks/cli-1.1.7-gejatr5b.mjs +0 -3
- package/dist/chunks/cli-1.1.7-gjhe5v32.mjs +0 -3
- package/dist/chunks/cli-1.1.7-gm3vnavd.mjs +0 -4
- package/dist/chunks/cli-1.1.7-gsqhqm2p.mjs +0 -2
- package/dist/chunks/cli-1.1.7-gzqe35hp.mjs +0 -2
- package/dist/chunks/cli-1.1.7-h3m2ycf6.mjs +0 -2
- package/dist/chunks/cli-1.1.7-h6bad0y5.mjs +0 -2
- package/dist/chunks/cli-1.1.7-h8bj6vzr.mjs +0 -2
- package/dist/chunks/cli-1.1.7-hht84q9b.mjs +0 -2
- package/dist/chunks/cli-1.1.7-j5s1nhz9.mjs +0 -2
- package/dist/chunks/cli-1.1.7-k0cy37cc.mjs +0 -9
- package/dist/chunks/cli-1.1.7-k69a0vax.mjs +0 -2
- package/dist/chunks/cli-1.1.7-kbdranyx.mjs +0 -2
- package/dist/chunks/cli-1.1.7-m09c3zsc.mjs +0 -1
- package/dist/chunks/cli-1.1.7-m20ny6y6.mjs +0 -2
- package/dist/chunks/cli-1.1.7-m2jc7mts.mjs +0 -2
- package/dist/chunks/cli-1.1.7-m2rq9nq2.mjs +0 -2
- package/dist/chunks/cli-1.1.7-m4c2snne.mjs +0 -42
- package/dist/chunks/cli-1.1.7-m554nr3m.mjs +0 -2
- package/dist/chunks/cli-1.1.7-m7cx26gk.mjs +0 -2
- package/dist/chunks/cli-1.1.7-m7nyg4k2.mjs +0 -2
- package/dist/chunks/cli-1.1.7-m8kaqtm6.mjs +0 -2
- package/dist/chunks/cli-1.1.7-mxwxnfss.mjs +0 -24
- package/dist/chunks/cli-1.1.7-n642xdmn.mjs +0 -2
- package/dist/chunks/cli-1.1.7-n7ne87b1.mjs +0 -8
- package/dist/chunks/cli-1.1.7-natjc2r8.mjs +0 -2
- package/dist/chunks/cli-1.1.7-nay1q35s.mjs +0 -2
- package/dist/chunks/cli-1.1.7-ncn26e96.mjs +0 -2
- package/dist/chunks/cli-1.1.7-nctcfgp0.mjs +0 -2
- package/dist/chunks/cli-1.1.7-ndrf1r31.mjs +0 -2
- package/dist/chunks/cli-1.1.7-nywqmry6.mjs +0 -2
- package/dist/chunks/cli-1.1.7-p3a6cf8x.mjs +0 -2
- package/dist/chunks/cli-1.1.7-pcg3fv2k.mjs +0 -2
- package/dist/chunks/cli-1.1.7-phntwycy.mjs +0 -21
- package/dist/chunks/cli-1.1.7-pm52s8y4.mjs +0 -2
- package/dist/chunks/cli-1.1.7-q5cm825a.mjs +0 -6
- package/dist/chunks/cli-1.1.7-q711j0bm.mjs +0 -2
- package/dist/chunks/cli-1.1.7-qgh6hg9x.mjs +0 -2
- package/dist/chunks/cli-1.1.7-qgj0pn3h.mjs +0 -2
- package/dist/chunks/cli-1.1.7-qrkqafcw.mjs +0 -2
- package/dist/chunks/cli-1.1.7-qztj9jjs.mjs +0 -17
- package/dist/chunks/cli-1.1.7-r4j6e9vx.mjs +0 -2
- package/dist/chunks/cli-1.1.7-r8e45107.mjs +0 -3
- package/dist/chunks/cli-1.1.7-r9bf07me.mjs +0 -9
- package/dist/chunks/cli-1.1.7-rb629pva.mjs +0 -2
- package/dist/chunks/cli-1.1.7-rj70j99r.mjs +0 -4
- package/dist/chunks/cli-1.1.7-rtcac49z.mjs +0 -2
- package/dist/chunks/cli-1.1.7-sf4he5ds.mjs +0 -17
- package/dist/chunks/cli-1.1.7-sj06qxbn.mjs +0 -2
- package/dist/chunks/cli-1.1.7-sqb51kyw.mjs +0 -34
- package/dist/chunks/cli-1.1.7-svmaept7.mjs +0 -2
- package/dist/chunks/cli-1.1.7-svpmye16.mjs +0 -2
- package/dist/chunks/cli-1.1.7-sy3nh37g.mjs +0 -2
- package/dist/chunks/cli-1.1.7-t3vmh9fp.mjs +0 -12
- package/dist/chunks/cli-1.1.7-t4band33.mjs +0 -133
- package/dist/chunks/cli-1.1.7-t7869eaw.mjs +0 -2
- package/dist/chunks/cli-1.1.7-t9k89a7f.mjs +0 -12
- package/dist/chunks/cli-1.1.7-tdw09vfy.mjs +0 -6
- package/dist/chunks/cli-1.1.7-tebqyjfs.mjs +0 -2
- package/dist/chunks/cli-1.1.7-tj4a73gm.mjs +0 -2
- package/dist/chunks/cli-1.1.7-tpjej6bk.mjs +0 -2
- package/dist/chunks/cli-1.1.7-ttgr0wt8.mjs +0 -5
- package/dist/chunks/cli-1.1.7-v90pc090.mjs +0 -2
- package/dist/chunks/cli-1.1.7-v9fzr2wc.mjs +0 -25
- package/dist/chunks/cli-1.1.7-vbkerts0.mjs +0 -58
- package/dist/chunks/cli-1.1.7-veert5hx.mjs +0 -7
- package/dist/chunks/cli-1.1.7-vegzg3sv.mjs +0 -2
- package/dist/chunks/cli-1.1.7-vgnyrdsx.mjs +0 -2
- package/dist/chunks/cli-1.1.7-vhahreqp.mjs +0 -2
- package/dist/chunks/cli-1.1.7-vyxrgqgm.mjs +0 -2
- package/dist/chunks/cli-1.1.7-w7qe5saq.mjs +0 -24
- package/dist/chunks/cli-1.1.7-wczms3t6.mjs +0 -3
- package/dist/chunks/cli-1.1.7-wfpdnn8a.mjs +0 -2
- package/dist/chunks/cli-1.1.7-wnveck2c.mjs +0 -2
- package/dist/chunks/cli-1.1.7-wtb39gjs.mjs +0 -2
- package/dist/chunks/cli-1.1.7-wv4k34jv.mjs +0 -20
- package/dist/chunks/cli-1.1.7-wxge1tea.mjs +0 -24
- package/dist/chunks/cli-1.1.7-x1mh9vnk.mjs +0 -2
- package/dist/chunks/cli-1.1.7-x20kjfvg.mjs +0 -6
- package/dist/chunks/cli-1.1.7-x3bpzsev.mjs +0 -24
- package/dist/chunks/cli-1.1.7-x5gz0q3n.mjs +0 -2
- package/dist/chunks/cli-1.1.7-xbk0ex0w.mjs +0 -2
- package/dist/chunks/cli-1.1.7-xr9v14yb.mjs +0 -2
- package/dist/chunks/cli-1.1.7-xtcz12t9.mjs +0 -3
- package/dist/chunks/cli-1.1.7-xv2n043b.mjs +0 -4
- package/dist/chunks/cli-1.1.7-xzys836y.mjs +0 -2
- package/dist/chunks/cli-1.1.7-yatnaq1h.mjs +0 -2
- package/dist/chunks/cli-1.1.7-ybe5t1at.mjs +0 -2
- package/dist/chunks/cli-1.1.7-yejce50d.mjs +0 -2
- package/dist/chunks/cli-1.1.7-yf8r2p8t.mjs +0 -2
- package/dist/chunks/cli-1.1.7-yvfbn06j.mjs +0 -2
- package/dist/chunks/cli-1.1.7-z10gdn10.mjs +0 -2
- package/dist/chunks/cli-1.1.7-z7aapeb8.mjs +0 -2
- package/dist/chunks/cli-1.1.7-zaz1vdc9.mjs +0 -2
- package/dist/chunks/cli-1.1.7-zcxfemky.mjs +0 -2
- package/dist/chunks/cli-1.1.7-zk6vqjve.mjs +0 -4
- package/dist/chunks/cli-1.1.7-zpr5n1k0.mjs +0 -2
- package/dist/chunks/cli-1.1.7-zxr9h2qd.mjs +0 -2
- package/dist/chunks/client-1.1.7-zsnn57xt.mjs +0 -1
- package/dist/chunks/color-1.1.7-71p1dnta.mjs +0 -1
- package/dist/chunks/compact-1.1.7-e6arr03s.mjs +0 -3
- package/dist/chunks/config-1.1.7-g3d8g7g2.mjs +0 -1
- package/dist/chunks/config-1.1.7-nejamxf1.mjs +0 -1
- package/dist/chunks/constants-1.1.7-454c76bh.mjs +0 -1
- package/dist/chunks/context-1.1.7-p0442d4z.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.7-v71njac2.mjs +0 -1
- package/dist/chunks/conversation-1.1.7-8ywg16g5.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.7-qw0bnew9.mjs +0 -1
- package/dist/chunks/copy-1.1.7-dfdpmxck.mjs +0 -9
- package/dist/chunks/cost-1.1.7-2r3rhrq2.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.7-abvj6vqh.mjs +0 -1
- package/dist/chunks/createSession-1.1.7-a0t9ns7c.mjs +0 -1
- package/dist/chunks/debug-1.1.7-r660pqwp.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.7-79kexp4a.mjs +0 -1446
- package/dist/chunks/desktop-1.1.7-sy4n39yq.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.7-p52dxbn9.mjs +0 -1
- package/dist/chunks/detection-1.1.7-8e2z2aph.mjs +0 -1
- package/dist/chunks/diff-1.1.7-yt5nf8gj.mjs +0 -1
- package/dist/chunks/doctor-1.1.7-emta4vaz.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.7-4tam9mf5.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.7-93ms6qsc.mjs +0 -1
- package/dist/chunks/effort-1.1.7-1fp3rh9f.mjs +0 -13
- package/dist/chunks/engine-1.1.7-yngz7phq.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.7-j2h0sf63.mjs +0 -1
- package/dist/chunks/envUtils-1.1.7-9y71p8yv.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.7-pd11v0zx.mjs +0 -1
- package/dist/chunks/environments-1.1.7-ck5qxyqy.mjs +0 -1
- package/dist/chunks/errors-1.1.7-emnk1qwy.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.7-2ksd03w4.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.7-jqbw02pg.mjs +0 -1
- package/dist/chunks/exit-1.1.7-wpfmrwdn.mjs +0 -1
- package/dist/chunks/explorer-1.1.7-b8tcxb5d.mjs +0 -1
- package/dist/chunks/export-1.1.7-zz79hhsz.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.7-dt936zfb.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.7-shwjbctc.mjs +0 -1
- package/dist/chunks/fast-1.1.7-w7b1aqwk.mjs +0 -1
- package/dist/chunks/feedback-1.1.7-n9j2nr98.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.7-c0a02n4j.mjs +0 -1
- package/dist/chunks/git-1.1.7-9z0c0q3r.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.7-akhn8qhf.mjs +0 -1
- package/dist/chunks/goal-1.1.7-aw2580k9.mjs +0 -4
- package/dist/chunks/grove-1.1.7-kjhhr548.mjs +0 -1
- package/dist/chunks/growthbook-1.1.7-w746wv7x.mjs +0 -1
- package/dist/chunks/headless-1.1.7-y4j0h9z8.mjs +0 -2
- package/dist/chunks/heapdump-1.1.7-rct22hze.mjs +0 -6
- package/dist/chunks/help-1.1.7-y0c2ms52.mjs +0 -1
- package/dist/chunks/hookChains-1.1.7-xzn9ad36.mjs +0 -3
- package/dist/chunks/hooks-1.1.7-emcz8q8s.mjs +0 -79
- package/dist/chunks/hooks-1.1.7-jp0h65wb.mjs +0 -1
- package/dist/chunks/ide-1.1.7-x8w21qd6.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.7-wy6ecw5p.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.7-nw4e83c9.mjs +0 -1
- package/dist/chunks/index-1.1.7-189vzkzr.mjs +0 -1
- package/dist/chunks/index-1.1.7-23d4va8a.mjs +0 -2
- package/dist/chunks/index-1.1.7-36msf70m.mjs +0 -1
- package/dist/chunks/index-1.1.7-6nnrrxjs.mjs +0 -9
- package/dist/chunks/index-1.1.7-78kw401a.mjs +0 -1
- package/dist/chunks/index-1.1.7-9ag3vjcz.mjs +0 -1
- package/dist/chunks/index-1.1.7-abraka41.mjs +0 -1
- package/dist/chunks/index-1.1.7-apb8ray2.mjs +0 -1
- package/dist/chunks/index-1.1.7-b2e78mb7.mjs +0 -1
- package/dist/chunks/index-1.1.7-cxtqz2cx.mjs +0 -1
- package/dist/chunks/index-1.1.7-ep7qax1n.mjs +0 -5
- package/dist/chunks/index-1.1.7-fahb6z70.mjs +0 -1
- package/dist/chunks/index-1.1.7-g7me7k35.mjs +0 -1
- package/dist/chunks/index-1.1.7-gsdssjta.mjs +0 -2
- package/dist/chunks/index-1.1.7-n6c5mp02.mjs +0 -1
- package/dist/chunks/index-1.1.7-ngf7447d.mjs +0 -9
- package/dist/chunks/index-1.1.7-pbdmsdx4.mjs +0 -1
- package/dist/chunks/index-1.1.7-q3560epc.mjs +0 -23
- package/dist/chunks/index-1.1.7-ta1t48pj.mjs +0 -30
- package/dist/chunks/index-1.1.7-vrvbq3pq.mjs +0 -1
- package/dist/chunks/index-1.1.7-w3k1r4fj.mjs +0 -1
- package/dist/chunks/index-1.1.7-w40fc6hp.mjs +0 -1
- package/dist/chunks/index-1.1.7-wrysc35z.mjs +0 -1
- package/dist/chunks/init-1.1.7-35gnmfwk.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.7-tckq0ph3.mjs +0 -1
- package/dist/chunks/ink-1.1.7-00k9mpt1.mjs +0 -1
- package/dist/chunks/insights-1.1.7-0733jret.mjs +0 -870
- package/dist/chunks/install-1.1.7-hm4q4vg3.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.7-td4vg9cd.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.7-wcg8aqqz.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.7-c07a380v.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.7-46866tc9.mjs +0 -1
- package/dist/chunks/keybindings-1.1.7-8bb3ehzd.mjs +0 -2
- package/dist/chunks/knowledge-1.1.7-tvqfhagb.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.7-21sf5wht.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.7-0fsxdwtb.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.7-dme9wkc4.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.7-tn0by9qv.mjs +0 -1
- package/dist/chunks/log-1.1.7-3ry9dq4f.mjs +0 -1
- package/dist/chunks/main-1.1.7-z35y86b1.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.7-hkhdt6m1.mjs +0 -1
- package/dist/chunks/mcp-1.1.7-fhw7q8d8.mjs +0 -4
- package/dist/chunks/mcp-1.1.7-h76xwxj7.mjs +0 -1
- package/dist/chunks/mcp-1.1.7-qxaxb5n8.mjs +0 -17
- package/dist/chunks/mcpb-1.1.7-fh84mmcn.mjs +0 -1
- package/dist/chunks/memory-1.1.7-rja0b4e3.mjs +0 -72
- package/dist/chunks/model-1.1.7-8h1q1vva.mjs +0 -1
- package/dist/chunks/model-1.1.7-qn8a1vgp.mjs +0 -2
- package/dist/chunks/node-1.1.7-br2cm23q.mjs +0 -12
- package/dist/chunks/oauth-1.1.7-xprf6gf8.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.7-xpv4sdj1.mjs +0 -14
- package/dist/chunks/output-style-1.1.7-gwp6rb3c.mjs +0 -1
- package/dist/chunks/package-L37ZVTF4-1.1.7-tv37rpat.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.7-hxb18rh0.mjs +0 -1
- package/dist/chunks/parser-1.1.7-gxryvbxk.mjs +0 -1
- package/dist/chunks/passes-1.1.7-pgn5svgj.mjs +0 -1
- package/dist/chunks/permissions-1.1.7-hgf49z9d.mjs +0 -3
- package/dist/chunks/permissions-1.1.7-vwc3xcnn.mjs +0 -1
- package/dist/chunks/plan-1.1.7-5pd1ezzt.mjs +0 -1
- package/dist/chunks/plist-1.1.7-bgk5tgcz.mjs +0 -1
- package/dist/chunks/plugin-1.1.7-b2da306j.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.7-75pwt0x6.mjs +0 -1
- package/dist/chunks/plugins-1.1.7-wgq2tns5.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.7-9jppavfm.mjs +0 -2
- package/dist/chunks/print-1.1.7-hcpp1psj.mjs +0 -57
- package/dist/chunks/privacy-settings-1.1.7-0rhg1990.mjs +0 -1
- package/dist/chunks/process-1.1.7-sz6mk2ax.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.7-h988ta18.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.7-xj9yd54c.mjs +0 -9
- package/dist/chunks/prompt-1.1.7-9n1828tb.mjs +0 -1
- package/dist/chunks/prompt-1.1.7-xbh39c5a.mjs +0 -1
- package/dist/chunks/prompts-1.1.7-tm2b4n8b.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.7-x5r0fnay.mjs +0 -13
- package/dist/chunks/provider-1.1.7-8nkjfnp7.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.7-3hy3rra6.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.7-wpwhgmgj.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.7-qqwd9f98.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.7-z933969a.mjs +0 -34
- package/dist/chunks/registry-1.1.7-zt717sdd.mjs +0 -1
- package/dist/chunks/release-notes-1.1.7-hkyqmgj0.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.7-90wc1rrg.mjs +0 -2
- package/dist/chunks/remote-env-1.1.7-gyhmvnmb.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.7-kxpxxqbj.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.7-931g1df4.mjs +0 -1
- package/dist/chunks/rename-1.1.7-pdcr2fqc.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.7-wp87p7xp.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.7-7z04w8w8.mjs +0 -1
- package/dist/chunks/resume-1.1.7-8p8bahzg.mjs +0 -2
- package/dist/chunks/rewind-1.1.7-v2ajm3w0.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.7-kj11gm8y.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.7-7d5db3vq.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.7-3waw05qr.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.7-zhrme3nq.mjs +0 -1
- package/dist/chunks/session-1.1.7-b11ew8hv.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.7-3w4gd5vr.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.7-f1ktfmjp.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.7-0qj40f5g.mjs +0 -1
- package/dist/chunks/settings-1.1.7-ayf1fhp5.mjs +0 -1
- package/dist/chunks/setup-1.1.7-r7d17dtz.mjs +0 -5
- package/dist/chunks/sinks-1.1.7-agpm7pdt.mjs +0 -1
- package/dist/chunks/skills-1.1.7-xj1mgj1w.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.7-vy3ha1nb.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.7-m03evcd7.mjs +0 -1
- package/dist/chunks/state-1.1.7-a4z499r3.mjs +0 -1
- package/dist/chunks/stats-1.1.7-jxbtehxs.mjs +0 -6
- package/dist/chunks/status-1.1.7-j7b4zw5r.mjs +0 -1
- package/dist/chunks/stickers-1.1.7-2feaa91e.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.7-7yjfarpg.mjs +0 -1
- package/dist/chunks/tasks-1.1.7-74xbzaa7.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.7-y101nwrn.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.7-h5693rcg.mjs +0 -1
- package/dist/chunks/teleport-1.1.7-yjke98c8.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.7-tq3qth9s.mjs +0 -1
- package/dist/chunks/theme-1.1.7-5n3fsvh8.mjs +0 -1
- package/dist/chunks/thinkback-1.1.7-8wxb9n8q.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.7-rvzk8rt2.mjs +0 -1
- package/dist/chunks/toolPool-1.1.7-s3xnzfs1.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.7-b99evmfg.mjs +0 -1
- package/dist/chunks/tools-1.1.7-1bs5mhnz.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.7-sk8ewavd.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.7-tcj3tmer.mjs +0 -69
- package/dist/chunks/types-1.1.7-dt3wqg7h.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.7-5d0eav8t.mjs +0 -4
- package/dist/chunks/update-1.1.7-cc4860dp.mjs +0 -72
- package/dist/chunks/upgrade-1.1.7-xnqh398m.mjs +0 -1
- package/dist/chunks/upload-1.1.7-e1023tbm.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.7-54yd40wz.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.7-98renjvs.mjs +0 -1
- package/dist/chunks/usage-1.1.7-vr50x59b.mjs +0 -1
- package/dist/chunks/util-1.1.7-07n3bcf9.mjs +0 -1
- package/dist/chunks/utils-1.1.7-2gs8qp9e.mjs +0 -1
- package/dist/chunks/vim-1.1.7-1hdr63bv.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.7-dqnb4ew5.mjs +0 -13
- package/dist/chunks/watcher-1.1.7-0vhx6jqw.mjs +0 -1
- package/dist/chunks/wiki-1.1.7-hbab147s.mjs +0 -132
- package/dist/chunks/workflows-1.1.7-sqc7rhqm.mjs +0 -1
- package/dist/chunks/worktree-1.1.7-bgka176p.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.7-ddyrd6w3.mjs +0 -1
- package/dist/chunks/wrapper-1.1.7-tjp6nrw4.mjs +0 -7
- /package/dist/chunks/{cli-1.1.7-hr9a4wzy.mjs → cli-1.1.9-s66nvzb4.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ara as YJ,Bra as v,Cra as P1,Dra as Y5,Era as w8,Fra as D,Gra as y,Hra as m,Ira as kQ,Jra as L,Kra as a,Lra as n5,Mra as e8,Nra as R5,Ora as _8,Pra as E,Qra as h8,Rra as P,Sra as x1,Tra as d,Ura as xQ,Vra as r,Wra as UQ,Xra as T5,Yra as UY,zra as _Q}from"./cli-1.1.7-kbdranyx.mjs";import{jta as aQ,kta as X}from"./cli-1.1.7-a1sffgeq.mjs";function h$(){this.__data__=new v,this.size=0}var QQ;var $Q=X(()=>{P1();QQ=h$});function n$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var JQ;var YQ=X(()=>{JQ=n$});function b$(Q){return this.__data__.get(Q)}var ZQ;var XQ=X(()=>{ZQ=b$});function i$(Q){return this.__data__.has(Q)}var HQ;var WQ=X(()=>{HQ=i$});function l$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<u$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new r(Z)}return Y.set(Q,J),this.size=Y.size,this}var u$=200,KQ;var GQ=X(()=>{P1();xQ();UQ();KQ=l$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var I1=X(()=>{P1();$Q();YQ();XQ();WQ();GQ();g.prototype.clear=QQ;g.prototype.delete=JQ;g.prototype.get=ZQ;g.prototype.has=HQ;g.prototype.set=KQ;p=g});function c$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",BQ;var NQ=X(()=>{BQ=c$});function r$(Q){return this.__data__.has(Q)}var wQ;var zQ=X(()=>{wQ=r$});function o(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new r;while(++J<Y)this.add(Q[J])}var FQ;var RQ=X(()=>{UQ();NQ();zQ();o.prototype.add=o.prototype.push=BQ;o.prototype.has=wQ;FQ=o});function o$(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var DQ;var qQ=X(()=>{DQ=o$});function s$(Q,J){return Q.has(J)}var OQ;var VQ=X(()=>{OQ=s$});function e$(Q,J,Y,Z,H,W){var x=Y&a$,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,V=Y&t$?new FQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],q=J[z];if(Z)var f=x?Z(q,R,z,J,Q,W):Z(R,q,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!DQ(J,function(C,_){if(!OQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===q||H(R,q,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var a$=1,t$=2,s;var C1=X(()=>{RQ();qQ();VQ();s=e$});var QJ,_1;var MQ=X(()=>{y();QJ=D.Uint8Array,_1=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var LQ;var fQ=X(()=>{LQ=$J});function JJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var PQ;var IQ=X(()=>{PQ=JJ});function RJ(Q,J,Y,Z,H,W,x){switch(Y){case FJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case zJ:if(Q.byteLength!=J.byteLength||!W(new _1(Q),new _1(J)))return!1;return!0;case HJ:case WJ:case KJ:return _Q(+Q,+J);case xJ:return Q.name==J.name&&Q.message==J.message;case GJ:case NJ:return Q==J+"";case UJ:var U=LQ;case BJ:var B=Z&ZJ;if(U||(U=PQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=XJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case wJ:if(k1)return k1.call(Q)==k1.call(J)}return!1}var ZJ=1,XJ=2,HJ="[object Boolean]",WJ="[object Date]",xJ="[object Error]",UJ="[object Map]",KJ="[object Number]",GJ="[object RegExp]",BJ="[object Set]",NJ="[object String]",wJ="[object Symbol]",zJ="[object ArrayBuffer]",FJ="[object DataView]",CQ,k1,EQ;var vQ=X(()=>{kQ();MQ();YJ();C1();fQ();IQ();CQ=m?m.prototype:void 0,k1=CQ?CQ.valueOf:void 0;EQ=RJ});function DJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var dQ;var gQ=X(()=>{dQ=DJ});var qJ,w;var M=X(()=>{qJ=Array.isArray,w=qJ});function OJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:dQ(Z,Y(Q))}var pQ;var yQ=X(()=>{gQ();M();pQ=OJ});function VJ(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var mQ;var SQ=X(()=>{mQ=VJ});function MJ(){return[]}var AQ;var jQ=X(()=>{AQ=MJ});var LJ,fJ,hQ,PJ,nQ;var bQ=X(()=>{SQ();jQ();LJ=Object.prototype,fJ=LJ.propertyIsEnumerable,hQ=Object.getOwnPropertySymbols,PJ=!hQ?AQ:function(Q){if(Q==null)return[];return Q=Object(Q),mQ(hQ(Q),function(J){return fJ.call(Q,J)})},nQ=PJ});function IJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var iQ;var uQ=X(()=>{iQ=IJ});function CJ(Q){return Q!=null&&typeof Q=="object"}var O;var S=X(()=>{O=CJ});function kJ(Q){return O(Q)&&L(Q)==_J}var _J="[object Arguments]",E1;var lQ=X(()=>{a();S();E1=kJ});var TQ,EJ,vJ,dJ,t;var v1=X(()=>{lQ();S();TQ=Object.prototype,EJ=TQ.hasOwnProperty,vJ=TQ.propertyIsEnumerable,dJ=E1(function(){return arguments}())?E1:function(Q){return O(Q)&&EJ.call(Q,"callee")&&!vJ.call(Q,"callee")},t=dJ});function gJ(){return!1}var cQ;var rQ=X(()=>{cQ=gJ});var Q1={};aQ(Q1,{default:()=>A});var tQ,oQ,pJ,sQ,yJ,mJ,A;var d1=X(()=>{y();rQ();tQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,oQ=tQ&&typeof e=="object"&&e&&!e.nodeType&&e,pJ=oQ&&oQ.exports===tQ,sQ=pJ?D.Buffer:void 0,yJ=sQ?sQ.isBuffer:void 0,mJ=yJ||cQ,A=mJ});function jJ(Q,J){var Y=typeof Q;return J=J==null?SJ:J,!!J&&(Y=="number"||Y!="symbol"&&AJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var SJ=9007199254740991,AJ,$1;var g1=X(()=>{AJ=/^(?:0|[1-9]\d*)$/;$1=jJ});function nJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,j;var J1=X(()=>{j=nJ});function B8(Q){return O(Q)&&j(Q.length)&&!!G[L(Q)]}var bJ="[object Arguments]",iJ="[object Array]",uJ="[object Boolean]",lJ="[object Date]",TJ="[object Error]",cJ="[object Function]",rJ="[object Map]",oJ="[object Number]",sJ="[object Object]",aJ="[object RegExp]",tJ="[object Set]",eJ="[object String]",Q8="[object WeakMap]",$8="[object ArrayBuffer]",J8="[object DataView]",Y8="[object Float32Array]",Z8="[object Float64Array]",X8="[object Int8Array]",H8="[object Int16Array]",W8="[object Int32Array]",x8="[object Uint8Array]",U8="[object Uint8ClampedArray]",K8="[object Uint16Array]",G8="[object Uint32Array]",G,eQ;var Q5=X(()=>{a();J1();S();G={};G[Y8]=G[Z8]=G[X8]=G[H8]=G[W8]=G[x8]=G[U8]=G[K8]=G[G8]=!0;G[bJ]=G[iJ]=G[$8]=G[uJ]=G[J8]=G[lJ]=G[TJ]=G[cJ]=G[rJ]=G[oJ]=G[sJ]=G[aJ]=G[tJ]=G[eJ]=G[Q8]=!1;eQ=B8});function N8(Q){return function(J){return Q(J)}}var $5;var J5=X(()=>{$5=N8});var Z1={};aQ(Z1,{default:()=>X1});var Z5,i,z8,p1,F8,X1;var X5=X(()=>{w8();Z5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Z5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,z8=i&&i.exports===Z5,p1=z8&&Y5.process,F8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return p1&&p1.binding&&p1.binding("util")}catch(J){}}(),X1=F8});var H5,R8,H1;var y1=X(()=>{Q5();J5();X5();H5=X1&&X1.isTypedArray,R8=H5?$5(H5):eQ,H1=R8});function O8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?iQ(Q.length,String):[],B=U.length;for(var K in Q)if((J||q8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,B))))U.push(K);return U}var D8,q8,W5;var x5=X(()=>{uQ();v1();M();d1();g1();y1();D8=Object.prototype,q8=D8.hasOwnProperty;W5=O8});function M8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||V8;return Q===Y}var V8,U5;var K5=X(()=>{V8=Object.prototype;U5=M8});function L8(Q,J){return function(Y){return Q(J(Y))}}var G5;var B5=X(()=>{G5=L8});var f8,N5;var w5=X(()=>{B5();f8=G5(Object.keys,Object),N5=f8});function C8(Q){if(!U5(Q))return N5(Q);var J=[];for(var Y in Object(Q))if(I8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var P8,I8,z5;var F5=X(()=>{K5();w5();P8=Object.prototype,I8=P8.hasOwnProperty;z5=C8});function k8(Q){return Q!=null&&j(Q.length)&&!R5(Q)}var D5;var q5=X(()=>{_8();J1();D5=k8});function E8(Q){return D5(Q)?W5(Q):z5(Q)}var W1;var m1=X(()=>{x5();F5();q5();W1=E8});function v8(Q){return pQ(Q,W1,nQ)}var S1;var O5=X(()=>{yQ();bQ();m1();S1=v8});function y8(Q,J,Y,Z,H,W){var x=Y&d8,U=S1(Q),B=U.length,K=S1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:p8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var q=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var C=Q[N],_=J[N];if(Z)var e1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(e1===void 0?C===_||H(C,_,Y,Z,W):e1)){q=!1;break}f||(f=N=="constructor")}if(q&&!f){var T=Q.constructor,c=J.constructor;if(T!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof T=="function"&&T instanceof T&&typeof c=="function"&&c instanceof c))q=!1}return W.delete(Q),W.delete(J),q}var d8=1,g8,p8,V5;var M5=X(()=>{O5();g8=Object.prototype,p8=g8.hasOwnProperty;V5=y8});var m8,U1;var L5=X(()=>{x1();y();m8=P(D,"DataView"),U1=m8});var S8,K1;var f5=X(()=>{x1();y();S8=P(D,"Promise"),K1=S8});var A8,G1;var P5=X(()=>{x1();y();A8=P(D,"Set"),G1=A8});var j8,B1;var I5=X(()=>{x1();y();j8=P(D,"WeakMap"),B1=j8});var C5="[object Map]",n8="[object Object]",_5="[object Promise]",k5="[object Set]",E5="[object WeakMap]",v5="[object DataView]",b8,i8,u8,l8,T8,k,A1;var d5=X(()=>{L5();xQ();f5();P5();I5();a();h8();b8=E(U1),i8=E(d),u8=E(K1),l8=E(G1),T8=E(B1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=v5||d&&k(new d)!=C5||K1&&k(K1.resolve())!=_5||G1&&k(new G1)!=k5||B1&&k(new B1)!=E5)k=function(Q){var J=L(Q),Y=J==n8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case b8:return v5;case i8:return C5;case u8:return _5;case l8:return k5;case T8:return E5}return J};A1=k});function o8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?p5:A1(Q),K=U?p5:A1(J);B=B==g5?N1:B,K=K==g5?N1:K;var F=B==N1,z=K==N1,N=B==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):EQ(Q,J,B,Y,Z,H,W);if(!(Y&c8)){var V=F&&y5.call(Q,"__wrapped__"),R=z&&y5.call(J,"__wrapped__");if(V||R){var q=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(q,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),V5(Q,J,Y,Z,H,W)}var c8=1,g5="[object Arguments]",p5="[object Array]",N1="[object Object]",r8,y5,m5;var S5=X(()=>{I1();C1();vQ();M5();d5();M();d1();y1();r8=Object.prototype,y5=r8.hasOwnProperty;m5=o8});function A5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return m5(Q,J,Y,Z,A5,H)}var w1;var j1=X(()=>{S5();S();w1=A5});function t8(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?w1(F,K,s8|a8,Z,z):N))return!1}}return!0}var s8=1,a8=2,j5;var h5=X(()=>{I1();j1();j5=t8});function QY(Q){return Q===Q&&!n5(Q)}var z1;var h1=X(()=>{e8();z1=QY});function $Y(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var b5;var i5=X(()=>{h1();m1();b5=$Y});function JY(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var n1=X(()=>{F1=JY});function YY(Q){var J=b5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||j5(Y,Q,J)}}var u5;var l5=X(()=>{h5();i5();n1();u5=YY});function XY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==ZY}var ZY="[object Symbol]",h;var R1=X(()=>{a();S();h=XY});function xY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||h(Q))return!0;return WY.test(Q)||!HY.test(Q)||J!=null&&Q in Object(J)}var HY,WY,n;var D1=X(()=>{M();R1();HY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WY=/^\w*$/;n=xY});function GY(Q){var J=T5(Q,function(Z){if(Y.size===KY)Y.clear();return Z}),Y=J.cache;return J}var KY=500,c5;var r5=X(()=>{UY();c5=GY});var BY,NY,wY,o5;var s5=X(()=>{r5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NY=/\\(\\)?/g,wY=c5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(NY,"$1"):Z||Y)}),J}),o5=wY});function zY(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var a5;var t5=X(()=>{a5=zY});function $$(Q){if(typeof Q=="string")return Q;if(w(Q))return a5(Q,$$)+"";if(h(Q))return Q$?Q$.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-FY?"-0":J}var FY=1/0,e5,Q$,J$;var Y$=X(()=>{kQ();t5();M();R1();e5=m?m.prototype:void 0,Q$=e5?e5.toString:void 0;J$=$$});function RY(Q){return Q==null?"":J$(Q)}var Z$;var X$=X(()=>{Y$();Z$=RY});function DY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:o5(Z$(Q))}var q1;var b1=X(()=>{M();D1();s5();X$();q1=DY});function OY(Q){if(typeof Q=="string"||h(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-qY?"-0":J}var qY=1/0,I;var u=X(()=>{R1();I=OY});function VY(Q,J){J=q1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var O1;var i1=X(()=>{b1();u();O1=VY});function MY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var H$;var W$=X(()=>{i1();H$=MY});function LY(Q,J){return Q!=null&&J in Object(Q)}var x$;var U$=X(()=>{x$=LY});function fY(Q,J,Y){J=q1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&j(H)&&$1(x,H)&&(w(Q)||t(Q))}var K$;var G$=X(()=>{b1();v1();M();g1();J1();u();K$=fY});function PY(Q,J){return Q!=null&&K$(Q,J,x$)}var B$;var N$=X(()=>{U$();G$();B$=PY});function _Y(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=H$(Y,Q);return Z===void 0&&Z===J?B$(Y,Q):w1(J,Z,IY|CY)}}var IY=1,CY=2,w$;var z$=X(()=>{j1();W$();N$();D1();h1();n1();u();w$=_Y});function kY(Q){return Q}var F$;var R$=X(()=>{F$=kY});function EY(Q){return function(J){return J==null?void 0:J[Q]}}var D$;var q$=X(()=>{D$=EY});function vY(Q){return function(J){return O1(J,Q)}}var O$;var V$=X(()=>{i1();O$=vY});function dY(Q){return n(Q)?D$(I(Q)):O$(Q)}var M$;var L$=X(()=>{q$();V$();D1();u();M$=dY});function gY(Q){if(typeof Q=="function")return Q;if(Q==null)return F$;if(typeof Q=="object")return w(Q)?w$(Q[0],Q[1]):u5(Q);return M$(Q)}var f$;var P$=X(()=>{l5();z$();R$();M();L$();f$=gY});function pY(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var I$;var C$=X(()=>{I$=pY});function yY(Q,J){return Q&&Q.length?I$(Q,f$(J,2)):0}var b;var _$=X(()=>{P$();C$();b=yY});import{randomUUID as u1}from"crypto";var k$=()=>{};function nX(){return l1}function bX(Q){l1=Q}function iX(Q){return V1.has(Q)?V1.get(Q):void 0}function uX(Q,J){V1.set(Q,J)}function lX(Q){return T1.get(Q)}function TX(Q,J){T1.set(Q,J)}function E$(){l1=null,V1.clear(),T1.clear()}function cX(){return c1}function rX(Q){c1=Q}function oX(){c1=void 0}var l1=null,V1,T1,c1;var v$=X(()=>{V1=new Map;T1=new Map});function d$(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var g$=()=>{};import{realpathSync as p$}from"fs";import{cwd as mY}from"process";function Z9(Q){return r1.add(Q),()=>r1.delete(Q)}function X9(){L1()}function L1(){for(let Q of r1)try{Q()}catch{}}function y$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof p$==="function"){let Y=mY();try{Q=p$(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),activeDurationMs:0,turnActiveSince:null,lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:u1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function H9(){return $.sessionId}function W9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=u1(),$.sessionProjectDir=null,m$($.sessionId),$.sessionId}function x9(){return $.parentSessionId}function U9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,m$(Q)}function m$(Q){$.pendingSessionWakeup=null,jY(),$.sessionEpochMs=Date.now(),o1.emit(Q)}function G9(){return $.sessionProjectDir}function B9(){return $.originalCwd}function N9(){return $.projectRoot}function w9(Q){$.originalCwd=Q.normalize("NFC")}function z9(Q){$.projectRoot=Q.normalize("NFC")}function F9(){return $.cwd}function R9(Q){$.cwd=Q.normalize("NFC")}function D9(){return $.directConnectServerUrl}function q9(Q){$.directConnectServerUrl=Q}function O9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function V9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function M9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function L9(){return $.totalCostUSD}function f9(){return $.totalAPIDuration}function P9(){if($.turnActiveSince==null)$.turnActiveSince=Date.now()}function I9(){if($.turnActiveSince!=null)$.activeDurationMs+=Date.now()-$.turnActiveSince,$.turnActiveSince=null}function C9(){return $.activeDurationMs+($.turnActiveSince!=null?Date.now()-$.turnActiveSince:0)}function _9(){return $.totalAPIDurationWithoutRetries}function k9(){return $.totalToolDuration}function E9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function v9(){return $.turnHookDurationMs}function d9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function g9(){$.turnHookDurationMs=0,$.turnHookCount=0}function p9(){return $.turnHookCount}function y9(){return $.turnToolDurationMs}function m9(){$.turnToolDurationMs=0,$.turnToolCount=0}function S9(){return $.turnToolCount}function A9(){return $.turnClassifierDurationMs}function j9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function h9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function n9(){return $.turnClassifierCount}function b9(){return $.statsStore}function i9(Q){$.statsStore=Q}function u9(Q){if(Q)S$();else s1=!0}function l9(){if(s1)S$()}function S$(){$.lastInteractionTime=Date.now(),s1=!1}function T9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function c9(){return $.totalLinesAdded}function r9(){return $.totalLinesRemoved}function o9(){return b(Object.values($.modelUsage),"inputTokens")}function A$(){return b(Object.values($.modelUsage),"outputTokens")}function s9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function a9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function t9(){return b(Object.values($.modelUsage),"webSearchRequests")}function e9(){return A$()-a1}function QH(){return t1}function $H(Q){a1=A$(),t1=Q,f1=0}function JH(){return f1}function YH(){f1++}function ZH(){$.hasUnknownModelCost=!0}function XH(){return $.hasUnknownModelCost}function HH(){return $.lastMainRequestId}function WH(Q){$.lastMainRequestId=Q}function xH(){return $.lastApiCompletionTimestamp}function UH(Q){$.lastApiCompletionTimestamp=Q}function KH(){$.pendingPostCompaction=!0}function GH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function BH(){return $.lastInteractionTime}function NH(){if(M1=!0,l)clearTimeout(l);l=setTimeout(()=>{M1=!1,l=void 0},j$),l.unref?.()}function wH(){return M1}async function zH(){while(M1)await new Promise((Q)=>setTimeout(Q,j$).unref?.())}function FH(){return $.modelUsage}function RH(Q){return $.modelUsage[Q]}function DH(){return $.mainLoopModelOverride}function qH(){return $.initialMainLoopModel}function OH(Q){$.mainLoopModelOverride=Q}function VH(Q){$.initialMainLoopModel=Q}function MH(){return $.sdkBetas}function LH(Q){$.sdkBetas=Q}function fH(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.activeDurationMs=0,$.turnActiveSince=null,$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function PH({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;$.activeDurationMs=x??0,$.turnActiveSince=null}function IH(){throw Error("resetStateForTests can only be called in tests")}function CH(){return $.modelStrings}function _H(Q){$.modelStrings=Q}function kH(){$.modelStrings=null}function EH(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function vH(){return $.meter}function dH(){return $.sessionCounter}function gH(){return $.locCounter}function pH(){return $.prCounter}function yH(){return $.commitCounter}function mH(){return $.costCounter}function SH(){return $.tokenCounter}function AH(){return $.codeEditToolDecisionCounter}function jH(){return $.activeTimeCounter}function hH(){return $.loggerProvider}function nH(Q){$.loggerProvider=Q}function bH(){return $.eventLogger}function iH(Q){$.eventLogger=Q}function uH(){return $.meterProvider}function lH(Q){$.meterProvider=Q}function TH(){return $.tracerProvider}function cH(Q){$.tracerProvider=Q}function SY(){return!$.isInteractive}function rH(){return $.isInteractive}function oH(Q){$.isInteractive=Q}function sH(){return $.clientType}function aH(Q){$.clientType=Q}function tH(){return $.sdkAgentProgressSummariesEnabled}function eH(Q){$.sdkAgentProgressSummariesEnabled=Q}function Q4(){return $.kairosActive}function $4(Q){$.kairosActive=Q,L1()}function J4(){return $.strictToolResultPairing}function Y4(Q){$.strictToolResultPairing=Q}function Z4(){return $.userMsgOptIn}function X4(Q){$.userMsgOptIn=Q,L1()}function H4(){return $.sessionSource}function W4(Q){$.sessionSource=Q}function x4(){return $.questionPreviewFormat}function U4(Q){$.questionPreviewFormat=Q}function K4(){return $.agentColorMap}function G4(){return $.flagSettingsPath}function B4(Q){$.flagSettingsPath=Q}function N4(){return $.flagSettingsInline}function w4(Q){$.flagSettingsInline=Q}function z4(){return $.sessionIngressToken}function F4(Q){$.sessionIngressToken=Q}function R4(){return $.oauthTokenFromFd}function D4(Q){$.oauthTokenFromFd=Q}function q4(){return $.apiKeyFromFd}function O4(Q){$.apiKeyFromFd=Q}function V4(Q){$.lastAPIRequest=Q}function M4(){return $.lastAPIRequest}function L4(Q){$.lastAPIRequestMessages=Q}function f4(){return $.lastAPIRequestMessages}function P4(Q){$.lastClassifierRequests=Q}function I4(){return $.lastClassifierRequests}function C4(Q){$.cachedClaudeMdContent=Q}function _4(){return $.cachedClaudeMdContent}function k4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function E4(){return $.allowedSettingSources}function v4(Q){$.allowedSettingSources=Q}function d4(){return SY()&&$.clientType!=="claude-vscode"}function g4(Q){$.inlinePlugins=Q}function p4(){return $.inlinePlugins}function y4(Q){$.useCoworkPlugins=Q,E$()}function m4(){return $.useCoworkPlugins}function S4(Q){$.sessionBypassPermissionsMode=Q}function A4(){return $.sessionBypassPermissionsMode}function j4(Q){$.scheduledTasksEnabled=Q}function h4(){return $.scheduledTasksEnabled}function n4(){return $.sessionCronTasks}function b4(Q){$.sessionCronTasks.push(Q)}function i4(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function u4(){return $.pendingSessionWakeup}function l4(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function T4(){$.pendingSessionWakeup=null}function c4(Q){$.sessionTrustAccepted=Q}function r4(){return $.sessionTrustAccepted}function o4(Q){$.sessionPersistenceDisabled=Q}function s4(){return $.sessionPersistenceDisabled}function a4(){return $.hasExitedPlanMode}function t4(Q){$.hasExitedPlanMode=Q}function e4(){return $.needsPlanModeExitAttachment}function Q3(Q){$.needsPlanModeExitAttachment=Q}function $3(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function J3(){return $.needsAutoModeExitAttachment}function Y3(Q){$.needsAutoModeExitAttachment=Q}function Z3(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function X3(Q){$.initJsonSchema=Q}function H3(){return $.initJsonSchema}function W3(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function x3(){return $.registeredHooks}function U3(){$.registeredHooks=null}function K3(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function G3(){$.initJsonSchema=null,$.registeredHooks=null}function B3(){return $.planSlugCache}function N3(){return $.sessionCreatedTeams}function w3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function z3(){return $.teleportedSessionInfo}function F3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function R3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function D3(){return $.invokedSkills}function q3(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function O3(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function V3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function M3(Q,J){}function L3(){return AY}function f3(){return $.mainThreadAgentType}function P3(Q){$.mainThreadAgentType=Q}function I3(){return $.isRemoteMode}function C3(Q){$.isRemoteMode=Q}function _3(){return $.systemPromptSectionCache}function k3(Q,J){$.systemPromptSectionCache.set(Q,J)}function E3(){$.systemPromptSectionCache.clear()}function v3(){return $.lastEmittedDate}function d3(Q){$.lastEmittedDate=Q}function g3(){return $.additionalDirectoriesForClaudeMd}function p3(Q){$.additionalDirectoriesForClaudeMd=Q}function y3(){return $.allowedChannels}function m3(Q){$.allowedChannels=Q,L1()}function S3(){return $.hasDevChannels}function A3(Q){$.hasDevChannels=Q}function j3(){return $.largeSystemPromptDetected}function h3(Q){$.largeSystemPromptDetected=Q}function n3(){return $.afkModeHeaderLatched}function b3(Q){$.afkModeHeaderLatched=Q}function i3(){return $.fastModeHeaderLatched}function u3(Q){$.fastModeHeaderLatched=Q}function l3(){return $.thinkingClearLatched}function T3(Q){$.thinkingClearLatched=Q}function c3(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function r3(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function o3(){return $.deferredDeltaLegacySession}function s3(Q){$.deferredDeltaLegacySession=Q}function jY(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function a3(){return $.sessionEpochMs}function t3(){return $.promptId}function e3(Q){$.promptId=Q}function QW(){return!1}function $W(){return null}var r1,$,o1,K9,s1=!1,a1=0,t1=null,f1=0,M1=!1,l,j$=150,AY;var hY=X(()=>{_$();k$();v$();g$();r1=new Set;$=y$();o1=d$();K9=o1.subscribe;AY=[]});
|
|
2
|
-
export{p as Wla,I1 as Xla,FQ as Yla,RQ as Zla,OQ as _la,VQ as $la,_1 as ama,MQ as bma,PQ as cma,IQ as dma,dQ as ema,gQ as fma,w as gma,M as hma,pQ as ima,yQ as jma,mQ as kma,SQ as lma,AQ as mma,jQ as nma,nQ as oma,bQ as pma,O as qma,S as rma,t as sma,v1 as tma,A as uma,d1 as vma,$1 as wma,g1 as xma,$5 as yma,J5 as zma,X1 as Ama,X5 as Bma,H1 as Cma,y1 as Dma,W5 as Ema,x5 as Fma,U5 as Gma,K5 as Hma,G5 as Ima,B5 as Jma,D5 as Kma,q5 as Lma,W1 as Mma,m1 as Nma,S1 as Oma,O5 as Pma,G1 as Qma,P5 as Rma,A1 as Sma,d5 as Tma,w1 as Uma,j1 as Vma,h as Wma,R1 as Xma,a5 as Yma,t5 as Zma,Z$ as _ma,X$ as $ma,q1 as ana,b1 as bna,I as cna,u as dna,O1 as ena,i1 as fna,F$ as gna,R$ as hna,f$ as ina,P$ as jna,nX as kna,bX as lna,iX as mna,uX as nna,lX as ona,TX as pna,E$ as qna,cX as rna,rX as sna,oX as tna,v$ as una,d$ as vna,g$ as wna,Z9 as xna,X9 as yna,H9 as zna,W9 as Ana,x9 as Bna,U9 as Cna,K9 as Dna,G9 as Ena,B9 as Fna,N9 as Gna,w9 as Hna,z9 as Ina,F9 as Jna,R9 as Kna,D9 as Lna,q9 as Mna,O9 as Nna,V9 as Ona,M9 as Pna,L9 as Qna,f9 as Rna,P9 as Sna,I9 as Tna,C9 as Una,_9 as Vna,k9 as Wna,E9 as Xna,v9 as Yna,d9 as Zna,g9 as _na,p9 as $na,y9 as aoa,m9 as boa,S9 as coa,A9 as doa,j9 as eoa,h9 as foa,n9 as goa,b9 as hoa,i9 as ioa,u9 as joa,l9 as koa,T9 as loa,c9 as moa,r9 as noa,o9 as ooa,A$ as poa,s9 as qoa,a9 as roa,t9 as soa,e9 as toa,QH as uoa,$H as voa,JH as woa,YH as xoa,ZH as yoa,XH as zoa,HH as Aoa,WH as Boa,xH as Coa,UH as Doa,KH as Eoa,GH as Foa,BH as Goa,NH as Hoa,wH as Ioa,zH as Joa,FH as Koa,RH as Loa,DH as Moa,qH as Noa,OH as Ooa,VH as Poa,MH as Qoa,LH as Roa,fH as Soa,PH as Toa,IH as Uoa,CH as Voa,_H as Woa,kH as Xoa,EH as Yoa,vH as Zoa,dH as _oa,gH as $oa,pH as apa,yH as bpa,mH as cpa,SH as dpa,AH as epa,jH as fpa,hH as gpa,nH as hpa,bH as ipa,iH as jpa,uH as kpa,lH as lpa,TH as mpa,cH as npa,SY as opa,rH as ppa,oH as qpa,sH as rpa,aH as spa,tH as tpa,eH as upa,Q4 as vpa,$4 as wpa,J4 as xpa,Y4 as ypa,Z4 as zpa,X4 as Apa,H4 as Bpa,W4 as Cpa,x4 as Dpa,U4 as Epa,K4 as Fpa,G4 as Gpa,B4 as Hpa,N4 as Ipa,w4 as Jpa,z4 as Kpa,F4 as Lpa,R4 as Mpa,D4 as Npa,q4 as Opa,O4 as Ppa,V4 as Qpa,M4 as Rpa,L4 as Spa,f4 as Tpa,P4 as Upa,I4 as Vpa,C4 as Wpa,_4 as Xpa,k4 as Ypa,E4 as Zpa,v4 as _pa,d4 as $pa,g4 as aqa,p4 as bqa,y4 as cqa,m4 as dqa,S4 as eqa,A4 as fqa,j4 as gqa,h4 as hqa,n4 as iqa,b4 as jqa,i4 as kqa,u4 as lqa,l4 as mqa,T4 as nqa,c4 as oqa,r4 as pqa,o4 as qqa,s4 as rqa,a4 as sqa,t4 as tqa,e4 as uqa,Q3 as vqa,$3 as wqa,J3 as xqa,Y3 as yqa,Z3 as zqa,X3 as Aqa,H3 as Bqa,W3 as Cqa,x3 as Dqa,U3 as Eqa,K3 as Fqa,G3 as Gqa,B3 as Hqa,N3 as Iqa,w3 as Jqa,z3 as Kqa,F3 as Lqa,R3 as Mqa,D3 as Nqa,q3 as Oqa,O3 as Pqa,V3 as Qqa,M3 as Rqa,L3 as Sqa,f3 as Tqa,P3 as Uqa,I3 as Vqa,C3 as Wqa,_3 as Xqa,k3 as Yqa,E3 as Zqa,v3 as _qa,d3 as $qa,g3 as ara,p3 as bra,y3 as cra,m3 as dra,S3 as era,A3 as fra,j3 as gra,h3 as hra,n3 as ira,b3 as jra,i3 as kra,u3 as lra,l3 as mra,T3 as nra,c3 as ora,r3 as pra,o3 as qra,s3 as rra,jY as sra,a3 as tra,t3 as ura,e3 as vra,QW as wra,$W as xra,hY as yra};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{kta as C}from"./cli-1.1.7-a1sffgeq.mjs";import E from"node:fs";import G from"node:path";import H from"node:os";function A(){if(q!==void 0)return;try{let b=process.env.CLAUDE_FEATURE_FLAGS_FILE||G.join(H.homedir(),".claudin","feature-flags.json"),j=JSON.parse(E.readFileSync(b,"utf-8"));q=j&&typeof j==="object"&&!Array.isArray(j)?j:null}catch{q=null}}function x(b,j){if(A(),q!=null&&Object.hasOwn(q,b))return q[b];if(Object.hasOwn(z,b))return z[b];return j}function O(){return I}function Q(){return!1}function R(){return A(),q||{}}function S(){return{}}function T(){}function U(){}function W(){return}async function Y(b,j){return x(b,j)}function Z(b,j){return x(b,j)}function $(b,j){return x(b,j)}function v(b){return Boolean(x(b,!1))}async function w(b){return!1}async function P(b){return Boolean(x(b,!1))}function B(){}function D(){q=void 0}async function h(){q=void 0}function N(){}function m(){}async function c(b,j){return x(b,j)}function F(b,j){return x(b,j)}var q=void 0,z,I=()=>{},X=async()=>null;var J=C(()=>{z={tengu_sedge_lantern:!0,tengu_passport_quail:!0,tengu_coral_fern:!0,tengu_bramble_lintel:15,tengu_glacier_2xr:!0}});
|
|
2
|
-
export{O as Qha,Q as Rha,R as Sha,S as Tha,T as Uha,U as Vha,W as Wha,X as Xha,Y as Yha,Z as Zha,$ as _ha,v as $ha,w as aia,P as bia,B as cia,D as dia,h as eia,N as fia,m as gia,c as hia,F as iia,J as jia};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{kta as C}from"./cli-1.1.7-a1sffgeq.mjs";function F(m,q){switch(q.type){case"set_local_jsx":{if(q.generation<m.generation)return m;return{state:{...q.payload,isLocalJSXCommand:!0},generation:m.generation+1,hasLocalJSXActive:!0}}case"clear_local_jsx":return{state:null,generation:m.generation+1,hasLocalJSXActive:!1};case"set_regular":{if(m.hasLocalJSXActive)return m;return{...m,state:q.payload}}case"set_null":{if(m.hasLocalJSXActive)return m;if(m.state===null)return m;return{...m,state:null}}}}var D;var G=C(()=>{D={state:null,generation:0,hasLocalJSXActive:!1}});function L(m){return B=m,()=>{if(B===m)B=null}}function M(m){let q=F(z,m);if(q===z)return;z=q,B?.(q.state)}function N(){return z.generation}var z,B=null;var H=C(()=>{G();z=D});
|
|
2
|
-
export{L as Xi,M as Yi,N as Zi,H as _i};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{T$ as x,b$ as X,f$ as k,x$ as Y}from"./cli-1.1.7-370fzee5.mjs";import{uha as $}from"./cli-1.1.7-xv2n043b.mjs";import{kta as Z}from"./cli-1.1.7-a1sffgeq.mjs";import{stat as I}from"fs/promises";import{join as Q,sep as P}from"path";async function H(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await I(J);return q}catch{return}}var M=Z(()=>{$();k();x()});
|
|
2
|
-
export{H as jb,M as kb};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import{TR as N,cR as L,dR as w,fS as d,mx as B,ox as U}from"./cli-1.1.7-g69xsadf.mjs";import{kba as z,rba as F,vda as P}from"./cli-1.1.7-370fzee5.mjs";import{oha as H,uha as v}from"./cli-1.1.7-xv2n043b.mjs";import{kta as j}from"./cli-1.1.7-a1sffgeq.mjs";async function V(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await V(I);return{type:"text",value:b(O)}}function b(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
|
|
2
|
-
|
|
3
|
-
`;h+=`**Model:** ${Z}
|
|
4
|
-
`,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
|
|
5
|
-
`,h+=`
|
|
6
|
-
`;let _=I.filter((q)=>q.tokens>0&&q.name!=="Free space"&&q.name!=="Autocompact buffer");if(_.length>0){h+=`### Estimated usage by category
|
|
7
|
-
|
|
8
|
-
`,h+=`| Category | Tokens | Percentage |
|
|
9
|
-
`,h+=`|----------|--------|------------|
|
|
10
|
-
`;for(let G of _){let $=(G.tokens/J*100).toFixed(1);h+=`| ${G.name} | ${H(G.tokens)} | ${$}% |
|
|
11
|
-
`}let q=I.find((G)=>G.name==="Free space");if(q&&q.tokens>0){let G=(q.tokens/J*100).toFixed(1);h+=`| Free space | ${H(q.tokens)} | ${G}% |
|
|
12
|
-
`}let E=I.find((G)=>G.name==="Autocompact buffer");if(E&&E.tokens>0){let G=(E.tokens/J*100).toFixed(1);h+=`| Autocompact buffer | ${H(E.tokens)} | ${G}% |
|
|
13
|
-
`}h+=`
|
|
14
|
-
`}if(X.length>0){h+=`### MCP Tools
|
|
15
|
-
|
|
16
|
-
`,h+=`| Tool | Server | Tokens |
|
|
17
|
-
`,h+=`|------|--------|--------|
|
|
18
|
-
`;for(let q of X)h+=`| ${q.name} | ${q.serverName} | ${H(q.tokens)} |
|
|
19
|
-
`;h+=`
|
|
20
|
-
`}if(Q.length>0){h+=`### Custom Agents
|
|
21
|
-
|
|
22
|
-
`,h+=`| Agent Type | Source | Tokens |
|
|
23
|
-
`,h+=`|------------|--------|--------|
|
|
24
|
-
`;for(let q of Q){let E;switch(q.source){case"projectSettings":E="Project";break;case"userSettings":E="User";break;case"localSettings":E="Local";break;case"flagSettings":E="Flag";break;case"policySettings":E="Policy";break;case"plugin":E="Plugin";break;case"built-in":E="Built-in";break;default:E=String(q.source)}h+=`| ${q.agentType} | ${E} | ${H(q.tokens)} |
|
|
25
|
-
`}h+=`
|
|
26
|
-
`}if(W.length>0){h+=`### Memory Files
|
|
27
|
-
|
|
28
|
-
`,h+=`| Type | Path | Tokens |
|
|
29
|
-
`,h+=`|------|------|--------|
|
|
30
|
-
`;for(let q of W)h+=`| ${q.type} | ${q.path} | ${H(q.tokens)} |
|
|
31
|
-
`;h+=`
|
|
32
|
-
`}if(K&&K.tokens>0&&K.skillFrontmatter.length>0){h+=`### Skills
|
|
33
|
-
|
|
34
|
-
`,h+=`| Skill | Source | Tokens |
|
|
35
|
-
`,h+=`|-------|--------|--------|
|
|
36
|
-
`;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
|
|
37
|
-
`;h+=`
|
|
38
|
-
`}return h}var A=j(()=>{U();w();v();d();F();P()});
|
|
39
|
-
export{V as Bh,g as Ch,A as Dh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ri as J,Ti as K,Ui as M}from"./cli-1.1.7-m8kaqtm6.mjs";import{EZ as P,I1 as X}from"./cli-1.1.7-8e3qerv0.mjs";import{r4 as q}from"./cli-1.1.7-1pt67y2k.mjs";import{s4 as N}from"./cli-1.1.7-ac6ve6ks.mjs";import{Yea as H,rfa as Z}from"./cli-1.1.7-370fzee5.mjs";import{uha as Y}from"./cli-1.1.7-xv2n043b.mjs";import{_ja as V}from"./cli-1.1.7-tj4a73gm.mjs";import{gta as z,kta as Q}from"./cli-1.1.7-a1sffgeq.mjs";function B(){let k=J();if(!k||!k.available||k.granted)return!1;return K(k)!==null}function c(){if(!B())return!1;let k=H();if(k.hasVisitedExtraUsage)return!1;if((k.overageCreditUpsellSeenCount??0)>=A)return!1;return!0}var R,y,A=3;var D=Q(()=>{X();V();M();Z();Y();q();R=z(P(),1),y=z(N(),1)});
|
|
2
|
-
export{c as Yg,D as Zg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_ja as f}from"./cli-1.1.7-tj4a73gm.mjs";import{bla as h}from"./cli-1.1.7-4jb3802k.mjs";import{kta as Z}from"./cli-1.1.7-a1sffgeq.mjs";var $=()=>{};var F=Z(()=>{$()});var K;var G=Z(()=>{K=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});var M=Z(()=>{G();$();F();_();O()});var _=Z(()=>{G();$();F();M()});var O=Z(()=>{G();$();F();_();M()});var Sz;var w=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(){}async function oz(z){if(!z||z.length>D)return null;return null}async function dz(z){if(!z||z.length>D)return null;return null}function nz(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&x.has(J.text)?[J.text]:[]}let X=[],V=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!V&&J.type==="word"){V=!0,X.push(J.text);continue}if(v.has(J.type))X.push(l(J.text));else if(m.has(J.type))break}return X}function l(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var D=1e4,x,v,m,pz;var L=Z(()=>{f();h();w();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),m=new Set(["command_substitution","process_substitution"]);pz=Symbol("parse-aborted")});
|
|
2
|
-
export{K as n3,w as o3,kz as p3,oz as q3,pz as r3,dz as s3,nz as t3,L as u3};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{Nb as U}from"./cli-1.1.7-veert5hx.mjs";import{Pt as N,Qt as b}from"./cli-1.1.7-g69xsadf.mjs";import{JW as F,MW as d,NW as _,OW as M,TW as I}from"./cli-1.1.7-yf8r2p8t.mjs";import{f9 as B,i9 as T,p9 as x,q9 as H,v9 as v}from"./cli-1.1.7-t3vmh9fp.mjs";import{Q_ as Z,S_ as P}from"./cli-1.1.7-370fzee5.mjs";import{Xja as O,_ja as D}from"./cli-1.1.7-tj4a73gm.mjs";import{Dka as z,Ika as S,_ka as Y,bla as A}from"./cli-1.1.7-4jb3802k.mjs";import{Lla as L,Vla as f}from"./cli-1.1.7-aq4f719n.mjs";import{Ksa as i,ssa as y}from"./cli-1.1.7-w7qe5saq.mjs";import{lta as k}from"./cli-1.1.7-a1sffgeq.mjs";i();A();P();d();D();b();A();P();f();T();v();I();S();var C=`{"type":"keep_alive"}
|
|
2
|
-
`,u=1000,h=1000,R=30000,w=600000,p=1e4,m=300000,E=R*2,c=new Set([1002,4001,4003]);class W{ws=null;lastSentId=null;url;state="idle";onData;onCloseCallback;onConnectCallback;headers;sessionId;autoReconnect;isBridge;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;lastReconnectAttemptTime=null;lastActivityTime=0;pingInterval=null;pongReceived=!0;keepAliveInterval=null;messageBuffer;isBunWs=!1;connectStartTime=0;refreshHeaders;constructor(J,K={},Q,X,$){this.url=J,this.headers=K,this.sessionId=Q,this.refreshHeaders=X,this.autoReconnect=$?.autoReconnect??!0,this.isBridge=$?.isBridge??!1,this.messageBuffer=new N(u)}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){Y(`WebSocketTransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Z("error","cli_websocket_connect_failed");return}this.state="reconnecting",this.connectStartTime=Date.now(),Y(`WebSocketTransport: Opening ${this.url.href}`),Z("info","cli_websocket_connect_opening");let J={...this.headers};if(this.lastSentId)J["X-Last-Request-Id"]=this.lastSentId,Y(`WebSocketTransport: Adding X-Last-Request-Id header: ${this.lastSentId}`);if(typeof Bun<"u"){let K=new globalThis.WebSocket(this.url.href,{headers:J,proxy:H(this.url.href),tls:B()||void 0});this.ws=K,this.isBunWs=!0,K.addEventListener("open",this.onBunOpen),K.addEventListener("message",this.onBunMessage),K.addEventListener("error",this.onBunError),K.addEventListener("close",this.onBunClose),K.addEventListener("pong",this.onPong)}else{let{default:K}=await import("./wrapper-1.1.7-tjp6nrw4.mjs"),Q=new K(this.url.href,{headers:J,agent:x(this.url.href),...B()});this.ws=Q,this.isBunWs=!1,Q.on("open",this.onNodeOpen),Q.on("message",this.onNodeMessage),Q.on("error",this.onNodeError),Q.on("close",this.onNodeClose),Q.on("pong",this.onPong)}}onBunOpen=()=>{if(this.handleOpenEvent(),this.lastSentId)this.replayBufferedMessages("")};onBunMessage=(J)=>{let K=typeof J.data==="string"?J.data:String(J.data);if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onBunError=()=>{Y("WebSocketTransport: Error",{level:"error"}),Z("error","cli_websocket_connect_error")};onBunClose=(J)=>{let K=J.code===1000||J.code===1001;Y(`WebSocketTransport: Closed: ${J.code}`,K?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J.code)};onNodeOpen=()=>{let J=this.ws;if(this.handleOpenEvent(),!J)return;let Q=J.upgradeReq;if(Q?.headers?.["x-last-request-id"]){let X=Q.headers["x-last-request-id"];this.replayBufferedMessages(X)}};onNodeMessage=(J)=>{let K=J.toString();if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onNodeError=(J)=>{Y(`WebSocketTransport: Error: ${J.message}`,{level:"error"}),Z("error","cli_websocket_connect_error")};onNodeClose=(J,K)=>{let Q=J===1000||J===1001;Y(`WebSocketTransport: Closed: ${J}`,Q?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J)};onPong=()=>{this.pongReceived=!0};handleOpenEvent(){let J=Date.now()-this.connectStartTime;if(Y("WebSocketTransport: Connected"),Z("info","cli_websocket_connect_connected",{duration_ms:J}),this.isBridge&&this.reconnectStartTime!==null)O("tengu_ws_transport_reconnected",{attempts:this.reconnectAttempts,downtimeMs:Date.now()-this.reconnectStartTime});this.reconnectAttempts=0,this.reconnectStartTime=null,this.lastReconnectAttemptTime=null,this.lastActivityTime=Date.now(),this.state="connected",this.onConnectCallback?.(),this.startPingInterval(),this.startKeepaliveInterval(),_(()=>{this.write({type:"keep_alive"})})}sendLine(J){if(!this.ws||this.state!=="connected")return Y("WebSocketTransport: Not connected"),Z("info","cli_websocket_send_not_connected"),!1;try{return this.ws.send(J),this.lastActivityTime=Date.now(),!0}catch(K){return Y(`WebSocketTransport: Failed to send: ${K}`,{level:"error"}),Z("error","cli_websocket_send_error"),this.handleConnectionError(),!1}}removeWsListeners(J){if(this.isBunWs){let K=J;K.removeEventListener("open",this.onBunOpen),K.removeEventListener("message",this.onBunMessage),K.removeEventListener("error",this.onBunError),K.removeEventListener("close",this.onBunClose),K.removeEventListener("pong",this.onPong)}else{let K=J;K.off("open",this.onNodeOpen),K.off("message",this.onNodeMessage),K.off("error",this.onNodeError),K.off("close",this.onNodeClose),K.off("pong",this.onPong)}}doDisconnect(){if(this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.ws)this.removeWsListeners(this.ws),this.ws.close(),this.ws=null}handleConnectionError(J){if(Y(`WebSocketTransport: Disconnected from ${this.url.href}`+(J!=null?` (code ${J})`:"")),Z("info","cli_websocket_disconnected"),this.isBridge)O("tengu_ws_transport_closed",{closeCode:J,msSinceLastActivity:this.lastActivityTime>0?Date.now()-this.lastActivityTime:-1,wasConnected:this.state==="connected",reconnectAttempts:this.reconnectAttempts});if(this.doDisconnect(),this.state==="closing"||this.state==="closed")return;let K=!1;if(J===4003&&this.refreshHeaders){let $=this.refreshHeaders();if($.Authorization!==this.headers.Authorization)Object.assign(this.headers,$),K=!0,Y("WebSocketTransport: 4003 received but headers refreshed, scheduling reconnect"),Z("info","cli_websocket_4003_token_refreshed")}if(J!=null&&c.has(J)&&!K){Y(`WebSocketTransport: Permanent close code ${J}, not reconnecting`,{level:"error"}),Z("error","cli_websocket_permanent_close",{closeCode:J}),this.state="closed",this.onCloseCallback?.(J);return}if(!this.autoReconnect){this.state="closed",this.onCloseCallback?.(J);return}let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;if(this.lastReconnectAttemptTime!==null&&Q-this.lastReconnectAttemptTime>E)Y(`WebSocketTransport: Detected system sleep (${Math.round((Q-this.lastReconnectAttemptTime)/1000)}s gap), resetting reconnection budget`),Z("info","cli_websocket_sleep_detected",{gapMs:Q-this.lastReconnectAttemptTime}),this.reconnectStartTime=Q,this.reconnectAttempts=0;this.lastReconnectAttemptTime=Q;let X=Q-this.reconnectStartTime;if(X<w){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(!K&&this.refreshHeaders){let V=this.refreshHeaders();Object.assign(this.headers,V),Y("WebSocketTransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let $=Math.min(h*Math.pow(2,this.reconnectAttempts-1),R),G=Math.max(0,$+$*0.25*(2*Math.random()-1));if(Y(`WebSocketTransport: Reconnecting in ${Math.round(G)}ms (attempt ${this.reconnectAttempts}, ${Math.round(X/1000)}s elapsed)`),Z("error","cli_websocket_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.isBridge)O("tengu_ws_transport_reconnecting",{attempt:this.reconnectAttempts,elapsedMs:X,delayMs:Math.round(G)});this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},G)}else if(Y(`WebSocketTransport: Reconnection time budget exhausted after ${Math.round(X/1000)}s for ${this.url.href}`,{level:"error"}),Z("error","cli_websocket_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:X}),this.state="closed",this.onCloseCallback)this.onCloseCallback(J)}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.state="closing",this.doDisconnect()}replayBufferedMessages(J){let K=this.messageBuffer.toArray();if(K.length===0)return;let Q=0;if(J){let $=K.findIndex((G)=>("uuid"in G)&&G.uuid===J);if($>=0){Q=$+1;let G=K.slice(Q);if(this.messageBuffer.clear(),this.messageBuffer.addAll(G),G.length===0)this.lastSentId=null;Y(`WebSocketTransport: Evicted ${Q} confirmed messages, ${G.length} remaining`),Z("info","cli_websocket_evicted_confirmed_messages",{evicted:Q,remaining:G.length})}}let X=K.slice(Q);if(X.length===0){Y("WebSocketTransport: No new messages to replay"),Z("info","cli_websocket_no_messages_to_replay");return}Y(`WebSocketTransport: Replaying ${X.length} buffered messages`),Z("info","cli_websocket_messages_to_replay",{count:X.length});for(let $ of X){let G=z($)+`
|
|
3
|
-
`;if(!this.sendLine(G)){this.handleConnectionError();break}}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnConnect(J){this.onConnectCallback=J}setOnClose(J){this.onCloseCallback=J}getStateLabel(){return this.state}async write(J){if("uuid"in J&&typeof J.uuid==="string")this.messageBuffer.add(J),this.lastSentId=J.uuid;let K=z(J)+`
|
|
4
|
-
`;if(this.state!=="connected")return;let Q=this.sessionId?` session=${this.sessionId}`:"",X=this.getControlMessageDetailLabel(J);Y(`WebSocketTransport: Sending message type=${J.type}${Q}${X}`),this.sendLine(K)}getControlMessageDetailLabel(J){if(J.type==="control_request"){let{request_id:K,request:Q}=J,X=Q.subtype==="can_use_tool"?Q.tool_name:"";return` subtype=${Q.subtype} request_id=${K}${X?` tool=${X}`:""}`}if(J.type==="control_response"){let{subtype:K,request_id:Q}=J.response;return` subtype=${K} request_id=${Q}`}return""}startPingInterval(){this.stopPingInterval(),this.pongReceived=!0;let J=Date.now();this.pingInterval=setInterval(()=>{if(this.state==="connected"&&this.ws){let K=Date.now(),Q=K-J;if(J=K,Q>E){Y(`WebSocketTransport: ${Math.round(Q/1000)}s tick gap detected — process was suspended, forcing reconnect`),Z("info","cli_websocket_sleep_detected_on_ping",{gapMs:Q}),this.handleConnectionError();return}if(!this.pongReceived){Y("WebSocketTransport: No pong received, connection appears dead",{level:"error"}),Z("error","cli_websocket_pong_timeout"),this.handleConnectionError();return}this.pongReceived=!1;try{this.ws.ping?.()}catch(X){Y(`WebSocketTransport: Ping failed: ${X}`,{level:"error"}),Z("error","cli_websocket_ping_failed")}}},p)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}startKeepaliveInterval(){if(this.stopKeepaliveInterval(),L(process.env.CLAUDE_CODE_REMOTE))return;this.keepAliveInterval=setInterval(()=>{if(this.state==="connected"&&this.ws)try{this.ws.send(C),this.lastActivityTime=Date.now(),Y("WebSocketTransport: Sent periodic keep_alive data frame")}catch(J){Y(`WebSocketTransport: Periodic keep_alive failed: ${J}`,{level:"error"}),Z("error","cli_websocket_keepalive_failed")}},m)}stopKeepaliveInterval(){if(this.keepAliveInterval)clearInterval(this.keepAliveInterval),this.keepAliveInterval=null}}var g=100,t=15000,l=3000;class n extends W{postUrl;uploader;streamEventBuffer=[];streamEventTimer=null;constructor(J,K={},Q,X,$){super(J,K,Q,X,$);let{maxConsecutiveFailures:G,onBatchDropped:V}=$??{};this.postUrl=r(J),this.uploader=new U({maxBatchSize:500,maxQueueSize:1e5,baseDelayMs:500,maxDelayMs:8000,jitterMs:1000,maxConsecutiveFailures:G,onBatchDropped:(j,q)=>{Z("error","cli_hybrid_batch_dropped_max_failures",{batchSize:j,failures:q}),V?.(j,q)},send:(j)=>this.postOnce(j)}),Y(`HybridTransport: POST URL = ${this.postUrl}`),Z("info","cli_hybrid_transport_initialized")}async write(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>this.flushStreamEvents(),g);return}return await this.uploader.enqueue([...this.takeStreamEvents(),J]),this.uploader.flush()}async writeBatch(J){return await this.uploader.enqueue([...this.takeStreamEvents(),...J]),this.uploader.flush()}get droppedBatchCount(){return this.uploader.droppedBatchCount}flush(){return this.uploader.enqueue(this.takeStreamEvents()),this.uploader.flush()}takeStreamEvents(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;let J=this.streamEventBuffer;return this.streamEventBuffer=[],J}flushStreamEvents(){this.streamEventTimer=null,this.uploader.enqueue(this.takeStreamEvents())}close(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[];let J=this.uploader,K;Promise.race([J.flush(),new Promise((Q)=>{K=setTimeout(Q,l)})]).finally(()=>{clearTimeout(K),J.close()}),super.close()}async postOnce(J){let K=F();if(!K){Y("HybridTransport: No session token available for POST"),Z("warn","cli_hybrid_post_no_token");return}let Q={Authorization:`Bearer ${K}`,"Content-Type":"application/json"},X;try{X=await y.post(this.postUrl,{events:J},{headers:Q,validateStatus:()=>!0,timeout:t})}catch($){throw Y(`HybridTransport: POST error: ${$.message}`),Z("warn","cli_hybrid_post_network_error"),$}if(X.status>=200&&X.status<300){Y(`HybridTransport: POST success count=${J.length}`);return}if(X.status>=400&&X.status<500&&X.status!==429){Y(`HybridTransport: POST returned ${X.status} (permanent), dropping`),Z("warn","cli_hybrid_post_client_error",{status:X.status});return}throw Y(`HybridTransport: POST returned ${X.status} (retryable)`),Z("warn","cli_hybrid_post_retryable_error",{status:X.status}),Error(`POST failed with ${X.status}`)}}function r(J){let K=J.protocol==="wss:"?"https:":"http:",Q=J.pathname;if(Q=Q.replace("/ws/","/session/"),!Q.endsWith("/events"))Q=Q.endsWith("/")?Q+"events":Q+"/events";return`${K}//${J.host}${Q}${J.search}`}
|
|
5
|
-
export{W as Ab,n as Bb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{q_ as Z,u_ as _,v_ as w}from"./cli-1.1.7-pm52s8y4.mjs";import{Daa as k,T$ as T,Vea as W,Yea as V,_aa as D,e$ as Y,f$ as U,q$ as $,rfa as j}from"./cli-1.1.7-370fzee5.mjs";import{_ka as N,bla as M}from"./cli-1.1.7-4jb3802k.mjs";import{Fna as X,yra as O}from"./cli-1.1.7-avggtwyk.mjs";O();j();M();w();D();U();T();import{realpath as v}from"fs/promises";async function b(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await v(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function y(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function c(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
|
|
2
|
-
export{b as lb,y as mb,P as nb,d as ob,c as pb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{UM as C,cN as N,lN as $,mN as k,sN as V}from"./cli-1.1.7-g69xsadf.mjs";import{EZ as P,I1 as D,b1 as f,d1 as t,h1 as v}from"./cli-1.1.7-8e3qerv0.mjs";import{p4 as n,q4 as i,r4 as M}from"./cli-1.1.7-1pt67y2k.mjs";import{gta as w,kta as L}from"./cli-1.1.7-a1sffgeq.mjs";function W(o){let e=b.c(26),{scope:r,parsingErrors:s,warnings:m}=o,a=s.length>0,g=m.length>0;if(!a&&!g)return null;let p;if(e[0]!==a||e[1]!==g)p=(a||g)&&i(t,{color:a?"error":"warning",children:["[",a?"Failed to parse":"Contains warnings","]"," "]}),e[0]=a,e[1]=g,e[2]=p;else p=e[2];let c;if(e[3]!==r)c=k(r),e[3]=r,e[4]=c;else c=e[4];let l;if(e[5]!==c)l=n(t,{children:c}),e[5]=c,e[6]=l;else l=e[6];let u;if(e[7]!==p||e[8]!==l)u=i(f,{children:[p,l]}),e[7]=p,e[8]=l,e[9]=u;else u=e[9];let E;if(e[10]===Symbol.for("react.memo_cache_sentinel"))E=n(t,{dimColor:!0,children:"Location: "}),e[10]=E;else E=e[10];let h;if(e[11]!==r)h=$(r),e[11]=r,e[12]=h;else h=e[12];let d;if(e[13]!==h)d=i(f,{children:[E,n(t,{dimColor:!0,children:h})]}),e[13]=h,e[14]=d;else d=e[14];let T;if(e[15]!==s)T=s.map(F),e[15]=s,e[16]=T;else T=e[16];let _;if(e[17]!==m)_=m.map(x),e[17]=m,e[18]=_;else _=e[18];let y;if(e[19]!==T||e[20]!==_)y=i(f,{marginLeft:1,flexDirection:"column",children:[T,_]}),e[19]=T,e[20]=_,e[21]=y;else y=e[21];let S;if(e[22]!==y||e[23]!==u||e[24]!==d)S=i(f,{flexDirection:"column",marginTop:1,children:[u,d,y]}),e[22]=y,e[23]=u,e[24]=d,e[25]=S;else S=e[25];return S}function x(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"warning",children:"[Warning]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`warning-${e}`)}function F(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"error",children:"[Error]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`error-${e}`)}function J(){let o=b.c(6),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e={scope:"user",config:C("user")},o[0]=e;else e=o[0];let r;if(o[1]===Symbol.for("react.memo_cache_sentinel"))r={scope:"project",config:C("project")},o[1]=r;else r=o[1];let s;if(o[2]===Symbol.for("react.memo_cache_sentinel"))s={scope:"local",config:C("local")},o[2]=s;else s=o[2];let m;if(o[3]===Symbol.for("react.memo_cache_sentinel"))m=[e,r,s,{scope:"enterprise",config:C("enterprise")}],o[3]=m;else m=o[3];let a=m,g=a.some(q),p=a.some(R);if(!g&&!p)return null;let c;if(o[4]===Symbol.for("react.memo_cache_sentinel"))c=n(t,{bold:!0,children:"MCP Config Diagnostics"}),o[4]=c;else c=o[4];let l;if(o[5]===Symbol.for("react.memo_cache_sentinel"))l=i(f,{flexDirection:"column",marginTop:1,marginBottom:1,children:[c,n(f,{marginTop:1,children:i(t,{dimColor:!0,children:["For help configuring MCP servers, see:"," ",n(v,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})]})}),a.map(A)]}),o[5]=l;else l=o[5];return l}function A(o){let{scope:e,config:r}=o;return n(W,{scope:e,parsingErrors:B(r.errors,"fatal"),warnings:B(r.errors,"warning")},e)}function R(o){let{config:e}=o;return B(e.errors,"warning").length>0}function q(o){let{config:e}=o;return B(e.errors,"fatal").length>0}function B(o,e){return o.filter((r)=>r.mcpErrorMetadata?.severity===e)}var b;var z=L(()=>{N();V();D();M();b=w(P(),1)});
|
|
2
|
-
export{J as Dg,z as Eg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{H3 as y,L3 as V}from"./cli-1.1.7-ybe5t1at.mjs";import{Gba as q,Iba as Q,V_ as p,X_ as K}from"./cli-1.1.7-370fzee5.mjs";import{kta as J}from"./cli-1.1.7-a1sffgeq.mjs";function j(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function P(){return W||null}async function w(){return(await p(y,["-V"])).code===0}function E(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function F(){return(await p(Y,["session","list"])).code===0}function G(){b=null,f=null}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{Q();K();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
|
|
2
|
-
export{j as v3,D as w3,P as x3,w as y3,E as z3,Y as A3,F as B3,G as C3,Z as D3};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{kta as B}from"./cli-1.1.7-a1sffgeq.mjs";function F(z){let k=z.trim();if(!k.startsWith("/"))return null;let b=k.slice(1).split(" ");if(!b[0])return null;let j=b[0],l=!1,q=1;if(b.length>1&&b[1]==="(MCP)")j=j+" (MCP)",l=!0,q=2;let A=b.slice(q).join(" ");return{commandName:j,args:A,isMcp:l}}var C=()=>{};
|
|
2
|
-
export{F as $i,C as aj};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{cX as W,hX as p}from"./cli-1.1.7-czrff7za.mjs";import{D2 as H,F2 as P}from"./cli-1.1.7-h6bad0y5.mjs";import{Yha as M,jia as Z}from"./cli-1.1.7-avhh3ykn.mjs";import{aja as q,cja as $,dja as Q,eja as k}from"./cli-1.1.7-5a7dx8xv.mjs";import{kta as Y}from"./cli-1.1.7-a1sffgeq.mjs";async function X(){let x=await M("tengu_bridge_repl_v2_config",K),J=w().safeParse(x);return J.success?J.data:K}async function V(){let x=await X();if(x.min_version&&H("99.0.0",x.min_version))return`Your version of Claudin (99.0.0) is too old for Remote Control.
|
|
2
|
-
Version ${x.min_version} or higher is required. Run \`claudin update\` to update.`;return null}async function b(){if(!W())return!1;return(await X()).should_show_app_upgrade_message}var K,w;var O=Y(()=>{$();Z();k();P();p();K={init_retry_max_attempts:3,init_retry_base_delay_ms:500,init_retry_jitter_fraction:0.25,init_retry_max_delay_ms:4000,http_timeout_ms:1e4,uuid_dedup_buffer_size:2000,heartbeat_interval_ms:20000,heartbeat_jitter_fraction:0.1,token_refresh_buffer_ms:300000,teardown_archive_timeout_ms:1500,connect_timeout_ms:15000,min_version:"0.0.0",should_show_app_upgrade_message:!1},w=Q(()=>q.object({init_retry_max_attempts:q.number().int().min(1).max(10).default(3),init_retry_base_delay_ms:q.number().int().min(100).default(500),init_retry_jitter_fraction:q.number().min(0).max(1).default(0.25),init_retry_max_delay_ms:q.number().int().min(500).default(4000),http_timeout_ms:q.number().int().min(2000).default(1e4),uuid_dedup_buffer_size:q.number().int().min(100).max(50000).default(2000),heartbeat_interval_ms:q.number().int().min(5000).max(30000).default(20000),heartbeat_jitter_fraction:q.number().min(0).max(0.5).default(0.1),token_refresh_buffer_ms:q.number().int().min(30000).max(1800000).default(300000),teardown_archive_timeout_ms:q.number().int().min(500).max(2000).default(1500),connect_timeout_ms:q.number().int().min(5000).max(60000).default(15000),min_version:q.string().refine((x)=>{try{return H(x,"0.0.0"),!0}catch{return!1}}).default("0.0.0"),should_show_app_upgrade_message:q.boolean().default(!1)}))});
|
|
3
|
-
export{K as mc,X as nc,V as oc,b as pc,O as qc};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{AG as Mq,BF as Zq,Zn as E,_n as Uq,bo as r,co as Xq,fo as d,go as Yq,uF as x,vF as s,wF as C,yF as n,yG as o,zF as $}from"./cli-1.1.7-g69xsadf.mjs";import{EZ as Jq,I1 as Qq,b1 as N,d1 as U,h1 as V,x1 as a}from"./cli-1.1.7-8e3qerv0.mjs";import{o4 as u,p4 as J,q4 as X,r4 as g}from"./cli-1.1.7-1pt67y2k.mjs";import{s4 as zq}from"./cli-1.1.7-ac6ve6ks.mjs";import{Xja as w,_ja as qq}from"./cli-1.1.7-tj4a73gm.mjs";import{gta as i,kta as t}from"./cli-1.1.7-a1sffgeq.mjs";function Fq(){let z=f.c(9),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=X(U,{children:["An update to our Consumer Terms and Privacy Policy will take effect on"," ",J(U,{bold:!0,children:"October 8, 2025"}),". You can accept the updated terms today."]}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y,Z;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=J(U,{children:"· "}),Z=J(U,{bold:!0,children:"You can help improve Claude "}),z[2]=Y,z[3]=Z;else Y=z[2],Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(N,{paddingLeft:1,children:X(U,{children:[Y,Z,X(U,{children:["— Allow the use of your chats and coding sessions to train and improve Anthropic AI models. Change anytime in your Privacy Settings (",J(V,{url:"https://claude.ai/settings/data-privacy-controls"}),")."]})]})}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=X(N,{flexDirection:"column",children:[F,W,J(N,{paddingLeft:1,children:X(U,{children:[J(U,{children:"· "}),J(U,{bold:!0,children:"Updates to data retention "}),J(U,{children:"— To help us improve our AI models and safety protections, we're extending data retention to 5 years."})]})})]}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[6]=Q;else Q=z[6];let H;if(z[7]===Symbol.for("react.memo_cache_sentinel"))H=J(V,{url:"https://anthropic.com/legal/terms"}),z[7]=H;else H=z[7];let O;if(z[8]===Symbol.for("react.memo_cache_sentinel"))O=X(u,{children:[q,P,X(U,{children:["Learn more (",Q,") or read the updated Consumer Terms (",H,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[8]=O;else O=z[8];return O}function Nq(){let z=f.c(7),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=J(U,{children:"We've updated our Consumer Terms and Privacy Policy."}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Help improve Claude"}),J(U,{children:"Allow the use of your chats and coding sessions to train and improve Anthropic AI models. You can change this anytime in Privacy Settings"}),J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),z[2]=Y;else Y=z[2];let Z;if(z[3]===Symbol.for("react.memo_cache_sentinel"))Z=X(N,{flexDirection:"column",gap:1,children:[F,Y,X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"How this affects data retention"}),J(U,{children:"Turning ON the improve Claude setting extends data retention from 30 days to 5 years. Turning it OFF keeps the default 30-day data retention. Delete data anytime."})]})]}),z[3]=Z;else Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=J(V,{url:"https://anthropic.com/legal/terms"}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=X(u,{children:[q,Z,X(U,{children:["Learn more (",W,") or read the updated Consumer Terms (",P,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[6]=Q;else Q=z[6];return Q}function kq(z){let q=f.c(34),{showIfAlreadyViewed:F,location:Y,onDone:Z}=z,[W,P]=_.useState(null),[Q,H]=_.useState(null),O,R;if(q[0]!==Y||q[1]!==Z||q[2]!==F)O=()=>{(async function(){let[e,c]=await Promise.all([x(),n()]),j=c.success?c.data:null;H(j);let l=$(e,c,F);if(P(l),!l){Z("skip_rendering");return}s(),w("tengu_grove_policy_viewed",{location:Y,dismissable:j?.notice_is_grace_period})})()},R=[F,Y,Z],q[0]=Y,q[1]=Z,q[2]=F,q[3]=O,q[4]=R;else O=q[3],R=q[4];if(_.useEffect(O,R),W===null)return null;if(!W)return null;let K;if(q[5]!==Q?.notice_is_grace_period||q[6]!==Z)K=async function(v){q:switch(v){case"accept_opt_in":{await C(!0),w("tengu_grove_policy_submitted",{state:!0,dismissable:Q?.notice_is_grace_period});break q}case"accept_opt_out":{await C(!1),w("tengu_grove_policy_submitted",{state:!1,dismissable:Q?.notice_is_grace_period});break q}case"defer":{w("tengu_grove_policy_dismissed",{state:!0});break q}case"escape":w("tengu_grove_policy_escaped",{})}Z(v)},q[5]=Q?.notice_is_grace_period,q[6]=Z,q[7]=K;else K=q[7];let A=K,L;if(q[8]!==Q?.domain_excluded)L=Q?.domain_excluded?[{label:"Accept terms · Help improve Claude: OFF (for emails with your domain)",value:"accept_opt_out"}]:[{label:"Accept terms · Help improve Claude: ON",value:"accept_opt_in"},{label:"Accept terms · Help improve Claude: OFF",value:"accept_opt_out"}],q[8]=Q?.domain_excluded,q[9]=L;else L=q[9];let I=L,G;if(q[10]!==Q?.notice_is_grace_period||q[11]!==A)G=function(){if(Q?.notice_is_grace_period){A("defer");return}A("escape")},q[10]=Q?.notice_is_grace_period,q[11]=A,q[12]=G;else G=q[12];let M=G,k;if(q[13]!==Q?.notice_is_grace_period)k=J(N,{flexDirection:"column",gap:1,flexGrow:1,children:Q?.notice_is_grace_period?J(Fq,{}):J(Nq,{})}),q[13]=Q?.notice_is_grace_period,q[14]=k;else k=q[14];let D;if(q[15]===Symbol.for("react.memo_cache_sentinel"))D=J(N,{flexShrink:0,children:J(U,{color:"professionalBlue",children:Wq})}),q[15]=D;else D=q[15];let B;if(q[16]!==k)B=X(N,{flexDirection:"row",children:[k,D]}),q[16]=k,q[17]=B;else B=q[17];let T;if(q[18]===Symbol.for("react.memo_cache_sentinel"))T=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Please select how you'd like to continue"}),J(U,{children:"Your choice takes effect immediately upon confirmation."})]}),q[18]=T;else T=q[18];let b;if(q[19]!==Q?.notice_is_grace_period)b=Q?.notice_is_grace_period?[{label:"Not now",value:"defer"}]:[],q[19]=Q?.notice_is_grace_period,q[20]=b;else b=q[20];let m;if(q[21]!==I||q[22]!==b)m=[...I,...b],q[21]=I,q[22]=b,q[23]=m;else m=q[23];let p;if(q[24]!==A)p=(h)=>A(h),q[24]=A,q[25]=p;else p=q[25];let y;if(q[26]!==M||q[27]!==m||q[28]!==p)y=X(N,{flexDirection:"column",gap:1,children:[T,J(o,{options:m,onChange:p,onCancel:M})]}),q[26]=M,q[27]=m,q[28]=p,q[29]=y;else y=q[29];let S;if(q[30]!==M||q[31]!==y||q[32]!==B)S=X(d,{title:"Updates to Consumer Terms and Policies",color:"professionalBlue",onCancel:M,inputGuide:Oq,children:[B,y]}),q[30]=M,q[31]=y,q[32]=B,q[33]=S;else S=q[33];return S}function Oq(z){return z.pending?X(U,{children:["Press ",z.keyName," again to exit"]}):X(r,{children:[J(E,{shortcut:"Enter",action:"confirm"}),J(E,{shortcut:"Esc",action:"cancel"})]})}function _q(z){let q=f.c(17),{settings:F,domainExcluded:Y,onDone:Z}=z,[W,P]=_.useState(F.grove_enabled),Q;if(q[0]===Symbol.for("react.memo_cache_sentinel"))Q=[],q[0]=Q;else Q=q[0];_.default.useEffect(Pq,Q);let H;if(q[1]!==Y||q[2]!==W)H=async(M,k)=>{if(!Y&&(k.tab||k.return||M===" ")){let D=!W;P(D),await C(D)}},q[1]=Y,q[2]=W,q[3]=H;else H=q[3];a(H);let O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=J(U,{color:"error",children:"false"}),q[4]=O;else O=q[4];let R=O;if(Y){let M;if(q[5]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"error",children:"false (for emails with your domain)"}),q[5]=M;else M=q[5];R=M}else if(W){let M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"success",children:"true"}),q[6]=M;else M=q[6];R=M}let K;if(q[7]!==Y)K=(M)=>M.pending?X(U,{children:["Press ",M.keyName," again to exit"]}):Y?J(E,{shortcut:"Esc",action:"cancel"}):X(r,{children:[J(E,{shortcut:"Enter/Tab/Space",action:"toggle"}),J(E,{shortcut:"Esc",action:"cancel"})]}),q[7]=Y,q[8]=K;else K=q[8];let A;if(q[9]===Symbol.for("react.memo_cache_sentinel"))A=X(U,{children:["Review and manage your privacy settings at"," ",J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),q[9]=A;else A=q[9];let L;if(q[10]===Symbol.for("react.memo_cache_sentinel"))L=J(N,{width:44,children:J(U,{bold:!0,children:"Help improve Claude"})}),q[10]=L;else L=q[10];let I;if(q[11]!==R)I=X(N,{children:[L,J(N,{children:R})]}),q[11]=R,q[12]=I;else I=q[12];let G;if(q[13]!==Z||q[14]!==K||q[15]!==I)G=X(d,{title:"Data Privacy",color:"professionalBlue",onCancel:Z,inputGuide:K,children:[A,I]}),q[13]=Z,q[14]=K,q[15]=I,q[16]=G;else G=q[16];return G}function Pq(){w("tengu_grove_privacy_settings_viewed",{})}var f,_,Wq=` _____________
|
|
2
|
-
| \\ \\
|
|
3
|
-
| NEW TERMS \\__\\
|
|
4
|
-
| |
|
|
5
|
-
| ---------- |
|
|
6
|
-
| ---------- |
|
|
7
|
-
| ---------- |
|
|
8
|
-
| ---------- |
|
|
9
|
-
| ---------- |
|
|
10
|
-
| |
|
|
11
|
-
|______________|`;var Aq=t(()=>{qq();Qq();Zq();Mq();Xq();Yq();Uq();g();f=i(Jq(),1),_=i(zq(),1)});
|
|
12
|
-
export{kq as xc,_q as yc,Aq as zc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{jf as H,mf as A}from"./cli-1.1.7-5hy6nrtz.mjs";import{Af as L,Df as P,Ff as _}from"./cli-1.1.7-zcxfemky.mjs";import{Ksa as F,ssa as U}from"./cli-1.1.7-w7qe5saq.mjs";F();_();A();var R="environments-2025-11-01",O=/^[a-zA-Z0-9_-]+$/;function j(J,K){if(!J||!O.test(J))throw Error(`Invalid ${K}: contains unsafe characters`);return J}class C extends Error{status;errorType;constructor(J,K,$){super(J);this.name="BridgeFatalError",this.status=K,this.errorType=$}}function y(J){function K(q){J.onDebug?.(q)}let $=0,W=100;function Z(q){let z={Authorization:`Bearer ${q}`,"Content-Type":"application/json","anthropic-version":"2023-06-01","anthropic-beta":R,"x-environment-runner-version":J.runnerVersion},X=J.getTrustedDeviceToken?.();if(X)z["X-Trusted-Device-Token"]=X;return z}function D(){let q=J.getAccessToken();if(!q)throw Error(H);return q}async function M(q,z){let X=D(),Q=await q(X);if(Q.status!==401)return Q;if(!J.onAuth401)return K(`[bridge:api] ${z}: 401 received, no refresh handler`),Q;if(K(`[bridge:api] ${z}: 401 received, attempting token refresh`),await J.onAuth401(X)){K(`[bridge:api] ${z}: Token refreshed, retrying request`);let V=D(),N=await q(V);if(N.status!==401)return N;K(`[bridge:api] ${z}: Retry after refresh also got 401`)}else K(`[bridge:api] ${z}: Token refresh failed`);return Q}return{async registerBridgeEnvironment(q){K(`[bridge:api] POST /v1/environments/bridge bridgeId=${q.bridgeId}`);let z=await M((X)=>U.post(`${J.baseUrl}/v1/environments/bridge`,{machine_name:q.machineName,directory:q.dir,branch:q.branch,git_repo_url:q.gitRepoUrl,max_sessions:q.maxSessions,metadata:{worker_type:q.workerType},...q.reuseEnvironmentId&&{environment_id:q.reuseEnvironmentId}},{headers:Z(X),timeout:15000,validateStatus:(Q)=>Q<500}),"Registration");return G(z.status,z.data,"Registration"),K(`[bridge:api] POST /v1/environments/bridge -> ${z.status} environment_id=${z.data.environment_id}`),K(`[bridge:api] >>> ${L({machine_name:q.machineName,directory:q.dir,branch:q.branch,git_repo_url:q.gitRepoUrl,max_sessions:q.maxSessions,metadata:{worker_type:q.workerType}})}`),K(`[bridge:api] <<< ${L(z.data)}`),z.data},async pollForWork(q,z,X,Q){j(q,"environmentId");let Y=$;$=0;let V=await U.get(`${J.baseUrl}/v1/environments/${q}/work/poll`,{headers:Z(z),params:Q!==void 0?{reclaim_older_than_ms:Q}:void 0,timeout:1e4,signal:X,validateStatus:(N)=>N<500});if(G(V.status,V.data,"Poll"),!V.data){if($=Y+1,$===1||$%W===0)K(`[bridge:api] GET .../work/poll -> ${V.status} (no work, ${$} consecutive empty polls)`);return null}return K(`[bridge:api] GET .../work/poll -> ${V.status} workId=${V.data.id} type=${V.data.data?.type}${V.data.data?.id?` sessionId=${V.data.data.id}`:""}`),K(`[bridge:api] <<< ${L(V.data)}`),V.data},async acknowledgeWork(q,z,X){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/ack`);let Q=await U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/ack`,{},{headers:Z(X),timeout:1e4,validateStatus:(Y)=>Y<500});G(Q.status,Q.data,"Acknowledge"),K(`[bridge:api] POST .../work/${z}/ack -> ${Q.status}`)},async stopWork(q,z,X){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/stop force=${X}`);let Q=await M((Y)=>U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/stop`,{force:X},{headers:Z(Y),timeout:1e4,validateStatus:(V)=>V<500}),"StopWork");G(Q.status,Q.data,"StopWork"),K(`[bridge:api] POST .../work/${z}/stop -> ${Q.status}`)},async deregisterEnvironment(q){j(q,"environmentId"),K(`[bridge:api] DELETE /v1/environments/bridge/${q}`);let z=await M((X)=>U.delete(`${J.baseUrl}/v1/environments/bridge/${q}`,{headers:Z(X),timeout:1e4,validateStatus:(Q)=>Q<500}),"Deregister");G(z.status,z.data,"Deregister"),K(`[bridge:api] DELETE /v1/environments/bridge/${q} -> ${z.status}`)},async archiveSession(q){j(q,"sessionId"),K(`[bridge:api] POST /v1/sessions/${q}/archive`);let z=await M((X)=>U.post(`${J.baseUrl}/v1/sessions/${q}/archive`,{},{headers:Z(X),timeout:1e4,validateStatus:(Q)=>Q<500}),"ArchiveSession");if(z.status===409){K(`[bridge:api] POST /v1/sessions/${q}/archive -> 409 (already archived)`);return}G(z.status,z.data,"ArchiveSession"),K(`[bridge:api] POST /v1/sessions/${q}/archive -> ${z.status}`)},async reconnectSession(q,z){j(q,"environmentId"),j(z,"sessionId"),K(`[bridge:api] POST /v1/environments/${q}/bridge/reconnect session_id=${z}`);let X=await M((Q)=>U.post(`${J.baseUrl}/v1/environments/${q}/bridge/reconnect`,{session_id:z},{headers:Z(Q),timeout:1e4,validateStatus:(Y)=>Y<500}),"ReconnectSession");G(X.status,X.data,"ReconnectSession"),K(`[bridge:api] POST .../bridge/reconnect -> ${X.status}`)},async heartbeatWork(q,z,X){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/heartbeat`);let Q=await U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/heartbeat`,{},{headers:Z(X),timeout:1e4,validateStatus:(Y)=>Y<500});return G(Q.status,Q.data,"Heartbeat"),K(`[bridge:api] POST .../work/${z}/heartbeat -> ${Q.status} lease_extended=${Q.data.lease_extended} state=${Q.data.state}`),Q.data},async sendPermissionResponseEvent(q,z,X){j(q,"sessionId"),K(`[bridge:api] POST /v1/sessions/${q}/events type=${z.type}`);let Q=await U.post(`${J.baseUrl}/v1/sessions/${q}/events`,{events:[z]},{headers:Z(X),timeout:1e4,validateStatus:(Y)=>Y<500});G(Q.status,Q.data,"SendPermissionResponseEvent"),K(`[bridge:api] POST /v1/sessions/${q}/events -> ${Q.status}`),K(`[bridge:api] >>> ${L({events:[z]})}`),K(`[bridge:api] <<< ${L(Q.data)}`)}}}function G(J,K,$){if(J===200||J===204)return;let W=P(K),Z=B(K);switch(J){case 401:throw new C(`${$}: Authentication failed (401)${W?`: ${W}`:""}. ${H}`,401,Z);case 403:throw new C(S(Z)?"Remote Control session has expired. Please restart with `claude remote-control` or /remote-control.":`${$}: Access denied (403)${W?`: ${W}`:""}. Check your organization permissions.`,403,Z);case 404:throw new C(W??`${$}: Not found (404). Remote Control may not be available for this organization.`,404,Z);case 410:throw new C(W??"Remote Control session has expired. Please restart with `claude remote-control` or /remote-control.",410,Z??"environment_expired");case 429:throw Error(`${$}: Rate limited (429). Polling too frequently.`);default:throw Error(`${$}: Failed with status ${J}${W?`: ${W}`:""}`)}}function S(J){if(!J)return!1;return J.includes("expired")||J.includes("lifetime")}function h(J){if(J.status!==403)return!1;return J.message.includes("external_poll_sessions")||J.message.includes("environments:manage")}function B(J){if(J&&typeof J==="object"){if("error"in J&&J.error&&typeof J.error==="object"&&"type"in J.error&&typeof J.error.type==="string")return J.error.type}return}function f(J){let K=new AbortController;function $(){K.abort(),K=new AbortController}function W(){let Z=new AbortController,D=()=>Z.abort();if(J.aborted||K.signal.aborted)return Z.abort(),{signal:Z.signal,cleanup:()=>{}};J.addEventListener("abort",D,{once:!0});let M=K.signal;return M.addEventListener("abort",D,{once:!0}),{signal:Z.signal,cleanup:()=>{J.removeEventListener("abort",D),M.removeEventListener("abort",D)}}}return{signal:W,wake:$}}
|
|
2
|
-
export{j as Cb,C as Db,y as Eb,S as Fb,h as Gb,f as Hb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{BM as c,cM as R,gM as b,jM as w,pM as M,rM as P,sp as L,tp as D,up as O,wM as m,xM as h,xp as _,yp as S}from"./cli-1.1.7-g69xsadf.mjs";import{Gca as x,Oca as T,Rga as N,Sda as B,Uda as A,Xda as C,Zga as j,fea as E}from"./cli-1.1.7-370fzee5.mjs";import{hja as U,jja as v}from"./cli-1.1.7-svpmye16.mjs";import{_ka as G,bla as F}from"./cli-1.1.7-4jb3802k.mjs";import{kta as y}from"./cli-1.1.7-a1sffgeq.mjs";import{join as I}from"path";async function qq(){let q=C(),z=[],W=L();for(let[K,Q]of Object.entries(W))if(K.includes("@")&&Q)z.push(K);if(q.enabledPlugins)for(let[K,Q]of Object.entries(q.enabledPlugins)){if(!K.includes("@"))continue;let J=z.indexOf(K);if(Q){if(J===-1)z.push(K)}else if(J!==-1)z.splice(J,1)}return z}function zq(){let q=new Map,z=L();for(let[K,Q]of Object.entries(z)){if(!K.includes("@"))continue;if(Q===!0)q.set(K,"flag");else if(Q===!1)q.delete(K)}let W=[{scope:"managed",source:"policySettings"},{scope:"user",source:"userSettings"},{scope:"project",source:"projectSettings"},{scope:"local",source:"localSettings"},{scope:"flag",source:"flagSettings"}];for(let{scope:K,source:Q}of W){let J=B(Q);if(!J?.enabledPlugins)continue;for(let[V,Y]of Object.entries(J.enabledPlugins)){if(!V.includes("@"))continue;if(V in z&&z[V]!==Y)G(`Plugin ${V} from --add-dir (${z[V]}) overridden by ${Q} (${Y})`);if(Y===!0)q.set(V,K);else if(Y===!1)q.delete(V)}}return G(`Found ${q.size} enabled plugins with scopes: ${Array.from(q.entries()).map(([K,Q])=>`${K}(${Q})`).join(", ")}`),q}function Jq(q){return q!=="flag"}function Kq(q){return O[q]}async function p(){M().catch((W)=>{N(W)});let q=w(),z=Object.keys(q.plugins);return G(`Found ${z.length} installed plugins`),z}async function Qq(q){try{let z=await p(),W=q.filter((J)=>!z.includes(J));return(await Promise.all(W.map(async(J)=>{try{let V=await R(J);return{pluginId:J,found:V!==null&&V!==void 0}}catch(V){return G(`Failed to check plugin ${J} in marketplace: ${V}`),{pluginId:J,found:!1}}}))).filter(({found:J})=>J).map(({pluginId:J})=>J)}catch(z){return N(z),[]}}async function Vq(q,z,W="user"){let K=W!=="user"?U():void 0,Q=_(W),J=B(Q),V={...J?.enabledPlugins},Y=[],k=[];for(let H=0;H<q.length;H++){let X=q[H];if(!X)continue;if(z)z(X,H+1,q.length);try{let Z=await R(X);if(!Z){k.push({name:X,error:"Plugin not found in any marketplace"});continue}let{entry:$,marketplaceInstallLocation:f}=Z;if(!x($.source))await m(X,$,W,K);else h({pluginId:X,installPath:I(f,$.source),version:$.version},W,K);V[X]=!0,Y.push(X)}catch(Z){let $=Z instanceof Error?Z.message:String(Z);k.push({name:X,error:$}),N(Z)}}return A(Q,{...J,enabledPlugins:V}),{installed:Y,failed:k}}var a=y(()=>{v();F();j();E();D();P();b();S();c();T()});
|
|
2
|
-
export{qq as ce,zq as de,Jq as ee,Kq as fe,p as ge,Qq as he,Vq as ie,a as je};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{D2 as k,F2 as w}from"./cli-1.1.7-h6bad0y5.mjs";import{J8 as j,b9 as v}from"./cli-1.1.7-6327xnsa.mjs";import{Zha as d,iia as h,jia as s}from"./cli-1.1.7-avhh3ykn.mjs";import{Vla as q}from"./cli-1.1.7-aq4f719n.mjs";import{kta as p}from"./cli-1.1.7-a1sffgeq.mjs";function m(){return y()||!!process.env.CLAUDE_BRIDGE_OAUTH_TOKEN}function x(){return m()}async function O(){return x()}async function P(){if(!m())return"Remote Control needs an Anthropic web login (a claude.ai OAuth token with the user:profile scope). Run `/provider` and sign in with your claude.ai account. Note: an inference API key alone is not enough — the bridge token is separate.";return null}function y(){try{return j()}catch{return!1}}function Q(){return d("tengu_bridge_repl_v2",!1)}function R(){return d("tengu_bridge_repl_v2_cse_shim_enabled",!0)}function U(){{let b=h("tengu_bridge_min_version",{minVersion:"0.0.0"});if(b.minVersion&&k("99.0.0",b.minVersion))return`Your version of Claudin (99.0.0) is too old for Remote Control.
|
|
2
|
-
Version ${b.minVersion} or higher is required. Run \`claudin update\` to update.`}return null}function W(){return!1}function X(){return!1}var z=p(()=>{s();v();q();w()});
|
|
3
|
-
export{x as $W,O as aX,P as bX,Q as cX,R as dX,U as eX,W as fX,X as gX,z as hX};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ad as GJ,Bd as aJ}from"./cli-1.1.7-g84cjr3b.mjs";import{bi as $J,ci as cJ}from"./cli-1.1.7-vbkerts0.mjs";import{Fm as l,Ix as C,Jj as g,KF as s,KT as kJ,LF as SJ,Lm as vJ,SD as LJ,Sk as wJ,Sn as x,dm as c,fS as I,gm as OJ,jH as b,kE as mJ,lE as uJ,nH as r,oH as t,pH as EJ,qE as XJ,rE as gJ,tm as a,yO as P,ym as bJ,yz as o,zz as TJ}from"./cli-1.1.7-g69xsadf.mjs";import{EV as i,FV as n,QV as FJ}from"./cli-1.1.7-pcg3fv2k.mjs";import{s7 as UJ}from"./cli-1.1.7-6327xnsa.mjs";import{Aaa as BJ,Iga as O,Jga as RJ,Rga as B,Yda as m,Zga as H,eea as u,fea as AJ,qea as HJ}from"./cli-1.1.7-370fzee5.mjs";import{jia as VJ}from"./cli-1.1.7-avhh3ykn.mjs";import{jja as WJ}from"./cli-1.1.7-svpmye16.mjs";import{Xja as R,_ja as y}from"./cli-1.1.7-tj4a73gm.mjs";import{Ika as zJ,Mka as V,Qka as _J,_ka as f,bla as MJ}from"./cli-1.1.7-4jb3802k.mjs";import{Fla as h}from"./cli-1.1.7-gm3vnavd.mjs";import{Ila as w,Vla as NJ}from"./cli-1.1.7-aq4f719n.mjs";import{Goa as F,ppa as T,yra as j}from"./cli-1.1.7-avggtwyk.mjs";import{hta as fJ}from"./cli-1.1.7-a1sffgeq.mjs";gJ();cJ();j();VJ();y();P();wJ();x();BJ();WJ();h();H();I();UJ();zJ();C();P();x();H();h();I();C();LJ();function D(){}j();y();RJ();MJ();NJ();_J();TJ();HJ();H();r();SJ();bJ();kJ();EJ();FJ();AJ();vJ();OJ();import{join as Y}from"path";var hJ=30;function U(){let G=((m()||{}).cleanupPeriodDays??hJ)*24*60*60*1000;return new Date(Date.now()-G)}function e(X,J){return{messages:X.messages+J.messages,errors:X.errors+J.errors}}function xJ(X){let J=X.split(".")[0].replace(/T(\d{2})-(\d{2})-(\d{2})-(\d{3})Z/,"T$1:$2:$3.$4Z");return new Date(J)}async function p(X,J,G){let $={messages:0,errors:0};try{let K=await V().readdir(X);for(let Z of K)try{if(xJ(Z.name)<J)if(await V().unlink(Y(X,Z.name)),G)$.messages++;else $.errors++}catch(Q){B(Q)}}catch(K){if(K instanceof Error&&"code"in K&&K.code!=="ENOENT")B(K)}return $}async function CJ(){let X=V(),J=U(),G=O.errors(),$=O.baseLogs(),K=await p(G,J,!1);try{let Z;try{Z=await X.readdir($)}catch{return K}let Q=Z.filter((q)=>q.isDirectory()&&q.name.startsWith("mcp-logs-")).map((q)=>Y($,q.name));for(let q of Q)K=e(K,await p(q,J,!0)),await z(q,X)}catch(Z){if(Z instanceof Error&&"code"in Z&&Z.code!=="ENOENT")B(Z)}return K}async function L(X,J,G){if((await G.stat(X)).mtime<J)return await G.unlink(X),!0;return!1}async function z(X,J){try{await J.rmdir(X)}catch{}}async function PJ(){let X=U(),J={messages:0,errors:0},G=g(),$=V(),K;try{K=await $.readdir(G)}catch{return J}for(let Z of K){if(!Z.isDirectory())continue;let Q=Y(G,Z.name),q;try{q=await $.readdir(Q)}catch{J.errors++;continue}for(let W of q)if(W.isFile()){if(!W.name.endsWith(".jsonl")&&!W.name.endsWith(".cast"))continue;try{if(await L(Y(Q,W.name),X,$))J.messages++}catch{J.errors++}}else if(W.isDirectory()){let M=Y(Q,W.name),N=Y(M,l),S;try{S=await $.readdir(N)}catch{await z(M,$);continue}for(let _ of S)if(_.isFile())try{if(await L(Y(N,_.name),X,$))J.messages++}catch{J.errors++}else if(_.isDirectory()){let A=Y(N,_.name),E;try{E=await $.readdir(A)}catch{continue}for(let k of E){if(!k.isFile())continue;try{if(await L(Y(A,k.name),X,$))J.messages++}catch{J.errors++}}await z(A,$)}await z(N,$),await z(M,$)}await z(Q,$)}return J}async function d(X,J,G=!0){let $=U(),K={messages:0,errors:0},Z=V(),Q;try{Q=await Z.readdir(X)}catch{return K}for(let q of Q){if(!q.isFile()||!q.name.endsWith(J))continue;try{if(await L(Y(X,q.name),$,Z))K.messages++}catch{K.errors++}}if(G)await z(X,Z);return K}async function IJ(){let X=a(),J=await d(X,".md"),G=Y(w(),"plans");if(G!==X){let $=await d(G,".md");return e(J,$)}return J}async function jJ(){let X=U(),J={messages:0,errors:0},G=V();try{let $=w(),K=Y($,"file-history"),Z;try{Z=await G.readdir(K)}catch{return J}let Q=Z.filter((q)=>q.isDirectory()).map((q)=>Y(K,q.name));await Promise.all(Q.map(async(q)=>{try{if((await G.stat(q)).mtime<X)await G.rm(q,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}})),await z(K,G)}catch($){B($)}return J}async function yJ(){let X=U(),J={messages:0,errors:0},G=V();try{let $=w(),K=Y($,"session-env"),Z;try{Z=await G.readdir(K)}catch{return J}let Q=Z.filter((q)=>q.isDirectory()).map((q)=>Y(K,q.name));for(let q of Q)try{if((await G.stat(q)).mtime<X)await G.rm(q,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}await z(K,G)}catch($){B($)}return J}async function DJ(){let X=U(),J={messages:0,errors:0},G=V();try{let $=Y(w(),"tasks"),K=n(i()),Z;try{Z=await G.readdir($)}catch{return J}for(let Q of Z){if(!Q.isDirectory()||Q.name===K)continue;let q=Y($,Q.name);try{if(await pJ(q,G)<X)await G.rm(q,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}}await z($,G)}catch($){B($)}return J}async function pJ(X,J){let G=(await J.stat(X)).mtime,$=await J.readdir(X).catch(()=>[]);for(let K of $){if(!K.isFile())continue;try{let{mtime:Z}=await J.stat(Y(X,K.name));if(Z>G)G=Z}catch{}}return G}async function dJ(){let X=U(),J={messages:0,errors:0},G=V(),$=Y(w(),"debug"),K;try{K=await G.readdir($)}catch{return J}for(let Z of K){if(!Z.isFile()||!Z.name.endsWith(".txt")||Z.name==="latest")continue;try{if(await L(Y($,Z.name),X,G))J.messages++}catch{J.errors++}}return J}async function JJ(){let{errors:X}=t();if(X.length>0&&u("cleanupPeriodDays")){f("Skipping cleanup: settings have validation errors but cleanupPeriodDays was explicitly set. Fix settings errors to enable cleanup.");return}await CJ(),await PJ(),await IJ(),await jJ(),await yJ(),await DJ(),await dJ(),await o(),await s(U());let J=await c(U());if(J>0)R("tengu_worktree_cleanup",{removed:J})}r();aJ();var lJ=(uJ(),fJ(mJ));var v=600000;function $0(){$J(),D(),lJ.initExtractMemories(),XJ(),GJ();let X=!0;async function J(){if(T()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}if(X)X=!1,await JJ();if(T()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}await b()}setTimeout(J,v).unref()}
|
|
2
|
-
export{$0 as ka};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{A4 as V,B4 as D,z4 as N}from"./cli-1.1.7-x1mh9vnk.mjs";import{D8 as J,F8 as $,I8 as B,b9 as x,c8 as Z,h5 as Y,n5 as _}from"./cli-1.1.7-6327xnsa.mjs";import{Qja as Q,Wja as P}from"./cli-1.1.7-1sjzdsvt.mjs";import{Ksa as R,ssa as X}from"./cli-1.1.7-w7qe5saq.mjs";import{kta as W}from"./cli-1.1.7-a1sffgeq.mjs";function E(){let z=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",F=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claude-cli/99.0.0 (${process.env.CLAUDE_CODE_ENTRYPOINT??"cli"}${z}${F})`}function I(){let z=[];if(process.env.CLAUDE_CODE_ENTRYPOINT)z.push(process.env.CLAUDE_CODE_ENTRYPOINT);if(process.env.CLAUDE_AGENT_SDK_VERSION)z.push(`agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`);if(process.env.CLAUDE_AGENT_SDK_CLIENT_APP)z.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);return`claude-code/99.0.0${z.length>0?` (${z.join(", ")})`:""}`}function w(){if(Y()==="firstParty")return`Claude-User (${N()}; +https://support.anthropic.com/)`;return`Claudin-User (${V()})`}function C(){if(B()){let F=J();if(!F?.accessToken)return{headers:{},error:"No OAuth token available"};return{headers:{Authorization:`Bearer ${F.accessToken}`,"anthropic-beta":Q}}}let z=Z();if(!z)return{headers:{},error:"No API key available"};return{headers:{"x-api-key":z}}}async function O(z,F){try{return await z()}catch(G){if(!X.isAxiosError(G))throw G;let L=G.response?.status;if(!(L===401||F?.also403Revoked&&L===403&&typeof G.response?.data==="string"&&G.response.data.includes("OAuth token has been revoked")))throw G;let M=J()?.accessToken;if(!M)throw G;return await $(M),await z()}}var H=W(()=>{R();P();x();_();D()});
|
|
2
|
-
export{E as t4,I as u4,w as v4,C as w4,O as x4,H as y4};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{HS as jJ,IS as $V,To as IJ,Vo as cJ,dj as pJ,iL as DJ,iS as UJ,jL as BJ,kL as lJ}from"./cli-1.1.7-g69xsadf.mjs";import{Rga as G,T$ as mJ,W_ as c,X_ as fJ,Xda as m,Yea as YJ,Zga as dJ,aaa as NJ,eaa as gJ,fea as uJ,q$ as WJ,rfa as hJ,v$ as l}from"./cli-1.1.7-370fzee5.mjs";import{hja as U,jja as PJ}from"./cli-1.1.7-svpmye16.mjs";import{Xja as f,_ja as SJ}from"./cli-1.1.7-tj4a73gm.mjs";import{Mka as VJ,Qka as bJ,_ka as Q,bla as kJ}from"./cli-1.1.7-4jb3802k.mjs";import{Fla as yJ,yla as JJ}from"./cli-1.1.7-gm3vnavd.mjs";import{vna as qJ,wna as zJ}from"./cli-1.1.7-avggtwyk.mjs";import{gta as wJ,kta as _J}from"./cli-1.1.7-a1sffgeq.mjs";class p{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let $=0;$<J.length;$++){let _=J[$];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if(($&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let X=!0;for(let $=0;$<V.length;$++)if(this.indexPath($),($&255)===255&&performance.now()-Y>4){if(this.readyCount=$+1,X)W(),X=!1;await b(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=LJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let X=W.charCodeAt(Y);if(X>=97&&X<=122)V|=1<<X-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),X=Array(Y),$=0;for(let M=0;M<Y;M++){let B=V.charAt(M);X[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)$|=1<<E-97}let _=Y*24+8+32,H=[],N=-1/0,{paths:I,lowerPaths:q,charBits:x,pathLens:j,readyCount:g}=this;J:for(let M=0;M<g;M++){if((x[M]&$)!==$)continue;let B=Z?I[M]:q[M],E=B.indexOf(X[0]);if(E===-1)continue;y[0]=E;let C=0,u=0,h=E;for(let A=1;A<Y;A++){if(E=B.indexOf(X[A],h+1),E===-1)continue J;y[A]=E;let F=E-h-1;if(F===0)u+=4;else C+=3+F*1;h=E}if(H.length===W&&_+u-C<=N)continue;let S=I[M],vJ=j[M],T=Y*16+u-C;T+=HJ(S,y[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,y[A],!1);if(T+=Math.max(0,32-(vJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=H[0].fuzzScore}else if(T>N){let A=0,F=H.length;while(A<F){let d=A+F>>1;if(H[d].fuzzScore<T)A=d+1;else F=d}H.splice(A,0,{path:S,fuzzScore:T}),H.shift(),N=H[0].fuzzScore}}H.sort((M,B)=>B.fuzzScore-M.fuzzScore);let D=H.length,w=Math.max(D,1),z=Array(D);for(let M=0;M<D;M++){let B=H[M].path,E=M/w,C=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:C}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(RJ(V))return 8;if(GJ(V)&&CJ(J.charCodeAt(W)))return 6;return 0}function RJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function CJ(J){return J>=65&&J<=90}function b(){return new Promise((J)=>setImmediate(J))}function LJ(J,W){let Z=new Set;for(let Y of J){let X=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){X=_;break}}let $=Y.slice(0,X);if($.length>0){if(Z.add($),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,X)=>{let $=Y.length-X.length;if($!==0)return $;return Y<X?-1:Y>X?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var QJ=4,y;var MJ=_J(()=>{y=new Int32Array(64)});import{statSync as nJ}from"fs";import*as O from"path";function n(){if(!K)K=new p;return K}function vV(){K=null,v=null,R++,k=null,L=[],$J=[],XJ=[],ZJ.clear(),s=null,o=null,a=0,i=null,r=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let X=J[Y];for(let $=0;$<X.length;$++)V=(V^X.charCodeAt($))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let X=0;X<Y.length;X++)V=(V^Y.charCodeAt(X))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function sJ(){let J=WJ(U());if(!J)return null;try{return nJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function OJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function oJ(J){if(J.length===0)return;if(!K||L.length===0)return;let W=await FJ(J),Z=[...L,...$J,...XJ,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${L.length} tracked + ${J.length} untracked files`)}async function EJ(J,W){let Z=`${J}:${W}`;if(o===Z)return s;let V=VJ(),Y=[".ignore",".rgignore"],X=[...new Set([J,W])],$=KJ.default(),_=!1,H=X.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(H.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;$.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[q]}`)}let I=_?$:null;return s=I,o=Z,I}async function aJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=WJ(U());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=U(),X=Date.now(),$=await c(l(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-X}ms`),$.code!==0)return Q(`[FileIndex] git ls-files failed (code=${$.code}, stderr=${$.stderr}), falling back to ripgrep`),null;let _=$.stdout.trim().split(`
|
|
2
|
-
`).filter(Boolean),H=OJ(_,V,Y),N=await EJ(V,Y);if(N){let q=H.length;H=N.filter(H),Q(`[FileIndex] applied ignore patterns: ${q} -> ${H.length} files`)}L=H;let I=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${I}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:H.length,tracked_count:H.length,untracked_count:0,duration_ms:I}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=R;k=c(l(),q,{timeout:1e4,cwd:V}).then(async(j)=>{if(x!==R)return;if(j.code===0){let g=j.stdout.trim().split(`
|
|
3
|
-
`).filter(Boolean),D=OJ(g,V,Y),w=await EJ(V,Y);if(w&&D.length>0){let z=D.length;D=w.filter(D),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${D.length} files`)}Q(`[FileIndex] background untracked fetch: ${D.length} files`),oJ(D)}}).catch((j)=>{Q(`[FileIndex] background untracked fetch failed: ${j}`)}).finally(()=>{k=null})}return H}catch(Y){return Q(`[FileIndex] git ls-files error: ${JJ(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(iJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>QJ)await b(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function iJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let X=O.dirname(J[Y]);while(X!=="."&&!V.has(X)){let $=O.dirname(X);if($===X)break;V.add(X),X=$}}}async function rJ(J){return(await Promise.all(DJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function tJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await aJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;return Q("[FileIndex] git ls-files returned null, falling back to ripgrep"),TJ(J,W)}async function TJ(J,W){let Z=Date.now(),V=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)V.push("--no-ignore-vcs");let Y=U(),$=(await IJ(V,Y,J)).map((H)=>O.relative(Y,H)),_=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${$.length} files in ${_}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:_}),$}async function RV(){let J=AbortSignal.timeout(1e4),W=m(),Z=YJ(),V=W.respectGitignore??Z.respectGitignore??!0;try{return await TJ(J,V)}catch(Y){return G(Y),[]}}async function eJ(){let J=AbortSignal.timeout(1e4),W=n();try{let Z=m(),V=YJ(),Y=Z.respectGitignore??V.respectGitignore??!0,X=U(),[$,_]=await Promise.all([tJ(J,Y),rJ(X)]);$J=_;let H=[...$,..._],N=await FJ(H);XJ=N;let I=[...N,...H],q=xJ(I);if(q!==r)await W.loadFromFileListAsync(I).done,r=q,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){G(Z)}return W}function JV(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function GV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=JV(Z,Y),Z==="")return""}return Z}function t(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function VV(J,W){return J.search(W,e).map((V)=>t(V.path,V.score))}function AJ(){if(v)return;let J=sJ();if(K){if(!(J!==null&&J!==i)&&Date.now()-a<WV)return}let W=R,Z=Date.now();n(),v=eJ().then((V)=>{if(W!==R)return V;return v=null,ZJ.emit(),i=J,a=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${JJ(V)}`),G(V),W===R)v=null;return n()})}async function YV(){let J=VJ(),W=U();try{let Z=await J.readdir(W);return Z.sort((V,Y)=>{let X=V.isDirectory(),$=Y.isDirectory();if(X!==$)return X?-1:1;let _=V.name.startsWith("."),H=Y.name.startsWith(".");if(_!==H)return _?-1:1;return V.name.toLowerCase().localeCompare(Y.name.toLowerCase())}),Z.map((V)=>{let Y=O.join(W,V.name),X=O.relative(W,Y);return V.isDirectory()?X+O.sep:X})}catch(Z){return G(Z),[]}}async function CV(J,W=!1){if(!J&&!W)return[];if(m().fileSuggestion?.type==="command"){let V={...UJ(),query:J};return(await jJ(V)).slice(0,e).map(t)}if(J===""||J==="."||J==="./"){let V=await YV();return AJ(),V.slice(0,e).map(t)}let Z=Date.now();try{let V=v!==null;AJ();let Y=J,X="."+O.sep;if(J.startsWith(X))Y=J.substring(2);if(Y.startsWith("~"))Y=NJ(Y);let $=K?VV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${$.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:$.length,query_length:J.length}),$}catch(V){return G(V),[]}}function LV(J,W,Z,V,Y,X){let $=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+$+W.substring(V+Z.length);Y(_);let H=V+$.length;X(H)}var KJ,K=null,v=null,ZJ,jV,R=0,k=null,L,$J,XJ,s=null,o=null,a=0,i=null,r=null,P=null,e=100,WV=5000;var ZV=_J(()=>{lJ();MJ();SJ();hJ();PJ();kJ();yJ();fJ();bJ();mJ();$V();dJ();gJ();cJ();uJ();zJ();KJ=wJ(pJ(),1);ZJ=qJ(),jV=ZJ.subscribe,L=[],$J=[],XJ=[]});
|
|
4
|
-
export{p as ji,MJ as ki,jV as li,vV as mi,RV as ni,GV as oi,AJ as pi,CV as qi,LV as ri,ZV as si};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a9 as v,b9 as C}from"./cli-1.1.7-6327xnsa.mjs";import{Sfa as x,Tfa as Y,rea as Z,sea as V}from"./cli-1.1.7-370fzee5.mjs";import{Zha as R,bia as W,jia as O}from"./cli-1.1.7-avhh3ykn.mjs";import{Vja as Q,Wja as M}from"./cli-1.1.7-1sjzdsvt.mjs";import{Dka as P,Ika as I,_ka as f,bla as L}from"./cli-1.1.7-4jb3802k.mjs";import{Fla as H,yla as w}from"./cli-1.1.7-gm3vnavd.mjs";import{Xra as N,Yra as F}from"./cli-1.1.7-kbdranyx.mjs";import{Ksa as U,ssa as X}from"./cli-1.1.7-w7qe5saq.mjs";import{hta as h,kta as B}from"./cli-1.1.7-a1sffgeq.mjs";import{hostname as E}from"os";function $(){return R(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await W(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(Z()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=Q().BASE_API_URL,m;try{m=await X.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${P(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{U();F();M();O();L();H();V();Y();I();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
|
|
2
|
-
export{u as WW,n as XW,o as YW,t as ZW,d as _W};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{EZ as O}from"./cli-1.1.7-8e3qerv0.mjs";import{p4 as X,r4 as Q}from"./cli-1.1.7-1pt67y2k.mjs";import{s4 as b}from"./cli-1.1.7-ac6ve6ks.mjs";import{dfa as W,rfa as P}from"./cli-1.1.7-370fzee5.mjs";import{gta as U}from"./cli-1.1.7-a1sffgeq.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
|
|
2
|
-
export{V as qb,C as rb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{xi as M,yi as w,zi as A}from"./cli-1.1.7-m2rq9nq2.mjs";import{aja as X,cja as N,dja as $,eja as O}from"./cli-1.1.7-5a7dx8xv.mjs";import{_ka as R,bla as C}from"./cli-1.1.7-4jb3802k.mjs";import{Ila as L,Vla as _}from"./cli-1.1.7-aq4f719n.mjs";import{yra as T,zna as H}from"./cli-1.1.7-avggtwyk.mjs";import{Ksa as y,ssa as W}from"./cli-1.1.7-w7qe5saq.mjs";y();N();T();C();_();O();A();import{randomUUID as I}from"crypto";import{mkdir as P,writeFile as U}from"fs/promises";import{basename as v,join as B}from"path";var D=30000;function Q(q){R(`[bridge:inbound-attach] ${q}`)}var j=$(()=>X.object({file_uuid:X.string(),file_name:X.string()})),k=$(()=>X.array(j()));function S(q){if(typeof q!=="object"||q===null||!("file_attachments"in q))return[];let G=k().safeParse(q.file_attachments);return G.success?G.data:[]}function z(q){return v(q).replace(/[^a-zA-Z0-9._-]/g,"_")||"attachment"}function x(){return B(L(),"uploads",H())}async function b(q){let G=M();if(!G){Q("skip: no oauth token");return}let J;try{let V=`${w()}/api/oauth/files/${encodeURIComponent(q.file_uuid)}/content`,Z=await W.get(V,{headers:{Authorization:`Bearer ${G}`},responseType:"arraybuffer",timeout:D,validateStatus:()=>!0});if(Z.status!==200){Q(`fetch ${q.file_uuid} failed: status=${Z.status}`);return}J=Buffer.from(Z.data)}catch(V){Q(`fetch ${q.file_uuid} threw: ${V}`);return}let K=z(q.file_name),F=(q.file_uuid.slice(0,8)||I().slice(0,8)).replace(/[^a-zA-Z0-9_-]/g,"_"),E=x(),Y=B(E,`${F}-${K}`);try{await P(E,{recursive:!0}),await U(Y,J)}catch(V){Q(`write ${Y} failed: ${V}`);return}return Q(`resolved ${q.file_uuid} → ${Y} (${J.length} bytes)`),Y}async function f(q){if(q.length===0)return"";Q(`resolving ${q.length} attachment(s)`);let J=(await Promise.all(q.map(b))).filter((K)=>K!==void 0);if(J.length===0)return"";return J.map((K)=>`@"${K}"`).join(" ")+" "}function l(q,G){if(!G)return q;if(typeof q==="string")return G+q;let J=q.findLastIndex((K)=>K.type==="text");if(J!==-1){let K=q[J];if(K.type==="text")return[...q.slice(0,J),{...K,text:G+K.text},...q.slice(J+1)]}return[...q,{type:"text",text:G.trimEnd()}]}async function s(q,G){let J=S(q);if(J.length===0)return G;let K=await f(J);return l(G,K)}
|
|
2
|
-
export{S as ca,f as da,l as ea,s as fa};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{Nh as qq,Oh as Jq,Ph as Zq,Qh as _q}from"./cli-1.1.7-4w65nb7a.mjs";import{Rh as $q,Sh as Pq}from"./cli-1.1.7-5afzqeez.mjs";import{Mz as j,Nz as y,Rz as p}from"./cli-1.1.7-g69xsadf.mjs";import{I1 as Iq,b1 as F,d1 as K}from"./cli-1.1.7-8e3qerv0.mjs";import{p4 as Y,q4 as L,r4 as Xq}from"./cli-1.1.7-1pt67y2k.mjs";import{s4 as m}from"./cli-1.1.7-ac6ve6ks.mjs";import{B$ as c,E_ as I,F_ as e,T$ as Uq,nda as a,s$ as w,u$ as f,vda as Vq}from"./cli-1.1.7-370fzee5.mjs";import{fha as Mq,gha as x,uha as Eq}from"./cli-1.1.7-xv2n043b.mjs";import{gta as T,kta as D}from"./cli-1.1.7-a1sffgeq.mjs";function u(q,J){let{perFileStats:$}=q,z=[];for(let[Q,Z]of $){let A=J.get(Q),M=Z.isUntracked??!1,U=!Z.isBinary&&!M&&!A&&!Z.renamedFrom,H=Z.added+Z.removed,v=!U&&!Z.isBinary&&H>Kq;z.push({path:Q,linesAdded:Z.added,linesRemoved:Z.removed,isBinary:Z.isBinary,isLargeFile:U,isTruncated:v,isUntracked:M,...Z.renamedFrom?{renamedFrom:Z.renamedFrom}:{}})}return z.sort((Q,Z)=>Q.path.localeCompare(Z.path)),z}var b,Kq=400;var h=D(()=>{p();b=T(m(),1)});import{basename as S}from"path";function wq(q,J){let[$,z]=O.useState([]),[Q,Z]=O.useState([]),[A,M]=O.useState(!0),[U,H]=O.useState(0),v=q.join(`
|
|
2
|
-
`),X=J.join(`
|
|
3
|
-
`);O.useEffect(()=>{let V=!1;M(!0);async function G(){let N=v?v.split(`
|
|
4
|
-
`):[],_=X?X.split(`
|
|
5
|
-
`):[],E=(await Promise.all(_.map((B)=>f(B)))).flat(),P=w(E).filter((B)=>!N.includes(B)).sort((B,C)=>S(B).localeCompare(S(C))),k=w([...N,...P]),Yq=await Promise.all(k.map(async(B)=>{let[C,g,Aq]=await Promise.all([j(B),y(B),c(B)]);return{root:B,name:S(B),branch:Aq,files:C?u(C,g):[],hunks:g}}));if(!V)z(Yq),Z(k),M(!1)}return G().catch(()=>{if(!V)z([]),Z([]),M(!1)}),()=>{V=!0}},[v,X,U]);let W=O.useCallback(()=>H((V)=>V+1),[]);return{groups:$,roots:Q,loading:A,refresh:W}}var O;var Hq=D(()=>{Uq();p();h();O=T(m(),1)});import{basename as n}from"path";function d(q,J,$){if(q===0)return"";return J.join("")+($?vq:l)}function r(q){return{name:q,dirs:new Map,files:[]}}function Gq(q){let J=r("");for(let $ of q){let z=$.path.split("/");z.pop();let Q=J;for(let Z of z){let A=Q.dirs.get(Z);if(!A)A=r(Z),Q.dirs.set(Z,A);Q=A}Q.files.push($)}return J}function i(q,J,$,z,Q,Z,A,M){let U=[...q.dirs.values()].sort((X,W)=>X.name.localeCompare(W.name)),H=[...q.files].sort((X,W)=>n(X.path).localeCompare(n(W.path))),v=H.length>0;for(let X=0;X<U.length;X++){let W=U[X],V=W.name,G=J?`${J}/${W.name}`:W.name;while(W.files.length===0&&W.dirs.size===1){let P=W.dirs.values().next().value;V=`${V}/${P.name}`,G=`${G}/${P.name}`,W=P}let N=X===U.length-1&&!v,_=`${Q}\x00${G}`,E=z.has(_);if(A.push({kind:"dir",key:_,label:V,depth:$,collapsed:E,guides:d($,M,N)}),!E){let P=$>=1?[...M,N?Bq:l]:M;i(W,G,$+1,z,Q,Z,A,P)}}for(let X=0;X<H.length;X++){let W=H[X],V=X===H.length-1;A.push({kind:"file",file:W,root:Q,hunks:Z(W.path),depth:$,guides:d($,M,V)})}}function Nq(q,J){let $=[],z=q.length>1,Q=0;for(let Z of q){let A=z?1:0;if(z){let M=J.has(Z.root);if($.push({kind:"group",key:Z.root,name:Z.name,meta:`${Z.files.length} ${a(Z.files.length,"file")} changed`,branch:Z.branch,repoIndex:Q++,collapsed:M,depth:0}),M)continue}i(Gq(Z.files),"",A,J,Z.root,(M)=>Z.hunks.get(M)??[],$,[])}return $}var l="│ ",vq="└ ",Bq=" ";var o=D(()=>{Vq()});function hq(q){let J=0;for(let $=0;$<q.length;$++)J=Math.imul(J,31)+q.charCodeAt($)|0;return R[Math.abs(J)%R.length]}function s(q){let J=R.length;return R[(q%J+J)%J]}var R;var t=D(()=>{R=["cyan_FOR_SUBAGENTS_ONLY","green_FOR_SUBAGENTS_ONLY","yellow_FOR_SUBAGENTS_ONLY","purple_FOR_SUBAGENTS_ONLY","orange_FOR_SUBAGENTS_ONLY","pink_FOR_SUBAGENTS_ONLY","blue_FOR_SUBAGENTS_ONLY","red_FOR_SUBAGENTS_ONLY"]});function zq(){let q=$q();return{enabled:q,fileIcon:(J)=>q?Zq(J):"",folderIcon:(J)=>q?J?Jq:qq:"",repoIcon:q?Oq:"",branchIcon:q?Fq:"",pointer:I.pointer}}var Oq="",Fq="";var Qq=D(()=>{e();_q();Pq()});import{basename as Lq}from"path";function Dq(q,J,$){if(q<=$)return{start:0,end:q};let z=Math.max(0,J-Math.floor($/2)),Q=z+$;if(Q>q)Q=q,z=Math.max(0,Q-$);return{start:z,end:Q}}function ZJ(q){return q.flatMap((J)=>J.files)}function $J({rows:q,selectedIndex:J,maxVisible:$,width:z,statusByPath:Q,alignFiles:Z}){let A=Wq.useMemo(zq,[]),M=q.length;if(M===0)return Y(K,{dimColor:!0,children:"No changed files"});let{start:U,end:H}=Dq(M,J,$),v=[];for(let X=U;X<H;X++){let W=q[X];v.push(Y(kq,{row:W,isSelected:X===J,width:z,glyphs:A,alignFiles:Z,statusColor:W.kind==="file"?Q?.get(W.file.path):void 0},X))}return L(F,{flexDirection:"column",children:[U>0&&Y(K,{dimColor:!0,children:` ↑ ${U} more`}),v,H<M&&Y(K,{dimColor:!0,children:` ↓ ${M-H} more`})]})}function kq({row:q,isSelected:J,width:$,glyphs:z,statusColor:Q,alignFiles:Z}){if(q.kind==="group"){let N=J?`${z.pointer} `:" ",_=q.collapsed?I.triangleRight:I.triangleDown;return L(K,{dimColor:!J,bold:J,children:[`${N}${_} `,z.repoIcon&&Y(K,{color:s(q.repoIndex),dimColor:!1,children:`${z.repoIcon} `}),q.name," ",Y(K,{bold:!0,children:q.meta}),q.branch&&Y(K,{children:` ${z.branchIcon?`${z.branchIcon} `:"· "}${q.branch}`})]})}let A=J?`${z.pointer} `:" ",M=q.guides,U=2+q.depth*2;if(q.kind==="dir"){let N=q.collapsed?I.triangleRight:I.triangleDown,_=z.folderIcon(!q.collapsed),E=_?`${_} `:"",P=Math.max(4,$-U-2-(E?2:0)-1),k=x(q.label,P);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),`${N} ${E}${k}`]})}),Y(F,{flexGrow:1})]})}let H=z.fileIcon(q.file.path),v=H?`${H} `:"",X=Z?" ":"",W=q.file.isBinary||q.file.isLargeFile||q.file.renamedFrom?9:0,V=Math.max(4,$-U-X.length-(v?2:0)-W-1),G=q.label?x(q.label,V):Mq(Lq(q.file.path),V);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),X,v,Q&&!J?Y(K,{color:Q,children:G}):G]})}),Y(F,{flexGrow:1}),Y(F,{flexShrink:0,children:Y(Cq,{file:q.file,isSelected:J})})]})}function Cq({file:q,isSelected:J}){if(q.isBinary)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"binary"});if(q.isLargeFile)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"large"});if(q.renamedFrom)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"renamed"});return null}var Wq,JJ=80;var Rq=D(()=>{e();Iq();Eq();t();o();Qq();Xq();Wq=T(m(),1)});
|
|
6
|
-
export{wq as eg,Hq as fg,zq as gg,Qq as hg,hq as ig,t as jg,Nq as kg,o as lg,JJ as mg,ZJ as ng,$J as og,Rq as pg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{FO as O,GO as P,HO as Q,IO as U,LO as X,gj as M,hj as W}from"./cli-1.1.7-g69xsadf.mjs";import{kta as V}from"./cli-1.1.7-a1sffgeq.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
|
|
2
|
-
export{F as yg,$ as zg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Rga as U,Zga as m,aaa as F,eaa as f,g$ as K,h$ as E}from"./cli-1.1.7-370fzee5.mjs";import{hja as v,jja as x}from"./cli-1.1.7-svpmye16.mjs";import{Mka as D,Qka as g}from"./cli-1.1.7-4jb3802k.mjs";import{kta as S}from"./cli-1.1.7-a1sffgeq.mjs";import{basename as H,dirname as b,join as I,sep as O}from"path";function _(q,B){if(!q)return{directory:B||v(),prefix:""};let G=F(q,B);if(q.endsWith("/")||q.endsWith(O))return{directory:G,prefix:""};let N=b(G),J=H(q);return{directory:N,prefix:J}}async function k(q){let B=Z.get(q);if(B)return B;try{let J=(await D().readdir(q)).filter((M)=>M.isDirectory()&&!M.name.startsWith(".")).map((M)=>({name:M.name,path:I(q,M.name),type:"directory"})).slice(0,100);return Z.set(q,J),J}catch(G){return U(G),[]}}async function P(q,B={}){let{basePath:G=v(),maxResults:N=10}=B,{directory:J,prefix:M}=_(q,G),V=await k(J),z=M.toLowerCase();return V.filter((X)=>X.name.toLowerCase().startsWith(z)).slice(0,N).map((X)=>({id:X.path,displayText:X.name+"/",description:"directory",metadata:{type:"directory"}}))}function o(q){return q.startsWith("~/")||q.startsWith("/")||q.startsWith("./")||q.startsWith("../")||q==="~"||q==="."||q===".."}async function u(q,B=!1){let G=`${q}:${B}`,N=A.get(G);if(N)return N;try{let V=(await D().readdir(q)).filter((z)=>B||!z.name.startsWith(".")).map((z)=>({name:z.name,path:I(q,z.name),type:z.isDirectory()?"directory":"file"})).sort((z,W)=>{if(z.type==="directory"&&W.type!=="directory")return-1;if(z.type!=="directory"&&W.type==="directory")return 1;return z.name.localeCompare(W.name)}).slice(0,100);return A.set(G,V),V}catch(J){return U(J),[]}}async function h(q,B={}){let{basePath:G=v(),maxResults:N=10,includeFiles:J=!0,includeHidden:M=!1}=B,{directory:V,prefix:z}=_(q,G),W=await u(V,M),X=z.toLowerCase(),j=W.filter((Q)=>{if(!J&&Q.type==="file")return!1;return Q.name.toLowerCase().startsWith(X)}).slice(0,N),w=q.includes("/")||q.includes(O),Y="";if(w){let Q=q.lastIndexOf("/"),$=q.lastIndexOf(O),L=Math.max(Q,$);Y=q.substring(0,L+1)}if(Y.startsWith("./")||Y.startsWith("."+O))Y=Y.slice(2);return j.map((Q)=>{let $=Y+Q.name;return{id:$,displayText:Q.type==="directory"?$+"/":$,metadata:{type:Q.type}}})}var R=500,T=300000,Z,A;var C=S(()=>{E();x();g();m();f();Z=new K({max:R,ttl:T}),A=new K({max:R,ttl:T})});
|
|
2
|
-
export{P as Gh,o as Hh,h as Ih,C as Jh};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{fta as Z}from"./cli-1.1.7-qztj9jjs.mjs";import{ita as Y,lta as O}from"./cli-1.1.7-a1sffgeq.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
|
|
2
|
-
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
|
3
|
-
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
|
|
4
|
-
export{ye as _sa};
|