@claudiolabs/claudin 1.1.38 → 1.1.39
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/App-1.1.39-k3pzg19w.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.39-bycvt1g5.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.39-4j00w97q.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.39-38wypq07.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.39-edm7rsre.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.39-my209qf5.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.39-dt5qmt50.mjs +6 -0
- package/dist/chunks/Doctor-1.1.39-kv2tpcs1.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.39-d5t22ss6.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.39-z3zx6y4m.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.39-nwstppyf.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.39-pfjzxc4p.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.39-3mpd0tbf.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.39-r5976zwt.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.39-dzacd3pt.mjs +1 -0
- package/dist/chunks/REPL-1.1.39-ww7zvk7k.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.39-mdn16ej3.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.39-tnhzkmtn.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.39-vz4td3jg.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.39-rfjygmym.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.39-vbqywsj7.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.39-bb46mna1.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.39-b57dgsm7.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.39-jgfyp0cs.mjs +1 -0
- package/dist/chunks/add-dir-1.1.39-1wp8d118.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.39-0x20gy8e.mjs +1 -0
- package/dist/chunks/agents-1.1.39-b3k5kxn7.mjs +110 -0
- package/dist/chunks/agents-1.1.39-nt8wcmtp.mjs +3 -0
- package/dist/chunks/api-1.1.39-tn9g67g0.mjs +1 -0
- package/dist/chunks/asciicast-1.1.39-22byg1gm.mjs +1 -0
- package/dist/chunks/auth-1.1.39-1x1eer36.mjs +1 -0
- package/dist/chunks/auth-1.1.39-vz0zkq99.mjs +1 -0
- package/dist/chunks/autoMode-1.1.39-sjezrxh7.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.39-e6gvda2k.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.39-cz95xv2n.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.39-vsn9w5k2.mjs +1 -0
- package/dist/chunks/branch-1.1.39-e0ww5bkp.mjs +4 -0
- package/dist/chunks/bridge-1.1.39-k5vb0mmb.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.39-6czf6nvj.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.39-crv4d7xn.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.39-488k7mc8.mjs +64 -0
- package/dist/chunks/bridgePointer-1.1.39-xb9s18xx.mjs +1 -0
- package/dist/chunks/btw-1.1.39-n1psbg89.mjs +1 -0
- package/dist/chunks/buddy-1.1.39-ms13d421.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.39-j0aybz93.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.39-dg202ye5.mjs +4 -0
- package/dist/chunks/caches-1.1.39-v3nps0e9.mjs +1 -0
- package/dist/chunks/cd-1.1.39-awhhtq1z.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.39-azj9es6w.mjs +1 -0
- package/dist/chunks/claudemd-1.1.39-7a02xhkm.mjs +1 -0
- package/dist/chunks/clear-1.1.39-k197h5f0.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.39-twgf5kky.mjs +1 -0
- package/dist/chunks/cli-1.1.39-01qgb22d.mjs +4 -0
- package/dist/chunks/cli-1.1.39-07d1v3y9.mjs +2 -0
- package/dist/chunks/cli-1.1.39-0k9p4g5p.mjs +2 -0
- package/dist/chunks/cli-1.1.39-0mtb82ww.mjs +2 -0
- package/dist/chunks/cli-1.1.39-0rsjfyh1.mjs +9 -0
- package/dist/chunks/cli-1.1.39-0s0eqwsn.mjs +2 -0
- package/dist/chunks/cli-1.1.39-10wrcybe.mjs +2 -0
- package/dist/chunks/cli-1.1.39-111vm2e1.mjs +24 -0
- package/dist/chunks/cli-1.1.39-14jxs3k5.mjs +3 -0
- package/dist/chunks/cli-1.1.39-15jr1t97.mjs +2 -0
- package/dist/chunks/cli-1.1.39-17mj2gq0.mjs +2 -0
- package/dist/chunks/cli-1.1.39-1es853x9.mjs +2 -0
- package/dist/chunks/cli-1.1.39-1m7bzjpd.mjs +2 -0
- package/dist/chunks/cli-1.1.39-1mpe0mv2.mjs +17 -0
- package/dist/chunks/cli-1.1.39-1q43eavk.mjs +4 -0
- package/dist/chunks/cli-1.1.39-1r1cbvk8.mjs +2 -0
- package/dist/chunks/cli-1.1.39-1tcqp8ky.mjs +2 -0
- package/dist/chunks/cli-1.1.39-1wg6zvk6.mjs +2 -0
- package/dist/chunks/cli-1.1.39-1yysfg6y.mjs +2 -0
- package/dist/chunks/cli-1.1.39-212q1ba2.mjs +2 -0
- package/dist/chunks/cli-1.1.39-24z9gjkg.mjs +6 -0
- package/dist/chunks/cli-1.1.39-2gzgjcxr.mjs +6 -0
- package/dist/chunks/cli-1.1.39-2hgsp1ry.mjs +2 -0
- package/dist/chunks/cli-1.1.39-2k0w4c3v.mjs +6 -0
- package/dist/chunks/cli-1.1.39-2vf0yc3g.mjs +2 -0
- package/dist/chunks/cli-1.1.39-2x3kj4gh.mjs +2 -0
- package/dist/chunks/cli-1.1.39-2xmkpvn8.mjs +2 -0
- package/dist/chunks/cli-1.1.39-31e9rw45.mjs +2 -0
- package/dist/chunks/cli-1.1.39-3g0p54p8.mjs +2 -0
- package/dist/chunks/cli-1.1.39-3mghgnn1.mjs +24 -0
- package/dist/chunks/cli-1.1.39-3yy2wxqa.mjs +24 -0
- package/dist/chunks/cli-1.1.39-4bdssx8e.mjs +2 -0
- package/dist/chunks/cli-1.1.39-4he45b53.mjs +2 -0
- package/dist/chunks/cli-1.1.39-4p4c56cn.mjs +2 -0
- package/dist/chunks/cli-1.1.39-4w5sz267.mjs +2 -0
- package/dist/chunks/cli-1.1.39-52k1fj82.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5gdtmek1.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5ge6mqxz.mjs +63 -0
- package/dist/chunks/cli-1.1.39-5h7tfgqc.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5r6zjkfz.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5t4113gt.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5xkhxv1a.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5yxt37n7.mjs +2 -0
- package/dist/chunks/cli-1.1.39-5zc15zgx.mjs +2 -0
- package/dist/chunks/cli-1.1.39-6pkc868v.mjs +2 -0
- package/dist/chunks/cli-1.1.39-6y7dsvjs.mjs +2 -0
- package/dist/chunks/cli-1.1.39-70t1q2pm.mjs +2 -0
- package/dist/chunks/cli-1.1.39-75gxbxsn.mjs +7 -0
- package/dist/chunks/cli-1.1.39-7ck7pqh0.mjs +2 -0
- package/dist/chunks/cli-1.1.39-7d9k8cma.mjs +2 -0
- package/dist/chunks/cli-1.1.39-7hm6zgk1.mjs +15 -0
- package/dist/chunks/cli-1.1.39-7jhstkb2.mjs +2 -0
- package/dist/chunks/cli-1.1.39-7kjnzaa8.mjs +2 -0
- package/dist/chunks/cli-1.1.39-7tchegvs.mjs +5 -0
- package/dist/chunks/cli-1.1.39-7tgaawmj.mjs +2 -0
- package/dist/chunks/cli-1.1.39-7xc1qp70.mjs +2 -0
- package/dist/chunks/cli-1.1.39-89e5xfsc.mjs +2 -0
- package/dist/chunks/cli-1.1.39-8e62hz1p.mjs +3 -0
- package/dist/chunks/cli-1.1.39-8gscnd8w.mjs +2 -0
- package/dist/chunks/cli-1.1.39-8jw8s604.mjs +2 -0
- package/dist/chunks/cli-1.1.39-8k3rh435.mjs +2 -0
- package/dist/chunks/cli-1.1.39-8xf0xfkw.mjs +2 -0
- package/dist/chunks/cli-1.1.39-905jk7a7.mjs +133 -0
- package/dist/chunks/cli-1.1.39-9afxesb0.mjs +3 -0
- package/dist/chunks/cli-1.1.39-9bh2t20k.mjs +3 -0
- package/dist/chunks/cli-1.1.39-9dfw3wt9.mjs +2 -0
- package/dist/chunks/cli-1.1.39-9j9vfcg0.mjs +10 -0
- package/dist/chunks/cli-1.1.39-9qsdqnm7.mjs +6 -0
- package/dist/chunks/cli-1.1.39-9yg363zk.mjs +2 -0
- package/dist/chunks/cli-1.1.39-a1rc9y55.mjs +3 -0
- package/dist/chunks/cli-1.1.39-a40ak4sd.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ay2p31kb.mjs +39 -0
- package/dist/chunks/cli-1.1.39-b1gewbgs.mjs +2 -0
- package/dist/chunks/cli-1.1.39-b314axe0.mjs +2 -0
- package/dist/chunks/cli-1.1.39-b3geta93.mjs +21 -0
- package/dist/chunks/cli-1.1.39-bd66bjj3.mjs +2 -0
- package/dist/chunks/cli-1.1.39-brzpjtja.mjs +2 -0
- package/dist/chunks/cli-1.1.39-c4c832m5.mjs +2 -0
- package/dist/chunks/cli-1.1.39-c6mm3w1n.mjs +135 -0
- package/dist/chunks/cli-1.1.39-c86mbrv2.mjs +2 -0
- package/dist/chunks/cli-1.1.39-chveh83h.mjs +2 -0
- package/dist/chunks/cli-1.1.39-cjc01sak.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ck0k3rxx.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ckty7bt1.mjs +2 -0
- package/dist/chunks/cli-1.1.39-cq5nwqfw.mjs +2 -0
- package/dist/chunks/cli-1.1.39-cvbzp08c.mjs +2 -0
- package/dist/chunks/cli-1.1.39-cyx7zw76.mjs +50 -0
- package/dist/chunks/cli-1.1.39-czh4aj72.mjs +4 -0
- package/dist/chunks/cli-1.1.39-d25xsy5x.mjs +2 -0
- package/dist/chunks/cli-1.1.39-dfrms96j.mjs +2 -0
- package/dist/chunks/cli-1.1.39-djtdv45d.mjs +4 -0
- package/dist/chunks/cli-1.1.39-dm5rqr07.mjs +8 -0
- package/dist/chunks/cli-1.1.39-dvfdgp8r.mjs +2 -0
- package/dist/chunks/cli-1.1.39-dwfknzds.mjs +2 -0
- package/dist/chunks/cli-1.1.39-dwgjp6zp.mjs +2 -0
- package/dist/chunks/cli-1.1.39-e4p7vgrg.mjs +2 -0
- package/dist/chunks/cli-1.1.39-e98w7pr4.mjs +2 -0
- package/dist/chunks/cli-1.1.39-en8a3nq6.mjs +11 -0
- package/dist/chunks/cli-1.1.39-epktaska.mjs +3 -0
- package/dist/chunks/cli-1.1.39-esp4w3m4.mjs +2 -0
- package/dist/chunks/cli-1.1.39-evs7a20p.mjs +9 -0
- package/dist/chunks/cli-1.1.39-eyp8d7vv.mjs +2 -0
- package/dist/chunks/cli-1.1.39-f0wf0m0n.mjs +2 -0
- package/dist/chunks/cli-1.1.39-f1schffw.mjs +25 -0
- package/dist/chunks/cli-1.1.39-f2qc1x1n.mjs +2 -0
- package/dist/chunks/cli-1.1.39-f5azyvet.mjs +2 -0
- package/dist/chunks/cli-1.1.39-fka8qdkr.mjs +2 -0
- package/dist/chunks/cli-1.1.39-fm08hbtj.mjs +2 -0
- package/dist/chunks/cli-1.1.39-fqsaf1st.mjs +2 -0
- package/dist/chunks/cli-1.1.39-g751n1kp.mjs +2 -0
- package/dist/chunks/cli-1.1.39-g7mbr2ky.mjs +2 -0
- package/dist/chunks/cli-1.1.39-g9rcf6cw.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ghja51c5.mjs +2 -0
- package/dist/chunks/cli-1.1.39-gnkk8fs7.mjs +2 -0
- package/dist/chunks/cli-1.1.39-gtm67f9z.mjs +2 -0
- package/dist/chunks/cli-1.1.39-h06axtf8.mjs +4 -0
- package/dist/chunks/cli-1.1.39-h8ahn5vw.mjs +2 -0
- package/dist/chunks/cli-1.1.39-h90nz8dv.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ha8fn1m0.mjs +2 -0
- package/dist/chunks/cli-1.1.39-hgm87yas.mjs +10 -0
- package/dist/chunks/cli-1.1.39-j6nvja1z.mjs +2 -0
- package/dist/chunks/cli-1.1.39-jmh4b6db.mjs +2 -0
- package/dist/chunks/cli-1.1.39-jncrq8d3.mjs +2 -0
- package/dist/chunks/cli-1.1.39-jq1a84j4.mjs +2 -0
- package/dist/chunks/cli-1.1.39-k8n2ksgh.mjs +2 -0
- package/dist/chunks/cli-1.1.39-kcq7gw24.mjs +60 -0
- package/dist/chunks/cli-1.1.39-kfztpa2h.mjs +2 -0
- package/dist/chunks/cli-1.1.39-kkgyntg1.mjs +7 -0
- package/dist/chunks/cli-1.1.39-kw258d7x.mjs +4 -0
- package/dist/chunks/cli-1.1.39-mhv15208.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ms0zz1pq.mjs +2 -0
- package/dist/chunks/cli-1.1.39-mtdpf384.mjs +2 -0
- package/dist/chunks/cli-1.1.39-n8j5q839.mjs +2 -0
- package/dist/chunks/cli-1.1.39-nc39g50q.mjs +2 -0
- package/dist/chunks/cli-1.1.39-nde8mxzw.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ne2jz4j1.mjs +12 -0
- package/dist/chunks/cli-1.1.39-nhgqks5q.mjs +2 -0
- package/dist/chunks/cli-1.1.39-nk9xnj41.mjs +2 -0
- package/dist/chunks/cli-1.1.39-nkv70wmc.mjs +10 -0
- package/dist/chunks/cli-1.1.39-nmm4w3bh.mjs +16 -0
- package/dist/chunks/cli-1.1.39-nnc7eg6p.mjs +2 -0
- package/dist/chunks/cli-1.1.39-nsgjkze0.mjs +2 -0
- package/dist/chunks/cli-1.1.39-nxv718fh.mjs +3 -0
- package/dist/chunks/cli-1.1.39-p2sg5g92.mjs +250 -0
- package/dist/chunks/cli-1.1.39-pc9dgxhx.mjs +5 -0
- package/dist/chunks/cli-1.1.39-q8q90rxq.mjs +2 -0
- package/dist/chunks/cli-1.1.39-rfkva6dd.mjs +42 -0
- package/dist/chunks/cli-1.1.39-rhqy2d5w.mjs +2 -0
- package/dist/chunks/cli-1.1.39-rjxm15hw.mjs +2 -0
- package/dist/chunks/cli-1.1.39-rp6sehng.mjs +3 -0
- package/dist/chunks/cli-1.1.39-rprv5zq8.mjs +25 -0
- package/dist/chunks/cli-1.1.39-rqs6bqnm.mjs +2 -0
- package/dist/chunks/cli-1.1.39-rxpy9zgc.mjs +2 -0
- package/dist/chunks/cli-1.1.39-s4g9xyv5.mjs +2 -0
- package/dist/chunks/cli-1.1.39-srjkdp3j.mjs +2 -0
- package/dist/chunks/cli-1.1.39-swktejeb.mjs +2 -0
- package/dist/chunks/cli-1.1.39-t2jqv0s9.mjs +2 -0
- package/dist/chunks/cli-1.1.39-t4a22cet.mjs +6 -0
- package/dist/chunks/cli-1.1.39-tc87f2ta.mjs +2 -0
- package/dist/chunks/cli-1.1.39-tjpdjpp5.mjs +15 -0
- package/dist/chunks/cli-1.1.39-tveshzdb.mjs +2 -0
- package/dist/chunks/cli-1.1.39-v92y62n9.mjs +2 -0
- package/dist/chunks/cli-1.1.39-vh86jjp2.mjs +4 -0
- package/dist/chunks/cli-1.1.39-vhqah8m7.mjs +2 -0
- package/dist/chunks/cli-1.1.39-vtt2tmb9.mjs +18 -0
- package/dist/chunks/cli-1.1.39-wdctfdbb.mjs +4 -0
- package/dist/chunks/cli-1.1.39-whzghgxz.mjs +2 -0
- package/dist/chunks/cli-1.1.39-x6jkg8mf.mjs +20 -0
- package/dist/chunks/cli-1.1.39-xg4cr6x8.mjs +2 -0
- package/dist/chunks/cli-1.1.39-xm6k98xf.mjs +2 -0
- package/dist/chunks/cli-1.1.39-xyddt40c.mjs +2 -0
- package/dist/chunks/cli-1.1.39-y341qw3m.mjs +2 -0
- package/dist/chunks/cli-1.1.39-yjwk9mw8.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ypma7nx9.mjs +2 -0
- package/dist/chunks/cli-1.1.39-ytvr80fj.mjs +15 -0
- package/dist/chunks/cli-1.1.39-yyqx9zb5.mjs +5522 -0
- package/dist/chunks/cli-1.1.39-z1akavz2.mjs +2 -0
- package/dist/chunks/cli-1.1.39-z21b507j.mjs +2 -0
- package/dist/chunks/cli-1.1.39-z6fepfnh.mjs +2 -0
- package/dist/chunks/cli-1.1.39-z8ts6axr.mjs +2 -0
- package/dist/chunks/cli-1.1.39-zc1b8zf6.mjs +2 -0
- package/dist/chunks/cli-1.1.39-zdsdsv4h.mjs +3 -0
- package/dist/chunks/cli-1.1.39-zfb5hcs0.mjs +34 -0
- package/dist/chunks/client-1.1.39-zrdzybfj.mjs +1 -0
- package/dist/chunks/color-1.1.39-qsgg6xt0.mjs +1 -0
- package/dist/chunks/compact-1.1.39-ye5nj18m.mjs +2 -0
- package/dist/chunks/config-1.1.39-cfgcj726.mjs +1 -0
- package/dist/chunks/config-1.1.39-nsgxmahr.mjs +1 -0
- package/dist/chunks/constants-1.1.39-s4anaxa3.mjs +1 -0
- package/dist/chunks/context-1.1.39-a93qe83k.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.39-2428zhce.mjs +1 -0
- package/dist/chunks/conversation-1.1.39-x581tx1z.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.39-bnzefwe6.mjs +1 -0
- package/dist/chunks/copy-1.1.39-tqab4hm1.mjs +9 -0
- package/dist/chunks/cost-1.1.39-ak71khd3.mjs +1 -0
- package/dist/chunks/createSession-1.1.39-yv7a37ye.mjs +1 -0
- package/dist/chunks/debug-1.1.39-50dvjcn3.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.39-483fm6xk.mjs +1458 -0
- package/dist/chunks/desktop-1.1.39-hbx627a1.mjs +2 -0
- package/dist/chunks/detectRepository-1.1.39-nq1yyp24.mjs +1 -0
- package/dist/chunks/detection-1.1.39-myz8dcyc.mjs +1 -0
- package/dist/chunks/diff-1.1.39-zwwd0sxq.mjs +1 -0
- package/dist/chunks/doctor-1.1.39-bw8w0sdj.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.39-x9azkqjy.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.39-3wtxyym8.mjs +1 -0
- package/dist/chunks/effort-1.1.39-4r28x4kv.mjs +13 -0
- package/dist/chunks/engine-1.1.39-jjwgtndr.mjs +1 -0
- package/dist/chunks/envUtils-1.1.39-azqd5ff8.mjs +1 -0
- package/dist/chunks/errors-1.1.39-z6wpc1z1.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.39-fhwx5xxp.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.39-raa250pr.mjs +1 -0
- package/dist/chunks/exit-1.1.39-vwjekv6v.mjs +1 -0
- package/dist/chunks/explorer-1.1.39-rs5cjdex.mjs +1 -0
- package/dist/chunks/export-1.1.39-eg5q8fpq.mjs +2 -0
- package/dist/chunks/fast-1.1.39-j8zrdcv9.mjs +1 -0
- package/dist/chunks/feedback-1.1.39-tt17q1d1.mjs +16 -0
- package/dist/chunks/git-1.1.39-hf1cm8nf.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.39-yb2392an.mjs +1 -0
- package/dist/chunks/goal-1.1.39-6q6twvx9.mjs +4 -0
- package/dist/chunks/headless-1.1.39-e745sf98.mjs +2 -0
- package/dist/chunks/heapdump-1.1.39-1mf2vt2g.mjs +6 -0
- package/dist/chunks/help-1.1.39-szdr1nvx.mjs +1 -0
- package/dist/chunks/hooks-1.1.39-5pws6gsg.mjs +79 -0
- package/dist/chunks/hooks-1.1.39-6tz18s8r.mjs +1 -0
- package/dist/chunks/ide-1.1.39-nk0vmfg1.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.39-rx4ypf8k.mjs +1 -0
- package/dist/chunks/import-1.1.39-eyddkf9v.mjs +260 -0
- package/dist/chunks/inboundAttachments-1.1.39-g0fjztwj.mjs +1 -0
- package/dist/chunks/index-1.1.39-1wfhz9pz.mjs +1 -0
- package/dist/chunks/index-1.1.39-27vjd0t1.mjs +1 -0
- package/dist/chunks/index-1.1.39-3mp0kdhv.mjs +1 -0
- package/dist/chunks/index-1.1.39-aj2fb3nf.mjs +30 -0
- package/dist/chunks/index-1.1.39-ajb8kk03.mjs +1 -0
- package/dist/chunks/index-1.1.39-bznxqgpz.mjs +1 -0
- package/dist/chunks/index-1.1.39-cf96agzw.mjs +2 -0
- package/dist/chunks/index-1.1.39-d4j661cs.mjs +1 -0
- package/dist/chunks/index-1.1.39-dapcfrje.mjs +1 -0
- package/dist/chunks/index-1.1.39-e9fjpss8.mjs +1 -0
- package/dist/chunks/index-1.1.39-eg0vw6jg.mjs +1 -0
- package/dist/chunks/index-1.1.39-eqm0e7bk.mjs +1 -0
- package/dist/chunks/index-1.1.39-frzv879p.mjs +23 -0
- package/dist/chunks/index-1.1.39-fthy3yb2.mjs +1 -0
- package/dist/chunks/index-1.1.39-h7tvkmm7.mjs +9 -0
- package/dist/chunks/index-1.1.39-hn7czx81.mjs +5 -0
- package/dist/chunks/index-1.1.39-jeg0xvtv.mjs +1 -0
- package/dist/chunks/index-1.1.39-qh6j97r3.mjs +2 -0
- package/dist/chunks/index-1.1.39-szfdrv3c.mjs +9 -0
- package/dist/chunks/index-1.1.39-t358fdhx.mjs +1 -0
- package/dist/chunks/index-1.1.39-w73ez3fh.mjs +1 -0
- package/dist/chunks/index-1.1.39-xcj56xfg.mjs +1 -0
- package/dist/chunks/index-1.1.39-zy7eyf9r.mjs +1 -0
- package/dist/chunks/init-1.1.39-fm3907f2.mjs +2 -0
- package/dist/chunks/initReplBridge-1.1.39-76qw9tbk.mjs +1 -0
- package/dist/chunks/ink-1.1.39-f9cyw022.mjs +1 -0
- package/dist/chunks/insights-1.1.39-ee2ra979.mjs +870 -0
- package/dist/chunks/install-1.1.39-1hv4f4fk.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.39-tg2jfpvx.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.39-69fgekh2.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.39-5caf0pb7.mjs +1 -0
- package/dist/chunks/latestVersionCache-1.1.39-31bygz1b.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.39-1jtdv1bq.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.39-4xw48447.mjs +1 -0
- package/dist/chunks/log-1.1.39-50bfm8j0.mjs +1 -0
- package/dist/chunks/main-1.1.39-f3n951kv.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.39-bwtexcjv.mjs +1 -0
- package/dist/chunks/mcp-1.1.39-15sz3hsq.mjs +1 -0
- package/dist/chunks/mcp-1.1.39-h4h304ze.mjs +4 -0
- package/dist/chunks/mcp-1.1.39-rdsgsc15.mjs +17 -0
- package/dist/chunks/mcpb-1.1.39-5qywjc26.mjs +1 -0
- package/dist/chunks/memory-1.1.39-8edv180p.mjs +128 -0
- package/dist/chunks/model-1.1.39-95b780x9.mjs +2 -0
- package/dist/chunks/model-1.1.39-a5xmtpbv.mjs +1 -0
- package/dist/chunks/new-1.1.39-9476r8p1.mjs +1 -0
- package/dist/chunks/node-1.1.39-pqhskkn0.mjs +15 -0
- package/dist/chunks/node-1.1.39-xgvdgvgj.mjs +1 -0
- package/dist/chunks/oauth-1.1.39-5h69g0mf.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.39-jnp9fkcv.mjs +14 -0
- package/dist/chunks/output-style-1.1.39-e5qsw51y.mjs +1 -0
- package/dist/chunks/package-V72LKFNW-1.1.39-0gcw2fkh.mjs +1 -0
- package/dist/chunks/permissions-1.1.39-0m2h5ctr.mjs +3 -0
- package/dist/chunks/permissions-1.1.39-djt32qkn.mjs +1 -0
- package/dist/chunks/plan-1.1.39-qcq9a7rg.mjs +1 -0
- package/dist/chunks/plist-1.1.39-esb4db3e.mjs +1 -0
- package/dist/chunks/plugin-1.1.39-xztkvc83.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.39-pzynd625.mjs +1 -0
- package/dist/chunks/plugins-1.1.39-2vnnwfwq.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.39-w6ay049g.mjs +2 -0
- package/dist/chunks/print-1.1.39-m20hre3d.mjs +57 -0
- package/dist/chunks/process-1.1.39-7pp4m6p6.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.39-z8xyxzeb.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.39-025rdqc4.mjs +9 -0
- package/dist/chunks/prompt-1.1.39-8cves1th.mjs +1 -0
- package/dist/chunks/prompt-1.1.39-vys3tszv.mjs +1 -0
- package/dist/chunks/prompts-1.1.39-agk5ys12.mjs +1 -0
- package/dist/chunks/provider-1.1.39-ezn3013z.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.39-c20aqfkp.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.39-5bwc03ac.mjs +6 -0
- package/dist/chunks/registerSubcommands-1.1.39-tg42q4mt.mjs +26 -0
- package/dist/chunks/registry-1.1.39-69kg9048.mjs +1 -0
- package/dist/chunks/release-notes-1.1.39-vm602996.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.39-hq5jb4fe.mjs +2 -0
- package/dist/chunks/remote-env-1.1.39-b742xwt8.mjs +1 -0
- package/dist/chunks/rename-1.1.39-37583s4r.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.39-x7vm725e.mjs +1 -0
- package/dist/chunks/resume-1.1.39-7x78pwef.mjs +2 -0
- package/dist/chunks/rewind-1.1.39-36y4s8ng.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.39-ns1nx8k9.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.39-8p1cbkrx.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.39-bt6cm9af.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.39-a3p74qsk.mjs +1 -0
- package/dist/chunks/session-1.1.39-qgpx4589.mjs +2 -0
- package/dist/chunks/sessionStorage-1.1.39-fp105vvb.mjs +1 -0
- package/dist/chunks/settings-1.1.39-qe258cgb.mjs +1 -0
- package/dist/chunks/setup-1.1.39-4zjv96k3.mjs +12 -0
- package/dist/chunks/sinks-1.1.39-6xx75cg6.mjs +1 -0
- package/dist/chunks/skills-1.1.39-2d5tfynf.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.39-jcvdrk17.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.39-43maz2ha.mjs +1 -0
- package/dist/chunks/state-1.1.39-4sbpam9q.mjs +1 -0
- package/dist/chunks/stats-1.1.39-8p35mm3v.mjs +1 -0
- package/dist/chunks/status-1.1.39-1qcsfp99.mjs +1 -0
- package/dist/chunks/stickers-1.1.39-hppwbrtb.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.39-hp2bbefp.mjs +1 -0
- package/dist/chunks/tasks-1.1.39-qs8xddg1.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.39-qnvqd2j1.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.39-pr2vnqzw.mjs +1 -0
- package/dist/chunks/teleport-1.1.39-zt8tze77.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.39-715qq4cf.mjs +1 -0
- package/dist/chunks/theme-1.1.39-gnxdfpcb.mjs +1 -0
- package/dist/chunks/toolPool-1.1.39-77884kvy.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.39-b2k8yjaz.mjs +1 -0
- package/dist/chunks/tools-1.1.39-7nbe7hrf.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.39-h0gz7em7.mjs +69 -0
- package/dist/chunks/types-1.1.39-jcqnbyss.mjs +1 -0
- package/dist/chunks/update-1.1.39-1w75psfh.mjs +72 -0
- package/dist/chunks/upload-1.1.39-z8ymn737.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.39-j1d74feb.mjs +14 -0
- package/dist/chunks/usage-1.1.39-s31k5fep.mjs +1 -0
- package/dist/chunks/util-1.1.39-ad8sk0dp.mjs +1 -0
- package/dist/chunks/utils-1.1.39-ya8kcrhm.mjs +1 -0
- package/dist/chunks/vim-1.1.39-b6pfmpbz.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.39-h3bxe3p9.mjs +13 -0
- package/dist/chunks/wiki-1.1.39-5aj4xh5m.mjs +132 -0
- package/dist/chunks/workflows-1.1.39-f31ham8r.mjs +1 -0
- package/dist/chunks/worktree-1.1.39-sf55cdqj.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.39-4ja3es46.mjs +1 -0
- package/dist/chunks/wrapper-1.1.39-r1fj52tb.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/App-1.1.38-ywjx5zwg.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.38-g8aaewqn.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.38-3xp2vky0.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.38-ng5ew4f1.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.38-pb4syd5b.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.38-v5m7388w.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.38-7xpy0azc.mjs +0 -6
- package/dist/chunks/Doctor-1.1.38-8c786cbs.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.38-gsmc5cbg.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.38-34mcvk0g.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.38-4tzaxt0t.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.38-5aqykfy4.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.38-hg33ngjd.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.38-e0dgakf3.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.38-s1stmw8z.mjs +0 -1
- package/dist/chunks/REPL-1.1.38-24nb99vc.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.38-ph61hy3h.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.38-waf94h4c.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.38-8zeez0vw.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.38-x67yqx1x.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.38-s7acgm11.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.38-xdxg0v37.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.38-ze3nezmq.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.38-4hejnp0f.mjs +0 -1
- package/dist/chunks/add-dir-1.1.38-9njmqx1q.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.38-2vgbffh0.mjs +0 -1
- package/dist/chunks/agents-1.1.38-p9ee8aj6.mjs +0 -3
- package/dist/chunks/agents-1.1.38-td2q9455.mjs +0 -110
- package/dist/chunks/api-1.1.38-8mx12h9x.mjs +0 -1
- package/dist/chunks/asciicast-1.1.38-ge5twq4b.mjs +0 -1
- package/dist/chunks/auth-1.1.38-qd9cf36r.mjs +0 -1
- package/dist/chunks/auth-1.1.38-z9s1s7ya.mjs +0 -1
- package/dist/chunks/autoMode-1.1.38-k48yn49s.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.38-akdcfhnr.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.38-x4vhee3g.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.38-bvd35tyn.mjs +0 -1
- package/dist/chunks/branch-1.1.38-ne2jsk2x.mjs +0 -4
- package/dist/chunks/bridge-1.1.38-vdxahb1p.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.38-yf7zjpvf.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.38-eszbcc63.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.38-ywfxh5hm.mjs +0 -64
- package/dist/chunks/bridgePointer-1.1.38-jvevzgc3.mjs +0 -1
- package/dist/chunks/btw-1.1.38-hqjfa45a.mjs +0 -1
- package/dist/chunks/buddy-1.1.38-rq8ak7jk.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.38-dvwdm93b.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.38-pxpr6at8.mjs +0 -4
- package/dist/chunks/caches-1.1.38-mxte3pjs.mjs +0 -1
- package/dist/chunks/cd-1.1.38-nj8jwk5n.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.38-94tj322p.mjs +0 -1
- package/dist/chunks/claudemd-1.1.38-y4ajc9p8.mjs +0 -1
- package/dist/chunks/clear-1.1.38-17hx54za.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.38-e3qy2b07.mjs +0 -1
- package/dist/chunks/cli-1.1.38-06jvwc43.mjs +0 -2
- package/dist/chunks/cli-1.1.38-0cf6ttc6.mjs +0 -2
- package/dist/chunks/cli-1.1.38-0dj1dmtd.mjs +0 -2
- package/dist/chunks/cli-1.1.38-0q1t1zs8.mjs +0 -2
- package/dist/chunks/cli-1.1.38-0x84gwbc.mjs +0 -2
- package/dist/chunks/cli-1.1.38-16r42mm1.mjs +0 -2
- package/dist/chunks/cli-1.1.38-1bv62dee.mjs +0 -2
- package/dist/chunks/cli-1.1.38-1c3thcc3.mjs +0 -10
- package/dist/chunks/cli-1.1.38-1e3jefp8.mjs +0 -2
- package/dist/chunks/cli-1.1.38-1jc6vgde.mjs +0 -25
- package/dist/chunks/cli-1.1.38-1k5hq477.mjs +0 -2
- package/dist/chunks/cli-1.1.38-1kce30qe.mjs +0 -2
- package/dist/chunks/cli-1.1.38-1wavwd72.mjs +0 -10
- package/dist/chunks/cli-1.1.38-20a2a6n3.mjs +0 -2
- package/dist/chunks/cli-1.1.38-21x08w6j.mjs +0 -2
- package/dist/chunks/cli-1.1.38-2a4wcbby.mjs +0 -2
- package/dist/chunks/cli-1.1.38-2jp2m8e4.mjs +0 -2
- package/dist/chunks/cli-1.1.38-2p7f0cx3.mjs +0 -2
- package/dist/chunks/cli-1.1.38-2x7b4x0w.mjs +0 -3
- package/dist/chunks/cli-1.1.38-2zbkp90c.mjs +0 -2
- package/dist/chunks/cli-1.1.38-37he9dkq.mjs +0 -2
- package/dist/chunks/cli-1.1.38-38f3b9as.mjs +0 -2
- package/dist/chunks/cli-1.1.38-3a7tvcmx.mjs +0 -2
- package/dist/chunks/cli-1.1.38-3c43sfc3.mjs +0 -34
- package/dist/chunks/cli-1.1.38-3d6qg7yb.mjs +0 -7
- package/dist/chunks/cli-1.1.38-3ez6bs0j.mjs +0 -39
- package/dist/chunks/cli-1.1.38-3gyfttrt.mjs +0 -2
- package/dist/chunks/cli-1.1.38-3j9z8bce.mjs +0 -11
- package/dist/chunks/cli-1.1.38-3q70db32.mjs +0 -2
- package/dist/chunks/cli-1.1.38-41hbjb5d.mjs +0 -3
- package/dist/chunks/cli-1.1.38-44ay6q12.mjs +0 -2
- package/dist/chunks/cli-1.1.38-4dvqxnwp.mjs +0 -9
- package/dist/chunks/cli-1.1.38-4g2k1n93.mjs +0 -133
- package/dist/chunks/cli-1.1.38-4vabm3a1.mjs +0 -2
- package/dist/chunks/cli-1.1.38-4wdys8df.mjs +0 -2
- package/dist/chunks/cli-1.1.38-4x6r8r0g.mjs +0 -21
- package/dist/chunks/cli-1.1.38-5zr9x873.mjs +0 -18
- package/dist/chunks/cli-1.1.38-62gxd3va.mjs +0 -2
- package/dist/chunks/cli-1.1.38-6dwdjwfe.mjs +0 -2
- package/dist/chunks/cli-1.1.38-6g33twaj.mjs +0 -2
- package/dist/chunks/cli-1.1.38-6hng9dxr.mjs +0 -2
- package/dist/chunks/cli-1.1.38-7a0vpxbg.mjs +0 -7
- package/dist/chunks/cli-1.1.38-7vygkwbt.mjs +0 -2
- package/dist/chunks/cli-1.1.38-7wqs4198.mjs +0 -2
- package/dist/chunks/cli-1.1.38-7y52ea97.mjs +0 -2
- package/dist/chunks/cli-1.1.38-7zvbnxfm.mjs +0 -2
- package/dist/chunks/cli-1.1.38-839xw74z.mjs +0 -24
- package/dist/chunks/cli-1.1.38-8br976cg.mjs +0 -2
- package/dist/chunks/cli-1.1.38-8jshtkmf.mjs +0 -2
- package/dist/chunks/cli-1.1.38-8m9096qg.mjs +0 -6
- package/dist/chunks/cli-1.1.38-91q945ws.mjs +0 -3
- package/dist/chunks/cli-1.1.38-92g30wbv.mjs +0 -2
- package/dist/chunks/cli-1.1.38-9p14cyab.mjs +0 -2
- package/dist/chunks/cli-1.1.38-9x263zph.mjs +0 -10
- package/dist/chunks/cli-1.1.38-a2j7607w.mjs +0 -2
- package/dist/chunks/cli-1.1.38-a678cgp1.mjs +0 -251
- package/dist/chunks/cli-1.1.38-a9wkqach.mjs +0 -2
- package/dist/chunks/cli-1.1.38-abavft6n.mjs +0 -6
- package/dist/chunks/cli-1.1.38-ac33weys.mjs +0 -2
- package/dist/chunks/cli-1.1.38-an3fdzsz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-aspnz4m6.mjs +0 -2
- package/dist/chunks/cli-1.1.38-axhwttsc.mjs +0 -9
- package/dist/chunks/cli-1.1.38-azkppcr1.mjs +0 -2
- package/dist/chunks/cli-1.1.38-azv9c3jv.mjs +0 -2
- package/dist/chunks/cli-1.1.38-b56dgy8f.mjs +0 -2
- package/dist/chunks/cli-1.1.38-c0w5gdqr.mjs +0 -2
- package/dist/chunks/cli-1.1.38-c7x1esyq.mjs +0 -6
- package/dist/chunks/cli-1.1.38-cmnad0aj.mjs +0 -8
- package/dist/chunks/cli-1.1.38-cp5m26rk.mjs +0 -3
- package/dist/chunks/cli-1.1.38-cpq50ma6.mjs +0 -15
- package/dist/chunks/cli-1.1.38-cq1f1j06.mjs +0 -2
- package/dist/chunks/cli-1.1.38-ctcgmvy1.mjs +0 -2
- package/dist/chunks/cli-1.1.38-d3xjq2jk.mjs +0 -4
- package/dist/chunks/cli-1.1.38-dfcp3asv.mjs +0 -17
- package/dist/chunks/cli-1.1.38-dggxcj2x.mjs +0 -2
- package/dist/chunks/cli-1.1.38-dxtw8tjv.mjs +0 -2
- package/dist/chunks/cli-1.1.38-dz4qs0ht.mjs +0 -2
- package/dist/chunks/cli-1.1.38-e09rc4b8.mjs +0 -20
- package/dist/chunks/cli-1.1.38-e0q3xyay.mjs +0 -2
- package/dist/chunks/cli-1.1.38-e5by1ynv.mjs +0 -6
- package/dist/chunks/cli-1.1.38-e6j30tde.mjs +0 -3
- package/dist/chunks/cli-1.1.38-e84gxv9a.mjs +0 -2
- package/dist/chunks/cli-1.1.38-eafpexwg.mjs +0 -2
- package/dist/chunks/cli-1.1.38-exexvj4k.mjs +0 -5
- package/dist/chunks/cli-1.1.38-f6be5pxz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-f7fq44hz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-fembxywm.mjs +0 -2
- package/dist/chunks/cli-1.1.38-ffkc8ker.mjs +0 -42
- package/dist/chunks/cli-1.1.38-fgwfzs50.mjs +0 -2
- package/dist/chunks/cli-1.1.38-fr1kxnk2.mjs +0 -2
- package/dist/chunks/cli-1.1.38-frcvjcgw.mjs +0 -2
- package/dist/chunks/cli-1.1.38-fyw4xbm7.mjs +0 -3
- package/dist/chunks/cli-1.1.38-g94v4hq7.mjs +0 -2
- package/dist/chunks/cli-1.1.38-gdcz0rss.mjs +0 -2
- package/dist/chunks/cli-1.1.38-gp49bfxk.mjs +0 -2
- package/dist/chunks/cli-1.1.38-gqpmcnnv.mjs +0 -15
- package/dist/chunks/cli-1.1.38-gtjexepq.mjs +0 -2
- package/dist/chunks/cli-1.1.38-h013mt1h.mjs +0 -2
- package/dist/chunks/cli-1.1.38-h0643t2a.mjs +0 -63
- package/dist/chunks/cli-1.1.38-h1fqbjjb.mjs +0 -2
- package/dist/chunks/cli-1.1.38-h2f789qa.mjs +0 -2
- package/dist/chunks/cli-1.1.38-h6qtpp5r.mjs +0 -2
- package/dist/chunks/cli-1.1.38-h83nx1a5.mjs +0 -2
- package/dist/chunks/cli-1.1.38-haa4vwxj.mjs +0 -2
- package/dist/chunks/cli-1.1.38-hkbb3sr7.mjs +0 -2
- package/dist/chunks/cli-1.1.38-hvc5ed6c.mjs +0 -2
- package/dist/chunks/cli-1.1.38-jakpq48k.mjs +0 -2
- package/dist/chunks/cli-1.1.38-jr0vb3er.mjs +0 -4
- package/dist/chunks/cli-1.1.38-jrf85w1a.mjs +0 -2
- package/dist/chunks/cli-1.1.38-ka1w0zwc.mjs +0 -2
- package/dist/chunks/cli-1.1.38-kcykd1e5.mjs +0 -2
- package/dist/chunks/cli-1.1.38-kjt1gn6d.mjs +0 -135
- package/dist/chunks/cli-1.1.38-kns8wjke.mjs +0 -2
- package/dist/chunks/cli-1.1.38-kqkm7ndz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-m66mmsr6.mjs +0 -2
- package/dist/chunks/cli-1.1.38-m9k89rb6.mjs +0 -2
- package/dist/chunks/cli-1.1.38-mbfqg6za.mjs +0 -3
- package/dist/chunks/cli-1.1.38-md7mbf9q.mjs +0 -2
- package/dist/chunks/cli-1.1.38-mh6a6g83.mjs +0 -4
- package/dist/chunks/cli-1.1.38-mnr9k9j8.mjs +0 -2
- package/dist/chunks/cli-1.1.38-n5tx4p12.mjs +0 -15
- package/dist/chunks/cli-1.1.38-n9xftqbp.mjs +0 -2
- package/dist/chunks/cli-1.1.38-ndbzsvf1.mjs +0 -4
- package/dist/chunks/cli-1.1.38-nmmd7xh9.mjs +0 -4
- package/dist/chunks/cli-1.1.38-npc1f8rb.mjs +0 -3
- package/dist/chunks/cli-1.1.38-nr3yx2kb.mjs +0 -4
- package/dist/chunks/cli-1.1.38-nzbcas3j.mjs +0 -2
- package/dist/chunks/cli-1.1.38-pab9ct4p.mjs +0 -2
- package/dist/chunks/cli-1.1.38-pah268nz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-pdv3syxb.mjs +0 -2
- package/dist/chunks/cli-1.1.38-pe2vd8sk.mjs +0 -2
- package/dist/chunks/cli-1.1.38-pksnvm8s.mjs +0 -2
- package/dist/chunks/cli-1.1.38-pnngv0r7.mjs +0 -2
- package/dist/chunks/cli-1.1.38-q3emeb23.mjs +0 -2
- package/dist/chunks/cli-1.1.38-q3yhkwkh.mjs +0 -3
- package/dist/chunks/cli-1.1.38-q8ewcabe.mjs +0 -2
- package/dist/chunks/cli-1.1.38-qackcmc3.mjs +0 -2
- package/dist/chunks/cli-1.1.38-qebn65cx.mjs +0 -50
- package/dist/chunks/cli-1.1.38-qfpkjbx1.mjs +0 -2
- package/dist/chunks/cli-1.1.38-qv0rqvhj.mjs +0 -4
- package/dist/chunks/cli-1.1.38-qw1jxc9j.mjs +0 -2
- package/dist/chunks/cli-1.1.38-qwkjfytz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-qyg5n01q.mjs +0 -2
- package/dist/chunks/cli-1.1.38-r3r6jmgz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-rp0tsnde.mjs +0 -2
- package/dist/chunks/cli-1.1.38-rvjmh1y0.mjs +0 -4
- package/dist/chunks/cli-1.1.38-s1nggz9g.mjs +0 -16
- package/dist/chunks/cli-1.1.38-s8evhc7a.mjs +0 -2
- package/dist/chunks/cli-1.1.38-sjrfgskz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-sywjrgh0.mjs +0 -2
- package/dist/chunks/cli-1.1.38-t8k5snq9.mjs +0 -24
- package/dist/chunks/cli-1.1.38-tk968ykv.mjs +0 -5497
- package/dist/chunks/cli-1.1.38-tvh77h3r.mjs +0 -2
- package/dist/chunks/cli-1.1.38-v40xwwad.mjs +0 -2
- package/dist/chunks/cli-1.1.38-vbxptsq5.mjs +0 -2
- package/dist/chunks/cli-1.1.38-wbww08bk.mjs +0 -2
- package/dist/chunks/cli-1.1.38-ww8j7xpn.mjs +0 -2
- package/dist/chunks/cli-1.1.38-wwezb1bz.mjs +0 -2
- package/dist/chunks/cli-1.1.38-x0j2v4e5.mjs +0 -2
- package/dist/chunks/cli-1.1.38-xag86y98.mjs +0 -24
- package/dist/chunks/cli-1.1.38-xf78kmy6.mjs +0 -2
- package/dist/chunks/cli-1.1.38-xpar3nmx.mjs +0 -2
- package/dist/chunks/cli-1.1.38-xpjv8r2g.mjs +0 -2
- package/dist/chunks/cli-1.1.38-xr1c1bn4.mjs +0 -2
- package/dist/chunks/cli-1.1.38-xvwb3d6n.mjs +0 -2
- package/dist/chunks/cli-1.1.38-y1w55df3.mjs +0 -2
- package/dist/chunks/cli-1.1.38-y3k2y9f2.mjs +0 -2
- package/dist/chunks/cli-1.1.38-y57qzkxr.mjs +0 -2
- package/dist/chunks/cli-1.1.38-y66mw08s.mjs +0 -2
- package/dist/chunks/cli-1.1.38-y79rqp8p.mjs +0 -60
- package/dist/chunks/cli-1.1.38-y7ahpffc.mjs +0 -2
- package/dist/chunks/cli-1.1.38-yctmyw1a.mjs +0 -25
- package/dist/chunks/cli-1.1.38-yfhvhcvt.mjs +0 -5
- package/dist/chunks/cli-1.1.38-ygyme6j6.mjs +0 -2
- package/dist/chunks/cli-1.1.38-yhp9b0b0.mjs +0 -2
- package/dist/chunks/cli-1.1.38-yk5s276s.mjs +0 -2
- package/dist/chunks/cli-1.1.38-z02gnn41.mjs +0 -2
- package/dist/chunks/cli-1.1.38-z2mnaz67.mjs +0 -2
- package/dist/chunks/cli-1.1.38-z6abxdx3.mjs +0 -2
- package/dist/chunks/cli-1.1.38-z8x4q5cc.mjs +0 -12
- package/dist/chunks/cli-1.1.38-z9faf3ft.mjs +0 -6
- package/dist/chunks/cli-1.1.38-zj7fa197.mjs +0 -2
- package/dist/chunks/cli-1.1.38-zx5nqvq6.mjs +0 -2
- package/dist/chunks/client-1.1.38-7hcrtb3q.mjs +0 -1
- package/dist/chunks/color-1.1.38-eqrtxm9k.mjs +0 -1
- package/dist/chunks/compact-1.1.38-ya34rk57.mjs +0 -2
- package/dist/chunks/config-1.1.38-bbe0h0fj.mjs +0 -1
- package/dist/chunks/config-1.1.38-bfaptzc8.mjs +0 -1
- package/dist/chunks/constants-1.1.38-yytvwzgs.mjs +0 -1
- package/dist/chunks/context-1.1.38-2mgwzmk2.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.38-8bj0e1ac.mjs +0 -1
- package/dist/chunks/conversation-1.1.38-9hdq28pm.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.38-s4pj5tsz.mjs +0 -1
- package/dist/chunks/copy-1.1.38-f83q42a2.mjs +0 -9
- package/dist/chunks/cost-1.1.38-8wheqk0q.mjs +0 -1
- package/dist/chunks/createSession-1.1.38-m815jqhf.mjs +0 -1
- package/dist/chunks/debug-1.1.38-0nc58m79.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.38-t4spryyh.mjs +0 -1458
- package/dist/chunks/desktop-1.1.38-6tbjry9x.mjs +0 -2
- package/dist/chunks/detectRepository-1.1.38-fkd9xdma.mjs +0 -1
- package/dist/chunks/detection-1.1.38-21frnq82.mjs +0 -1
- package/dist/chunks/diff-1.1.38-bqd4vh6q.mjs +0 -1
- package/dist/chunks/doctor-1.1.38-yedjk1t9.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.38-2tq437dy.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.38-ag144tcy.mjs +0 -1
- package/dist/chunks/effort-1.1.38-w8zmwjyn.mjs +0 -13
- package/dist/chunks/engine-1.1.38-9p06hk6t.mjs +0 -1
- package/dist/chunks/envUtils-1.1.38-0x5t3jcn.mjs +0 -1
- package/dist/chunks/errors-1.1.38-x5yfskn2.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.38-j3f50kg4.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.38-vtsaz9ex.mjs +0 -1
- package/dist/chunks/exit-1.1.38-2az07cgq.mjs +0 -1
- package/dist/chunks/explorer-1.1.38-f8v6fw0n.mjs +0 -1
- package/dist/chunks/export-1.1.38-ryfsevs9.mjs +0 -2
- package/dist/chunks/fast-1.1.38-pqjeb7br.mjs +0 -1
- package/dist/chunks/feedback-1.1.38-a735me7a.mjs +0 -16
- package/dist/chunks/git-1.1.38-ea24mp87.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.38-mrk9kw4h.mjs +0 -1
- package/dist/chunks/goal-1.1.38-t7b2x0m7.mjs +0 -4
- package/dist/chunks/headless-1.1.38-xa7n2h6a.mjs +0 -2
- package/dist/chunks/heapdump-1.1.38-0kkahje0.mjs +0 -6
- package/dist/chunks/help-1.1.38-c6fc5w2g.mjs +0 -1
- package/dist/chunks/hooks-1.1.38-020dm4m5.mjs +0 -79
- package/dist/chunks/hooks-1.1.38-d6nx1th8.mjs +0 -1
- package/dist/chunks/ide-1.1.38-w88jdkwh.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.38-dr7f0p7d.mjs +0 -1
- package/dist/chunks/import-1.1.38-tjgkgqtj.mjs +0 -260
- package/dist/chunks/inboundAttachments-1.1.38-96y0me8c.mjs +0 -1
- package/dist/chunks/index-1.1.38-0p1da46q.mjs +0 -1
- package/dist/chunks/index-1.1.38-0vkksyqf.mjs +0 -1
- package/dist/chunks/index-1.1.38-32wb94y5.mjs +0 -1
- package/dist/chunks/index-1.1.38-b7v4mc41.mjs +0 -1
- package/dist/chunks/index-1.1.38-d5147beb.mjs +0 -1
- package/dist/chunks/index-1.1.38-e7f6p4gc.mjs +0 -2
- package/dist/chunks/index-1.1.38-fmvxdssr.mjs +0 -1
- package/dist/chunks/index-1.1.38-fx4e6n5y.mjs +0 -9
- package/dist/chunks/index-1.1.38-g6wrndbn.mjs +0 -1
- package/dist/chunks/index-1.1.38-h6safnqh.mjs +0 -1
- package/dist/chunks/index-1.1.38-he0r1v5h.mjs +0 -1
- package/dist/chunks/index-1.1.38-nqht0jy4.mjs +0 -1
- package/dist/chunks/index-1.1.38-nzxyzk3n.mjs +0 -1
- package/dist/chunks/index-1.1.38-psktz1tc.mjs +0 -23
- package/dist/chunks/index-1.1.38-r550x6ay.mjs +0 -2
- package/dist/chunks/index-1.1.38-t56hya6b.mjs +0 -9
- package/dist/chunks/index-1.1.38-t8ehet13.mjs +0 -1
- package/dist/chunks/index-1.1.38-trn75xj8.mjs +0 -1
- package/dist/chunks/index-1.1.38-tz1ab367.mjs +0 -1
- package/dist/chunks/index-1.1.38-wj6bvgqh.mjs +0 -1
- package/dist/chunks/index-1.1.38-wwvwtd47.mjs +0 -30
- package/dist/chunks/index-1.1.38-x4crzvcp.mjs +0 -5
- package/dist/chunks/index-1.1.38-xwfqwn8f.mjs +0 -1
- package/dist/chunks/init-1.1.38-kt9fktc1.mjs +0 -2
- package/dist/chunks/initReplBridge-1.1.38-89egcf9a.mjs +0 -1
- package/dist/chunks/ink-1.1.38-jgsp2t7f.mjs +0 -1
- package/dist/chunks/insights-1.1.38-hq19aerm.mjs +0 -870
- package/dist/chunks/install-1.1.38-gyyxk8ck.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.38-f2jf37sk.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.38-tset69kh.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.38-m06ry3jx.mjs +0 -1
- package/dist/chunks/latestVersionCache-1.1.38-1c7vvamf.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.38-0bgzxgy4.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.38-07neaje5.mjs +0 -1
- package/dist/chunks/log-1.1.38-7yxczk1m.mjs +0 -1
- package/dist/chunks/main-1.1.38-ckkpf6pm.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.38-wgkdf5th.mjs +0 -1
- package/dist/chunks/mcp-1.1.38-5g1dkaq3.mjs +0 -4
- package/dist/chunks/mcp-1.1.38-pv2q4v1t.mjs +0 -1
- package/dist/chunks/mcp-1.1.38-rw32ezwj.mjs +0 -17
- package/dist/chunks/mcpb-1.1.38-2j8knvey.mjs +0 -1
- package/dist/chunks/memory-1.1.38-ee240zz4.mjs +0 -128
- package/dist/chunks/model-1.1.38-0ap9xmp3.mjs +0 -1
- package/dist/chunks/model-1.1.38-5qmke302.mjs +0 -2
- package/dist/chunks/new-1.1.38-ahnzb47c.mjs +0 -1
- package/dist/chunks/node-1.1.38-8hxn3e6r.mjs +0 -15
- package/dist/chunks/node-1.1.38-v0zbmtyr.mjs +0 -1
- package/dist/chunks/oauth-1.1.38-5me1vtg3.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.38-12snq1gc.mjs +0 -14
- package/dist/chunks/output-style-1.1.38-zb5mtnss.mjs +0 -1
- package/dist/chunks/package-V72LKFNW-1.1.38-q7hcwdtx.mjs +0 -1
- package/dist/chunks/permissions-1.1.38-5kw7w85c.mjs +0 -1
- package/dist/chunks/permissions-1.1.38-nk2ndszr.mjs +0 -3
- package/dist/chunks/plan-1.1.38-z3dqqjh7.mjs +0 -1
- package/dist/chunks/plist-1.1.38-56sqgq6h.mjs +0 -1
- package/dist/chunks/plugin-1.1.38-03de52xp.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.38-0v5j57bh.mjs +0 -1
- package/dist/chunks/plugins-1.1.38-zmnat29k.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.38-s4pt4ahn.mjs +0 -2
- package/dist/chunks/print-1.1.38-9ar632da.mjs +0 -57
- package/dist/chunks/process-1.1.38-ndydtgs9.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.38-xj8xy6j7.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.38-rq94k8j4.mjs +0 -9
- package/dist/chunks/prompt-1.1.38-q5jst5dw.mjs +0 -1
- package/dist/chunks/prompt-1.1.38-qwzt31qc.mjs +0 -1
- package/dist/chunks/prompts-1.1.38-brvz08qv.mjs +0 -1
- package/dist/chunks/provider-1.1.38-zvnh7rf6.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.38-a0jrr70y.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.38-qj7m9ae0.mjs +0 -6
- package/dist/chunks/registerSubcommands-1.1.38-kn98yfrh.mjs +0 -26
- package/dist/chunks/registry-1.1.38-02xa1gxq.mjs +0 -1
- package/dist/chunks/release-notes-1.1.38-kmxj255k.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.38-n429fwj8.mjs +0 -2
- package/dist/chunks/remote-env-1.1.38-4ecvn8ra.mjs +0 -1
- package/dist/chunks/rename-1.1.38-ah715pv0.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.38-d6n16rnp.mjs +0 -1
- package/dist/chunks/resume-1.1.38-tv3f819g.mjs +0 -2
- package/dist/chunks/rewind-1.1.38-6wc124dk.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.38-d7ta609y.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.38-n01n145x.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.38-pyjs3awv.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.38-54tec9n4.mjs +0 -1
- package/dist/chunks/session-1.1.38-d20mp4b0.mjs +0 -2
- package/dist/chunks/sessionStorage-1.1.38-44je31rv.mjs +0 -1
- package/dist/chunks/settings-1.1.38-x6fb5kk1.mjs +0 -1
- package/dist/chunks/setup-1.1.38-cryd3k7j.mjs +0 -12
- package/dist/chunks/sinks-1.1.38-xt06cywv.mjs +0 -1
- package/dist/chunks/skills-1.1.38-7kbrgpe5.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.38-w24hm0h1.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.38-pmp6wqj9.mjs +0 -1
- package/dist/chunks/state-1.1.38-ttzekhjw.mjs +0 -1
- package/dist/chunks/stats-1.1.38-w347vz1w.mjs +0 -1
- package/dist/chunks/status-1.1.38-h7pzkbmj.mjs +0 -1
- package/dist/chunks/stickers-1.1.38-p6n5mskj.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.38-3b6nr5kd.mjs +0 -1
- package/dist/chunks/tasks-1.1.38-jrznh7eb.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.38-b920q217.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.38-30rjbjkp.mjs +0 -1
- package/dist/chunks/teleport-1.1.38-kqj15kwz.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.38-a1j9tav3.mjs +0 -1
- package/dist/chunks/theme-1.1.38-zqgshtd8.mjs +0 -1
- package/dist/chunks/toolPool-1.1.38-rjxnejc9.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.38-bsgpwrqw.mjs +0 -1
- package/dist/chunks/tools-1.1.38-hphgtq98.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.38-6zmefgdf.mjs +0 -69
- package/dist/chunks/types-1.1.38-yaz6xzxg.mjs +0 -1
- package/dist/chunks/update-1.1.38-qkmfgy3f.mjs +0 -72
- package/dist/chunks/upload-1.1.38-25jm1g5x.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.38-kdzcx35q.mjs +0 -14
- package/dist/chunks/usage-1.1.38-17yqaf62.mjs +0 -1
- package/dist/chunks/util-1.1.38-e3nemqk5.mjs +0 -1
- package/dist/chunks/utils-1.1.38-709jv8e9.mjs +0 -1
- package/dist/chunks/vim-1.1.38-jtz13d73.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.38-fb6heqjg.mjs +0 -13
- package/dist/chunks/wiki-1.1.38-fpkcyk67.mjs +0 -132
- package/dist/chunks/workflows-1.1.38-mj7dax7d.mjs +0 -1
- package/dist/chunks/worktree-1.1.38-9zf6zp7r.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.38-01veveaw.mjs +0 -1
- package/dist/chunks/wrapper-1.1.38-7cvdwcn2.mjs +0 -7
- /package/dist/chunks/{cli-1.1.38-5edb5t1a.mjs → cli-1.1.39-avfsydnr.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.38-48ykmxgd.mjs → cli-1.1.39-erbg35qn.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.38-fckt5c5p.mjs → cli-1.1.39-hn5s43sr.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.38-g4av033p.mjs → cli-1.1.39-jsnryd3j.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.38-0sbej1sm.mjs → cli-1.1.39-qnem4654.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ZU as X,_U as Y,mU as Z,oV as R,yU as O}from"./cli-1.1.38-dggxcj2x.mjs";import{$1 as _,W1 as $}from"./cli-1.1.38-s1nggz9g.mjs";import{Tfa as W,Yfa as H}from"./cli-1.1.38-a678cgp1.mjs";import{Aja as k,xja as Q}from"./cli-1.1.38-yfhvhcvt.mjs";k();H();O();R();function S(){let z=Z();if(!z?.teamName||!z?.agentName){Q("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:q,agentId:B,agentName:G}=z,J=Y(q);if(!J){W(Error(`[computeInitialTeamContext] Could not read team file for ${q}`));return}let K=X(q),U=!B;return Q(`[Reconnection] Computed initial team context for ${U?"leader":`teammate ${G}`} in team ${q}`),{teamName:q,teamFilePath:K,leadAgentId:J.leadAgentId,selfAgentId:B,selfAgentName:G,isLeader:U,teammates:{}}}function f(z,q,B){let G=Y(q);if(!G){W(Error(`[initializeTeammateContextFromSession] Could not read team file for ${q} (agent: ${B})`));return}let J=G.members.find((V)=>V.name===B);if(!J)Q(`[Reconnection] Member ${B} not found in team ${q} - may have been removed`);let K=J?.agentId,U=X(q);z((V)=>({...V,teamContext:{teamName:q,teamFilePath:U,leadAgentId:G.leadAgentId,selfAgentId:K,selfAgentName:B,isLeader:!1,teammates:{}}})),Q(`[Reconnection] Initialized agent context from session for ${B} in team ${q}`)}_();var j={"claude-3-opus":{modelName:"Claude 3 Opus",retirementDates:{firstParty:"January 5, 2026",bedrock:"January 15, 2026",vertex:"January 5, 2026",foundry:"January 5, 2026"}},"claude-3-7-sonnet":{modelName:"Claude 3.7 Sonnet",retirementDates:{firstParty:"February 19, 2026",bedrock:"April 28, 2026",vertex:"May 11, 2026",foundry:"February 19, 2026"}},"claude-3-5-haiku":{modelName:"Claude 3.5 Haiku",retirementDates:{firstParty:"February 19, 2026",bedrock:null,vertex:null,foundry:null}}};function w(z){let q=z.toLowerCase(),B=$();for(let[G,J]of Object.entries(j)){let K=J.retirementDates[B];if(!q.includes(G)||!K)continue;return{isDeprecated:!0,modelName:J.modelName,retirementDate:K}}return{isDeprecated:!1}}function A(z){if(!z)return null;let q=w(z);if(!q.isDeprecated)return null;return`⚠ ${q.modelName} will be retired on ${q.retirementDate}. Consider switching to a newer model.`}
|
|
2
|
-
export{S as V,f as W,A as X};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$b as Q,ac as Y}from"./cli-1.1.38-md7mbf9q.mjs";import{El as H,Fl as B,Jl as U,Kl as V,Pr as J,Qr as W,iz as K,qz as X}from"./cli-1.1.38-tk968ykv.mjs";import{Mqa as q,Pqa as v}from"./cli-1.1.38-y66mw08s.mjs";function P(k){return x.some((h)=>k.endsWith(h))}function C(k){return k.filter((h)=>H.has(h.name)||P(h.name))}function A(k,h,E){let[Z,$]=Q(J([...k,...h],"name"),K),w=(g,j)=>g.name.localeCompare(j.name),z=[...$.sort(w),...Z.sort(w)];if(G){if(G.isCoordinatorMode())return C(z)}return z}var x,G;var D=v(()=>{Y();W();B();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];G=(V(),q(U))});
|
|
2
|
-
export{P as Xb,C as Yb,A as Zb,D as _b};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Pqa as M}from"./cli-1.1.38-y66mw08s.mjs";function G(q){if(q===null||typeof q!=="object"||Array.isArray(q))return null;return q}function W(q){return typeof q==="string"&&q.length>0?q:null}function T(q){return typeof q==="boolean"?q:null}function g(q){if(!Array.isArray(q))return null;let z=[];for(let A of q){if(typeof A!=="string")return null;z.push(A)}return z}function F(q){let z=G(q);if(!z)return null;let A={};for(let[C,B]of Object.entries(z))if(typeof B==="string")A[C]=B;else if(typeof B==="number"||typeof B==="boolean")A[C]=String(B);return A}function k(q,...z){let A=q;for(let C of z){let B=G(A);if(!B)return;A=B[C]}return A}var O=()=>{};import{cpSync as X,existsSync as Q,mkdirSync as Y,readFileSync as Z,readdirSync as _,statSync as U,writeFileSync as $}from"fs";import{dirname as j}from"path";function b(q){try{return G(JSON.parse(Z(q,"utf8")))}catch{return null}}function x(q,z){$(q,JSON.stringify(z,null,2),{encoding:"utf8"})}function N(q){Y(q,{recursive:!0})}function D(q,z){if(!Q(q))return!1;if(!U(q).isDirectory())return!1;return N(j(z)),X(q,z,{recursive:!0,force:!1,errorOnExist:!1,dereference:!0}),!0}function p(q,z){let A=[],C=(B,H)=>{let I;try{I=_(B)}catch{return}for(let E of I.sort()){let J=`${B}/${E}`,K=H?`${H}/${E}`:E,L;try{L=U(J).isDirectory()}catch{continue}if(L)C(J,K);else if(z.some((V)=>E.endsWith(V)))A.push(K)}};if(!Q(q))return A;return C(q,""),A}var R=M(()=>{O()});
|
|
2
|
-
export{G as Xe,W as Ye,T as Ze,g as _e,F as $e,k as af,O as bf,b as cf,x as df,N as ef,D as ff,p as gf,R as hf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Uv as K,Vv as M,Wv as Y}from"./cli-1.1.38-tk968ykv.mjs";import{aga as Q,tga as X}from"./cli-1.1.38-qv0rqvhj.mjs";import{Jga as N}from"./cli-1.1.38-f6be5pxz.mjs";Y();Q();X();N();var T=30000;function V(){let z=new Date,F=String(z.getHours()).padStart(2,"0"),H=String(z.getMinutes()).padStart(2,"0"),J=String(z.getSeconds()).padStart(2,"0");return`${F}:${H}:${J}`}function Z(z,F){return`${K(void 0,F)}/code?bridge=${z}`}function C(z,F,H){return`${M(z,H)}?bridge=${F}`}function E({error:z,connected:F,sessionActive:H,reconnecting:J}){if(z)return{label:"Remote Control failed",color:"error"};if(J)return{label:"Remote Control reconnecting",color:"warning"};if(H||F)return{label:"Remote Control active",color:"success"};return{label:"Remote Control connecting…",color:"warning"}}function L(z){return`Code everywhere with the Claude app or ${z}`}function A(z){return`Continue coding in the Claude app or ${z}`}var P="Something went wrong, please try again";function b(z,F){return`\x1B]8;;${F}\x07${z}\x1B]8;;\x07`}
|
|
2
|
-
export{T as xa,V as ya,Z as za,C as Aa,E as Ba,L as Ca,A as Da,P as Ea,b as Fa};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{JL as _,VL as R}from"./cli-1.1.38-tk968ykv.mjs";import{Qfa as U,Yfa as E}from"./cli-1.1.38-a678cgp1.mjs";import{lga as P,nga as y,tga as A}from"./cli-1.1.38-qv0rqvhj.mjs";import{Pqa as v}from"./cli-1.1.38-y66mw08s.mjs";import{basename as D}from"path";function j(z){return`$${(z??0).toFixed(2)}`}function x(z,B){return z.worktreeSession?.worktreeName??D(z.projectPath??B)}function k(z){let{currentSessionId:B,current:J,cwd:Q,now:K}=z,X=new Map(z.instanceSessionIds.map((G,V)=>[G,V])),$=new Map(z.liveElsewhere.map((G)=>[G.sessionId,G])),F=[],H=new Set;for(let G of z.logs){let V=_(G);if(!V||H.has(V))continue;H.add(V);let Y=V===B,Z=Y?void 0:$.get(V),C=Y?"current":Z?"elsewhere":X.has(V)?"open":"inactive",N=Y?J.contextTokens??G.contextTokens:G.contextTokens,M=Y?J:Z,O=M?.runningAgents??0;F.push({sessionId:V,log:G,status:C,running:Boolean(M?.turnActive)||O>0,title:((Y?J.title:void 0)??U(G)).replace(b," "),agents:String(O),where:x(G,Q),branch:G.gitBranch??"",tokens:N?P(N):"",cost:j(M?.costUSD??z.releasedCostUSD?.get(V)??G.costUSD??G.costState?.totalCostUSD),when:y(G.modified,{now:K}),holder:Z?{pid:Z.pid,cwd:Z.cwd}:void 0})}if(B!==void 0&&!H.has(B))F.push({sessionId:B,status:"current",running:J.turnActive||J.runningAgents>0,title:J.title??"(new session)",agents:String(J.runningAgents),where:D(Q),branch:J.branch??"",tokens:J.contextTokens?P(J.contextTokens):"",cost:j(J.costUSD),when:"now"});let q=(G)=>G.log?.modified.getTime()??K.getTime();return F.sort((G,V)=>W[G.status]-W[V.status]||(G.status==="open"?X.get(G.sessionId)-X.get(V.sessionId):q(V)-q(G)))}function p(z,B){let J=B.toLowerCase().split(T).filter(Boolean);if(J.length===0)return[...z];return z.filter((Q)=>{let K=Q.log,X=[Q.title,Q.where,Q.branch,K?.firstPrompt,K?.tag,K?.prRepository&&K.prNumber?`${K.prRepository}#${K.prNumber}`:void 0,Q.sessionId].filter(Boolean).join(`
|
|
2
|
-
`).toLowerCase();return J.every(($)=>X.includes($))})}function h(z){let B=[];return z.forEach((J,Q)=>{if(J.status==="inactive"&&Q>0&&z[Q-1].status!=="inactive")B.push({kind:"divider"});B.push({kind:"row",index:Q})}),B}function g(z,B,J,Q){let K=z;if(B<K)K=B;else if(B>=K+J)K=B-J+1;return Math.max(0,Math.min(K,Q-J))}function w(z){let B=[];if(z.busy)B.push("the running turn");if(z.runningAgents>0)B.push(`${z.runningAgents} background agent${z.runningAgents===1?"":"s"}`);return B.length>0?B.join(" and "):void 0}var W,b,T;var f=v(()=>{R();E();A();W={current:0,open:1,elsewhere:2,inactive:3},b=/\s*\n\s*/g,T=/\s+/});
|
|
3
|
-
export{k as Eh,p as Fh,h as Gh,g as Hh,w as Ih,f as Jh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Dy as Q,Ey as $}from"./cli-1.1.38-tk968ykv.mjs";import{wla as V,xla as P,yma as W,zma as E}from"./cli-1.1.38-44ay6q12.mjs";import{Pqa as L}from"./cli-1.1.38-y66mw08s.mjs";function Z(x,q,D,G){var H=-1,J=x==null?0:x.length;while(++H<J){var K=x[H];q(G,K,D(K),x)}return G}var M;var N=L(()=>{M=Z});function B(x,q,D,G){return Q(x,function(H,J,K){q(G,H,D(H),K)}),G}var S;var U=L(()=>{$();S=B});function I(x,q){return function(D,G){var H=V(D)?M:S,J=q?q():{};return H(D,x,W(G,2),J)}}var X;var Y=L(()=>{N();U();E();P();X=I});var R,v;var C=L(()=>{Y();R=X(function(x,q,D){x[D?0:1].push(q)},function(){return[[],[]]}),v=R});
|
|
2
|
-
export{v as $b,C as ac};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Cqa as w,eqa as Q,fqa as V,gqa as W,hqa as X,iqa as Y,jqa as Z}from"./cli-1.1.38-ffkc8ker.mjs";import{Pqa as v}from"./cli-1.1.38-y66mw08s.mjs";function J(j,z){if(!(j instanceof Error))return!1;for(let G=Object.getPrototypeOf(j);G!==null;G=Object.getPrototypeOf(G))if(G.constructor?.name===z)return!0;return!1}function S(j){return j instanceof Q||J(j,"APIError")}function k(j){return j instanceof W||J(j,"APIConnectionError")}function F(j){return j instanceof X||J(j,"APIConnectionTimeoutError")}function D(j){return j instanceof V||J(j,"APIUserAbortError")}function P(j){return j instanceof Y||J(j,"AuthenticationError")}function x(j){return j instanceof Z||J(j,"NotFoundError")}function y(j){return j instanceof _||D(j)||j instanceof Error&&j.name==="AbortError"}function f(j,z){return j instanceof Error&&j.message===z}function N(j){return j instanceof Error?j:Error(String(j))}function I(j){return j instanceof Error?j.message:String(j)}function $(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function A(j){return $(j)==="ENOENT"}function p(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function C(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
|
|
2
|
-
`),H=G[0]??j.message,K=G.slice(1).filter((q)=>q.trim().startsWith("at "));if(K.length<=z)return j.stack;return[H,...K.slice(0,z)].join(`
|
|
3
|
-
`)}function h(j){let z=$(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function E(j){let z=I(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var B,L,_,T,O,R,U;var b=v(()=>{w();B=class B extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};L=class L extends Error{};_=class _ extends Error{constructor(j){super(j);this.name="AbortError"}};T=class T extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};O=class O extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};R=class R extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};U=class U extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
|
|
4
|
-
export{B as Hja,L as Ija,_ as Jja,S as Kja,k as Lja,F as Mja,D as Nja,P as Oja,x as Pja,y as Qja,T as Rja,O as Sja,R as Tja,U as Uja,f as Vja,N as Wja,I as Xja,$ as Yja,A as Zja,p as _ja,C as $ja,h as aka,E as bka,b as cka};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{G5 as c,m5 as S,o2 as j,r2 as h}from"./cli-1.1.38-s1nggz9g.mjs";import{d6 as b,e6 as l}from"./cli-1.1.38-zx5nqvq6.mjs";import{Q8 as D,y8 as Y}from"./cli-1.1.38-t8k5snq9.mjs";import{e9 as F,f9 as R}from"./cli-1.1.38-38f3b9as.mjs";import{Tfa as y,Yfa as I}from"./cli-1.1.38-a678cgp1.mjs";import{Cha as $,Dha as E,Eha as _,Fha as T}from"./cli-1.1.38-h0643t2a.mjs";import{wia as v,xia as m}from"./cli-1.1.38-z02gnn41.mjs";import{Aja as z,aja as M,fja as U,xja as W}from"./cli-1.1.38-yfhvhcvt.mjs";import{Wja as k,Xja as q,cka as O}from"./cli-1.1.38-mh6a6g83.mjs";import{Pqa as A}from"./cli-1.1.38-y66mw08s.mjs";import{randomUUID as d}from"crypto";function u(J){if(!Y.isAxiosError(J))return!1;if(!J.response)return!0;if(J.response.status>=500)return!0;return!1}async function p(J,B){let N;for(let K=0;K<=x;K++)try{return await Y.get(J,B)}catch(Q){if(N=Q,!u(Q))throw Q;if(K>=x)throw W(`Teleport request failed after ${K+1} attempts: ${q(Q)}`),Q;let V=f[K]??2000;W(`Teleport request failed (attempt ${K+1}/${x+1}), retrying in ${V}ms: ${q(Q)}`),await b(V)}throw N}async function C(){let J=S()?.accessToken;if(J===void 0)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let B=await j();if(!B)throw Error("Unable to get organization UUID");return{accessToken:J,orgUUID:B}}async function BJ(){let{accessToken:J,orgUUID:B}=await C(),N=`${v().BASE_API_URL}/v1/sessions`;try{let K={...L(J),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},Q=await p(N,{headers:K});if(Q.status!==200)throw Error(`Failed to fetch code sessions: ${Q.statusText}`);return Q.data.data.map((Z)=>{let X=Z.session_context.sources.find((G)=>G.type==="git_repository"),H=null;if(X?.url){let G=F(X.url);if(G){let[w,P]=G.split("/");if(w&&P)H={name:P,owner:{login:w},default_branch:X.revision||void 0}}}return{id:Z.id,title:Z.title||"Untitled",description:"",status:Z.session_status,repo:H,turns:[],created_at:Z.created_at,updated_at:Z.updated_at}})}catch(K){let Q=k(K);throw y(Q),K}}function L(J){return{Authorization:`Bearer ${J}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}}async function NJ(J){let{accessToken:B,orgUUID:N}=await C(),K=`${v().BASE_API_URL}/v1/sessions/${J}`,Q={...L(B),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":N},V=await Y.get(K,{headers:Q,timeout:15000,validateStatus:(Z)=>Z<500});if(V.status!==200){let X=V.data?.error?.message;if(V.status===404)throw Error(`Session not found: ${J}`);if(V.status===401)throw Error("Session expired. Please run /login to sign in again.");throw Error(X||`Failed to fetch session: ${V.status} ${V.statusText}`)}return V.data}function WJ(J){return J.session_context.outcomes?.find((N)=>N.type==="git_repository")?.git_info?.branches[0]}async function GJ(J,B,N){try{let{accessToken:K,orgUUID:Q}=await C(),V=`${v().BASE_API_URL}/v1/sessions/${J}/events`,Z={...L(K),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":Q},H={events:[{uuid:N?.uuid??d(),session_id:J,type:"user",parent_tool_use_id:null,message:{role:"user",content:B}}]};W(`[sendEventToRemoteSession] Sending event to session ${J}`);let G=await Y.post(V,H,{headers:Z,validateStatus:(w)=>w<500,timeout:30000});if(G.status===200||G.status===201)return W(`[sendEventToRemoteSession] Successfully sent event to session ${J}`),!0;return W(`[sendEventToRemoteSession] Failed with status ${G.status}: ${M(G.data)}`),!1}catch(K){return W(`[sendEventToRemoteSession] Error: ${q(K)}`),!1}}async function XJ(J,B){try{let{accessToken:N,orgUUID:K}=await C(),Q=`${v().BASE_API_URL}/v1/sessions/${J}`,V={...L(N),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":K};W(`[updateSessionTitle] Updating title for session ${J}: "${B}"`);let Z=await Y.patch(Q,{title:B},{headers:V,validateStatus:(X)=>X<500});if(Z.status===200)return W(`[updateSessionTitle] Successfully updated title for session ${J}`),!0;return W(`[updateSessionTitle] Failed with status ${Z.status}: ${M(Z.data)}`),!1}catch(N){return W(`[updateSessionTitle] Error: ${q(N)}`),!1}}var f,x,$J;var g=A(()=>{D();m();h();E();c();z();R();O();T();I();l();U();f=[2000,4000,8000,16000],x=f.length;$J=_(()=>$.object({id:$.string(),title:$.string(),description:$.string(),status:$.enum(["idle","working","waiting","completed","archived","cancelled","rejected"]),repo:$.object({name:$.string(),owner:$.object({login:$.string()}),default_branch:$.string().optional()}).nullable(),turns:$.array($.string()),created_at:$.string(),updated_at:$.string()}))});
|
|
2
|
-
export{u as cY,p as dY,$J as eY,BJ as fY,L as gY,NJ as hY,WJ as iY,GJ as jY,XJ as kY,g as lY};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{v1 as $J,x1 as TJ}from"./cli-1.1.38-pnngv0r7.mjs";import{A_ as YJ,Ada as ZJ,B_ as xJ,Nda as NJ,S9 as U,Tfa as q,U9 as P,Yfa as m,c_ as QJ,e_ as jJ,h_ as w,s$ as K,t$ as f,xea as E}from"./cli-1.1.38-a678cgp1.mjs";import{Aja as wJ,aja as k,bja as L,fja as b,jja as y,nja as D,xja as W}from"./cli-1.1.38-yfhvhcvt.mjs";import{Hja as JJ,Yja as M,Zja as B,aka as g,cka as N}from"./cli-1.1.38-mh6a6g83.mjs";import{fka as O,qka as I}from"./cli-1.1.38-nzbcas3j.mjs";import{Pqa as x}from"./cli-1.1.38-y66mw08s.mjs";import{access as u,chmod as vJ,writeFile as BJ}from"fs/promises";import{homedir as d}from"os";import{join as v}from"path";function T(){return v(O(),"local")}function GJ(J=d()){return v(J,".claude","local")}function h(J){let Q=J?.homeDir??d(),Y=J?.configHomeDir??O();return Array.from(new Set([v(Y,"local"),GJ(Q)]))}function p(J){return[v(J,"node_modules",".bin","claudin"),v(J,"node_modules",".bin","claude")]}function RJ(J){let Q=J.replace(/\\+/g,"/");return Q.includes("/.claudin/local/node_modules/")||Q.includes("/.claude/local/node_modules/")}function A(){return v(T(),"claudin")}function iJ(){return RJ(U())}async function F(J,Q,Y){try{return await BJ(J,Q,{encoding:"utf8",flag:"wx",mode:Y}),!0}catch(Z){if(M(Z)==="EEXIST")return!1;throw Z}}async function _J(){try{let J=T();await y().mkdir(J),await F(v(J,"package.json"),k({name:"claudin-local",version:"0.0.1",private:!0},null,2));let Q=A();if(await F(Q,`#!/bin/sh
|
|
2
|
-
exec "${J}/node_modules/.bin/claudin" "$@"`,493))await vJ(Q,493);return!0}catch(J){return q(J),!1}}async function eJ(J,Q){try{if(!await _J())return"install_failed";let Z=await K("npm",["install",`@claudiolabs/claudin@${Q?Q:J==="stable"?"stable":"latest"}`],{cwd:T(),maxBuffer:1e6});if(Z.code!==0){let $=Error(`Failed to install Claude CLI package: ${Z.stderr}`);return q($),Z.code===190?"in_progress":"install_failed"}return w(($)=>({...$,installMethod:"local"})),"success"}catch(Y){return q(Y),"install_failed"}}async function rJ(){for(let J of h())for(let Q of p(J))try{return await u(Q),!0}catch{}return!1}async function JQ(){for(let J of h())for(let Q of p(J))try{return await u(Q),J}catch{}return null}function QQ(){let J=process.env.SHELL||"";if(J.includes("zsh"))return"zsh";if(J.includes("bash"))return"bash";if(J.includes("fish"))return"fish";return"unknown"}var c=x(()=>{P();E();I();N();f();D();m();b()});import{open as OJ,readFile as MJ,stat as yJ}from"fs/promises";import{homedir as n}from"os";import{join as V}from"path";function C(J){let Q=J?.homedir??n(),Z=(J?.env??process.env).ZDOTDIR||Q;return{zsh:V(Z,".zshrc"),bash:V(Q,".bashrc"),fish:V(Q,".config/fish/config.fish")}}function s(J){let Q=!1;return{filtered:J.filter((Z)=>{if(t.test(Z)){let $=Z.match(/alias\s+claude\s*=\s*["']([^"']+)["']/);if(!$)$=Z.match(/alias\s+claude\s*=\s*([^#\n]+)/);if($&&$[1]){if($[1].trim()===A())return Q=!0,!1}}return!0}),hadAlias:Q}}async function S(J){try{return(await MJ(J,{encoding:"utf8"})).split(`
|
|
3
|
-
`)}catch(Q){if(g(Q))return null;throw Q}}async function l(J,Q){let Y=await OJ(J,"w");try{await Y.writeFile(Q.join(`
|
|
4
|
-
`),{encoding:"utf8"}),await Y.datasync()}finally{await Y.close()}}async function UJ(J){let Q=C(J);for(let Y of Object.values(Q)){let Z=await S(Y);if(!Z)continue;for(let $ of Z)if(t.test($)){let X=$.match(/alias\s+claude=["']?([^"'\s]+)/);if(X&&X[1])return X[1]}}return null}async function XQ(J){let Q=await UJ(J);if(!Q)return null;let Y=J?.homedir??n(),Z=Q.startsWith("~")?Q.replace("~",Y):Q;try{let $=await yJ(Z);if($.isFile()||$.isSymbolicLink())return Q}catch{}return null}var t;var a=x(()=>{N();c();t=/^\s*alias\s+claude\s*=/});import{constants as qJ}from"fs";import{access as KJ,readFile as AJ,stat as VJ,writeFile as o}from"fs/promises";import{homedir as z}from"os";import{join as H}from"path";function CJ(){let J=U();if(J.includes("/.bun/install/global/"))return!0;let Q=process.env.BUN_INSTALL;if(Q&&J.startsWith(Q))return!0;return!1}function WJ(){return CJ()?"bun":"npm"}function XJ(){let J=process.env.BUN_INSTALL||H(z(),".bun");return H(J,"install","global","node_modules","@claudiolabs/claudin")}async function FJ(){let J=await K("npm",["-g","config","get","prefix"],{cwd:z()});if(J.code!==0)return null;let Q=J.stdout.trim();if(!Q)return null;return YJ()==="windows"?H(Q,"node_modules","@claudiolabs/claudin"):H(Q,"lib","node_modules","@claudiolabs/claudin")}async function i(J){try{let Q=await AJ(H(J,"package.json"),"utf8"),Y=L(Q);return typeof Y.version==="string"?Y.version:null}catch(Q){if(!B(Q))q(Q);return null}}function e(J){return J==="bun"?Promise.resolve(XJ()):FJ()}async function IJ(J,Q,Y){let Z=J==="npm"?"bun":"npm",$=await e(Z);if(!$)return;let X=await i($);if(!X)return;let R=await e(J),_=R?await i(R):null;if(_&&X===_)return;W(`update: repairing stale ${Z} install ${X} at ${$}`);let j=await K(Z,Z==="npm"?["install","-g","--force",Q]:["install","-g",Q],{cwd:z()});if(j.code!==0){q(new G(`Failed to refresh the ${Z} global install at ${$}: ${j.stdout} ${j.stderr}`));return}if(Z==="bun")await zJ();Y?.(`Repaired old version ${X} at ${$}`)}async function kJ(J,Q){let Y=await K("node",[J],{cwd:Q});if(Y.code===0)return!0;if(!LJ.test(Y.error??""))return q(new G(`Skipped postinstall failed under node: ${Y.stdout} ${Y.stderr}`)),!1;let Z=await K("bun",[J],{cwd:Q});if(Z.code===0)return!0;return q(new G(`Skipped postinstall failed under bun: ${Z.stdout} ${Z.stderr}`)),!1}async function zJ(){let J=XJ(),Q=H(J,"install.cjs"),Y=H(J,"bin","claudin.exe");try{await KJ(Q,qJ.F_OK)}catch(Z){if(!B(Z))q(Z);return!1}try{if((await VJ(Y)).size>SJ)return!1}catch(Z){if(!B(Z))return q(Z),!1}if(!await kJ(Q,J))return!1;return W("update: repaired Bun global launcher via install.cjs"),!0}async function SQ(){}async function LQ(){return}async function FQ(){return}function IQ(J){let Y=ZJ()?.minimumVersion;if(!Y)return!1;let Z=!$J(J,Y);if(Z)W(`Skipping update to ${J} - below minimumVersion ${Y}`);return Z}function HJ(){return H(O(),".update.lock")}async function bJ(){let J=y(),Q=HJ();try{let Y=await J.stat(Q);if(Date.now()-Y.mtimeMs<r)return!1;try{let $=await J.stat(Q);if(Date.now()-$.mtimeMs<r)return!1;await J.unlink(Q)}catch($){if(!B($))return q($),!1}}catch(Y){if(!B(Y))return q(Y),!1}try{return await o(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch(Y){let Z=M(Y);if(Z==="EEXIST")return!1;if(Z==="ENOENT")try{return await J.mkdir(O()),await o(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch($){if(M($)==="EEXIST")return!1;return q($),!1}return q(Y),!1}}async function DJ(){let J=y(),Q=HJ();try{if(await J.readFile(Q,{encoding:"utf8"})===`${process.pid}`)await J.unlink(Q)}catch(Y){if(B(Y))return;q(Y)}}async function PJ(){let J=WJ()==="bun",Q=null;if(J)Q=await K("bun",["pm","bin","-g"],{cwd:z()});else Q=await K("npm",["-g","config","get","prefix"],{cwd:z()});if(Q.code!==0)return q(Error(`Failed to check ${J?"bun":"npm"} permissions`)),null;return Q.stdout.trim()}async function fJ(){try{let J=await PJ();if(!J)return{hasPermissions:!1,npmPrefix:null};try{return await KJ(J,qJ.W_OK),{hasPermissions:!0,npmPrefix:J}}catch{return q(new G("Insufficient permissions for global npm install.")),{hasPermissions:!1,npmPrefix:J}}}catch(J){return q(J),{hasPermissions:!1,npmPrefix:null}}}async function kQ(J,Q={}){let Y=J==="stable"?"stable":"latest",Z=Q.timeoutMs??5000,$=await K("npm",["view",`@claudiolabs/claudin@${Y}`,"version","--prefer-online"],{abortSignal:AbortSignal.timeout(Z),cwd:z()});if($.code!==0){if(W(`npm view failed with code ${$.code}`),$.stderr)W(`npm stderr: ${$.stderr.trim()}`);else W("npm stderr: (empty)");if($.stdout)W(`npm stdout: ${$.stdout.trim()}`);return null}return $.stdout.trim()}async function bQ(){let J=await K("npm",["view","@claudiolabs/claudin","dist-tags","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(5000),cwd:z()});if(J.code!==0)return W(`npm view dist-tags failed with code ${J.code}`),{latest:null,stable:null};try{let Q=L(J.stdout.trim());return{latest:typeof Q.latest==="string"?Q.latest:null,stable:typeof Q.stable==="string"?Q.stable:null}}catch(Q){return W(`Failed to parse dist-tags: ${Q}`),{latest:null,stable:null}}}async function DQ(J){return null}async function PQ(){return{latest:null,stable:null}}async function fQ(J,Q){if(!await bJ())return q(new G("Another process is currently installing an update")),"in_progress";try{await EJ();let Y=WJ();if(Y==="npm"&&QJ.isNpmFromWindowsPath())return q(Error("Windows NPM detected in WSL environment")),console.error(`
|
|
5
|
-
Error: Windows NPM detected in WSL
|
|
6
|
-
|
|
7
|
-
You're running Claudin in WSL but using the Windows NPM installation from /mnt/c/.
|
|
8
|
-
This configuration is not supported for updates.
|
|
9
|
-
|
|
10
|
-
To fix this issue:
|
|
11
|
-
1. Install Node.js within your Linux distribution: e.g. sudo apt install nodejs npm
|
|
12
|
-
2. Make sure Linux NPM is in your PATH before the Windows version
|
|
13
|
-
3. Try updating again with 'claudin update'
|
|
14
|
-
`),"install_failed";let{hasPermissions:Z}=await fJ();if(!Z)return"no_permissions";let $=J?`@claudiolabs/claudin@${J}`:"@claudiolabs/claudin",R=await K(Y,Y==="npm"?["install","-g","--force",$]:["install","-g",$],{cwd:z()});if(R.code!==0){let _=new G(`Failed to install new version of claude: ${R.stdout} ${R.stderr}`);return q(_),"install_failed"}return await zJ(),await IJ(Y,$,Q?.onProgress),w((_)=>({..._,installMethod:"global"})),"success"}finally{await DJ()}}async function EJ(){let J=C();for(let[,Q]of Object.entries(J))try{let Y=await S(Q);if(!Y)continue;let{filtered:Z,hadAlias:$}=s(Y);if($)await l(Q,Z),W(`Removed claude alias from ${Q}`)}catch(Y){W(`Failed to remove alias from ${Q}: ${Y}`,{level:"error"})}}var G,SJ=4096,LJ,r=300000;var mJ=x(()=>{P();E();wJ();jJ();I();N();f();D();m();xJ();TJ();NJ();a();b();G=class G extends JJ{};LJ=/ENOENT/i});
|
|
15
|
-
export{iJ as eT,eJ as fT,rJ as gT,JQ as hT,QQ as iT,c as jT,C as kT,s as lT,S as mT,l as nT,UJ as oT,XQ as pT,a as qT,XJ as rT,zJ as sT,SQ as tT,LQ as uT,FQ as vT,IQ as wT,HJ as xT,fJ as yT,kQ as zT,bQ as AT,DQ as BT,PQ as CT,fQ as DT,mJ as ET};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Pqa as V}from"./cli-1.1.38-y66mw08s.mjs";var k0,b;var T=V(()=>{k0=typeof global=="object"&&global&&global.Object===Object&&global,b=k0});var m0,y0,K;var z=V(()=>{T();m0=typeof self=="object"&&self&&self.Object===Object&&self,y0=b||m0||Function("return this")(),K=y0});var l0,B;var x=V(()=>{z();l0=K.Symbol,B=l0});function c0(q){var Z=v0.call(q,N),Q=q[N];try{q[N]=void 0;var Y=!0}catch(L){}var A=u0.call(q);if(Y)if(Z)q[N]=Q;else delete q[N];return A}var j,v0,u0,N,C;var f=V(()=>{x();j=Object.prototype,v0=j.hasOwnProperty,u0=j.toString,N=B?B.toStringTag:void 0;C=c0});function i0(q){return o0.call(q)}var h0,o0,g;var d=V(()=>{h0=Object.prototype,o0=h0.toString;g=i0});function s0(q){if(q==null)return q===void 0?r0:n0;return p&&p in Object(q)?C(q):g(q)}var n0="[object Null]",r0="[object Undefined]",p,k;var m=V(()=>{x();f();d();p=B?B.toStringTag:void 0;k=s0});function t0(q){var Z=typeof q;return q!=null&&(Z=="object"||Z=="function")}var G;var O=V(()=>{G=t0});function Qq(q){if(!G(q))return!1;var Z=k(q);return Z==e0||Z==qq||Z==a0||Z==Zq}var a0="[object AsyncFunction]",e0="[object Function]",qq="[object GeneratorFunction]",Zq="[object Proxy]",y;var l=V(()=>{m();O();y=Qq});var Vq,I;var v=V(()=>{z();Vq=K["__core-js_shared__"],I=Vq});function Yq(q){return!!u&&u in q}var u,c;var h=V(()=>{v();u=function(){var q=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return q?"Symbol(src)_1."+q:""}();c=Yq});function Xq(q){if(q!=null){try{return Wq.call(q)}catch(Z){}try{return q+""}catch(Z){}}return""}var $q,Wq,o;var i=V(()=>{$q=Function.prototype,Wq=$q.toString;o=Xq});function Nq(q){if(!G(q)||c(q))return!1;var Z=y(q)?Lq:Bq;return Z.test(o(q))}var Kq,Bq,Jq,Uq,Eq,Aq,Lq,n;var r=V(()=>{l();h();O();i();Kq=/[\\^$.*+?()[\]{}|]/g,Bq=/^\[object .+?Constructor\]$/,Jq=Function.prototype,Uq=Object.prototype,Eq=Jq.toString,Aq=Uq.hasOwnProperty,Lq=RegExp("^"+Eq.call(Aq).replace(Kq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n=Nq});function wq(q,Z){return q==null?void 0:q[Z]}var s;var t=V(()=>{s=wq});function Fq(q,Z){var Q=s(q,Z);return n(Q)?Q:void 0}var D;var R=V(()=>{r();t();D=Fq});var Pq,$;var w=V(()=>{R();Pq=D(Object,"create"),$=Pq});function zq(){this.__data__=$?$(null):{},this.size=0}var a;var e=V(()=>{w();a=zq});function Gq(q){var Z=this.has(q)&&delete this.__data__[q];return this.size-=Z?1:0,Z}var q0;var Z0=V(()=>{q0=Gq});function Oq(q){var Z=this.__data__;if($){var Q=Z[q];return Q===Iq?void 0:Q}return xq.call(Z,q)?Z[q]:void 0}var Iq="__lodash_hash_undefined__",Dq,xq,Q0;var V0=V(()=>{w();Dq=Object.prototype,xq=Dq.hasOwnProperty;Q0=Oq});function Mq(q){var Z=this.__data__;return $?Z[q]!==void 0:Hq.call(Z,q)}var Rq,Hq,Y0;var $0=V(()=>{w();Rq=Object.prototype,Hq=Rq.hasOwnProperty;Y0=Mq});function Sq(q,Z){var Q=this.__data__;return this.size+=this.has(q)?0:1,Q[q]=$&&Z===void 0?_q:Z,this}var _q="__lodash_hash_undefined__",W0;var X0=V(()=>{w();W0=Sq});function J(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var H;var K0=V(()=>{e();Z0();V0();$0();X0();J.prototype.clear=a;J.prototype.delete=q0;J.prototype.get=Q0;J.prototype.has=Y0;J.prototype.set=W0;H=J});function bq(){this.__data__=[],this.size=0}var B0;var J0=V(()=>{B0=bq});function Tq(q,Z){return q===Z||q!==q&&Z!==Z}var U0;var E0=V(()=>{U0=Tq});function jq(q,Z){var Q=q.length;while(Q--)if(U0(q[Q][0],Z))return Q;return-1}var W;var F=V(()=>{E0();W=jq});function gq(q){var Z=this.__data__,Q=W(Z,q);if(Q<0)return!1;var Y=Z.length-1;if(Q==Y)Z.pop();else fq.call(Z,Q,1);return--this.size,!0}var Cq,fq,A0;var L0=V(()=>{F();Cq=Array.prototype,fq=Cq.splice;A0=gq});function dq(q){var Z=this.__data__,Q=W(Z,q);return Q<0?void 0:Z[Q][1]}var N0;var w0=V(()=>{F();N0=dq});function pq(q){return W(this.__data__,q)>-1}var F0;var P0=V(()=>{F();F0=pq});function kq(q,Z){var Q=this.__data__,Y=W(Q,q);if(Y<0)++this.size,Q.push([q,Z]);else Q[Y][1]=Z;return this}var z0;var G0=V(()=>{F();z0=kq});function U(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var I0;var D0=V(()=>{J0();L0();w0();P0();G0();U.prototype.clear=B0;U.prototype.delete=A0;U.prototype.get=N0;U.prototype.has=F0;U.prototype.set=z0;I0=U});var mq,x0;var O0=V(()=>{R();z();mq=D(K,"Map"),x0=mq});function yq(){this.size=0,this.__data__={hash:new H,map:new(x0||I0),string:new H}}var R0;var H0=V(()=>{K0();D0();O0();R0=yq});function lq(q){var Z=typeof q;return Z=="string"||Z=="number"||Z=="symbol"||Z=="boolean"?q!=="__proto__":q===null}var M0;var _0=V(()=>{M0=lq});function vq(q,Z){var Q=q.__data__;return M0(Z)?Q[typeof Z=="string"?"string":"hash"]:Q.map}var X;var P=V(()=>{_0();X=vq});function uq(q){var Z=X(this,q).delete(q);return this.size-=Z?1:0,Z}var S0;var b0=V(()=>{P();S0=uq});function cq(q){return X(this,q).get(q)}var T0;var j0=V(()=>{P();T0=cq});function hq(q){return X(this,q).has(q)}var C0;var f0=V(()=>{P();C0=hq});function oq(q,Z){var Q=X(this,q),Y=Q.size;return Q.set(q,Z),this.size+=Q.size==Y?0:1,this}var g0;var d0=V(()=>{P();g0=oq});function E(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var M;var p0=V(()=>{H0();b0();j0();f0();d0();E.prototype.clear=R0;E.prototype.delete=S0;E.prototype.get=T0;E.prototype.has=C0;E.prototype.set=g0;M=E});function _(q,Z){if(typeof q!="function"||Z!=null&&typeof Z!="function")throw TypeError(iq);var Q=function(){var Y=arguments,A=Z?Z.apply(this,Y):Y[0],L=Q.cache;if(L.has(A))return L.get(A);var S=q.apply(this,Y);return Q.cache=L.set(A,S)||L,S};return Q.cache=new(_.Cache||M),Q}var iq="Expected a function",j6;var nq=V(()=>{p0();_.Cache=M;j6=_});
|
|
2
|
-
export{U0 as Cpa,E0 as Dpa,I0 as Epa,D0 as Fpa,b as Gpa,T as Hpa,K as Ipa,z as Jpa,B as Kpa,x as Lpa,k as Mpa,m as Npa,G as Opa,O as Ppa,y as Qpa,l as Rpa,o as Spa,i as Tpa,D as Upa,R as Vpa,x0 as Wpa,O0 as Xpa,M as Ypa,p0 as Zpa,j6 as _pa,nq as $pa};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Bp as qJ,Dp as dJ,Ep as IJ,Fp as BJ,Gp as cJ,JS as vJ,KS as YV,Sl as hJ,kS as TJ}from"./cli-1.1.38-tk968ykv.mjs";import{Ada as f,E$ as WJ,H_ as AJ,J$ as p,N_ as kJ,Nda as mJ,Tfa as G,Yfa as uJ,aaa as fJ,j_ as VJ,s$ as c,t$ as PJ,xea as gJ}from"./cli-1.1.38-a678cgp1.mjs";import{Iha as v,Kha as bJ}from"./cli-1.1.38-fr1kxnk2.mjs";import{Aja as yJ,jja as JJ,nja as SJ,xja as Q}from"./cli-1.1.38-yfhvhcvt.mjs";import{Xja as e,cka as zJ}from"./cli-1.1.38-mh6a6g83.mjs";import{Wka as NJ,Xka as wJ}from"./cli-1.1.38-44ay6q12.mjs";import{Lqa as LJ,Pqa as HJ}from"./cli-1.1.38-y66mw08s.mjs";class d{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 X=0;X<J.length;X++){let _=J[X];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if((X&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let $=!0;for(let X=0;X<V.length;X++)if(this.indexPath(X),(X&255)===255&&performance.now()-Y>4){if(this.readyCount=X+1,$)W(),$=!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=CJ(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 $=W.charCodeAt(Y);if($>=97&&$<=122)V|=1<<$-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),$=Array(Y),X=0;for(let M=0;M<Y;M++){let D=V.charAt(M);$[M]=D;let E=D.charCodeAt(0);if(E>=97&&E<=122)X|=1<<E-97}let _=Y*24+8+32,H=[],q=-1/0,{paths:B,lowerPaths:A,charBits:F,pathLens:U,readyCount:m}=this;J:for(let M=0;M<m;M++){if((F[M]&X)!==X)continue;let D=Z?B[M]:A[M],E=D.indexOf($[0]);if(E===-1)continue;y[0]=E;let C=0,g=0,u=E;for(let N=1;N<Y;N++){if(E=D.indexOf($[N],u+1),E===-1)continue J;y[N]=E;let K=E-u-1;if(K===0)g+=4;else C+=3+K*1;u=E}if(H.length===W&&_+g-C<=q)continue;let S=B[M],UJ=U[M],T=Y*16+g-C;T+=XJ(S,y[0],!0);for(let N=1;N<Y;N++)T+=XJ(S,y[N],!1);if(T+=Math.max(0,32-(UJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((N,K)=>N.fuzzScore-K.fuzzScore),q=H[0].fuzzScore}else if(T>q){let N=0,K=H.length;while(N<K){let h=N+K>>1;if(H[h].fuzzScore<T)N=h+1;else K=h}H.splice(N,0,{path:S,fuzzScore:T}),H.shift(),q=H[0].fuzzScore}}H.sort((M,D)=>D.fuzzScore-M.fuzzScore);let I=H.length,w=Math.max(I,1),z=Array(I);for(let M=0;M<I;M++){let D=H[M].path,E=M/w,C=D.includes("test")?Math.min(E*1.05,1):E;z[M]={path:D,score:C}}return z}}function XJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(jJ(V))return 8;if(RJ(V)&&GJ(J.charCodeAt(W)))return 6;return 0}function jJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function RJ(J){return J>=97&&J<=122}function GJ(J){return J>=65&&J<=90}function b(){return new Promise((J)=>setImmediate(J))}function CJ(J,W){let Z=new Set;for(let Y of J){let $=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){$=_;break}}let X=Y.slice(0,$);if(X.length>0){if(Z.add(X),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,$)=>{let X=Y.length-$.length;if(X!==0)return X;return Y<$?-1:Y>$?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var _J=4,y;var QJ=HJ(()=>{y=new Int32Array(64)});import{statSync as pJ}from"fs";import*as O from"path";function l(){if(!x)x=new d;return x}function TV(){x=null,j=null,R++,k=null,L=[],ZJ=[],$J=[],YJ.clear(),n=null,s=null,o=0,a=null,i=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 $=J[Y];for(let X=0;X<$.length;X++)V=(V^$.charCodeAt(X))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let $=0;$<Y.length;$++)V=(V^Y.charCodeAt($))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function lJ(){let J=WJ(v());if(!J)return null;try{return pJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function MJ(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 nJ(J){if(J.length===0)return;if(!x||L.length===0)return;let W=await FJ(J),Z=[...L,...ZJ,...$J,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await x.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${L.length} tracked + ${J.length} untracked files`)}async function OJ(J,W){let Z=`${J}:${W}`;if(s===Z)return n;let V=JJ(),Y=[".ignore",".rgignore"],$=[...new Set([J,W])],X=DJ.default(),_=!1,H=$.flatMap((A)=>Y.map((F)=>O.join(A,F))),q=await Promise.all(H.map((A)=>V.readFile(A,{encoding:"utf8"}).catch(()=>null)));for(let[A,F]of q.entries()){if(F===null)continue;X.add(F),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[A]}`)}let B=_?X:null;return n=B,s=Z,B}async function sJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=WJ(v());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=v(),$=Date.now(),X=await c(p(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-$}ms`),X.code!==0)return Q(`[FileIndex] git ls-files failed (code=${X.code}, stderr=${X.stderr}), falling back to ripgrep`),null;let _=X.stdout.trim().split(`
|
|
2
|
-
`).filter(Boolean),H=MJ(_,V,Y),q=await OJ(V,Y);if(q){let A=H.length;H=q.filter(H),Q(`[FileIndex] applied ignore patterns: ${A} -> ${H.length} files`)}L=H;let B=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${B}ms`),!k){let A=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],F=R;k=c(p(),A,{timeout:1e4,cwd:V}).then(async(U)=>{if(F!==R)return;if(U.code===0){let m=U.stdout.trim().split(`
|
|
3
|
-
`).filter(Boolean),I=MJ(m,V,Y),w=await OJ(V,Y);if(w&&I.length>0){let z=I.length;I=w.filter(I),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${I.length} files`)}Q(`[FileIndex] background untracked fetch: ${I.length} files`),nJ(I)}}).catch((U)=>{Q(`[FileIndex] background untracked fetch failed: ${U}`)}).finally(()=>{k=null})}return H}catch(Y){return Q(`[FileIndex] git ls-files error: ${e(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(oJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>_J)await b(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function oJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let $=O.dirname(J[Y]);while($!=="."&&!V.has($)){let X=O.dirname($);if(X===$)break;V.add($),$=X}}}async function aJ(J){return(await Promise.all(IJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function iJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await sJ(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"),KJ(J,W)}async function KJ(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=v(),X=(await qJ(V,Y,J)).map((H)=>O.relative(Y,H)),_=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${X.length} files in ${_}ms`),X}async function vV(){let J=AbortSignal.timeout(1e4),W=f(),Z=VJ(),V=W.respectGitignore??Z.respectGitignore??!0;try{return await KJ(J,V)}catch(Y){return G(Y),[]}}async function rJ(){let J=AbortSignal.timeout(1e4),W=l();try{let Z=f(),V=VJ(),Y=Z.respectGitignore??V.respectGitignore??!0,$=v(),[X,_]=await Promise.all([iJ(J,Y),aJ($)]);ZJ=_;let H=[...X,..._],q=await FJ(H);$J=q;let B=[...q,...H],A=xJ(B);if(A!==i)await W.loadFromFileListAsync(B).done,i=A,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){G(Z)}return W}function tJ(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 UV(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=tJ(Z,Y),Z==="")return""}return Z}function r(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function eJ(J,W){return J.search(W,t).map((V)=>r(V.path,V.score))}function EJ(){if(j)return;let J=lJ();if(x){if(!(J!==null&&J!==a)&&Date.now()-o<JV)return}let W=R,Z=Date.now();l(),j=rJ().then((V)=>{if(W!==R)return V;return j=null,YJ.emit(),a=J,o=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${e(V)}`),G(V),W===R)j=null;return l()})}async function VV(){let J=JJ(),W=v();try{let Z=await J.readdir(W);return Z.sort((V,Y)=>{let $=V.isDirectory(),X=Y.isDirectory();if($!==X)return $?-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),$=O.relative(W,Y);return V.isDirectory()?$+O.sep:$})}catch(Z){return G(Z),[]}}async function jV(J,W=!1){if(!J&&!W)return[];if(f().fileSuggestion?.type==="command"){let V={...TJ(),query:J};return(await vJ(V)).slice(0,t).map(r)}if(J===""||J==="."||J==="./"){let V=await VV();return EJ(),V.slice(0,t).map(r)}let Z=Date.now();try{let V=j!==null;EJ();let Y=J,$="."+O.sep;if(J.startsWith($))Y=J.substring(2);if(Y.startsWith("~"))Y=AJ(Y);let X=x?eJ(x,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${X.length} results in ${_}ms (${V?"partial":"full"} index)`),X}catch(V){return G(V),[]}}function RV(J,W,Z,V,Y,$){let X=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+X+W.substring(V+Z.length);Y(_);let H=V+X.length;$(H)}var DJ,x=null,j=null,YJ,KV,R=0,k=null,L,ZJ,$J,n=null,s=null,o=0,a=null,i=null,P=null,t=100,JV=5000;var WV=HJ(()=>{cJ();QJ();gJ();bJ();yJ();zJ();PJ();SJ();fJ();YV();uJ();kJ();dJ();mJ();wJ();DJ=LJ(hJ(),1);YJ=NJ(),KV=YJ.subscribe,L=[],ZJ=[],$J=[]});
|
|
4
|
-
export{d as $h,QJ as ai,KV as bi,TV as ci,vV as di,UV as ei,EJ as fi,jV as gi,RV as hi,WV as ii};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{GL as M,NR as I,Qt as $,Rt as l,Rx as v,Tx as D,Vx as T,XJ as E,Yx as C,ZJ as Hw,Zt as O,Zx as u,_i as y,_x as x,ay as A,cA as G,cj as s,gy as t,hS as qw,hu as c,kA as ww,ly as B,my as e,nu as P,qu as i}from"./cli-1.1.38-tk968ykv.mjs";import{XV as _,bW as jw}from"./cli-1.1.38-3c43sfc3.mjs";import{oX as U,pX as a}from"./cli-1.1.38-y79rqp8p.mjs";import{C3 as S,a4 as n}from"./cli-1.1.38-s1nggz9g.mjs";import{a6 as m,b6 as d}from"./cli-1.1.38-z9faf3ft.mjs";import{A_ as W,Ada as Z,B_ as p,K$ as Q,Nda as g,W$ as F,aaa as o,c_ as J,e_ as f,h_ as K,j_ as H,xea as N}from"./cli-1.1.38-a678cgp1.mjs";import{Aja as r,xja as R}from"./cli-1.1.38-yfhvhcvt.mjs";N();function Zw(w){let j=H().numStartups;K((q)=>{let z=q.tipsHistory??{};if(z[w]===j)return q;return{...q,tipsHistory:{...z,[w]:j}}})}function k(w){let j=H(),q=j.tipsHistory?.[w];if(!q)return 1/0;return j.numStartups-q}d();r();ww();g();jw();a();e();Hw();N();f();s();o();t();n();p();i();c();l();qw();var V;async function zw(){if(V!==void 0)return V;let w=await O();return V=$ in w,V}async function L(w,j,q){if(!await zw())return!1;if(P(`${w}@${$}`))return!1;let{bashTools:z}=j??{};if(q.cli&&z?.size){if(q.cli.some((X)=>z.has(X)))return!0}if(q.filePath&&j?.readFileState){if(y(j.readFileState).some((b)=>q.filePath.test(b)))return!0}return!1}var Bw=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return H().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${B("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let w=H();return(w.lastPlanModeUse?(Date.now()-w.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let w=H(),j=Z(),q=Boolean(w.lastPlanModeUse),z=Boolean(j?.permissions?.defaultMode);return q&&!z}catch(w){return R(`Failed to check default-permission-mode-config tip relevance: ${w}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let w=H();return await F()<=1&&w.numStartups>50}catch(w){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${B("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await Q()}catch(w){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${B("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await Q()}catch(w){return!1}}},{id:"diff-source-cycle",content:async()=>`In /diff, ${B("diff:previousSource","DiffDialog","[")} and ${B("diff:nextSource","DiffDialog","]")} cycle what you are reviewing: the working tree, one diff per agent turn, then every stash.`,cooldownSessions:15,isRelevant:async()=>{try{return await Q()}catch(w){return!1}}},{id:"diff-line-selection",content:async()=>`Press ${B("diff:select","DiffDialog","v")} in the /diff pane to select lines, then Enter to drop them into your prompt as @file#L12-L30 — dragging the mouse over them does the same.`,cooldownSessions:15,isRelevant:async()=>{try{return await Q()}catch(w){return!1}}},{id:"diff-expand-context",content:async()=>`Need more context in /diff? Hit Enter on a "··· N lines" gap to reveal more around it, or ${B("diff:expandAll","DiffDialog","a")} to expand the whole file.`,cooldownSessions:20,isRelevant:async()=>{try{return await Q()}catch(w){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${B("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-changed-files",content:async()=>"The /explorer tree opens with a Changed group — every file git sees as modified, in one flat list at the top.",cooldownSessions:15,isRelevant:async()=>{try{return await Q()}catch(w){return!1}}},{id:"explorer-editor-ex-commands",content:async()=>"In the /explorer editor, :w saves, :q quits, :wq does both, and :42 jumps to line 42.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-editor-motions",content:async()=>"The /explorer editor speaks vim: dd cuts a line, yy copies, p pastes, u undoes and ctrl+r redoes.",cooldownSessions:20,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let w=H();return w.numStartups>5&&w.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(I())return!1;return await E()>=2}},{id:"terminal-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let w=H();if(J.terminal==="Apple_Terminal")return!w.optionAsMetaKeyInstalled;return!w.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>J.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let w=H();return Boolean((J.terminal==="Apple_Terminal"?w.optionAsMetaKeyInstalled:w.shiftEnterKeyBindingInstalled)&&w.numStartups>3)}},{id:"shift-enter-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!_())return!1;let w=H();return!(J.terminal==="Apple_Terminal"?w.optionAsMetaKeyInstalled:w.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return H().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&m.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDIN_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>W()==="windows"&&process.env.CLAUDIN_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>Z().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return H().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${J.terminal==="vscode"?"code":J.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!v())return!1;if(W()!=="macos")return!1;switch(J.terminal){case"vscode":return!await x();case"cursor":return!await C();case"windsurf":return!await u();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(D())return!1;if((await T()).length!==0)return!1;return(await A()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!H().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!H().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return H().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!J.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>W()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!G()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>G()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>M()&&H().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return H().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${B("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${B("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return H().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return H().numStartups>5}},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${B("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let w=H(),q=S()==="opusplan",z=w.lastPlanModeUse?(Date.now()-w.lastPlanModeUse)/86400000:1/0;return q&&z>3}},{id:"frontend-design-plugin",content:async(w)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
|
|
2
|
-
${U("suggestion",w.theme)(`/plugin install frontend-design@${$}`)}`},cooldownSessions:3,isRelevant:async(w)=>L("frontend-design",w,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(w)=>{return`Working with Vercel? Install the vercel plugin:
|
|
3
|
-
${U("suggestion",w.theme)(`/plugin install vercel@${$}`)}`},cooldownSessions:3,isRelevant:async(w)=>L("vercel",w,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return H().numStartups>5}}],Jw=[];function Qw(){let j=Z().spinnerTipsOverride;if(!j?.tips?.length)return[];return j.tips.map((q,z)=>({id:`custom-tip-${z}`,content:async()=>q,cooldownSessions:0,isRelevant:async()=>!0}))}async function uw(w){let q=Z().spinnerTipsOverride,z=Qw();if(q?.excludeDefault&&z.length>0)return z;let X=[...Bw,...Jw],b=await Promise.all(X.map((Y)=>Y.isRelevant(w)));return[...X.filter((Y,h)=>b[h]).filter((Y)=>k(Y.id)>=Y.cooldownSessions),...z]}
|
|
4
|
-
export{Zw as Ia,k as Ja,uw as Ka};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Ma as $}from"./cli-1.1.38-fgwfzs50.mjs";import{Q8 as C,y8 as O}from"./cli-1.1.38-t8k5snq9.mjs";import{Rfa as q,Sfa as H,Yfa as E}from"./cli-1.1.38-a678cgp1.mjs";import{Aia as _,Aja as N,Cia as w,aja as z,fja as y,jja as V,nja as L,xja as X,yia as R,zia as A}from"./cli-1.1.38-yfhvhcvt.mjs";import{Bpa as M,Yka as Z}from"./cli-1.1.38-44ay6q12.mjs";C();M();A();import{dirname as F,join as x}from"path";w();N();L();E();y();var D=q(new Date);function T(){return x($.errors(),D+".jsonl")}function J(G){return x($.mcpLogs(G),D+".jsonl")}function P(G){let K=R(G);return{write(Q){K.write(z(Q)+`
|
|
2
|
-
`)},flush:K.flush,dispose:K.dispose}}var B=new Map;function W(G){let K=B.get(G);if(!K){let Q=F(G);K=P({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),B.set(G,K),_(async()=>K?.dispose())}return K}function S(G,K){}function I(G){if(typeof G==="string")return G;if(G&&typeof G==="object"){let K=G;if(typeof K.message==="string")return K.message;if(typeof K.error==="object"&&K.error&&"message"in K.error&&typeof K.error.message==="string")return K.error.message}return}function v(G){let K=G.stack||G.message,Q="";if(O.isAxiosError(G)&&G.config?.url){let U=[`url=${G.config.url}`];if(G.response?.status!==void 0)U.push(`status=${G.response.status}`);let Y=I(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),S(T(),{error:`${Q}${K}`})}function f(G,K){X(`MCP server "${G}" ${K}`,{level:"error"});let Q=J(G),Y={error:K instanceof Error?K.stack||K.message:String(K),timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};W(Q).write(Y)}function j(G,K){X(`MCP server "${G}": ${K}`);let Q=J(G),U={debug:K,timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};W(Q).write(U)}function k(){H({logError:v,logMCPError:f,logMCPDebug:j,getErrorsPath:T,getMCPLogsPath:J}),X("Error log sink initialized")}function a(){k()}
|
|
3
|
-
export{a as D};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Dc as Q,Ec as R,Fc as W,Gc as X,Hc as Y,Ic as Z,Jc as k}from"./cli-1.1.38-rvjmh1y0.mjs";import{Kj as K,Mj as U}from"./cli-1.1.38-tk968ykv.mjs";import{Tfa as J,Yfa as N,o9 as y,p9 as M}from"./cli-1.1.38-a678cgp1.mjs";import{Cja as G,Gja as B}from"./cli-1.1.38-wbww08bk.mjs";import{Xja as H,cka as $}from"./cli-1.1.38-mh6a6g83.mjs";M();$();U();N();B();k();function F(v,x,q){J(v);let z=q?`${x} plugin "${q}"`:x==="disable-all"?"disable all plugins":`${x} plugins`;console.error(`${y.cross} Failed to ${z}: ${H(v)}`),process.exit(1)}async function L(v,x="user"){try{console.log(`Installing plugin "${v}"...`);let q=await Q(v,x);if(!q.success)throw Error(q.message);console.log(`${y.tick} ${q.message}`),process.exit(0)}catch(q){F(q,"install",v)}}async function A(v,x="user",q=!1){try{let z=await R(v,x,!q);if(!z.success)throw Error(z.message);console.log(`${y.tick} ${z.message}`),process.exit(0)}catch(z){F(z,"uninstall",v)}}async function C(v,x){try{let q=await W(v,x);if(!q.success)throw Error(q.message);console.log(`${y.tick} ${q.message}`),process.exit(0)}catch(q){F(q,"enable",v)}}async function f(v,x){try{let q=await X(v,x);if(!q.success)throw Error(q.message);console.log(`${y.tick} ${q.message}`),process.exit(0)}catch(q){F(q,"disable",v)}}async function O(){try{let v=await Y();if(!v.success)throw Error(v.message);console.log(`${y.tick} ${v.message}`),process.exit(0)}catch(v){F(v,"disable-all")}}async function S(v,x){try{G(`Checking for updates for plugin "${v}" at ${x} scope…
|
|
2
|
-
`);let q=await Z(v,x);if(!q.success)throw Error(q.message);G(`${y.tick} ${q.message}
|
|
3
|
-
`),await K(0)}catch(q){F(q,"update",v)}}
|
|
4
|
-
export{L as h,A as i,C as j,f as k,O as l,S as m};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$pa as Y,_pa as M}from"./cli-1.1.38-n9xftqbp.mjs";import{Pqa as W}from"./cli-1.1.38-y66mw08s.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDIN_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDIN_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-5-5","VERTEX_REGION_CLAUDE_5_5_OPUS"],["claude-opus-5","VERTEX_REGION_CLAUDE_5_OPUS"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-5-5","VERTEX_REGION_CLAUDE_5_5_SONNET"],["claude-sonnet-5","VERTEX_REGION_CLAUDE_5_SONNET"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
|
|
2
|
-
export{$ as dka,N as eka,X as fka,_ as gka,j as hka,U as ika,I as jka,S as kka,T as lka,c as mka,L as nka,w as oka,z as pka,k as qka};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ad as P,yd as k,zd as O}from"./cli-1.1.38-sywjrgh0.mjs";import{Cd as j,Dd as m}from"./cli-1.1.38-7vygkwbt.mjs";import{G5 as E,Y4 as I,a5 as K,f5 as V}from"./cli-1.1.38-s1nggz9g.mjs";import{Cba as W,Dba as $,Eea as F,Jba as x,Tfa as H,Vea as h,Yfa as b,eaa as U,h_ as N,j_ as J,xea as G}from"./cli-1.1.38-a678cgp1.mjs";import{Wja as _,cka as L}from"./cli-1.1.38-mh6a6g83.mjs";import{Bpa as T,Cna as R}from"./cli-1.1.38-44ay6q12.mjs";import{Pqa as y}from"./cli-1.1.38-y66mw08s.mjs";function l(){X=!0}function f(){if(!X)return!1;return X=!1,!0}function s(q){return(B)=>({...B,...typeof q.permission_mode==="string"?{toolPermissionContext:{...B.toolPermissionContext,mode:$(q.permission_mode)}}:{}})}function S({newState:q,oldState:B}){let Y=f(),Z=B.toolPermissionContext.mode,Q=q.toolPermissionContext.mode;if(Z!==Q){let z=W(Z),D=W(Q);if(z!==D)k({permission_mode:D});O(Q)}if(q.mainLoopModel!==B.mainLoopModel&&q.mainLoopModel===null){if(R(null),!Y)U((z)=>({...z,activeModelForProject:void 0,activeModelForProjectProfileId:void 0}))}if(q.mainLoopModel!==B.mainLoopModel&&q.mainLoopModel!==null){if(R(q.mainLoopModel),!Y){let z=F()?.id;U((D)=>({...D,activeModelForProject:q.mainLoopModel??void 0,activeModelForProjectProfileId:z}))}}if(q.expandedView!==B.expandedView){let z=q.expandedView==="tasks",D=q.expandedView==="teammates";if(J().showExpandedTodos!==z||J().showSpinnerTree!==D)N((A)=>({...A,showExpandedTodos:z,showSpinnerTree:D}))}if(q.verbose!==B.verbose&&J().verbose!==q.verbose){let z=q.verbose;N((D)=>({...D,verbose:z}))}if(q.collapseSubagentProgress!==B.collapseSubagentProgress&&J().collapseSubagentProgress!==q.collapseSubagentProgress){let z=q.collapseSubagentProgress;N((D)=>({...D,collapseSubagentProgress:z}))}if(q.settings!==B.settings)try{if(I(),K(),V(),q.settings.env!==B.settings.env)j()}catch(z){H(_(z))}}var X=!1;var u=y(()=>{T();E();G();L();b();m();h();x();P()});
|
|
2
|
-
export{l as pd,s as qd,S as rd,u as sd};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$1 as V,G5 as X,Q4 as W,W1 as x,_1 as G,m5 as m}from"./cli-1.1.38-s1nggz9g.mjs";import{Yda as w,_da as B,taa as J,uaa as z,xaa as Y}from"./cli-1.1.38-a678cgp1.mjs";import{pia as Z,xia as M}from"./cli-1.1.38-z02gnn41.mjs";import{Pqa as j}from"./cli-1.1.38-y66mw08s.mjs";function D(){q=void 0,J()}function L(){if(q!==void 0)return q;if(x()!=="firstParty")return q=z(!1);if(!G())return q=z(!1);if(w())return q=z(!1);if(process.env.CLAUDE_CODE_ENTRYPOINT==="local-agent")return q=z(!1);let Q=m();if(Q?.accessToken&&Q.subscriptionType===null)return q=z(!0);if(Q?.accessToken&&Q.scopes?.includes(Z)&&(Q.subscriptionType==="enterprise"||Q.subscriptionType==="team"))return q=z(!0);try{let{key:$}=W({skipRetrievingKeyFromApiKeyHelper:!0});if($)return q=z(!0)}catch{}return q=z(!1)}var q;var f=j(()=>{M();X();V();B();Y()});function g(Q){let $=Q.toUpperCase();return k.has($)||v.some((F)=>$.startsWith(F))}var k,v,S,I;var K=j(()=>{k=new Set(["CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST","CLAUDIN_USE_BEDROCK","CLAUDIN_USE_VERTEX","CLAUDIN_USE_FOUNDRY","CLAUDIN_USE_GITHUB","ANTHROPIC_BASE_URL","ANTHROPIC_BEDROCK_BASE_URL","ANTHROPIC_VERTEX_BASE_URL","ANTHROPIC_FOUNDRY_BASE_URL","ANTHROPIC_FOUNDRY_RESOURCE","ANTHROPIC_VERTEX_PROJECT_ID","CLOUD_ML_REGION","ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN","AWS_BEARER_TOKEN_BEDROCK","ANTHROPIC_FOUNDRY_API_KEY","CLAUDIN_SKIP_BEDROCK_AUTH","CLAUDIN_SKIP_VERTEX_AUTH","CLAUDIN_SKIP_FOUNDRY_AUTH","ANTHROPIC_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_SMALL_FAST_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","CLAUDIN_SUBAGENT_MODEL"]),v=["VERTEX_REGION_CLAUDE_"];S=["apiKeyHelper","awsAuthRefresh","awsCredentialExport","gcpAuthRefresh","otelHeadersHelper","statusLine"],I=new Set(["ANTHROPIC_CUSTOM_HEADERS","ANTHROPIC_CUSTOM_MODEL_OPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","ANTHROPIC_SMALL_FAST_MODEL","AWS_DEFAULT_REGION","AWS_PROFILE","AWS_REGION","BASH_DEFAULT_TIMEOUT_MS","BASH_MAX_OUTPUT_LENGTH","BASH_MAX_TIMEOUT_MS","CLAUDIN_BASH_MAINTAIN_PROJECT_WORKING_DIR","CLAUDIN_API_KEY_HELPER_TTL_MS","CLAUDIN_DISABLE_EXPERIMENTAL_BETAS","CLAUDIN_DISABLE_NONESSENTIAL_TRAFFIC","CLAUDIN_DISABLE_TERMINAL_TITLE","CLAUDE_CODE_ENABLE_TELEMETRY","CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS","CLAUDIN_IDE_SKIP_AUTO_INSTALL","CLAUDIN_MAX_OUTPUT_TOKENS","CLAUDIN_SKIP_BEDROCK_AUTH","CLAUDIN_SKIP_FOUNDRY_AUTH","CLAUDIN_SKIP_VERTEX_AUTH","CLAUDIN_SUBAGENT_MODEL","CLAUDIN_USE_BEDROCK","CLAUDIN_USE_FOUNDRY","CLAUDIN_USE_GITHUB","CLAUDIN_USE_VERTEX","DISABLE_AUTOUPDATER","DISABLE_BUG_COMMAND","DISABLE_COST_WARNINGS","DISABLE_ERROR_REPORTING","DISABLE_FEEDBACK_COMMAND","DISABLE_TELEMETRY","ENABLE_TOOL_SEARCH","MAX_MCP_OUTPUT_TOKENS","MAX_THINKING_TOKENS","MCP_TIMEOUT","MCP_TOOL_TIMEOUT","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_LOGS_PROTOCOL","OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE","OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_PROTOCOL","OTEL_EXPORTER_OTLP_PROTOCOL","OTEL_EXPORTER_OTLP_TRACES_HEADERS","OTEL_LOG_TOOL_DETAILS","OTEL_LOG_USER_PROMPTS","OTEL_LOGS_EXPORT_INTERVAL","OTEL_LOGS_EXPORTER","OTEL_METRIC_EXPORT_INTERVAL","OTEL_METRICS_EXPORTER","OTEL_METRICS_INCLUDE_ACCOUNT_UUID","OTEL_METRICS_INCLUDE_SESSION_ID","OTEL_METRICS_INCLUDE_VERSION","OTEL_RESOURCE_ATTRIBUTES","USE_BUILTIN_RIPGREP","VERTEX_REGION_CLAUDE_3_5_HAIKU","VERTEX_REGION_CLAUDE_3_5_SONNET","VERTEX_REGION_CLAUDE_3_7_SONNET","VERTEX_REGION_CLAUDE_4_0_OPUS","VERTEX_REGION_CLAUDE_4_0_SONNET","VERTEX_REGION_CLAUDE_4_1_OPUS","VERTEX_REGION_CLAUDE_4_5_SONNET","VERTEX_REGION_CLAUDE_4_6_SONNET","VERTEX_REGION_CLAUDE_HAIKU_4_5"])});
|
|
2
|
-
export{D as FT,L as GT,f as HT,g as IT,S as JT,I as KT,K as LT};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Db as H,Gb as O}from"./cli-1.1.38-4wdys8df.mjs";import{Se as N,Ve as P,We as R}from"./cli-1.1.38-z2mnaz67.mjs";import{Q8 as _,y8 as C}from"./cli-1.1.38-t8k5snq9.mjs";import{aja as U,bja as A,fja as h}from"./cli-1.1.38-yfhvhcvt.mjs";_();R();O();var S="environments-2025-11-01",x=/^[a-zA-Z0-9_-]+$/;function M(q,J){if(!q||!x.test(q))throw Error(`Invalid ${J}: contains unsafe characters`);return q}class j extends Error{status;errorType;constructor(q,J,Q){super(q);this.name="BridgeFatalError",this.status=J,this.errorType=Q}}function f(q){function J(z){q.onDebug?.(z)}let Q=0,Z=100;function X(z){return{Authorization:`Bearer ${z}`,"Content-Type":"application/json","anthropic-version":"2023-06-01","anthropic-beta":S,"x-environment-runner-version":q.runnerVersion}}function G(){let z=q.getAccessToken();if(!z)throw Error(H);return z}async function D(z,K){let $=G(),W=await z($);if(W.status!==401)return W;if(!q.onAuth401)return J(`[bridge:api] ${K}: 401 received, no refresh handler`),W;if(J(`[bridge:api] ${K}: 401 received, attempting token refresh`),await q.onAuth401($)){J(`[bridge:api] ${K}: Token refreshed, retrying request`);let V=G(),F=await z(V);if(F.status!==401)return F;J(`[bridge:api] ${K}: Retry after refresh also got 401`)}else J(`[bridge:api] ${K}: Token refresh failed`);return W}return{async registerBridgeEnvironment(z){J(`[bridge:api] POST /v1/environments/bridge bridgeId=${z.bridgeId}`);let K=await D(($)=>C.post(`${q.baseUrl}/v1/environments/bridge`,{machine_name:z.machineName,directory:z.dir,branch:z.branch,git_repo_url:z.gitRepoUrl,max_sessions:z.maxSessions,metadata:{worker_type:z.workerType},...z.reuseEnvironmentId&&{environment_id:z.reuseEnvironmentId}},{headers:X($),timeout:15000,validateStatus:(W)=>W<500}),"Registration");return L(K.status,K.data,"Registration"),J(`[bridge:api] POST /v1/environments/bridge -> ${K.status} environment_id=${K.data.environment_id}`),J(`[bridge:api] >>> ${N({machine_name:z.machineName,directory:z.dir,branch:z.branch,git_repo_url:z.gitRepoUrl,max_sessions:z.maxSessions,metadata:{worker_type:z.workerType}})}`),J(`[bridge:api] <<< ${N(K.data)}`),K.data},async pollForWork(z,K,$,W){M(z,"environmentId");let Y=Q;Q=0;let V=await C.get(`${q.baseUrl}/v1/environments/${z}/work/poll`,{headers:X(K),params:W!==void 0?{reclaim_older_than_ms:W}:void 0,timeout:1e4,signal:$,validateStatus:(F)=>F<500});if(L(V.status,V.data,"Poll"),!V.data){if(Q=Y+1,Q===1||Q%Z===0)J(`[bridge:api] GET .../work/poll -> ${V.status} (no work, ${Q} consecutive empty polls)`);return null}return J(`[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}`:""}`),J(`[bridge:api] <<< ${N(V.data)}`),V.data},async acknowledgeWork(z,K,$){M(z,"environmentId"),M(K,"workId"),J(`[bridge:api] POST .../work/${K}/ack`);let W=await C.post(`${q.baseUrl}/v1/environments/${z}/work/${K}/ack`,{},{headers:X($),timeout:1e4,validateStatus:(Y)=>Y<500});L(W.status,W.data,"Acknowledge"),J(`[bridge:api] POST .../work/${K}/ack -> ${W.status}`)},async stopWork(z,K,$){M(z,"environmentId"),M(K,"workId"),J(`[bridge:api] POST .../work/${K}/stop force=${$}`);let W=await D((Y)=>C.post(`${q.baseUrl}/v1/environments/${z}/work/${K}/stop`,{force:$},{headers:X(Y),timeout:1e4,validateStatus:(V)=>V<500}),"StopWork");L(W.status,W.data,"StopWork"),J(`[bridge:api] POST .../work/${K}/stop -> ${W.status}`)},async deregisterEnvironment(z){M(z,"environmentId"),J(`[bridge:api] DELETE /v1/environments/bridge/${z}`);let K=await D(($)=>C.delete(`${q.baseUrl}/v1/environments/bridge/${z}`,{headers:X($),timeout:1e4,validateStatus:(W)=>W<500}),"Deregister");L(K.status,K.data,"Deregister"),J(`[bridge:api] DELETE /v1/environments/bridge/${z} -> ${K.status}`)},async archiveSession(z){M(z,"sessionId"),J(`[bridge:api] POST /v1/sessions/${z}/archive`);let K=await D(($)=>C.post(`${q.baseUrl}/v1/sessions/${z}/archive`,{},{headers:X($),timeout:1e4,validateStatus:(W)=>W<500}),"ArchiveSession");if(K.status===409){J(`[bridge:api] POST /v1/sessions/${z}/archive -> 409 (already archived)`);return}L(K.status,K.data,"ArchiveSession"),J(`[bridge:api] POST /v1/sessions/${z}/archive -> ${K.status}`)},async reconnectSession(z,K){M(z,"environmentId"),M(K,"sessionId"),J(`[bridge:api] POST /v1/environments/${z}/bridge/reconnect session_id=${K}`);let $=await D((W)=>C.post(`${q.baseUrl}/v1/environments/${z}/bridge/reconnect`,{session_id:K},{headers:X(W),timeout:1e4,validateStatus:(Y)=>Y<500}),"ReconnectSession");L($.status,$.data,"ReconnectSession"),J(`[bridge:api] POST .../bridge/reconnect -> ${$.status}`)},async heartbeatWork(z,K,$){M(z,"environmentId"),M(K,"workId"),J(`[bridge:api] POST .../work/${K}/heartbeat`);let W=await C.post(`${q.baseUrl}/v1/environments/${z}/work/${K}/heartbeat`,{},{headers:X($),timeout:1e4,validateStatus:(Y)=>Y<500});return L(W.status,W.data,"Heartbeat"),J(`[bridge:api] POST .../work/${K}/heartbeat -> ${W.status} lease_extended=${W.data.lease_extended} state=${W.data.state}`),W.data},async sendPermissionResponseEvent(z,K,$){M(z,"sessionId"),J(`[bridge:api] POST /v1/sessions/${z}/events type=${K.type}`);let W=await C.post(`${q.baseUrl}/v1/sessions/${z}/events`,{events:[K]},{headers:X($),timeout:1e4,validateStatus:(Y)=>Y<500});L(W.status,W.data,"SendPermissionResponseEvent"),J(`[bridge:api] POST /v1/sessions/${z}/events -> ${W.status}`),J(`[bridge:api] >>> ${N({events:[K]})}`),J(`[bridge:api] <<< ${N(W.data)}`)}}}function L(q,J,Q){if(q===200||q===204)return;let Z=P(J),X=E(J);switch(q){case 401:throw new j(`${Q}: Authentication failed (401)${Z?`: ${Z}`:""}. ${H}`,401,X);case 403:throw new j(B(X)?"Remote Control session has expired. Please restart with `claudin remote-control` or /remote-control.":`${Q}: Access denied (403)${Z?`: ${Z}`:""}. Check your organization permissions.`,403,X);case 404:throw new j(Z??`${Q}: Not found (404). Remote Control may not be available for this organization.`,404,X);case 410:throw new j(Z??"Remote Control session has expired. Please restart with `claudin remote-control` or /remote-control.",410,X??"environment_expired");case 429:throw Error(`${Q}: Rate limited (429). Polling too frequently.`);default:throw Error(`${Q}: Failed with status ${q}${Z?`: ${Z}`:""}`)}}function B(q){if(!q)return!1;return q.includes("expired")||q.includes("lifetime")}function b(q){if(q.status!==403)return!1;return q.message.includes("external_poll_sessions")||q.message.includes("environments:manage")}function E(q){if(q&&typeof q==="object"){if("error"in q&&q.error&&typeof q.error==="object"&&"type"in q.error&&typeof q.error.type==="string")return q.error.type}return}_();h();function u(q){let J=Buffer.from(q,"base64url").toString("utf-8"),Q=A(J);if(!Q||typeof Q!=="object"||!("version"in Q)||Q.version!==1)throw Error(`Unsupported work secret version: ${Q&&typeof Q==="object"&&"version"in Q?Q.version:"unknown"}`);let Z=Q;if(typeof Z.session_ingress_token!=="string"||Z.session_ingress_token.length===0)throw Error("Invalid work secret: missing or empty session_ingress_token");if(typeof Z.api_base_url!=="string")throw Error("Invalid work secret: missing api_base_url");return Q}function I(q,J){let Q=new URL(q).hostname,Z=Q==="localhost"||Q==="127.0.0.1",X=Z?"ws":"wss",G=Z?"v2":"v1",D=q.replace(/^https?:\/\//,"").replace(/\/+$/,"");return`${X}://${D}/${G}/session_ingress/ws/${J}`}function l(q,J){if(q===J)return!0;let Q=q.slice(q.lastIndexOf("_")+1),Z=J.slice(J.lastIndexOf("_")+1);return Q.length>=4&&Q===Z}function c(q,J){return`${q.replace(/\/+$/,"")}/v1/code/sessions/${J}`}async function g(q,J){let Q=await C.post(`${q}/worker/register`,{},{headers:{Authorization:`Bearer ${J}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"},timeout:1e4}),Z=Q.data?.worker_epoch,X=typeof Z==="string"?Number(Z):Z;if(typeof X!=="number"||!Number.isFinite(X)||!Number.isSafeInteger(X))throw Error(`registerWorker: invalid worker_epoch in response: ${U(Q.data)}`);return X}function i(q){let J=new AbortController;function Q(){J.abort(),J=new AbortController}function Z(){let X=new AbortController,G=()=>X.abort();if(q.aborted||J.signal.aborted)return X.abort(),{signal:X.signal,cleanup:()=>{}};q.addEventListener("abort",G,{once:!0});let D=J.signal;return D.addEventListener("abort",G,{once:!0}),{signal:X.signal,cleanup:()=>{q.removeEventListener("abort",G),D.removeEventListener("abort",G)}}}return{signal:Z,wake:Q}}
|
|
2
|
-
export{M as $a,j as ab,f as bb,B as cb,b as db,u as eb,I as fb,l as gb,c as hb,g as ib,i as jb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{RW as y,SW as O,TW as U}from"./cli-1.1.38-y79rqp8p.mjs";import{u0 as K,x0 as G}from"./cli-1.1.38-1kce30qe.mjs";import{j_ as J,xea as $}from"./cli-1.1.38-a678cgp1.mjs";import{Pqa as Z}from"./cli-1.1.38-y66mw08s.mjs";function z(q){if(q===void 0||q==="")return null;let x=Number(q);if(!Number.isFinite(x)||x<X||x>h)return null;return x}function H(q){return b.get(q)??Math.max(1,Math.round(1000/q))}function k(){return z(process.env.CLAUDIN_FPS)!==null}function W(){let q=z(process.env.CLAUDIN_FPS);if(q!==null)return H(q);if(K())return y;let x=z(J().renderFrameRate);if(x!==null)return H(x);return y}function N(){let q=W();return String(j.get(q)??Math.round(1000/q))}function V(){O(W())}var P,X=10,h=360,Q,b,j;var B=Z(()=>{U();G();$();P=["auto","60","120","240","360"],Q=[[60,16],[120,8],[240,4],[360,3]],b=new Map(Q),j=new Map(Q.map(([q,x])=>[x,q]))});
|
|
2
|
-
export{P as Mg,k as Ng,N as Og,V as Pg,B as Qg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{o8 as p,p8 as a}from"./cli-1.1.38-4dvqxnwp.mjs";import{Nqa as i}from"./cli-1.1.38-y66mw08s.mjs";var u=i((V)=>{var v=p(),T=a(),_="AWS_ACCESS_KEY_ID",N="AWS_SECRET_ACCESS_KEY",S="AWS_SESSION_TOKEN",C="AWS_CREDENTIAL_EXPIRATION",A="AWS_CREDENTIAL_SCOPE",I="AWS_ACCOUNT_ID",d=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let r=process.env[_],s=process.env[N],E=process.env[S],o=process.env[C],n=process.env[A],t=process.env[I];if(r&&s){let c={accessKeyId:r,secretAccessKey:s,...E&&{sessionToken:E},...o&&{expiration:new Date(o)},...n&&{credentialScope:n},...t&&{accountId:t}};return v.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new T.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};V.ENV_ACCOUNT_ID=I;V.ENV_CREDENTIAL_SCOPE=A;V.ENV_EXPIRATION=C;V.ENV_KEY=_;V.ENV_SECRET=N;V.ENV_SESSION=S;V.fromEnv=d});
|
|
2
|
-
export{u as J7};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Nqa as H,Pqa as UJ}from"./cli-1.1.38-y66mw08s.mjs";var N=H((IJ,Oq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Oq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:j1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var C=H((OJ,Hq)=>{var z1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=z1});var S=H((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:t,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=C();L=wq.exports={};var I1=L.re=[],O1=L.safeRe=[],j=L.src=[],H1=L.safeSrc=[],z=L.t={},w1=0,i="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[i,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),Z=w1++;F1(q,Z,$),z[q]=Z,j[Z]=$,H1[Z]=Q,I1[Z]=new RegExp($,J?"g":void 0),O1[Z]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${i}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${i}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=H((HJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var r=H((wJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var G=H((yJ,Vq)=>{var h=C(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=S(),P1=b(),{compareIdentifiers:o}=r(),_1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(o(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=P1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let Z=+Q;if(Z>=0&&Z<f)return Z}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return o(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return o(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let Z=this.prerelease.length;while(--Z>=0)if(typeof this.prerelease[Z]==="number")this.prerelease[Z]++,Z=-2;if(Z===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let Z=[$,Q];if(J===!1)Z=[$];if(_1(this.prerelease,$)){let W=this.prerelease[$.split(".").length];if(isNaN(W))this.prerelease=Z}else this.prerelease=Z}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=H((BJ,_q)=>{var Pq=G(),X1=(q,$,J=!1)=>{if(q instanceof Pq)return q;try{return new Pq(q,$)}catch(Q){if(!J)return null;throw Q}};_q.exports=X1});var Aq=H((xJ,Xq)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};Xq.exports=L1});var Eq=H((DJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Cq=H((GJ,Sq)=>{var Nq=G(),S1=(q,$,J,Q,Z)=>{if(typeof J==="string")Z=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,Z).version}catch(W){return null}};Sq.exports=S1});var uq=H((VJ,kq)=>{var Rq=E(),C1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),Z=J.compare(Q);if(Z===0)return null;let W=Z>0,K=W?J:Q,Y=W?Q:J,F=!!K.prerelease.length;if(!!Y.prerelease.length&&!F){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let I=F?"pre":"";if(J.major!==Q.major)return I+"major";if(J.minor!==Q.minor)return I+"minor";if(J.patch!==Q.patch)return I+"patch";return"prerelease"};kq.exports=C1});var Mq=H((PJ,Tq)=>{var R1=G(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=H((_J,bq)=>{var u1=G(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=H((XJ,fq)=>{var M1=G(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=H((AJ,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var _=H((LJ,cq)=>{var gq=G(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=H((EJ,mq)=>{var d1=_(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=H((NJ,sq)=>{var g1=_(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=H((SJ,tq)=>{var nq=G(),m1=(q,$,J)=>{let Q=new nq(q,J),Z=new nq($,J);return Q.compare(Z)||Q.compareBuild(Z)};tq.exports=m1});var rq=H((CJ,iq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));iq.exports=s1});var eq=H((RJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=H((kJ,q0)=>{var t1=_(),i1=(q,$,J)=>t1(q,$,J)>0;q0.exports=i1});var g=H((uJ,$0)=>{var r1=_(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var e=H((TJ,J0)=>{var e1=_(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var qq=H((MJ,Q0)=>{var $$=_(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=H((bJ,W0)=>{var Q$=_(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=H((hJ,Z0)=>{var Z$=_(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var $q=H((fJ,K0)=>{var j$=e(),z$=qq(),Y$=R(),U$=c(),F$=g(),I$=m(),O$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return j$(q,J,Q);case"!=":return z$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return I$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=O$});var z0=H((vJ,j0)=>{var H$=G(),w$=E(),{safeRe:p,t:s}=S(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let F=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],U;while((U=F.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||U.index+U[0].length!==J.index+J[0].length)J=U;F.lastIndex=U.index+U[1].length+U[2].length}F.lastIndex=-1}if(J===null)return null;let Q=J[2],Z=J[3]||"0",W=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${Z}.${W}${K}${Y}`,$)};j0.exports=y$});var U0=H((dJ,Y0)=>{var B$=E(),x$=N(),D$=G(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&P$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},P$=(q,$)=>{if(_$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},_$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var O0=H((lJ,I0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}I0.exports=F0});var X=H((gJ,B0)=>{var X$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Jq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(X$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let Z=this.options.loose,W=Z?P[V.HYPHENRANGELOOSE]:P[V.HYPHENRANGE];q=q.replace(W,s$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(P[V.COMPARATORTRIM],S$),B("comparator trim",q),q=q.replace(P[V.TILDETRIM],C$),B("tilde trim",q),q=q.replace(P[V.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((I)=>b$(I,this.options)).join(" ").split(/\s+/).map((I)=>p$(I,this.options));if(Z)K=K.filter((I)=>{return B("loose invalid filter",I,this.options),!!I.match(P[V.COMPARATORLOOSE])});B("range list",K);let Y=new Map,F=K.map((I)=>new Jq(I,this.options));for(let I of F){if(w0(I))return[I];Y.set(I.value,I)}if(Y.size>1&&Y.has(""))Y.delete("");let U=[...Y.values()];return H0.set(J,U),U}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((Z)=>{return Q.every((W)=>{return Z.intersects(W,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(a$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=O0(),H0=new A$,L$=b(),Jq=u(),B=C(),E$=G(),{safeRe:P,src:N$,t:V,comparatorTrimReplace:S$,tildeTrimReplace:C$,caretTrimReplace:R$}=S(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[V.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),Z=Q.pop();while(J&&Q.length)J=Q.every((W)=>{return Z.intersects(W,$)}),Z=Q.pop();return J},b$=(q,$)=>{return q=q.replace(P[V.BUILD],""),B("comp",q,$),q=d$(q,$),B("caret",q),q=f$(q,$),B("tildes",q),q=g$(q,$),B("xrange",q),q=m$(q,$),B("stars",q),q},D=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$,J)=>D(q)&&!D($)||D($)&&J&&!D(J),f$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>v$(J,$)).join(" ")},v$=(q,$)=>{let J=$.loose?P[V.TILDELOOSE]:P[V.TILDE],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("tilde",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else if(F)B("replaceTilde pr",F),U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;return B("tilde return",U),U})},d$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>l$(J,$)).join(" ")},l$=(q,$)=>{B("caret",q,$);let J=$.loose?P[V.CARETLOOSE]:P[V.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("caret",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))if(W==="0")U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.0${Q} <${+W+1}.0.0-0`;else if(F)if(B("replaceCaret pr",F),W==="0")if(K==="0")U=`>=${W}.${K}.${Y}-${F} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y}-${F} <${+W+1}.0.0-0`;else if(B("no pr"),W==="0")if(K==="0")U=`>=${W}.${K}.${Y} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${+W+1}.0.0-0`;return B("caret return",U),U})},g$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>c$(J,$)).join(" ")},c$=(q,$)=>{q=q.trim();let J=$.loose?P[V.XRANGELOOSE]:P[V.XRANGE];return q.replace(J,(Q,Z,W,K,Y,F)=>{if(B("xRange",q,Q,Z,W,K,Y,F),h$(W,K,Y))return q;let U=D(W),I=U||D(K),y=I||D(Y),x=y;if(Z==="="&&x)Z="";if(F=$.includePrerelease?"-0":"",U)if(Z===">"||Z==="<")Q="<0.0.0-0";else Q="*";else if(Z&&x){if(I)K=0;if(Y=0,Z===">")if(Z=">=",I)W=+W+1,K=0,Y=0;else K=+K+1,Y=0;else if(Z==="<=")if(Z="<",I)W=+W+1;else K=+K+1;if(Z==="<")F="-0";Q=`${Z+W}.${K}.${Y}${F}`}else if(I)Q=`>=${W}.0.0${F} <${+W+1}.0.0-0`;else if(y)Q=`>=${W}.${K}.0${F} <${W}.${+K+1}.0-0`;return B("xRange return",Q),Q})},m$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(P[V.STAR],"")},p$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(P[$.includePrerelease?V.GTE0PRE:V.GTE0],"")},s$=(q)=>($,J,Q,Z,W,K,Y,F,U,I,y,x)=>{if(D(Q))J="";else if(D(Z))J=`>=${Q}.0.0${q?"-0":""}`;else if(D(W))J=`>=${Q}.${Z}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(D(U))F="";else if(D(I))F=`<${+U+1}.0.0-0`;else if(D(y))F=`<${U}.${+I+1}.0-0`;else if(x)F=`<=${U}.${I}.${y}-${x}`;else if(q)F=`<${U}.${I}.${+y+1}-0`;else F=`<=${F}`;return`${J} ${F}`.trim()},a$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Jq.ANY)continue;if(q[Q].semver.prerelease.length>0){let Z=q[Q].semver;if(Z.major===$.major&&Z.minor===$.minor&&Z.patch===$.patch)return!0}}return!1}return!0}});var u=H((cJ,_0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Wq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Wq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Wq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Qq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new P0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new P0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Qq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Qq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}_0.exports=a;var x0=b(),{safeRe:D0,t:G0}=S(),Qq=$q(),Wq=C(),V0=G(),P0=X()});var M=H((mJ,X0)=>{var n$=X(),t$=(q,$,J)=>{try{$=new n$($,J)}catch(Q){return!1}return $.test(q)};X0.exports=t$});var L0=H((pJ,A0)=>{var i$=X(),r$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=r$});var N0=H((sJ,E0)=>{var o$=G(),e$=X(),q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new e$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===-1)Q=K,Z=new o$(Q,J)}}),Q};E0.exports=q9});var C0=H((aJ,S0)=>{var $9=G(),J9=X(),Q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new J9($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===1)Q=K,Z=new $9(Q,J)}}),Q};S0.exports=Q9});var u0=H((nJ,k0)=>{var Zq=G(),W9=X(),R0=R(),Z9=(q,$)=>{q=new W9(q,$);let J=new Zq("0.0.0");if(q.test(J))return J;if(J=new Zq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let Z=q.set[Q],W=null;if(Z.forEach((K)=>{let Y=new Zq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!W||R0(Y,W))W=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),W&&(!J||R0(J,W)))J=W}if(J&&q.test(J))return J;return null};k0.exports=Z9});var M0=H((tJ,T0)=>{var K9=X(),j9=(q,$)=>{try{return new K9(q,$).range||"*"}catch(J){return null}};T0.exports=j9});var n=H((iJ,v0)=>{var z9=G(),f0=u(),{ANY:Y9}=f0,U9=X(),F9=M(),b0=R(),h0=g(),I9=m(),O9=c(),H9=(q,$,J,Q)=>{q=new z9(q,Q),$=new U9($,Q);let Z,W,K,Y,F;switch(J){case">":Z=b0,W=I9,K=h0,Y=">",F=">=";break;case"<":Z=h0,W=O9,K=b0,Y="<",F="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(F9(q,$,Q))return!1;for(let U=0;U<$.set.length;++U){let I=$.set[U],y=null,x=null;if(I.forEach((O)=>{if(O.semver===Y9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,Z(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===F)return!1;if((!x.operator||x.operator===Y)&&W(q,x.semver))return!1;else if(x.operator===F&&K(q,x.semver))return!1}return!0};v0.exports=H9});var l0=H((rJ,d0)=>{var w9=n(),y9=(q,$,J)=>w9(q,$,">",J);d0.exports=y9});var c0=H((oJ,g0)=>{var B9=n(),x9=(q,$,J)=>B9(q,$,"<",J);g0.exports=x9});var s0=H((eJ,p0)=>{var m0=X(),D9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=D9});var n0=H((qQ,a0)=>{var G9=M(),V9=_();a0.exports=(q,$,J)=>{let Q=[],Z=null,W=null,K=q.sort((I,y)=>V9(I,y,J));for(let I of K)if(G9(I,$,J)){if(W=I,!Z)Z=I}else{if(W)Q.push([Z,W]);W=null,Z=null}if(Z)Q.push([Z,null]);let Y=[];for(let[I,y]of Q)if(I===y)Y.push(I);else if(!y&&I===K[0])Y.push("*");else if(!y)Y.push(`>=${I}`);else if(I===K[0])Y.push(`<=${y}`);else Y.push(`${I} - ${y}`);let F=Y.join(" || "),U=typeof $.raw==="string"?$.raw:String($);return F.length<U.length?F:$}});var q1=H(($Q,e0)=>{var t0=X(),zq=u(),{ANY:Kq}=zq,jq=M(),Yq=_(),P9=(q,$,J={})=>{if(q===$)return!0;q=new t0(q,J),$=new t0($,J);let Q=!1;q:for(let Z of q.set){for(let W of $.set){let K=X9(Z,W,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},_9=[new zq(">=0.0.0-0")],i0=[new zq(">=0.0.0")],X9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===Kq)if($.length===1&&$[0].semver===Kq)return!0;else if(J.includePrerelease)q=_9;else q=i0;if($.length===1&&$[0].semver===Kq)if(J.includePrerelease)return!0;else $=i0;let Q=new Set,Z,W;for(let O of q)if(O.operator===">"||O.operator===">=")Z=r0(Z,O,J);else if(O.operator==="<"||O.operator==="<=")W=o0(W,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(Z&&W){if(K=Yq(Z.semver,W.semver,J),K>0)return null;else if(K===0&&(Z.operator!==">="||W.operator!=="<="))return null}for(let O of Q){if(Z&&!jq(O,String(Z),J))return null;if(W&&!jq(O,String(W),J))return null;for(let Z1 of $)if(!jq(O,String(Z1),J))return!1;return!0}let Y,F,U,I,y=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1,x=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1;if(y&&y.prerelease.length===1&&W.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(I=I||O.operator===">"||O.operator===">=",U=U||O.operator==="<"||O.operator==="<=",Z){if(x){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===x.major&&O.semver.minor===x.minor&&O.semver.patch===x.patch)x=!1}if(O.operator===">"||O.operator===">="){if(Y=r0(Z,O,J),Y===O&&Y!==Z)return!1}else if(Z.operator===">="&&!O.test(Z.semver))return!1}if(W){if(y){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===y.major&&O.semver.minor===y.minor&&O.semver.patch===y.patch)y=!1}if(O.operator==="<"||O.operator==="<="){if(F=o0(W,O,J),F===O&&F!==W)return!1}else if(W.operator==="<="&&!O.test(W.semver))return!1}if(!O.operator&&(W||Z)&&K!==0)return!1}if(Z&&U&&!W&&K!==0)return!1;if(W&&I&&!Z&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Yq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Yq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=P9});var W1=H((JQ,Q1)=>{var Uq=S(),$1=N(),A9=G(),J1=r(),L9=E(),E9=Aq(),N9=Eq(),S9=Cq(),C9=uq(),R9=Mq(),k9=hq(),u9=vq(),T9=lq(),M9=_(),b9=pq(),h9=aq(),f9=l(),v9=rq(),d9=eq(),l9=R(),g9=g(),c9=e(),m9=qq(),p9=c(),s9=m(),a9=$q(),n9=z0(),t9=U0(),i9=u(),r9=X(),o9=M(),e9=L0(),qJ=N0(),$J=C0(),JJ=u0(),QJ=M0(),WJ=n(),ZJ=l0(),KJ=c0(),jJ=s0(),zJ=n0(),YJ=q1();Q1.exports={parse:L9,valid:E9,clean:N9,inc:S9,diff:C9,major:R9,minor:k9,patch:u9,prerelease:T9,compare:M9,rcompare:b9,compareLoose:h9,compareBuild:f9,sort:v9,rsort:d9,gt:l9,lt:g9,eq:c9,neq:m9,gte:p9,lte:s9,cmp:a9,coerce:n9,truncate:t9,Comparator:i9,Range:r9,satisfies:o9,toComparators:e9,maxSatisfying:qJ,minSatisfying:$J,minVersion:JJ,validRange:QJ,outside:WJ,gtr:ZJ,ltr:KJ,intersects:jJ,simplifyRange:zJ,subset:YJ,SemVer:A9,re:Uq.re,src:Uq.src,tokens:Uq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function Iq(){if(!Fq)Fq=W1();return Fq}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return Iq().gt(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return Iq().gte(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return Iq().satisfies(q,$,{loose:!0})}var Fq;var FJ=()=>{};
|
|
2
|
-
export{W1 as t1,QQ as u1,WQ as v1,ZQ as w1,FJ as x1};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ika as z,qka as J}from"./cli-1.1.38-nzbcas3j.mjs";import{Pqa as F}from"./cli-1.1.38-y66mw08s.mjs";function V(b){D=b}function W(){let b=D?.()??{};if(!z(process.env.CLAUDIN_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let q={...process.env,...b};for(let w of L)delete q[w],delete q[`INPUT_${w}`];return q}var L,D;var M=F(()=>{J();L=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
|
|
2
|
-
export{V as dU,W as eU,M as fU};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{j_ as P,r$ as Q,t$ as M,xea as R}from"./cli-1.1.38-a678cgp1.mjs";import{Aja as C,xja as G}from"./cli-1.1.38-yfhvhcvt.mjs";import{Pqa as j}from"./cli-1.1.38-y66mw08s.mjs";import{promises as I}from"node:fs";import{homedir as y}from"node:os";import K from"node:path";function O(q){let z;try{z=new URL(q)}catch(A){throw Error(`Invalid URL format: ${q}`)}if(z.protocol!=="http:"&&z.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${z.protocol}`)}async function g(q){try{let z=process.platform;if(z==="win32"){let{code:V}=await Q("explorer",[q]);return V===0}let A=z==="darwin"?"open":"xdg-open",{code:J}=await Q(A,[q]);return J===0}catch(z){return!1}}function k(){let q=process.env.XDG_DATA_HOME&&process.env.XDG_DATA_HOME.length>0?process.env.XDG_DATA_HOME:K.join(y(),".local","share");return[K.join(q,"applications"),"/usr/local/share/applications","/usr/share/applications","/var/lib/snapd/desktop/applications","/var/lib/flatpak/exports/share/applications"]}function U(q){let z=q.split(`
|
|
2
|
-
`),A=!1;for(let J of z){let V=J.trim();if(V.startsWith("[")){A=V==="[Desktop Entry]";continue}if(!A)continue;if(!V.startsWith("Exec="))continue;let $=V.slice(5).replace(S,"").replace(/%%/g,"%").trim();if($.length===0)return null;let Y=$.match(/^"([^"]+)"|^(\S+)/);if(!Y)return null;return Y[1]??Y[2]??null}return null}async function L(q){for(let z of k()){let A=K.join(z,q);try{return await I.readFile(A,"utf8")}catch(J){}}return null}async function _(q){let{code:z}=await Q("which",[q],{timeout:X,useCwd:!1});return z===0}async function B(){let{code:q,stdout:z}=await Q("xdg-settings",["get","default-web-browser"],{timeout:X,useCwd:!1});if(q!==0)return null;let A=z.trim();if(A.length===0||!A.endsWith(".desktop"))return null;let J=await L(A);if(J==null)return null;return U(J)}async function N(){for(let q of v)if(await _(q))return q;return null}async function f(){if(Z!==void 0)return Z;try{let q=await B();if(q)return Z=q,q}catch(q){G(`browser: xdg-settings detection failed: ${String(q)}`)}try{let q=await N();return Z=q,q}catch(q){return G(`browser: probe list failed: ${String(q)}`),Z=null,null}}async function W(q,z){let{code:A}=await Q(q,[z]);return A===0}async function w(q){try{O(q);let z=process.env.BROWSER,A=process.platform;if(A==="win32"){if(z){let{code:H}=await Q(z,[`"${q}"`]);return H===0}let{code:Y}=await Q("rundll32",["url,OpenURL",q],{});return Y===0}if(A==="darwin"){let Y=z||"open",{code:H}=await Q(Y,[q]);return H===0}if(z){if(await W(z,q))return!0}let J;try{J=P().oauthBrowser}catch(Y){G(`browser: failed to read oauthBrowser setting: ${String(Y)}`)}if(J&&J.length>0){if(await W(J,q))return!0}let V=await f();if(V){if(await W(V,q))return!0}let{code:$}=await Q("xdg-open",[q]);return $===0}catch(z){return!1}}var S,v,X=2000,Z=void 0;var m=j(()=>{M();C();R();S=/%[fFuUdDnNickvm]/g,v=["brave-browser","brave","firefox","chromium","google-chrome","microsoft-edge"]});
|
|
3
|
-
export{g as nZ,w as oZ,m as pZ};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{YX as k,eW as Z,sX as K}from"./cli-1.1.38-y79rqp8p.mjs";import{A1 as J,B1 as H}from"./cli-1.1.38-h1fqbjjb.mjs";import{o9 as v,p9 as Y}from"./cli-1.1.38-a678cgp1.mjs";import{Lqa as V,Pqa as X}from"./cli-1.1.38-y66mw08s.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
|
|
2
|
-
export{N as uh,C as vh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{G5 as D,s5 as m}from"./cli-1.1.38-s1nggz9g.mjs";import{Pqa as z}from"./cli-1.1.38-y66mw08s.mjs";function q(){return G()||!!process.env.CLAUDE_BRIDGE_OAUTH_TOKEN}function F(){return q()}async function J(){return F()}async function K(){if(!q())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 G(){try{return m()}catch{return!1}}var H=z(()=>{D()});
|
|
2
|
-
export{F as ST,J as TT,K as UT,H as VT};
|