@claudiolabs/claudin 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-0.6.2-he5a0dam.mjs +1 -0
- package/dist/chunks/App-0.6.2-81hq55t1.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.2-08hjmc7a.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.2-0r37ejyw.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.2-k5q2wq69.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.2-q2vnf20c.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.2-nsje6vp4.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.2-0td2rsrs.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.2-6yg14gsy.mjs +3 -0
- package/dist/chunks/Doctor-0.6.2-3wbjtm02.mjs +1 -0
- package/dist/chunks/Grove-0.6.2-baqbhjjj.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.2-zmtwee85.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.2-yxzmem78.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.2-fp9sq2qx.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.2-yvf4s2y6.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.2-y1rgs60d.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.2-cp0pxj1c.mjs +1 -0
- package/dist/chunks/REPL-0.6.2-ab1c9240.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.2-sc3b5r7q.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.2-8sv3ddk7.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.2-wa2hgv37.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.2-a3a7fv1a.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.2-2n1ktp6n.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.2-qbc4yk54.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.2-384g3ky4.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.2-egpnc3w1.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.2-w0ja3pnw.mjs +1 -0
- package/dist/chunks/add-dir-0.6.2-srcrq97m.mjs +1 -0
- package/dist/chunks/agents-0.6.2-pwkawpda.mjs +110 -0
- package/dist/chunks/agents-0.6.2-v40vzjvy.mjs +3 -0
- package/dist/chunks/api-0.6.2-r9z30232.mjs +1 -0
- package/dist/chunks/asciicast-0.6.2-dtanhyb8.mjs +1 -0
- package/dist/chunks/assistant-0.6.2-29e26n3s.mjs +1 -0
- package/dist/chunks/auth-0.6.2-azq9yv0m.mjs +1 -0
- package/dist/chunks/auth-0.6.2-ndpcgcx5.mjs +1 -0
- package/dist/chunks/autoMode-0.6.2-w921k0xq.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.2-gwvkqpt8.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.2-7p2jxjem.mjs +1 -0
- package/dist/chunks/branch-0.6.2-tx9vvnkh.mjs +4 -0
- package/dist/chunks/bridgePointer-0.6.2-vm11xngr.mjs +1 -0
- package/dist/chunks/btw-0.6.2-s76cg2fz.mjs +1 -0
- package/dist/chunks/buddy-0.6.2-0ck2kabw.mjs +3 -0
- package/dist/chunks/cacache-0.6.2-c87f0fw9.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.2-nhq6d99v.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.2-wjqpder6.mjs +4 -0
- package/dist/chunks/caches-0.6.2-ckpe4m10.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.2-9xry3zxj.mjs +1 -0
- package/dist/chunks/claudemd-0.6.2-eevm7pz1.mjs +1 -0
- package/dist/chunks/clear-0.6.2-301n503a.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.2-qgg50hxe.mjs +1 -0
- package/dist/chunks/cli-0.6.2-0cpmb5wg.mjs +42 -0
- package/dist/chunks/cli-0.6.2-0f9sh5z8.mjs +4 -0
- package/dist/chunks/cli-0.6.2-0p39svq8.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1acc8mpr.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1ahapm20.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1b9hx344.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1g0gmdck.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1hrabb68.mjs +3 -0
- package/dist/chunks/cli-0.6.2-1wj8sm5y.mjs +9 -0
- package/dist/chunks/cli-0.6.2-1y907j57.mjs +2 -0
- package/dist/chunks/cli-0.6.2-22zkw0rp.mjs +2 -0
- package/dist/chunks/cli-0.6.2-26qywcgz.mjs +2 -0
- package/dist/chunks/cli-0.6.2-2aj7wfhk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-2ewwghbe.mjs +3 -0
- package/dist/chunks/cli-0.6.2-2jg2f49s.mjs +2 -0
- package/dist/chunks/cli-0.6.2-2z19ppek.mjs +15 -0
- package/dist/chunks/cli-0.6.2-334vw6ys.mjs +2 -0
- package/dist/chunks/cli-0.6.2-3mpd0wjn.mjs +2 -0
- package/dist/chunks/cli-0.6.2-3r8vgmhb.mjs +2 -0
- package/dist/chunks/cli-0.6.2-3rgtxc9f.mjs +2 -0
- package/dist/chunks/cli-0.6.2-40pc2aj2.mjs +2 -0
- package/dist/chunks/cli-0.6.2-42d88f3r.mjs +2 -0
- package/dist/chunks/cli-0.6.2-43f0sknv.mjs +2 -0
- package/dist/chunks/cli-0.6.2-43qjtqa5.mjs +2 -0
- package/dist/chunks/cli-0.6.2-4a5t390f.mjs +2 -0
- package/dist/chunks/cli-0.6.2-4drhcx9k.mjs +15 -0
- package/dist/chunks/cli-0.6.2-4kcvb5en.mjs +2 -0
- package/dist/chunks/cli-0.6.2-4ke2trrq.mjs +39 -0
- package/dist/chunks/cli-0.6.2-4p9wa0p6.mjs +5323 -0
- package/dist/chunks/cli-0.6.2-4py7r63v.mjs +2 -0
- package/dist/chunks/cli-0.6.2-4r69ge5f.mjs +59 -0
- package/dist/chunks/cli-0.6.2-5d05m4xc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-5jempndm.mjs +133 -0
- package/dist/chunks/cli-0.6.2-657fbmws.mjs +2 -0
- package/dist/chunks/cli-0.6.2-6bacgc39.mjs +3 -0
- package/dist/chunks/cli-0.6.2-6g0t3j91.mjs +5 -0
- package/dist/chunks/cli-0.6.2-6g8yfn0m.mjs +2 -0
- package/dist/chunks/cli-0.6.2-6kn7z0zj.mjs +3 -0
- package/dist/chunks/cli-0.6.2-6wk99hh1.mjs +3 -0
- package/dist/chunks/cli-0.6.2-73vnf2t2.mjs +4 -0
- package/dist/chunks/cli-0.6.2-74x1d5s0.mjs +2 -0
- package/dist/chunks/cli-0.6.2-7egesyh9.mjs +4 -0
- package/dist/chunks/cli-0.6.2-7rmm482v.mjs +12 -0
- package/dist/chunks/cli-0.6.2-7rmymgpp.mjs +2 -0
- package/dist/chunks/cli-0.6.2-7z82z1hp.mjs +25 -0
- package/dist/chunks/cli-0.6.2-83ennmm8.mjs +21 -0
- package/dist/chunks/cli-0.6.2-8ka8msyf.mjs +2 -0
- package/dist/chunks/cli-0.6.2-8ksqzwe8.mjs +5 -0
- package/dist/chunks/cli-0.6.2-8v8sktjd.mjs +10 -0
- package/dist/chunks/cli-0.6.2-8y3j75c7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-974c5e67.mjs +9 -0
- package/dist/chunks/cli-0.6.2-9j01vvqt.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9mwrq250.mjs +3 -0
- package/dist/chunks/cli-0.6.2-9n2g6k9w.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9n9cpja7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9qtj477e.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9w9nmx9s.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9ybnhjj8.mjs +4 -0
- package/dist/chunks/cli-0.6.2-a8atyp18.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ahaj5z3h.mjs +2 -0
- package/dist/chunks/cli-0.6.2-aq30pg47.mjs +2 -0
- package/dist/chunks/cli-0.6.2-aqxemf9h.mjs +6 -0
- package/dist/chunks/cli-0.6.2-b34y2qb7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-b88e6p6d.mjs +2 -0
- package/dist/chunks/cli-0.6.2-b8r77v7s.mjs +2 -0
- package/dist/chunks/cli-0.6.2-bkff60ff.mjs +2 -0
- package/dist/chunks/cli-0.6.2-br678d1b.mjs +8 -0
- package/dist/chunks/cli-0.6.2-bvyhf16r.mjs +2 -0
- package/dist/chunks/cli-0.6.2-c05pfwbs.mjs +2 -0
- package/dist/chunks/cli-0.6.2-c3h0j3ad.mjs +2 -0
- package/dist/chunks/cli-0.6.2-c8bf5gfw.mjs +4 -0
- package/dist/chunks/cli-0.6.2-c9adbzc9.mjs +2 -0
- package/dist/chunks/cli-0.6.2-cvr4dbfz.mjs +2 -0
- package/dist/chunks/cli-0.6.2-d3evezft.mjs +1 -0
- package/dist/chunks/cli-0.6.2-d3y2w089.mjs +2 -0
- package/dist/chunks/cli-0.6.2-d3ykxc81.mjs +2 -0
- package/dist/chunks/cli-0.6.2-dbw96fj0.mjs +12 -0
- package/dist/chunks/cli-0.6.2-dr4gmq77.mjs +2 -0
- package/dist/chunks/cli-0.6.2-drm9vdbc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-dv8abe56.mjs +7 -0
- package/dist/chunks/cli-0.6.2-dx6qfese.mjs +2 -0
- package/dist/chunks/cli-0.6.2-dy4zwces.mjs +2 -0
- package/dist/chunks/cli-0.6.2-e0x7vgkh.mjs +2 -0
- package/dist/chunks/cli-0.6.2-e26khw0m.mjs +6 -0
- package/dist/chunks/cli-0.6.2-e66qz53g.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ea8z1e2e.mjs +16 -0
- package/dist/chunks/cli-0.6.2-erkq6kmj.mjs +45 -0
- package/dist/chunks/cli-0.6.2-ezn7w7ae.mjs +5 -0
- package/dist/chunks/cli-0.6.2-f8wbscq8.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ffwsaj8h.mjs +2 -0
- package/dist/chunks/cli-0.6.2-fm1d3kkg.mjs +2 -0
- package/dist/chunks/cli-0.6.2-g1m1mc2w.mjs +2 -0
- package/dist/chunks/cli-0.6.2-g5akhdzk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-g6c6hjc6.mjs +6 -0
- package/dist/chunks/cli-0.6.2-gjc0cfpe.mjs +2 -0
- package/dist/chunks/cli-0.6.2-gjcarfd4.mjs +2 -0
- package/dist/chunks/cli-0.6.2-gqbd9ax6.mjs +2 -0
- package/dist/chunks/cli-0.6.2-grf75vb7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-h18w4nmy.mjs +2 -0
- package/dist/chunks/cli-0.6.2-h72p44ws.mjs +24 -0
- package/dist/chunks/cli-0.6.2-ha8qy3b0.mjs +2 -0
- package/dist/chunks/cli-0.6.2-hhjx89cr.mjs +193 -0
- package/dist/chunks/cli-0.6.2-hhyenxhe.mjs +2 -0
- package/dist/chunks/cli-0.6.2-hp1pwe62.mjs +2 -0
- package/dist/chunks/cli-0.6.2-hqmcear6.mjs +2 -0
- package/dist/chunks/cli-0.6.2-hs0y8na1.mjs +34 -0
- package/dist/chunks/cli-0.6.2-j05kmd43.mjs +2 -0
- package/dist/chunks/cli-0.6.2-j1nazgzc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-jgh80hr1.mjs +2 -0
- package/dist/chunks/cli-0.6.2-jrb4f391.mjs +15 -0
- package/dist/chunks/cli-0.6.2-jrpted0b.mjs +2 -0
- package/dist/chunks/cli-0.6.2-jv7awz9n.mjs +2 -0
- package/dist/chunks/cli-0.6.2-k56bbmdp.mjs +2 -0
- package/dist/chunks/cli-0.6.2-k9v931hm.mjs +2 -0
- package/dist/chunks/cli-0.6.2-kbz4gdv0.mjs +2 -0
- package/dist/chunks/cli-0.6.2-kcf9h23h.mjs +2 -0
- package/dist/chunks/cli-0.6.2-kk5rmpf2.mjs +4 -0
- package/dist/chunks/cli-0.6.2-ky1drj50.mjs +2 -0
- package/dist/chunks/cli-0.6.2-mabejxsw.mjs +4 -0
- package/dist/chunks/cli-0.6.2-majp93c4.mjs +2 -0
- package/dist/chunks/cli-0.6.2-mqcsy5k1.mjs +2 -0
- package/dist/chunks/cli-0.6.2-n4v3wxhj.mjs +3 -0
- package/dist/chunks/cli-0.6.2-n9610c8k.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ntj0k6z8.mjs +2 -0
- package/dist/chunks/cli-0.6.2-nw08h6z2.mjs +2 -0
- package/dist/chunks/cli-0.6.2-nwzye174.mjs +2 -0
- package/dist/chunks/cli-0.6.2-p0jszyht.mjs +3 -0
- package/dist/chunks/cli-0.6.2-p6w7n0bx.mjs +58 -0
- package/dist/chunks/cli-0.6.2-ptm65j7w.mjs +2 -0
- package/dist/chunks/cli-0.6.2-q45wdma3.mjs +3 -0
- package/dist/chunks/cli-0.6.2-q4pmjk86.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qa6qbf36.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qec7nrgw.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qezxrvkk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qkzrj9jv.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qpnzszt1.mjs +2 -0
- package/dist/chunks/cli-0.6.2-r4p904h3.mjs +67 -0
- package/dist/chunks/cli-0.6.2-r7j7h4hj.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rde30n8x.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rdfwysaf.mjs +2 -0
- package/dist/chunks/cli-0.6.2-red287ya.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rjqa4vcn.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rkp36r0y.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rpxhzchp.mjs +17 -0
- package/dist/chunks/cli-0.6.2-rsw5s54e.mjs +24 -0
- package/dist/chunks/cli-0.6.2-s3xefpk2.mjs +2 -0
- package/dist/chunks/cli-0.6.2-s73x3nqc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-sb3gjggk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-sbjpxvg6.mjs +2 -0
- package/dist/chunks/cli-0.6.2-sbvnj6xm.mjs +2 -0
- package/dist/chunks/cli-0.6.2-sr4xyjmx.mjs +133 -0
- package/dist/chunks/cli-0.6.2-st7jwd3e.mjs +2 -0
- package/dist/chunks/cli-0.6.2-t038jmme.mjs +3 -0
- package/dist/chunks/cli-0.6.2-t3e59m32.mjs +2 -0
- package/dist/chunks/cli-0.6.2-t74yr8e7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-t8yezjtz.mjs +2 -0
- package/dist/chunks/cli-0.6.2-tbbfz84c.mjs +2 -0
- package/dist/chunks/cli-0.6.2-tqq6q5x7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-tqt8xgww.mjs +50 -0
- package/dist/chunks/cli-0.6.2-v1hjbt4b.mjs +20 -0
- package/dist/chunks/cli-0.6.2-v9brbf1x.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vfdaj8xa.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vg43sy4j.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vqas2mhg.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vqt5hqzr.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vrv3r8v9.mjs +18 -0
- package/dist/chunks/cli-0.6.2-vys7e4x0.mjs +2 -0
- package/dist/chunks/cli-0.6.2-w0nwtgnn.mjs +3 -0
- package/dist/chunks/cli-0.6.2-w9trxbjc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-wbg54yyk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-wdtqrg29.mjs +12 -0
- package/dist/chunks/cli-0.6.2-wryj4wnr.mjs +2 -0
- package/dist/chunks/cli-0.6.2-x7zpbnzj.mjs +2 -0
- package/dist/chunks/cli-0.6.2-xnn1c5kd.mjs +18 -0
- package/dist/chunks/cli-0.6.2-y8g2xkqa.mjs +2 -0
- package/dist/chunks/cli-0.6.2-yep449sd.mjs +17 -0
- package/dist/chunks/cli-0.6.2-yjbsdf10.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ymnp9sv9.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ynamhrtk.mjs +4 -0
- package/dist/chunks/cli-0.6.2-yysvdabq.mjs +2 -0
- package/dist/chunks/cli-0.6.2-z00mtdgp.mjs +4 -0
- package/dist/chunks/cli-0.6.2-z1njvrn7.mjs +3 -0
- package/dist/chunks/cli-0.6.2-z2ftrcke.mjs +4 -0
- package/dist/chunks/cli-0.6.2-z3vr6hxb.mjs +2 -0
- package/dist/chunks/cli-0.6.2-z9kadqm6.mjs +18 -0
- package/dist/chunks/cli-0.6.2-zaahyems.mjs +2 -0
- package/dist/chunks/cli-0.6.2-zftyh47j.mjs +2 -0
- package/dist/chunks/cli-0.6.2-zqj8dk7m.mjs +2 -0
- package/dist/chunks/cli-0.6.2-zs4qp487.mjs +2 -0
- package/dist/chunks/client-0.6.2-8b0s065m.mjs +1 -0
- package/dist/chunks/color-0.6.2-jza3jez4.mjs +1 -0
- package/dist/chunks/compact-0.6.2-2jy7t4f4.mjs +3 -0
- package/dist/chunks/config-0.6.2-qjwjrd75.mjs +1 -0
- package/dist/chunks/config-0.6.2-xac3sjb7.mjs +1 -0
- package/dist/chunks/constants-0.6.2-gwzfwz81.mjs +1 -0
- package/dist/chunks/context-0.6.2-w965073f.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.2-fcjaexgs.mjs +1 -0
- package/dist/chunks/conversation-0.6.2-19c4vdvz.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.2-pad0tejv.mjs +1 -0
- package/dist/chunks/copy-0.6.2-p4jw9gbt.mjs +9 -0
- package/dist/chunks/cost-0.6.2-vhwgeqym.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.2-j2yf2qm6.mjs +1 -0
- package/dist/chunks/createSession-0.6.2-axgp009k.mjs +1 -0
- package/dist/chunks/debug-0.6.2-g2n0fqva.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.2-28650cn6.mjs +1365 -0
- package/dist/chunks/desktop-0.6.2-g4c5xzgr.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.2-d1chqsq7.mjs +1 -0
- package/dist/chunks/detection-0.6.2-rtsr38x3.mjs +1 -0
- package/dist/chunks/diff-0.6.2-md180qh9.mjs +1 -0
- package/dist/chunks/doctor-0.6.2-g7yz0erc.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.2-a82fkq4t.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.2-7j71psy0.mjs +1 -0
- package/dist/chunks/effort-0.6.2-n6mb1qca.mjs +10 -0
- package/dist/chunks/envUtils-0.6.2-cgk2t66d.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.2-jxz6pef4.mjs +1 -0
- package/dist/chunks/environments-0.6.2-fe197syt.mjs +1 -0
- package/dist/chunks/errors-0.6.2-qwc8na5z.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.2-ts5qp1zd.mjs +1 -0
- package/dist/chunks/exit-0.6.2-ejt9v4r5.mjs +1 -0
- package/dist/chunks/export-0.6.2-7xzrp9f7.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.2-4xbsq144.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.2-dbw7cdb9.mjs +1 -0
- package/dist/chunks/fast-0.6.2-trs3hdhf.mjs +1 -0
- package/dist/chunks/feedback-0.6.2-ssmy63tw.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.2-8h0fye4z.mjs +1 -0
- package/dist/chunks/git-0.6.2-nt9s7t3d.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.2-24hacezm.mjs +1 -0
- package/dist/chunks/goal-0.6.2-y7sqebpb.mjs +4 -0
- package/dist/chunks/grove-0.6.2-a2wgccag.mjs +1 -0
- package/dist/chunks/growthbook-0.6.2-0rhkaa7d.mjs +1 -0
- package/dist/chunks/headless-0.6.2-mqs7zsvy.mjs +2 -0
- package/dist/chunks/heapdump-0.6.2-4n8atcks.mjs +6 -0
- package/dist/chunks/help-0.6.2-c49svpae.mjs +1 -0
- package/dist/chunks/hookChains-0.6.2-44ps20xa.mjs +3 -0
- package/dist/chunks/hooks-0.6.2-27hpvpxf.mjs +1 -0
- package/dist/chunks/hooks-0.6.2-7ze1m2wq.mjs +79 -0
- package/dist/chunks/ide-0.6.2-4v9fdhr6.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.2-a92myehv.mjs +1 -0
- package/dist/chunks/index-0.6.2-1kk3erm5.mjs +9 -0
- package/dist/chunks/index-0.6.2-21nak3ad.mjs +1 -0
- package/dist/chunks/index-0.6.2-2vns8v9p.mjs +1 -0
- package/dist/chunks/index-0.6.2-2wg5fkyq.mjs +1 -0
- package/dist/chunks/index-0.6.2-3g92ew8z.mjs +1 -0
- package/dist/chunks/index-0.6.2-4wsxzfzg.mjs +1 -0
- package/dist/chunks/index-0.6.2-88m8k4cp.mjs +1 -0
- package/dist/chunks/index-0.6.2-93bh3w93.mjs +1 -0
- package/dist/chunks/index-0.6.2-9e0qz384.mjs +1 -0
- package/dist/chunks/index-0.6.2-emm65q8h.mjs +17 -0
- package/dist/chunks/index-0.6.2-ff57yvh3.mjs +1 -0
- package/dist/chunks/index-0.6.2-g6xy97jv.mjs +1 -0
- package/dist/chunks/index-0.6.2-h37g7n0s.mjs +9 -0
- package/dist/chunks/index-0.6.2-h8jkf613.mjs +5 -0
- package/dist/chunks/index-0.6.2-jcsv5kp3.mjs +1 -0
- package/dist/chunks/index-0.6.2-jw83xhc8.mjs +2 -0
- package/dist/chunks/index-0.6.2-mehn31e3.mjs +30 -0
- package/dist/chunks/index-0.6.2-naw1d8mg.mjs +2 -0
- package/dist/chunks/index-0.6.2-qjs3rrrc.mjs +1 -0
- package/dist/chunks/index-0.6.2-qn0re7sj.mjs +1 -0
- package/dist/chunks/index-0.6.2-tftj6wdh.mjs +1 -0
- package/dist/chunks/index-0.6.2-ww1qy3cg.mjs +1 -0
- package/dist/chunks/init-0.6.2-47k2caay.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.2-sn29sxg9.mjs +1 -0
- package/dist/chunks/ink-0.6.2-dhg7s7qq.mjs +1 -0
- package/dist/chunks/insights-0.6.2-st861yg4.mjs +870 -0
- package/dist/chunks/install-0.6.2-webkhwz9.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.2-dyf38saf.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.2-mkhq39jq.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.2-8enws6w1.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.2-h3c63932.mjs +1 -0
- package/dist/chunks/keybindings-0.6.2-b4h5gr36.mjs +2 -0
- package/dist/chunks/knowledge-0.6.2-r7wzchg7.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.2-29wtfvgy.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.2-6tmzy9fs.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.2-1qx97351.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.2-c4wpqz2j.mjs +1 -0
- package/dist/chunks/log-0.6.2-h02k5q0p.mjs +1 -0
- package/dist/chunks/main-0.6.2-51xvrsbq.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.2-ma1dx63x.mjs +1 -0
- package/dist/chunks/mcp-0.6.2-j3m0e0bk.mjs +17 -0
- package/dist/chunks/mcp-0.6.2-n8yv335k.mjs +4 -0
- package/dist/chunks/mcp-0.6.2-zebf4vwt.mjs +1 -0
- package/dist/chunks/mcpb-0.6.2-egn2wk5t.mjs +1 -0
- package/dist/chunks/memory-0.6.2-vy2ka09s.mjs +3 -0
- package/dist/chunks/mobile-0.6.2-s8f6z7dq.mjs +2 -0
- package/dist/chunks/model-0.6.2-49f9g2vz.mjs +2 -0
- package/dist/chunks/model-0.6.2-pcd5ta0c.mjs +1 -0
- package/dist/chunks/node-0.6.2-40bknjza.mjs +12 -0
- package/dist/chunks/oauth-0.6.2-newhjxdv.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.2-rjs9w27t.mjs +14 -0
- package/dist/chunks/output-style-0.6.2-n76v4e26.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.6.2-cymw10eg.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.2-qy2dp99f.mjs +1 -0
- package/dist/chunks/parser-0.6.2-xgg5gh3g.mjs +1 -0
- package/dist/chunks/passes-0.6.2-kadygcw6.mjs +1 -0
- package/dist/chunks/permissions-0.6.2-hv22h5gm.mjs +3 -0
- package/dist/chunks/plan-0.6.2-hzbsezab.mjs +1 -0
- package/dist/chunks/plist-0.6.2-hkq2x0x5.mjs +1 -0
- package/dist/chunks/plugin-0.6.2-pr48413e.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.2-zfb8qack.mjs +1 -0
- package/dist/chunks/plugins-0.6.2-hx8jrngg.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.2-pac7p55h.mjs +2 -0
- package/dist/chunks/print-0.6.2-ng7p0m66.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.2-awj1k33j.mjs +1 -0
- package/dist/chunks/process-0.6.2-7k26fk4b.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.2-379q2wr4.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.2-7zk4c0n0.mjs +9 -0
- package/dist/chunks/prompt-0.6.2-c2vevj59.mjs +1 -0
- package/dist/chunks/prompt-0.6.2-szkc5jgm.mjs +1 -0
- package/dist/chunks/prompts-0.6.2-s8z9fmgq.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.2-wc5pcv21.mjs +13 -0
- package/dist/chunks/provider-0.6.2-nbcrfwt5.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.2-r9j184kz.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.2-4h7yr0x2.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.2-dbvvmtas.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.2-w8y8efwa.mjs +34 -0
- package/dist/chunks/registry-0.6.2-8xcdw66w.mjs +1 -0
- package/dist/chunks/release-notes-0.6.2-xtnhsjps.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.2-hhgdgy2j.mjs +2 -0
- package/dist/chunks/remote-env-0.6.2-9tdvzj0q.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.2-y9spfxbw.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.2-pb3185rt.mjs +1 -0
- package/dist/chunks/rename-0.6.2-z5pwd75p.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.2-epcyvrf1.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.2-yk4q9w0s.mjs +1 -0
- package/dist/chunks/resume-0.6.2-wwmdq5gh.mjs +2 -0
- package/dist/chunks/rewind-0.6.2-keb5hdgr.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.2-hprbxscd.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.2-4ntc8ewv.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.2-5zdhe1qf.mjs +1 -0
- package/dist/chunks/session-0.6.2-k41jbqwf.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.2-x9rwtkey.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.2-0ska7d2r.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.2-0brgsadt.mjs +1 -0
- package/dist/chunks/settings-0.6.2-cgwa4c0s.mjs +1 -0
- package/dist/chunks/setup-0.6.2-vqm3xhrr.mjs +5 -0
- package/dist/chunks/sinks-0.6.2-p6ftcdrs.mjs +1 -0
- package/dist/chunks/skills-0.6.2-87j1kdxj.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.2-173hw815.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.2-4364mejf.mjs +1 -0
- package/dist/chunks/state-0.6.2-nymhw7ey.mjs +1 -0
- package/dist/chunks/stats-0.6.2-skm9nakv.mjs +6 -0
- package/dist/chunks/status-0.6.2-wfm0ahb8.mjs +1 -0
- package/dist/chunks/stickers-0.6.2-nze85ck5.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.2-vktss3j3.mjs +1 -0
- package/dist/chunks/tasks-0.6.2-hfy99qn9.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.2-ep254ybc.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.2-ecyswt3z.mjs +1 -0
- package/dist/chunks/teleport-0.6.2-ve5pmdye.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.2-wxnysmg4.mjs +1 -0
- package/dist/chunks/theme-0.6.2-r6cak2qv.mjs +1 -0
- package/dist/chunks/thinkback-0.6.2-9svbgrtq.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.2-22rfv6x5.mjs +1 -0
- package/dist/chunks/toolPool-0.6.2-znz9vm50.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.2-nsf80s0q.mjs +1 -0
- package/dist/chunks/tools-0.6.2-wcxfbgtv.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.2-ab0ftpnm.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.2-g0zf33kq.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.6.2-8c0jzztb.mjs +4 -0
- package/dist/chunks/update-0.6.2-p8edrwg4.mjs +86 -0
- package/dist/chunks/upgrade-0.6.2-wkscvr1z.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.6.2-0bdt5gtr.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.2-rgywhzs5.mjs +1 -0
- package/dist/chunks/usage-0.6.2-mkckbqy2.mjs +1 -0
- package/dist/chunks/util-0.6.2-yet75ms4.mjs +1 -0
- package/dist/chunks/utils-0.6.2-pedaa5s8.mjs +1 -0
- package/dist/chunks/vim-0.6.2-m8vm39s8.mjs +1 -0
- package/dist/chunks/watcher-0.6.2-apxj1t3y.mjs +1 -0
- package/dist/chunks/wiki-0.6.2-wztzwvgx.mjs +132 -0
- package/dist/chunks/worktree-0.6.2-jvbqmswq.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.2-bq8z3zp7.mjs +1 -0
- package/dist/chunks/wrapper-0.6.2-wwg8e756.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.6.0-8f3qtrj8.mjs +0 -1
- package/dist/chunks/App-0.6.0-9n7fg3v4.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.6.0-egkvq84f.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.6.0-30jea1bv.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.6.0-3kcrm51e.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.6.0-ynatyfe7.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.0-bfvx8vyr.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.6.0-ta5bxsqc.mjs +0 -1
- package/dist/chunks/DiffDialog-0.6.0-cw7k3rhz.mjs +0 -3
- package/dist/chunks/Doctor-0.6.0-w85vn7cp.mjs +0 -1
- package/dist/chunks/Grove-0.6.0-8pzwxvxy.mjs +0 -1
- package/dist/chunks/ITermBackend-0.6.0-ccznb0th.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.6.0-0za8mmqc.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.6.0-mvr8g3r7.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.6.0-8r6844g6.mjs +0 -1
- package/dist/chunks/Onboarding-0.6.0-s775c4cr.mjs +0 -1
- package/dist/chunks/ProviderManager-0.6.0-xgf5m2wn.mjs +0 -1
- package/dist/chunks/REPL-0.6.0-z46m261k.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.6.0-4njrwnw3.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.6.0-1aanznj9.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.6.0-ddvkc0ya.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.0-r86b0jdg.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.6.0-m20qbr0e.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.6.0-qb88j55p.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.6.0-v8recgw0.mjs +0 -1
- package/dist/chunks/TrustDialog-0.6.0-tdfv8cqs.mjs +0 -1
- package/dist/chunks/activeProvider-0.6.0-ajzxc1d4.mjs +0 -1
- package/dist/chunks/add-dir-0.6.0-e8scpyaj.mjs +0 -1
- package/dist/chunks/agents-0.6.0-69xm47ft.mjs +0 -3
- package/dist/chunks/agents-0.6.0-8m3ze781.mjs +0 -110
- package/dist/chunks/api-0.6.0-3cymw2a4.mjs +0 -1
- package/dist/chunks/asciicast-0.6.0-mz8jmcqs.mjs +0 -1
- package/dist/chunks/assistant-0.6.0-qf4d0nt8.mjs +0 -1
- package/dist/chunks/auth-0.6.0-6j97pezz.mjs +0 -1
- package/dist/chunks/auth-0.6.0-hkthtnfk.mjs +0 -1
- package/dist/chunks/autoMode-0.6.0-82td4ejn.mjs +0 -48
- package/dist/chunks/autoUpdater-0.6.0-4rrgwmxf.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.6.0-j2hd827a.mjs +0 -1
- package/dist/chunks/branch-0.6.0-rnjgfgek.mjs +0 -4
- package/dist/chunks/bridgePointer-0.6.0-4pp7berq.mjs +0 -1
- package/dist/chunks/btw-0.6.0-9pm632qb.mjs +0 -1
- package/dist/chunks/buddy-0.6.0-zyreaya9.mjs +0 -3
- package/dist/chunks/cacache-0.6.0-mhcyz322.mjs +0 -1
- package/dist/chunks/cache-probe-0.6.0-2m2g30sy.mjs +0 -21
- package/dist/chunks/cacheStats-0.6.0-mzcbqxz0.mjs +0 -4
- package/dist/chunks/caches-0.6.0-x8ev20m0.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.6.0-66prcdq2.mjs +0 -1
- package/dist/chunks/claudemd-0.6.0-t41nj06r.mjs +0 -1
- package/dist/chunks/clear-0.6.0-g494jnyj.mjs +0 -1
- package/dist/chunks/clearTerminal-0.6.0-3d2y2snk.mjs +0 -1
- package/dist/chunks/cli-0.6.0-0ck8d1xf.mjs +0 -3
- package/dist/chunks/cli-0.6.0-0kx1hnqt.mjs +0 -2
- package/dist/chunks/cli-0.6.0-0p3mkd59.mjs +0 -2
- package/dist/chunks/cli-0.6.0-0yb835ch.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1b6rqyjf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1bpa9gj3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1bzempk2.mjs +0 -12
- package/dist/chunks/cli-0.6.0-1cfghz45.mjs +0 -20
- package/dist/chunks/cli-0.6.0-1d77dayv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1hxw8522.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1jem05z7.mjs +0 -45
- package/dist/chunks/cli-0.6.0-1zce7bz0.mjs +0 -17
- package/dist/chunks/cli-0.6.0-27pnyd8x.mjs +0 -2
- package/dist/chunks/cli-0.6.0-295jdx7b.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2age3kgh.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2bbdcxda.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2c7skznf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2gsntzzv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2h139nq7.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2k2xxr4j.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2kvggf16.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2m8k6622.mjs +0 -18
- package/dist/chunks/cli-0.6.0-2m9w0jtx.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2qtnp6rz.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2z14r3n7.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2ztxr2t5.mjs +0 -2
- package/dist/chunks/cli-0.6.0-32mypc03.mjs +0 -4
- package/dist/chunks/cli-0.6.0-363zfcx9.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3jwfajtd.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3kbabt72.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3kxxj2zn.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3m7j40bv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3ns7jd71.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3qpvyrpf.mjs +0 -16
- package/dist/chunks/cli-0.6.0-3sdh6b3v.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3wr1g3r3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-4fzxnfth.mjs +0 -2
- package/dist/chunks/cli-0.6.0-4ks8fpx1.mjs +0 -2
- package/dist/chunks/cli-0.6.0-592v9jcz.mjs +0 -2
- package/dist/chunks/cli-0.6.0-59hncecf.mjs +0 -17
- package/dist/chunks/cli-0.6.0-5bjsew2k.mjs +0 -2
- package/dist/chunks/cli-0.6.0-5m6h57jc.mjs +0 -18
- package/dist/chunks/cli-0.6.0-5zykg2fc.mjs +0 -2
- package/dist/chunks/cli-0.6.0-60ma2ekn.mjs +0 -2
- package/dist/chunks/cli-0.6.0-60q6k4k3.mjs +0 -3
- package/dist/chunks/cli-0.6.0-6tdctbcr.mjs +0 -2
- package/dist/chunks/cli-0.6.0-6w72esaf.mjs +0 -3
- package/dist/chunks/cli-0.6.0-76c1zq6n.mjs +0 -2
- package/dist/chunks/cli-0.6.0-7m760mbp.mjs +0 -2
- package/dist/chunks/cli-0.6.0-7qw68ehh.mjs +0 -2
- package/dist/chunks/cli-0.6.0-7qwx1xwm.mjs +0 -2
- package/dist/chunks/cli-0.6.0-7s0k6nw0.mjs +0 -12
- package/dist/chunks/cli-0.6.0-7shwamwq.mjs +0 -4
- package/dist/chunks/cli-0.6.0-855c2tef.mjs +0 -2
- package/dist/chunks/cli-0.6.0-8kh9rbvn.mjs +0 -2
- package/dist/chunks/cli-0.6.0-8meqksnp.mjs +0 -9
- package/dist/chunks/cli-0.6.0-8xf2xpy3.mjs +0 -3
- package/dist/chunks/cli-0.6.0-8zczwtyv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-91exkfnc.mjs +0 -2
- package/dist/chunks/cli-0.6.0-97d3zsj0.mjs +0 -2
- package/dist/chunks/cli-0.6.0-9faq31pe.mjs +0 -4
- package/dist/chunks/cli-0.6.0-9gnppzfq.mjs +0 -133
- package/dist/chunks/cli-0.6.0-9qdj830c.mjs +0 -4
- package/dist/chunks/cli-0.6.0-9rq760gd.mjs +0 -2
- package/dist/chunks/cli-0.6.0-9rxskyst.mjs +0 -5
- package/dist/chunks/cli-0.6.0-a21pffqx.mjs +0 -2
- package/dist/chunks/cli-0.6.0-a62vvs4t.mjs +0 -2
- package/dist/chunks/cli-0.6.0-a7h4zkhn.mjs +0 -15
- package/dist/chunks/cli-0.6.0-aqestr3c.mjs +0 -193
- package/dist/chunks/cli-0.6.0-awtw1t27.mjs +0 -2
- package/dist/chunks/cli-0.6.0-b6tgentw.mjs +0 -2
- package/dist/chunks/cli-0.6.0-bca4nx7y.mjs +0 -4
- package/dist/chunks/cli-0.6.0-bg7yq5wg.mjs +0 -2
- package/dist/chunks/cli-0.6.0-bjyadvf4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-c1a6kyzf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-c1hzx5ft.mjs +0 -2
- package/dist/chunks/cli-0.6.0-c6nqbf3d.mjs +0 -3
- package/dist/chunks/cli-0.6.0-caxz9dgf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-d3wk9en8.mjs +0 -2
- package/dist/chunks/cli-0.6.0-d4v4gc51.mjs +0 -2
- package/dist/chunks/cli-0.6.0-da98vnek.mjs +0 -3
- package/dist/chunks/cli-0.6.0-db9z8rd6.mjs +0 -2
- package/dist/chunks/cli-0.6.0-dsrnkn8r.mjs +0 -2
- package/dist/chunks/cli-0.6.0-dsykmkkh.mjs +0 -2
- package/dist/chunks/cli-0.6.0-dxwdyaw3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-e05hymmk.mjs +0 -2
- package/dist/chunks/cli-0.6.0-e8a59m32.mjs +0 -2
- package/dist/chunks/cli-0.6.0-f7y1nm61.mjs +0 -4
- package/dist/chunks/cli-0.6.0-f8va1ddb.mjs +0 -2
- package/dist/chunks/cli-0.6.0-fdfhshmm.mjs +0 -3
- package/dist/chunks/cli-0.6.0-fg2kp9t9.mjs +0 -2
- package/dist/chunks/cli-0.6.0-fx65e0yv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-fzxv7yps.mjs +0 -2
- package/dist/chunks/cli-0.6.0-g60zf7ra.mjs +0 -2
- package/dist/chunks/cli-0.6.0-g61jvwe5.mjs +0 -2
- package/dist/chunks/cli-0.6.0-g7exm24t.mjs +0 -3
- package/dist/chunks/cli-0.6.0-gaakjhm0.mjs +0 -2
- package/dist/chunks/cli-0.6.0-gassmthg.mjs +0 -2
- package/dist/chunks/cli-0.6.0-gec8yt9j.mjs +0 -2
- package/dist/chunks/cli-0.6.0-gjcmv34x.mjs +0 -4
- package/dist/chunks/cli-0.6.0-gw1zy408.mjs +0 -2
- package/dist/chunks/cli-0.6.0-h0z5ygw4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-h88zf9sp.mjs +0 -2
- package/dist/chunks/cli-0.6.0-hchy51xn.mjs +0 -15
- package/dist/chunks/cli-0.6.0-hf8fw0bb.mjs +0 -2
- package/dist/chunks/cli-0.6.0-hms5fdyd.mjs +0 -2
- package/dist/chunks/cli-0.6.0-hraw3dez.mjs +0 -2
- package/dist/chunks/cli-0.6.0-hwes2c0w.mjs +0 -6
- package/dist/chunks/cli-0.6.0-hxhwjzmm.mjs +0 -34
- package/dist/chunks/cli-0.6.0-j4gvgd8r.mjs +0 -7
- package/dist/chunks/cli-0.6.0-j5r9tdmt.mjs +0 -50
- package/dist/chunks/cli-0.6.0-jb17xpd5.mjs +0 -2
- package/dist/chunks/cli-0.6.0-jfft7zdk.mjs +0 -67
- package/dist/chunks/cli-0.6.0-jpsf0t8a.mjs +0 -9
- package/dist/chunks/cli-0.6.0-js1fe4hv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-k8qnaskd.mjs +0 -8
- package/dist/chunks/cli-0.6.0-kr9jt2p9.mjs +0 -6
- package/dist/chunks/cli-0.6.0-kvv5zw54.mjs +0 -5
- package/dist/chunks/cli-0.6.0-m47zataq.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mkca0jw4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mmmmpmp3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mmp6g96h.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mqdfskgd.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mvv5jvw3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-ndxtcmnz.mjs +0 -2
- package/dist/chunks/cli-0.6.0-npjb4qxf.mjs +0 -3
- package/dist/chunks/cli-0.6.0-npxj2hv4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-nxpvznpz.mjs +0 -4
- package/dist/chunks/cli-0.6.0-nzqrvkwj.mjs +0 -58
- package/dist/chunks/cli-0.6.0-p3kytvrk.mjs +0 -42
- package/dist/chunks/cli-0.6.0-pbegwent.mjs +0 -2
- package/dist/chunks/cli-0.6.0-pk4x582t.mjs +0 -2
- package/dist/chunks/cli-0.6.0-pp6kfka3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-pvkfx5f1.mjs +0 -2
- package/dist/chunks/cli-0.6.0-q63ry2jk.mjs +0 -2
- package/dist/chunks/cli-0.6.0-qnby905t.mjs +0 -2
- package/dist/chunks/cli-0.6.0-qzs04ar5.mjs +0 -6
- package/dist/chunks/cli-0.6.0-r3kd85yw.mjs +0 -2
- package/dist/chunks/cli-0.6.0-r5tyrw7e.mjs +0 -59
- package/dist/chunks/cli-0.6.0-r8g9yjbx.mjs +0 -4
- package/dist/chunks/cli-0.6.0-rrp10514.mjs +0 -2
- package/dist/chunks/cli-0.6.0-rvcpxnfv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-rys3h8aw.mjs +0 -2
- package/dist/chunks/cli-0.6.0-rytp9dva.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s2w74466.mjs +0 -15
- package/dist/chunks/cli-0.6.0-s36ckgp3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s4fa0ekw.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s56fh7wm.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s6hbyqbv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s7b70a0c.mjs +0 -2
- package/dist/chunks/cli-0.6.0-sa2mtczk.mjs +0 -2
- package/dist/chunks/cli-0.6.0-sd76f2sk.mjs +0 -21
- package/dist/chunks/cli-0.6.0-sh2rvpbt.mjs +0 -2
- package/dist/chunks/cli-0.6.0-ssdst17p.mjs +0 -2
- package/dist/chunks/cli-0.6.0-szxjcmcn.mjs +0 -2
- package/dist/chunks/cli-0.6.0-t2arqp0e.mjs +0 -12
- package/dist/chunks/cli-0.6.0-t91jvdfm.mjs +0 -2
- package/dist/chunks/cli-0.6.0-t93n2gev.mjs +0 -3
- package/dist/chunks/cli-0.6.0-tbe2ca49.mjs +0 -3
- package/dist/chunks/cli-0.6.0-tgc46p2a.mjs +0 -2
- package/dist/chunks/cli-0.6.0-tmwp0q7v.mjs +0 -2
- package/dist/chunks/cli-0.6.0-ttys4ffq.mjs +0 -2
- package/dist/chunks/cli-0.6.0-tz34279s.mjs +0 -3
- package/dist/chunks/cli-0.6.0-v56hqc26.mjs +0 -25
- package/dist/chunks/cli-0.6.0-v7kten40.mjs +0 -2
- package/dist/chunks/cli-0.6.0-v92kj5pr.mjs +0 -2
- package/dist/chunks/cli-0.6.0-vcvchaan.mjs +0 -2
- package/dist/chunks/cli-0.6.0-vj1q5vmq.mjs +0 -5321
- package/dist/chunks/cli-0.6.0-vrp1zbfc.mjs +0 -4
- package/dist/chunks/cli-0.6.0-vy5a76pk.mjs +0 -18
- package/dist/chunks/cli-0.6.0-vzmjmj1n.mjs +0 -133
- package/dist/chunks/cli-0.6.0-wcqzr1n7.mjs +0 -10
- package/dist/chunks/cli-0.6.0-wmt6ytdx.mjs +0 -2
- package/dist/chunks/cli-0.6.0-wnrwh53h.mjs +0 -2
- package/dist/chunks/cli-0.6.0-wz6en1nw.mjs +0 -39
- package/dist/chunks/cli-0.6.0-x7c5eyt4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-xczg4s5m.mjs +0 -2
- package/dist/chunks/cli-0.6.0-xg7esvcf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-xp74d7yz.mjs +0 -1
- package/dist/chunks/cli-0.6.0-xyv90m2s.mjs +0 -2
- package/dist/chunks/cli-0.6.0-xzvyqs4f.mjs +0 -24
- package/dist/chunks/cli-0.6.0-y4g2dppt.mjs +0 -2
- package/dist/chunks/cli-0.6.0-ycj7gxxz.mjs +0 -2
- package/dist/chunks/cli-0.6.0-yryz4xm4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-zabvyppx.mjs +0 -2
- package/dist/chunks/cli-0.6.0-zngss8r1.mjs +0 -2
- package/dist/chunks/cli-0.6.0-zr99z1nr.mjs +0 -5
- package/dist/chunks/cli-0.6.0-zxckyy4s.mjs +0 -2
- package/dist/chunks/cli-0.6.0-zz1dfz4t.mjs +0 -24
- package/dist/chunks/client-0.6.0-djg9p1rh.mjs +0 -1
- package/dist/chunks/color-0.6.0-hpk7e2x9.mjs +0 -1
- package/dist/chunks/compact-0.6.0-gtvx4hy7.mjs +0 -3
- package/dist/chunks/config-0.6.0-f4jc8hpt.mjs +0 -1
- package/dist/chunks/config-0.6.0-jpx4jvj2.mjs +0 -1
- package/dist/chunks/constants-0.6.0-qe49df42.mjs +0 -1
- package/dist/chunks/context-0.6.0-t33461h9.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.6.0-vh1s30rr.mjs +0 -1
- package/dist/chunks/conversation-0.6.0-apb71k2e.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.6.0-2apz8tq4.mjs +0 -1
- package/dist/chunks/copy-0.6.0-yfzmdd0z.mjs +0 -9
- package/dist/chunks/cost-0.6.0-qrhnvqtm.mjs +0 -1
- package/dist/chunks/createSSHSession-0.6.0-2p1n5srr.mjs +0 -1
- package/dist/chunks/createSession-0.6.0-pcy6a299.mjs +0 -1
- package/dist/chunks/debug-0.6.0-39p8tt4j.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.6.0-8bzdvszj.mjs +0 -1365
- package/dist/chunks/desktop-0.6.0-vxzr6474.mjs +0 -1
- package/dist/chunks/detectRepository-0.6.0-wvjpx2rr.mjs +0 -1
- package/dist/chunks/detection-0.6.0-8thkktsw.mjs +0 -1
- package/dist/chunks/diff-0.6.0-g8kn9exw.mjs +0 -1
- package/dist/chunks/doctor-0.6.0-dxy0j0g4.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.6.0-aa892edk.mjs +0 -1
- package/dist/chunks/earlyInput-0.6.0-gj3dyt0d.mjs +0 -1
- package/dist/chunks/effort-0.6.0-g5xfz2eg.mjs +0 -10
- package/dist/chunks/envUtils-0.6.0-tf4st484.mjs +0 -1
- package/dist/chunks/environmentSelection-0.6.0-r5ar2987.mjs +0 -1
- package/dist/chunks/environments-0.6.0-gec3hdz5.mjs +0 -1
- package/dist/chunks/errors-0.6.0-mf51mpgf.mjs +0 -1
- package/dist/chunks/exampleCommands-0.6.0-qg1e4vxh.mjs +0 -1
- package/dist/chunks/exit-0.6.0-xys34kqe.mjs +0 -1
- package/dist/chunks/export-0.6.0-135ccc8z.mjs +0 -2
- package/dist/chunks/extra-usage-0.6.0-aqn3jh3x.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.6.0-yw91pfe0.mjs +0 -1
- package/dist/chunks/fast-0.6.0-gw4rymz7.mjs +0 -1
- package/dist/chunks/feedback-0.6.0-j898w96j.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.6.0-t26jt3ej.mjs +0 -1
- package/dist/chunks/git-0.6.0-1rjgfq8r.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.6.0-ek8depe7.mjs +0 -1
- package/dist/chunks/goal-0.6.0-wdmxdemz.mjs +0 -4
- package/dist/chunks/grove-0.6.0-bge298jb.mjs +0 -1
- package/dist/chunks/growthbook-0.6.0-vkrtxrkt.mjs +0 -1
- package/dist/chunks/headless-0.6.0-kw28r6p5.mjs +0 -2
- package/dist/chunks/heapdump-0.6.0-5130r1vc.mjs +0 -6
- package/dist/chunks/help-0.6.0-krmgwd6p.mjs +0 -1
- package/dist/chunks/hookChains-0.6.0-esxa7jav.mjs +0 -3
- package/dist/chunks/hooks-0.6.0-652920vq.mjs +0 -79
- package/dist/chunks/hooks-0.6.0-tgtx7vah.mjs +0 -1
- package/dist/chunks/ide-0.6.0-j84km85e.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.6.0-tyyms96b.mjs +0 -1
- package/dist/chunks/index-0.6.0-1c8mc7c5.mjs +0 -1
- package/dist/chunks/index-0.6.0-33tqx1q0.mjs +0 -1
- package/dist/chunks/index-0.6.0-4cjwvzjk.mjs +0 -2
- package/dist/chunks/index-0.6.0-8r6qtdvj.mjs +0 -2
- package/dist/chunks/index-0.6.0-9br46rw2.mjs +0 -1
- package/dist/chunks/index-0.6.0-apr64dfb.mjs +0 -1
- package/dist/chunks/index-0.6.0-e79va7fg.mjs +0 -9
- package/dist/chunks/index-0.6.0-f35c7dte.mjs +0 -1
- package/dist/chunks/index-0.6.0-fsb9nqdb.mjs +0 -1
- package/dist/chunks/index-0.6.0-gxd56xhn.mjs +0 -1
- package/dist/chunks/index-0.6.0-kbwkgp90.mjs +0 -5
- package/dist/chunks/index-0.6.0-mhvzn9h5.mjs +0 -1
- package/dist/chunks/index-0.6.0-mxm4er0h.mjs +0 -1
- package/dist/chunks/index-0.6.0-nny5a3rt.mjs +0 -30
- package/dist/chunks/index-0.6.0-nst006cq.mjs +0 -17
- package/dist/chunks/index-0.6.0-rv4pntam.mjs +0 -1
- package/dist/chunks/index-0.6.0-scwzrsg7.mjs +0 -1
- package/dist/chunks/index-0.6.0-w2djrw2s.mjs +0 -9
- package/dist/chunks/index-0.6.0-wb1ws1yr.mjs +0 -1
- package/dist/chunks/index-0.6.0-wjesenkh.mjs +0 -1
- package/dist/chunks/index-0.6.0-y9ppfz99.mjs +0 -1
- package/dist/chunks/index-0.6.0-zem7h5vp.mjs +0 -1
- package/dist/chunks/init-0.6.0-1770vy5g.mjs +0 -1
- package/dist/chunks/initReplBridge-0.6.0-z9198t8c.mjs +0 -1
- package/dist/chunks/ink-0.6.0-qwcph42h.mjs +0 -1
- package/dist/chunks/insights-0.6.0-cw0cadtm.mjs +0 -870
- package/dist/chunks/install-0.6.0-26gqe0fd.mjs +0 -1
- package/dist/chunks/install-github-app-0.6.0-afraccwz.mjs +0 -149
- package/dist/chunks/install-slack-app-0.6.0-ddv0a41d.mjs +0 -1
- package/dist/chunks/instrumentation-0.6.0-2rcak0p8.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.6.0-jxbk6fey.mjs +0 -1
- package/dist/chunks/keybindings-0.6.0-5ytp6650.mjs +0 -2
- package/dist/chunks/knowledge-0.6.0-ew766111.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.6.0-yy47behr.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.6.0-80k2aj05.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.0-vhh7gzzn.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.0-ztp923sq.mjs +0 -1
- package/dist/chunks/log-0.6.0-9tz5q7ps.mjs +0 -1
- package/dist/chunks/main-0.6.0-rzx5483p.mjs +0 -1
- package/dist/chunks/managedEnv-0.6.0-vr46tva8.mjs +0 -1
- package/dist/chunks/mcp-0.6.0-0w7zg3p3.mjs +0 -4
- package/dist/chunks/mcp-0.6.0-6h57nk7y.mjs +0 -1
- package/dist/chunks/mcp-0.6.0-r1061w3f.mjs +0 -17
- package/dist/chunks/mcpb-0.6.0-9ka233fc.mjs +0 -1
- package/dist/chunks/memory-0.6.0-wzcpareq.mjs +0 -3
- package/dist/chunks/mobile-0.6.0-wfnegsdg.mjs +0 -2
- package/dist/chunks/model-0.6.0-2ncemzh6.mjs +0 -1
- package/dist/chunks/model-0.6.0-tefdsge4.mjs +0 -2
- package/dist/chunks/node-0.6.0-x0ve6mnc.mjs +0 -12
- package/dist/chunks/oauth-0.6.0-dqw6k0tz.mjs +0 -1
- package/dist/chunks/openaiShim-0.6.0-22t2dr2z.mjs +0 -14
- package/dist/chunks/output-style-0.6.0-6kqm6df4.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.6.0-vx7g6m15.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.6.0-fzb9qfec.mjs +0 -1
- package/dist/chunks/parser-0.6.0-y80gn3tg.mjs +0 -1
- package/dist/chunks/passes-0.6.0-0gxeeegv.mjs +0 -1
- package/dist/chunks/permissions-0.6.0-hke4pdcc.mjs +0 -3
- package/dist/chunks/plan-0.6.0-v60h02ep.mjs +0 -1
- package/dist/chunks/plist-0.6.0-bz14nbfw.mjs +0 -1
- package/dist/chunks/plugin-0.6.0-43b045ac.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.6.0-rxgqz1f8.mjs +0 -1
- package/dist/chunks/plugins-0.6.0-c4zsb658.mjs +0 -9
- package/dist/chunks/preActionHook-0.6.0-bxna1trm.mjs +0 -2
- package/dist/chunks/print-0.6.0-09j4e2ec.mjs +0 -57
- package/dist/chunks/privacy-settings-0.6.0-yhesee0k.mjs +0 -1
- package/dist/chunks/process-0.6.0-194s5ayw.mjs +0 -1
- package/dist/chunks/processBashCommand-0.6.0-pfp2pv9w.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.6.0-7xzbb466.mjs +0 -9
- package/dist/chunks/prompt-0.6.0-g86dhhk0.mjs +0 -1
- package/dist/chunks/prompt-0.6.0-zaxw8ms6.mjs +0 -1
- package/dist/chunks/prompts-0.6.0-dk1vzsz0.mjs +0 -1
- package/dist/chunks/protocolHandler-0.6.0-54sm9br3.mjs +0 -13
- package/dist/chunks/provider-0.6.0-f3hjdgnv.mjs +0 -2
- package/dist/chunks/providerProfiles-0.6.0-bxp22mqt.mjs +0 -1
- package/dist/chunks/providerValidation-0.6.0-pvwdjqw3.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.6.0-y2qv27ms.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.6.0-dh1kmqw1.mjs +0 -34
- package/dist/chunks/registry-0.6.0-6zvdx4fa.mjs +0 -1
- package/dist/chunks/release-notes-0.6.0-6p8nx2xc.mjs +0 -5
- package/dist/chunks/reload-plugins-0.6.0-570gszfw.mjs +0 -2
- package/dist/chunks/remote-env-0.6.0-sjemeetj.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.6.0-ab80z440.mjs +0 -1
- package/dist/chunks/remoteSession-0.6.0-d07620cv.mjs +0 -1
- package/dist/chunks/rename-0.6.0-nyqpebf6.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.6.0-pvrxskrc.mjs +0 -1
- package/dist/chunks/replLauncher-0.6.0-1ng5ajaz.mjs +0 -1
- package/dist/chunks/resume-0.6.0-0gcmk4pd.mjs +0 -2
- package/dist/chunks/rewind-0.6.0-ktbtm3a9.mjs +0 -1
- package/dist/chunks/rootOptions-0.6.0-3y0nvcgg.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.6.0-n03pbpa8.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.6.0-r6ap16jq.mjs +0 -1
- package/dist/chunks/session-0.6.0-8wj8t5kq.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.6.0-ggm4y3jm.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.6.0-zzn2r4we.mjs +0 -1
- package/dist/chunks/sessionStorage-0.6.0-dqq9e9s8.mjs +0 -1
- package/dist/chunks/settings-0.6.0-ap4tqn54.mjs +0 -1
- package/dist/chunks/setup-0.6.0-mgbyyc71.mjs +0 -5
- package/dist/chunks/sinks-0.6.0-5ekfd4ya.mjs +0 -1
- package/dist/chunks/skills-0.6.0-78btd7cr.mjs +0 -1
- package/dist/chunks/startupProfiler-0.6.0-a2shb6dh.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.6.0-3ygq5msd.mjs +0 -1
- package/dist/chunks/state-0.6.0-m6bsf1b6.mjs +0 -1
- package/dist/chunks/stats-0.6.0-w163rgvd.mjs +0 -6
- package/dist/chunks/status-0.6.0-ce1p1nbt.mjs +0 -1
- package/dist/chunks/stickers-0.6.0-j9h7rsnm.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.6.0-ep7ha98p.mjs +0 -1
- package/dist/chunks/tasks-0.6.0-2qdk98p6.mjs +0 -1
- package/dist/chunks/teamHelpers-0.6.0-z26tek6c.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.6.0-ydtqht2v.mjs +0 -1
- package/dist/chunks/teleport-0.6.0-sq90w2z1.mjs +0 -1
- package/dist/chunks/terminalSetup-0.6.0-nj633zgj.mjs +0 -1
- package/dist/chunks/theme-0.6.0-gbx1fx14.mjs +0 -1
- package/dist/chunks/thinkback-0.6.0-g650qsc0.mjs +0 -1
- package/dist/chunks/thinkback-play-0.6.0-x83b68dn.mjs +0 -1
- package/dist/chunks/toolPool-0.6.0-p2sms7a9.mjs +0 -1
- package/dist/chunks/toolSearch-0.6.0-wyps3eqc.mjs +0 -1
- package/dist/chunks/tools-0.6.0-xk9wgy5h.mjs +0 -1
- package/dist/chunks/trustedDevice-0.6.0-rgqjeqzg.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.6.0-dsdamyph.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.6.0-x19p2w4a.mjs +0 -4
- package/dist/chunks/update-0.6.0-ryw1h5dw.mjs +0 -86
- package/dist/chunks/upgrade-0.6.0-gwrpq422.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.6.0-99efcy5e.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.6.0-k1qxf5y3.mjs +0 -1
- package/dist/chunks/usage-0.6.0-9gygvtnp.mjs +0 -1
- package/dist/chunks/util-0.6.0-pnf3vdnn.mjs +0 -1
- package/dist/chunks/utils-0.6.0-pf338f8r.mjs +0 -1
- package/dist/chunks/vim-0.6.0-xr4692km.mjs +0 -1
- package/dist/chunks/watcher-0.6.0-cypcv0dz.mjs +0 -1
- package/dist/chunks/wiki-0.6.0-hj8m2rct.mjs +0 -132
- package/dist/chunks/worktree-0.6.0-gkckfba3.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.6.0-rrpspmv9.mjs +0 -1
- package/dist/chunks/wrapper-0.6.0-hdrsg1aw.mjs +0 -7
- /package/dist/chunks/{cli-0.6.0-ktf52b8k.mjs → cli-0.6.2-1e5p6hw6.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-td7dsace.mjs → cli-0.6.2-3eaaj6e5.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-hcx40dgf.mjs → cli-0.6.2-7p1ykg1m.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-djm9knfa.mjs → cli-0.6.2-adegz2m3.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-6hak6gny.mjs → cli-0.6.2-hb4fz4pd.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-9zx9qdaq.mjs → cli-0.6.2-hkgnx8g7.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-2hnyx7jy.mjs → cli-0.6.2-qk6j042k.mjs} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{La as Y}from"./cli-0.6.2-hkgnx8g7.mjs";import{TR as N,UR as C}from"./cli-0.6.2-zftyh47j.mjs";import{uda as A,wda as w}from"./cli-0.6.2-hhjx89cr.mjs";import{cga as B,ega as k}from"./cli-0.6.2-vqt5hqzr.mjs";import{Kga as L,Oga as E,eha as W,hha as j}from"./cli-0.6.2-g6c6hjc6.mjs";import{Fha as K,yha as G}from"./cli-0.6.2-0f9sh5z8.mjs";k();C();import{randomUUID as O}from"crypto";j();w();K();E();function T(f){return f!==null&&typeof f==="object"&&"type"in f&&typeof f.type==="string"}function P(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_response"&&"response"in f}function S(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_request"&&"request_id"in f&&"request"in f}function v(f){if((f.type==="user"||f.type==="assistant")&&f.isVirtual)return!1;return f.type==="user"||f.type==="assistant"||f.type==="system"&&f.subtype==="local_command"}function q(f){if(f.type!=="user"||f.isMeta||f.toolUseResult||f.isCompactSummary)return;if(f.origin&&f.origin.kind!=="human")return;let X=f.message.content,Q;if(typeof X==="string")Q=X;else for(let Z of X)if(Z.type==="text"){Q=Z.text;break}if(!Q)return;return A(Q)||void 0}function p(f,X,Q,$,Z,z){try{let H=Y(L(f));if(P(H)){W("[bridge:repl] Ingress message type=control_response"),Z?.(H);return}if(S(H)){W(`[bridge:repl] Inbound control_request subtype=${H.request.subtype}`),z?.(H);return}if(!T(H))return;let J="uuid"in H&&typeof H.uuid==="string"?H.uuid:void 0;if(J&&X.has(J)){W(`[bridge:repl] Ignoring echo: type=${H.type} uuid=${J}`);return}if(J&&Q.has(J)){W(`[bridge:repl] Ignoring re-delivered inbound: type=${H.type} uuid=${J}`);return}if(W(`[bridge:repl] Ingress message type=${H.type}${J?` uuid=${J}`:""}`),H.type==="user"){if(J)Q.add(J);B("tengu_bridge_message_received",{is_repl:!0}),$?.(H)}else W(`[bridge:repl] Ignoring non-user inbound message: type=${H.type}`)}catch(H){W(`[bridge:repl] Failed to parse ingress message: ${G(H)}`)}}var y="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function g(f,X){let{transport:Q,sessionId:$,outboundOnly:Z,onInterrupt:z,onSetModel:H,onSetMaxThinkingTokens:J,onSetPermissionMode:h}=X;if(!Q){W("[bridge:repl] Cannot respond to control_request: transport not configured");return}let V;if(Z&&f.request.subtype!=="initialize"){V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:y}};let x={...V,session_id:$};Q.write(x),W(`[bridge:repl] Rejected ${f.request.subtype} (outbound-only) request_id=${f.request_id}`);return}switch(f.request.subtype){case"initialize":V={type:"control_response",response:{subtype:"success",request_id:f.request_id,response:{commands:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid}}};break;case"set_model":H?.(f.request.model),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_max_thinking_tokens":J?.(f.request.max_thinking_tokens),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_permission_mode":{let x=h?.(f.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(x.ok)V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};else V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:x.error}};break}case"interrupt":z?.(),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;default:V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:`REPL bridge does not handle control_request subtype: ${f.request.subtype}`}}}let _={...V,session_id:$};Q.write(_),W(`[bridge:repl] Sent control_response for ${f.request.subtype} request_id=${f.request_id} result=${V.response.subtype}`)}function d(f){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...N},modelUsage:{},permission_denials:[],session_id:f,uuid:O()}}class R{capacity;ring;set=new Set;writeIdx=0;constructor(f){this.capacity=f,this.ring=Array(f)}add(f){if(this.set.has(f))return;let X=this.ring[this.writeIdx];if(X!==void 0)this.set.delete(X);this.ring[this.writeIdx]=f,this.set.add(f),this.writeIdx=(this.writeIdx+1)%this.capacity}has(f){return this.set.has(f)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}
|
|
2
|
+
export{v as ja,q as ka,p as la,g as ma,d as na,R as oa};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Ck as yf,FQ as Bf,GQ as Hf,Pk as X,TF as v,UF as zf,Uk as Af,_O as n,aP as Xf,gE as S,hE as qf,hk as m,sk as R,vk as N,wk as M,xm as c,yA as Z,ym as Yf,zA as $f}from"./cli-0.6.2-4p9wa0p6.mjs";import{fS as a,gS as Jf}from"./cli-0.6.2-k56bbmdp.mjs";import{RW as If,RY as _f,kY as T,mY as d}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as Y,q0 as D,r0 as P}from"./cli-0.6.2-jrpted0b.mjs";import{s0 as Of}from"./cli-0.6.2-d3y2w089.mjs";import{N7 as b,P7 as Gf}from"./cli-0.6.2-hhjx89cr.mjs";import{cga as L,ega as e}from"./cli-0.6.2-vqt5hqzr.mjs";import{eha as W,hha as ff}from"./cli-0.6.2-g6c6hjc6.mjs";import{dpa as g,epa as s,hpa as k}from"./cli-0.6.2-3rgtxc9f.mjs";function E(){(Hf(),s(Bf)).saveWorktreeState(null)}function l({onDone:K,onCancel:_}){let[$,y]=q.useState("loading"),[O,I]=q.useState([]),[G,z]=q.useState(0),[p,A]=q.useState(),f=m();if(q.useEffect(()=>{async function B(){let J=[],H=await b("git",["status","--porcelain"]);if(H.stdout)J=H.stdout.split(`
|
|
2
|
+
`).filter((V)=>V.trim()!==""),I(J);if(f){let{stdout:V}=await b("git",["rev-list","--count",`${f.originalHeadCommit}..HEAD`]),w=parseInt(V.trim())||0;if(z(w),J.length===0&&w===0){y("removing"),M().then(()=>{process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),A("Worktree removed (no changes)")}).catch((t)=>{W(`Failed to clean up worktree: ${t}`,{level:"error"}),A("Worktree cleanup failed, exiting anyway")}).then(()=>{y("done")});return}else y("asking")}}B()},[f]),q.useEffect(()=>{if($==="done")K(p)},[$,K,p]),!f)return K("No active worktree session found",{display:"system"}),null;if($==="loading"||$==="done")return null;async function j(B){if(!f)return;let J=Boolean(f.tmuxSessionName);if(B==="keep"||B==="keep-with-tmux"){if(y("keeping"),L("tengu_worktree_kept",{commits:G,changed_files:O.length}),await N(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),J)A(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}. Reattach to tmux session with: tmux attach -t ${f.tmuxSessionName}`);else A(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}`);y("done")}else if(B==="keep-kill-tmux"){if(y("keeping"),L("tengu_worktree_kept",{commits:G,changed_files:O.length}),f.tmuxSessionName)await R(f.tmuxSessionName);await N(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.(),A(`Worktree kept at ${f.worktreePath} on branch ${f.worktreeBranch}. Tmux session terminated.`),y("done")}else if(B==="remove"||B==="remove-with-tmux"){if(y("removing"),L("tengu_worktree_removed",{commits:G,changed_files:O.length}),f.tmuxSessionName)await R(f.tmuxSessionName);try{await M(),process.chdir(f.originalCwd),Z(f.originalCwd),E(),X.cache.clear?.()}catch(V){W(`Failed to clean up worktree: ${V}`,{level:"error"}),A("Worktree cleanup failed, exiting anyway"),y("done");return}let H=J?" Tmux session terminated.":"";if(G>0&&O.length>0)A(`Worktree removed. ${G} ${G===1?"commit":"commits"} and uncommitted changes were discarded.${H}`);else if(G>0)A(`Worktree removed. ${G} ${G===1?"commit":"commits"} on ${f.worktreeBranch} ${G===1?"was":"were"} discarded.${H}`);else if(O.length>0)A(`Worktree removed. Uncommitted changes were discarded.${H}`);else A(`Worktree removed.${H}`);y("done")}}if($==="keeping")return D(T,{flexDirection:"row",marginY:1,children:[Y(v,{}),Y(d,{children:"Keeping worktree…"})]});if($==="removing")return D(T,{flexDirection:"row",marginY:1,children:[Y(v,{}),Y(d,{children:"Removing worktree…"})]});let x=f.worktreeBranch,U=O.length>0,F=G>0,Q="";if(U&&F)Q=`You have ${O.length} uncommitted ${O.length===1?"file":"files"} and ${G} ${G===1?"commit":"commits"} on ${x}. All will be lost if you remove.`;else if(U)Q=`You have ${O.length} uncommitted ${O.length===1?"file":"files"}. These will be lost if you remove the worktree.`;else if(F)Q=`You have ${G} ${G===1?"commit":"commits"} on ${x}. The branch will be deleted if you remove the worktree.`;else Q="You are working in a worktree. Keep it to continue working there, or remove it to clean up.";function r(){if(_){_();return}j("keep")}let h=U||F?"All changes and commits will be lost.":"Clean up the worktree directory.",C=Boolean(f.tmuxSessionName),o=C?[{label:"Keep worktree and tmux session",value:"keep-with-tmux",description:`Stays at ${f.worktreePath}. Reattach with: tmux attach -t ${f.tmuxSessionName}`},{label:"Keep worktree, kill tmux session",value:"keep-kill-tmux",description:`Keeps worktree at ${f.worktreePath}, terminates tmux session.`},{label:"Remove worktree and tmux session",value:"remove-with-tmux",description:h}]:[{label:"Keep worktree",value:"keep",description:`Stays at ${f.worktreePath}`},{label:"Remove worktree",value:"remove",description:h}];return Y(c,{title:"Exiting worktree session",subtitle:Q,onCancel:r,children:Y(S,{defaultFocusValue:C?"keep-with-tmux":"keep",options:o,onChange:j})})}var q;var u=k(()=>{e();ff();_f();Gf();Af();$f();yf();qf();Yf();zf();P();q=g(Of(),1)});function Qf(){return a(Kf)??"Goodbye!"}function xf(K){let _=i.c(5),{showWorktree:$,onDone:y,onCancel:O}=K,I;if(_[0]!==y)I=async function(p){y(p??Qf()),await n(0,"prompt_input_exit")},_[0]=y,_[1]=I;else I=_[1];let G=I;if($){let z;if(_[2]!==O||_[3]!==G)z=Y(l,{onDone:G,onCancel:O}),_[2]=O,_[3]=G,_[4]=z;else z=_[4];return z}return null}var i,Kf;var Vf=k(()=>{Jf();Xf();u();P();i=g(If(),1),Kf=["Goodbye!","See ya!","Bye!","Catch you later!"]});
|
|
3
|
+
export{xf as Jb,Vf as Kb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{FD as R,GD as E,HD as l,ID as i,JD as c,KD as w,LD as O,PD as y,QD as e}from"./cli-0.6.2-4p9wa0p6.mjs";import{ZV as x,_V as s}from"./cli-0.6.2-vfdaj8xa.mjs";import{$X as j,GY as Q,RW as n,RY as K,aY as r,kY as k,mY as W}from"./cli-0.6.2-4r69ge5f.mjs";import{o0 as A,p0 as V,q0 as D,r0 as v}from"./cli-0.6.2-jrpted0b.mjs";import{s0 as t}from"./cli-0.6.2-d3y2w089.mjs";import{dpa as q,hpa as p}from"./cli-0.6.2-3rgtxc9f.mjs";function X1(J){let b=S.c(17),{query:$,placeholder:N,isFocused:Z,isTerminalFocused:H,prefix:g,width:P,cursorOffset:_,borderless:Y}=J,G=N===void 0?"Search…":N,h=g===void 0?"⌕":g,L=Y===void 0?!1:Y,B=_??$.length,m=L?void 0:"round",z=Z?"suggestion":void 0,d=!Z,F=L?0:1,T=!Z,X;if(b[0]!==Z||b[1]!==H||b[2]!==B||b[3]!==G||b[4]!==$)X=Z?V(A,{children:$?H?D(A,{children:[V(W,{children:$.slice(0,B)}),V(W,{inverse:!0,children:B<$.length?$[B]:" "}),B<$.length&&V(W,{children:$.slice(B+1)})]}):V(W,{children:$}):H?D(A,{children:[V(W,{inverse:!0,children:G.charAt(0)}),V(W,{dimColor:!0,children:G.slice(1)})]}):V(W,{dimColor:!0,children:G})}):$?V(W,{children:$}):V(W,{children:G}),b[0]=Z,b[1]=H,b[2]=B,b[3]=G,b[4]=$,b[5]=X;else X=b[5];let M;if(b[6]!==h||b[7]!==T||b[8]!==X)M=D(W,{dimColor:T,children:[h," ",X]}),b[6]=h,b[7]=T,b[8]=X,b[9]=M;else M=b[9];let I;if(b[10]!==M||b[11]!==m||b[12]!==z||b[13]!==d||b[14]!==F||b[15]!==P)I=V(k,{flexShrink:0,borderStyle:m,borderColor:z,borderDimColor:d,paddingX:F,width:P,children:M}),b[10]=M,b[11]=m,b[12]=z,b[13]=d,b[14]=F,b[15]=P,b[16]=I;else I=b[16];return I}var S;var u=p(()=>{K();v();S=q(n(),1)});function d1(J){if(J.ctrl&&(J.key==="k"||J.key==="u"||J.key==="w"))return!0;if(J.meta&&J.key==="backspace")return!0;return!1}function T1(J){return(J.ctrl||J.meta)&&J.key==="y"}function W1({isActive:J,onExit:b,onCancel:$,onExitUp:N,columns:Z,passthroughCtrlKeys:H=[],initialQuery:g="",backspaceExitsOnEmpty:P=!0}){let{columns:_}=x(),Y=Z??_,[G,h]=U.useState(g),[L,B]=U.useState(g.length),m=U.useCallback((d)=>{h(d),B(d.length)},[]),z=(d)=>{if(!J)return;let F=y.fromText(G,Y,L);if(d.ctrl&&H.includes(d.key.toLowerCase()))return;if(!d1(d))l();if(!T1(d))O();if(d.key==="return"||d.key==="down"){d.preventDefault(),b();return}if(d.key==="up"){if(d.preventDefault(),N)N();return}if(d.key==="escape"){if(d.preventDefault(),$)$();else if(G.length>0)h(""),B(0);else b();return}if(d.key==="backspace"){if(d.preventDefault(),d.meta){let{cursor:X,killed:M}=F.deleteWordBefore();R(M,"prepend"),h(X.text),B(X.offset);return}if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}if(d.key==="delete"){d.preventDefault();let T=F.del();h(T.text),B(T.offset);return}if(d.key==="left"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.prevWord();B(T.offset);return}if(d.key==="right"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.nextWord();B(T.offset);return}if(d.key==="left"){d.preventDefault();let T=F.left();B(T.offset);return}if(d.key==="right"){d.preventDefault();let T=F.right();B(T.offset);return}if(d.key==="home"){d.preventDefault(),B(0);return}if(d.key==="end"){d.preventDefault(),B(G.length);return}if(d.ctrl){switch(d.preventDefault(),d.key.toLowerCase()){case"a":B(0);return;case"e":B(G.length);return;case"b":B(F.left().offset);return;case"f":B(F.right().offset);return;case"d":{if(G.length===0){($??b)();return}let T=F.del();h(T.text),B(T.offset);return}case"h":{if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}case"k":{let{cursor:T,killed:X}=F.deleteToLineEnd();R(X,"append"),h(T.text),B(T.offset);return}case"u":{let{cursor:T,killed:X}=F.deleteToLineStart();R(X,"prepend"),h(T.text),B(T.offset);return}case"w":{let{cursor:T,killed:X}=F.deleteWordBefore();R(X,"prepend"),h(T.text),B(T.offset);return}case"y":{let T=E();if(T.length>0){let X=F.offset,M=F.insert(T);i(X,T.length),h(M.text),B(M.offset)}return}case"g":case"c":if($){$();return}}return}if(d.meta){switch(d.preventDefault(),d.key.toLowerCase()){case"b":B(F.prevWord().offset);return;case"f":B(F.nextWord().offset);return;case"d":{let T=F.deleteWordAfter();h(T.text),B(T.offset);return}case"y":{let T=c();if(T){let{text:X,start:M,length:I}=T,f=G.slice(0,M),a=G.slice(M+I),C=f+X+a,o=M+X.length;w(X.length),h(C),B(o)}return}}return}if(d.key==="tab")return;if(d.key.length>=1&&!b1.has(d.key)){d.preventDefault();let T=F.insert(d.key);h(T.text),B(T.offset)}};return Q((d,F,T)=>{z(new j(T.keypress))},{isActive:J}),{query:G,setQuery:m,cursorOffset:L,handleKeyDown:z}}var U,b1;var B1=p(()=>{r();K();e();s();U=q(t(),1);b1=new Set(["pageup","pagedown","insert","wheelup","wheeldown","mouse","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12"])});
|
|
2
|
+
export{X1 as ug,u as vg,W1 as wg,B1 as xg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hpa as n}from"./cli-0.6.2-3rgtxc9f.mjs";function o(){return{}}function e(){return null}async function i(){}function g(){return!1}function r(){}function u(){}function f(){}async function l(){}var t=()=>{};
|
|
2
|
+
export{o as wT,e as xT,i as yT,g as zT,r as AT,u as BT,f as CT,l as DT,t as ET};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hpa as f}from"./cli-0.6.2-3rgtxc9f.mjs";function j(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function V(q,z){let B=q;for(let K of z){if(B==null||typeof B!=="object")return;B=B[K]}return B}function k(q){if(!q)return!1;let z="";try{z=new URL(q).hostname.toLowerCase()}catch{}if(!z){let W=q.toLowerCase();return W.includes("localhost")||W.includes("127.0.0.1")||W.includes("::1")}let B=z.startsWith("[")&&z.endsWith("]")?z.slice(1,-1):z;if(B==="localhost"||B.endsWith(".localhost")||B.endsWith(".local")||B.endsWith(".lan")||B.endsWith(".internal")||B.endsWith(".intranet")||B.endsWith(".home.arpa"))return!0;let K=B.match(x);if(K){let W=Number(K[1]),$=Number(K[2]);if(W===10)return!0;if(W===172&&$>=16&&$<=31)return!0;if(W===192&&$===168)return!0;if(W===127)return!0;if(W===169&&$===254)return!0;if(W===100&&$>=64&&$<=127)return!0}if(B==="::1"||B==="::")return!0;if(B.startsWith("fe80:")||L.test(B)||Y.test(B))return!0;return!1}function C(q,z){if(q==="github")return z?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let B=z?.openAiBaseUrl??"";if(k(B))return"self-hosted";let K=B.toLowerCase();if(K.includes(":11434"))return"ollama";if(K.includes("moonshot")||K.includes("kimi"))return"kimi";if(K.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function A(q){if(!q||typeof q!=="object")return 0;let z=q,B=j(z.cache_read_input_tokens);if(B>0)return B;let K=j(V(q,["input_tokens_details","cached_tokens"]))||j(V(q,["prompt_tokens_details","cached_tokens"]));if(K>0)return K;let W=j(z.cached_tokens);if(W>0)return W;let $=j(z.prompt_cache_hit_tokens);if($>0)return $;let Q=j(z.cached_content_token_count);if(Q>0)return Q;return 0}function M(q){let z=A(q),B=q??{},K=j(B.input_tokens)||j(B.prompt_tokens),W=K>=z?K-z:K,$=j(B.output_tokens)||j(B.completion_tokens);return{input_tokens:W,output_tokens:$,cache_creation_input_tokens:0,cache_read_input_tokens:z}}function U(q,z){if(!q||typeof q!=="object")return G;let B=q,K=j(B.cache_read_input_tokens),W=j(B.cache_creation_input_tokens),$=j(B.input_tokens);if(z==="copilot"||z==="ollama")return G;if(z==="self-hosted"&&K===0&&W===0)return G;let Q=K+W+$;return{read:K,created:W,total:Q,hitRate:Q>0?Math.min(1,K/Q):null,supported:!0}}function w(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let z=[`${H(q.read)} read`];if(q.hitRate!==null)z.push(`hit ${Math.round(q.hitRate*100)}%`);return`[Cache: ${z.join(" • ")}]`}function I(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let z=[`read=${H(q.read)}`,`created=${H(q.created)}`];if(q.hitRate!==null)z.push(`hit=${Math.round(q.hitRate*100)}%`);else z.push("hit=n/a");return`[Cache: ${z.join(" ")}]`}function H(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(F,"")}k`;return`${(q/1e6).toFixed(1).replace(F,"")}m`}function Z(q,z){if(!q.supported&&!z.supported)return G;if(!q.supported)return z;if(!z.supported)return q;let B=q.read+z.read,K=q.created+z.created,W=q.total+z.total;return{read:B,created:K,total:W,hitRate:W>0?B/W:null,supported:!0}}var G,x,L,Y,F;var y=f(()=>{G={read:0,created:0,total:0,hitRate:null,supported:!1};x=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,L=/^fc[0-9a-f]{0,2}:/,Y=/^fd[0-9a-f]{0,2}:/,F=/\.0$/});function O(q){return{currentTurn:X,session:X,history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function _(q,z){J.currentTurn=Z(J.currentTurn,q),J.session=Z(J.session,q);let B={timestamp:Date.now(),label:z,metrics:q};if(J.history[J.historyWriteIdx]=B,J.historyWriteIdx=(J.historyWriteIdx+1)%J.historyMax,J.historySize<J.historyMax)J.historySize++}function E(){J.currentTurn=X}function g(){J.currentTurn=X,J.session=X,J.history=Array(J.historyMax),J.historyWriteIdx=0,J.historySize=0}function N(){return J.currentTurn}function R(){return J.session}function b(){if(J.historySize<J.historyMax)return J.history.slice(0,J.historySize);let q=J.history.slice(J.historyWriteIdx),z=J.history.slice(0,J.historyWriteIdx);return q.concat(z)}var D=500,X,J;var S=f(()=>{y();X={read:0,created:0,total:0,hitRate:null,supported:!1};J=O(D)});
|
|
2
|
+
export{C as MV,M as NV,U as OV,w as PV,I as QV,y as RV,_ as SV,E as TV,g as UV,N as VV,R as WV,b as XV,S as YV};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hpa as $}from"./cli-0.6.2-3rgtxc9f.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function x(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function A(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function N(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function k(z=1){return z===0?"":J(z,"A")}function X(z=1){return z===0?"":J(z,"B")}function D(z=1){return z===0?"":J(z,"C")}function M(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function S(z,Q){let V="";if(z<0)V+=M(-z);else if(z>0)V+=D(z);if(Q<0)V+=k(-Q);else if(Q>0)V+=X(Q);return V}function E(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=k(1);return Q+=W,Q}function y(z=1){return z===0?"":J(z,"S")}function a(z=1){return z===0?"":J(z,"T")}function n(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,W,q,b,l,F,K,o,c,t,r,i,e,s,zz,Jz,Qz;var v=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];W=J("G");q=J("H");b=J("s"),l=J("u"),F=J(2,"K"),K=J(2,"J"),o=J(3,"J");c=J("r"),t=J("200~"),r=J("201~"),i=J("I"),e=J("O"),s=J(">1u"),zz=J("<u"),Jz=J(">4;2m"),Qz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+q}var P,$z;var f=$(()=>{v();P=J(0,"f");$z=T()});
|
|
2
|
+
export{d as ZY,Y as _Y,h as $Y,j as aZ,H as bZ,w as cZ,L as dZ,x as eZ,A as fZ,N as gZ,J as hZ,g as iZ,I as jZ,_ as kZ,u as lZ,R as mZ,C as nZ,q as oZ,S as pZ,K as qZ,E as rZ,y as sZ,a as tZ,n as uZ,c as vZ,t as wZ,r as xZ,i as yZ,e as zZ,s as AZ,zz as BZ,Jz as CZ,Qz as DZ,v as EZ,T as FZ,$z as GZ,f as HZ};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{NZ as x}from"./cli-0.6.2-3mpd0wjn.mjs";import{Y4 as q}from"./cli-0.6.2-ea8z1e2e.mjs";import{lfa as p}from"./cli-0.6.2-9w9nmx9s.mjs";import{Vha as f}from"./cli-0.6.2-gqbd9ax6.mjs";import{hpa as d}from"./cli-0.6.2-3rgtxc9f.mjs";function N(){return!1}async function O(){return!1}function P(){return!1}function Q(){return!0}function R(){return null}var z=d(()=>{p();q();f();x()});
|
|
2
|
+
export{N as bg,O as cg,P as dg,Q as eg,R as fg,z as gg};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import{Wb as Mc,Xb as aa}from"./cli-0.6.2-nw08h6z2.mjs";import{$b as Nc,Yb as bn,Zb as Zt,_b as Rt,bc as ua}from"./cli-0.6.2-rjqa4vcn.mjs";import{cc as Ct,fc as ca}from"./cli-0.6.2-9n9cpja7.mjs";import{AE as jn,BE as vn,CE as Su,TF as Gn,UF as du,Uo as Sc,Vo as xu,WF as ta,XF as na,YD as ot,ZD as Qn,ax as $c,bx as Lc,cx as ju,gE as Y,hE as mu,ho as ic,iE as vu,io as Qu,jo as ec,ko as oc,lo as mc,mo as dc,mu as Fc,no as I,oo as rn,ou as Du,po as Gu,qo as _c,so as wc,to as qc,vo as Oc,xE as xn,yE as qu,zE as Dn}from"./cli-0.6.2-4p9wa0p6.mjs";import{AV as $n,BV as Ln,CV as ou,FV as Nn,JV as Mn,KV as Xc,LV as Vn,xV as qn,yV as Sn,zV as Fn}from"./cli-0.6.2-z3vr6hxb.mjs";import{lW as ct,nW as pu,vW as kc,wW as Iu}from"./cli-0.6.2-vfdaj8xa.mjs";import{RY as _n,kY as g,mY as l}from"./cli-0.6.2-4r69ge5f.mjs";import{o0 as et,p0 as a,q0 as y,r0 as Nt}from"./cli-0.6.2-jrpted0b.mjs";import{s0 as Vt}from"./cli-0.6.2-d3y2w089.mjs";import{P0 as uc,Q0 as Mu}from"./cli-0.6.2-2ewwghbe.mjs";import{e1 as Xn,g1 as eu}from"./cli-0.6.2-ea8z1e2e.mjs";import{Aca as kn,Fca as cn,Gca as En,Hca as Pn,Ica as Qt,Jca as un,Kca as Bn,Lca as nn,Mca as pn,Nca as In,Oca as _u,Pca as yn,Qca as nc,Rca as Cn,Tca as cc,Vca as zc,Wca as sn,dca as Rc,eca as yt,fca as Pu,gca as Kt,hca as v,ida as Bu,jca as T,kca as Jt,mca as ft,nca as on,oca as tt,pca as Ot,tca as gt,uca as mn,w7 as dt,wca as dn,x7 as Eu}from"./cli-0.6.2-hhjx89cr.mjs";import{Nha as nt,Vha as hn}from"./cli-0.6.2-gqbd9ax6.mjs";import{dpa as Mt,epa as Uu,hpa as p}from"./cli-0.6.2-3rgtxc9f.mjs";function Cu(t,n=Dt,u){let h=v().find((i)=>i.provider==="openai"&&i.extras?.githubToken!==void 0);if(h)return Ot(h.id,{provider:"openai",name:h.name,baseUrl:u||h.baseUrl,model:h.model||n,apiKey:t,extras:{...h.extras,githubToken:t}}),gt(h.id),{mode:"updated"};return tt({provider:"openai",name:"GitHub Copilot",baseUrl:u||yu,model:n,apiKey:t,extras:{githubToken:t}},{makeActive:!0}),{mode:"created"}}function Yn({onDone:t,onBack:n,onChangeAPIKey:u}){let h=Nn()?.trim()?"already-authed":"menu",[i,m]=E.useState(h),[A,w]=E.useState(null),[z,b]=E.useState(""),[R,q]=E.useState(0),[L,Z]=E.useState(null),V=E.useCallback(async(Q,_=Dt,x,S)=>{let W=Mn(Q,x,S?.enterpriseDomain);if(!W.success){w(W.warning??"Could not save token to secure storage."),m("error");return}Cu(Q,_,S?.baseUrl),Xn(),u?.(),t("GitHub Copilot onboard complete. Copilot token stored in secure storage and as the active /provider profile.",{display:"user"})},[u,t]),C=E.useCallback(async(Q)=>{m("device-busy"),w(null),Z(null);try{let _=await Sn({domain:Q});Z({user_code:_.user_code,verification_uri:_.verification_uri}),await $n(_.verification_uri);let x=await Fn(_.device_code,{initialInterval:_.interval,timeoutSeconds:_.expires_in,domain:Q}),S=await Ln(x,{domain:Q});await V(S.token,Dt,x,{baseUrl:S.endpoints.api?.replace(/\/+$/,"")||void 0,enterpriseDomain:Q})}catch(_){w(_ instanceof Error?_.message:String(_)),m("error")}},[V]);if(i==="already-authed")return y(g,{flexDirection:"column",gap:1,children:[a(l,{bold:!0,children:"GitHub Copilot"}),a(l,{children:"You are already signed in to GitHub Copilot."}),a(l,{dimColor:!0,children:'Choose "Sign in again" to refresh your token, or go back to the provider menu.'}),a(Y,{options:[{label:"Sign in again",value:"sign-in-again"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:n?"Back to /provider menu":"Cancel",value:"back"}],onChange:(_)=>{if(_==="sign-in-again"){C();return}if(_==="enterprise"){m("enterprise-domain");return}if(n){n();return}t("GitHub onboard cancelled",{display:"system"})}})]});if(i==="enterprise-domain")return y(g,{flexDirection:"column",gap:1,children:[a(l,{bold:!0,children:"GitHub Enterprise sign-in"}),a(l,{dimColor:!0,children:"Enter your GitHub Enterprise domain (e.g. github.acme.com). Leave empty for github.com."}),y(g,{flexDirection:"row",gap:1,children:[a(l,{children:">"}),a(ot,{value:z,onChange:b,onSubmit:()=>{let _=qn(z);if(!_){C();return}C(_)},onExit:()=>m(h),focus:!0,showCursor:!0,placeholder:"github.acme.com",columns:80,cursorOffset:R,onChangeCursorOffset:q})]}),a(l,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]});if(i==="error"&&A)return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"red",children:A}),a(Y,{options:[{label:n?"Back to /provider menu":"Back to menu",value:"back"},{label:"Exit",value:"exit"}],onChange:(_)=>{if(_==="back"){if(n){n();return}m("menu"),w(null);return}t("GitHub onboard cancelled",{display:"system"})}})]});if(i==="device-busy")return y(g,{flexDirection:"column",gap:1,children:[a(l,{children:"GitHub Copilot sign-in"}),L?y(et,{children:[y(l,{children:["Enter code ",a(l,{bold:!0,children:L.user_code})," at"," ",L.verification_uri]}),a(l,{dimColor:!0,children:"A browser window may have opened. Waiting for authorization..."})]}):a(l,{dimColor:!0,children:"Requesting device code from GitHub..."}),a(Gn,{})]});return y(g,{flexDirection:"column",gap:1,children:[a(l,{bold:!0,children:"GitHub Copilot setup"}),a(l,{dimColor:!0,children:"Stores your token in the OS credential store (macOS Keychain when available) and creates a /provider profile so Copilot is the active provider — no manual env exports required."}),a(Y,{options:[{label:"Sign in with browser",value:"device"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:n?"Back to /provider menu":"Cancel",value:"cancel"}],onChange:(Q)=>{if(Q==="cancel"){if(n){n();return}t("GitHub onboard cancelled",{display:"system"});return}if(Q==="enterprise"){m("enterprise-domain");return}C()}})]})}var E,Dt="github:copilot",yu="https://api.githubcopilot.com";var Jn=p(()=>{mu();du();Qn();_n();ou();Vn();eu();kn();Nt();E=Mt(Vt(),1)});function Kn(t){return[t.name,t.family??"",...t.families??[],t.parameterSize??"",t.quantizationLevel??""].join(" ").toLowerCase()}function At(t,n){return n.some((u)=>t.includes(u))}function Ou(t){return!At(Kn(t),Zn)}function gu(t){return t.find(Ou)??null}function jt(t){let u=`${t.parameterSize??""} ${t.name}`.toLowerCase().match(/(\d+(?:\.\d+)?)\s*b\b/);if(u?.[1])return Number(u[1]);if(typeof t.sizeBytes==="number"&&t.sizeBytes>0)return Number((t.sizeBytes/1e9).toFixed(1));return null}function Au(t){return(t.quantizationLevel??t.name).toLowerCase()}function fu(t,n,u){if(t===null)return u.push("unknown size"),0;if(n==="latency"){if(t<=4)return u.push("tiny model for low latency"),32;if(t<=8)return u.push("small model for fast responses"),26;if(t<=14)return u.push("mid-sized model with acceptable latency"),16;if(t<=24)return u.push("larger model may be slower"),8;return u.push("large model likely slower locally"),t<=40?0:-8}if(n==="coding"){if(t>=7&&t<=14)return u.push("strong coding size tier"),24;if(t>14&&t<=34)return u.push("large coding-capable size tier"),28;if(t>34)return u.push("very large model with higher quality potential"),18;return u.push("compact model may trade off coding depth"),12}if(t>=7&&t<=14)return u.push("great balanced size tier"),26;if(t>=3&&t<7)return u.push("compact balanced size tier"),18;if(t>14&&t<=24)return u.push("high quality balanced size tier"),20;if(t>24)return u.push("large model for quality-first usage"),10;return u.push("very small model for general usage"),8}function Ru(t,n,u){let h=Au(t);if(h.includes("q4"))return u.push("efficient Q4 quantization"),n==="latency"?8:4;if(h.includes("q5"))return u.push("balanced Q5 quantization"),n==="latency"?6:5;if(h.includes("q8"))return u.push("higher quality Q8 quantization"),n==="latency"?2:5;return 0}function zu(t,n,u){if(n.score!==t.score)return n.score-t.score;let h=jt(t)??Number.POSITIVE_INFINITY,i=jt(n)??Number.POSITIVE_INFINITY;if(u==="latency")return h-i;if(u==="coding")return i-h;let m=14;return Math.abs(h-m)-Math.abs(i-m)}function vt(t,n){return t.map((u)=>{let h=Kn(u),i=[],m=0;if(At(h,Zn))m-=40,i.push("not a chat-first model");if(At(h,su))m+=n==="coding"?24:n==="balanced"?10:4,i.push("coding-oriented model family");if(At(h,bu))m+=n==="latency"?4:n==="coding"?6:8,i.push("strong general-purpose model family");if(At(h,wu))m+=n==="latency"?2:6,i.push("chat/instruct tuned");if(h.includes("vision")||h.includes("vl"))m-=2,i.push("vision model adds extra overhead");m+=fu(jt(u),n,i),m+=Ru(u,n,i);let A=i.slice(0,3).join(", ");return{...u,score:m,reasons:i,summary:A}}).sort((u,h)=>zu(u,h,n))}function Hn(t,n){return gu(vt(t,n))}var su,bu,wu,Zn;var Tn=p(()=>{su=["coder","codellama","codegemma","codestral","devstral","starcoder","deepseek-coder","qwen2.5-coder","qwen-coder"],bu=["llama","qwen","mistral","gemma","phi","deepseek"],wu=["instruct","chat","assistant"],Zn=["embed","embedding","rerank","bge","whisper"]});function Xu(t){let n=t.toLowerCase();return ku.some((u)=>n.includes(u))}function tn(t){try{let n=new URL(t);if(n.username)n.username="redacted";if(n.password)n.password="redacted";for(let u of n.searchParams.keys())if(Xu(u))n.searchParams.set(u,"redacted");return n.toString()}catch{return t.replace(/\/\/[^/@\s]+(?::[^/@\s]*)?@/g,"//redacted@").replace(/([?&](?:token|access_token|refresh_token|api_key|apikey|key|password|passwd|pwd|auth|authorization|signature|sig|secret)=)[^&#]*/gi,"$1redacted")}}var ku;var Wn=p(()=>{ku=["api_key","apikey","key","token","access_token","refresh_token","signature","sig","secret","password","passwd","pwd","auth","authorization"]});function Fu(t){let n=`http://localhost:${t.port}/auth/callback`,u=new URL(`${cn}/oauth/authorize`);return u.searchParams.append("response_type","code"),u.searchParams.append("client_id",un()),u.searchParams.append("redirect_uri",n),u.searchParams.append("scope",En),u.searchParams.append("code_challenge",t.codeChallenge),u.searchParams.append("code_challenge_method","S256"),u.searchParams.append("id_token_add_organizations","true"),u.searchParams.append("codex_cli_simplified_flow","true"),u.searchParams.append("state",t.state),u.searchParams.append("originator",Pn),u.toString()}function $u(){return`<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<title>Codex Login Complete</title>
|
|
6
|
+
<style>
|
|
7
|
+
body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
|
|
8
|
+
h1 { margin: 0 0 12px; font-size: 22px; }
|
|
9
|
+
p { margin: 0 0 10px; }
|
|
10
|
+
</style>
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<h1>Codex login complete</h1>
|
|
14
|
+
<p>You can return to Claudin now.</p>
|
|
15
|
+
<p>Claudin will finish activating your new Codex OAuth login.</p>
|
|
16
|
+
</body>
|
|
17
|
+
</html>`}function Lu(t){return`<!doctype html>
|
|
18
|
+
<html lang="en">
|
|
19
|
+
<head>
|
|
20
|
+
<meta charset="utf-8" />
|
|
21
|
+
<title>Codex Login Failed</title>
|
|
22
|
+
<style>
|
|
23
|
+
body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
|
|
24
|
+
h1 { margin: 0 0 12px; font-size: 22px; color: #991b1b; }
|
|
25
|
+
p { margin: 0 0 10px; }
|
|
26
|
+
</style>
|
|
27
|
+
</head>
|
|
28
|
+
<body>
|
|
29
|
+
<h1>Codex login failed</h1>
|
|
30
|
+
<p>${pn(t)}</p>
|
|
31
|
+
<p>You can close this window and try again in Claudin.</p>
|
|
32
|
+
</body>
|
|
33
|
+
</html>`}function Un(){return`<!doctype html>
|
|
34
|
+
<html lang="en">
|
|
35
|
+
<head>
|
|
36
|
+
<meta charset="utf-8" />
|
|
37
|
+
<title>Codex Login Cancelled</title>
|
|
38
|
+
<style>
|
|
39
|
+
body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
|
|
40
|
+
h1 { margin: 0 0 12px; font-size: 22px; }
|
|
41
|
+
p { margin: 0 0 10px; }
|
|
42
|
+
</style>
|
|
43
|
+
</head>
|
|
44
|
+
<body>
|
|
45
|
+
<h1>Codex login cancelled</h1>
|
|
46
|
+
<p>You can close this window and retry in Claudin.</p>
|
|
47
|
+
</body>
|
|
48
|
+
</html>`}async function Nu(t){let n=`http://localhost:${t.port}/auth/callback`,u=new URLSearchParams({grant_type:"authorization_code",code:t.authorizationCode,redirect_uri:n,client_id:un(),code_verifier:t.codeVerifier}),h=await fetch(`${cn}/oauth/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:u,signal:t.signal?AbortSignal.any([t.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000)});if(!h.ok){let b=await h.text().catch(()=>"");throw Error(b.trim()?`Codex OAuth token exchange failed (${h.status}): ${b.trim()}`:`Codex OAuth token exchange failed with status ${h.status}.`)}let i=await h.json(),m=Qt(i.access_token),A=Qt(i.refresh_token);if(!m||!A)throw Error("Codex OAuth completed, but the token response was missing credentials.");let w=Qt(i.id_token);return{apiKey:w?await In(w).catch(()=>{return}):void 0,accessToken:m,refreshToken:A,idToken:w,accountId:nn(w)??nn(m)}}class an{authCodeListener=null;port=null;tokenExchangeAbortController=null;buildCancellationError(){return Error("Codex OAuth flow was cancelled.")}async startOAuthFlow(t){let n=Dn(),u=Bn(),h=new xn("/auth/callback");this.authCodeListener=h,this.port=null;try{let i=await h.start(u);this.port=i;let m=vn(),A=await jn(n),w=Fu({port:i,codeChallenge:A,state:m});try{let z=await h.waitForAuthorization(m,async()=>{await t(w)}),b=new AbortController;this.tokenExchangeAbortController=b;let R;try{R=await Nu({authorizationCode:z,codeVerifier:n,port:i,signal:b.signal})}finally{if(this.tokenExchangeAbortController===b)this.tokenExchangeAbortController=null}if(this.authCodeListener!==h)throw this.buildCancellationError();return h.handleSuccessRedirect([],(q)=>{q.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),q.end($u())}),R}catch(z){let b=this.authCodeListener===h?z:this.buildCancellationError();if(h.hasPendingResponse()){let R=b instanceof Error&&b.message==="Codex OAuth flow was cancelled.";h.handleErrorRedirect((q)=>{q.writeHead(R?200:400,{"Content-Type":"text/html; charset=utf-8"}),q.end(R?Un():Lu(b instanceof Error?b.message:String(b)))})}throw b}finally{this.cleanup()}}catch(i){let m=i instanceof Error?i.message:String(i);if(m.includes("EADDRINUSE")||m.includes(String(u)))throw Error(`Codex OAuth needs localhost:${u} for its callback. Close any app already using that port and try again.`);throw i}}cleanup(){let t=this.buildCancellationError();if(this.tokenExchangeAbortController?.abort(t),this.tokenExchangeAbortController=null,this.authCodeListener?.hasPendingResponse())this.authCodeListener.handleErrorRedirect((n)=>{n.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),n.end(Un())});this.authCodeListener?.cancelPendingAuthorization(t),this.authCodeListener=null,this.port=null}}var tc=p(()=>{qu();Su();_u()});function Vu(){return new an}function ac(t){let{onAuthenticated:n}=t,u=t.deps?.createOAuthService??Vu,h=t.deps?.openBrowser??uc,i=t.deps?.saveCodexCredentials??nc,m=t.deps?.isBareMode??nt,[A,w]=Gt.useState({state:"starting"});return Gt.useEffect(()=>{if(m()){w({state:"error",message:"Codex OAuth is unavailable in --bare because secure storage is disabled."});return}let z=!1,b=u();return b.startOAuthFlow(async(R)=>{if(z)return;w({state:"waiting",authUrl:R,browserOpened:null});let q=await h(R);if(z)return;w({state:"waiting",authUrl:R,browserOpened:q})}).then(async(R)=>{if(z)return;await n(R,(L)=>{let Z=i({apiKey:R.apiKey,accessToken:R.accessToken,refreshToken:R.refreshToken,idToken:R.idToken,accountId:R.accountId,profileId:L?.profileId});if(!Z.success)throw Error(Z.warning??"Codex OAuth succeeded, but credentials could not be saved securely.")})}).catch((R)=>{if(z)return;w({state:"error",message:R instanceof Error?R.message:String(R)})}),()=>{z=!0,b.cleanup()}},[u,m,n,h,i]),A}var Gt;var hc=p(()=>{tc();Mu();cc();hn();Gt=Mt(Vt(),1)});function sc(){return{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","User-Agent":ic()}}function lc(t,n){let u=Number(t);return Number.isFinite(u)&&u>0?u*1000:n}function Ku(t,n){if(n?.aborted)return Promise.resolve();return new Promise((u)=>{let h=setTimeout(()=>{n?.removeEventListener("abort",i),u()},t),i=()=>{clearTimeout(h),u()};n?.addEventListener("abort",i,{once:!0})})}async function Hu(t){let n=t?.fetchImpl??fetch,u=t?.signal?AbortSignal.any([t.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000),h=await n(oc,{method:"POST",headers:sc(),body:new URLSearchParams({client_id:rn(),scope:dc}).toString(),signal:u});if(!h.ok){let z=await h.text().catch(()=>"");throw Error(`xAI device code request failed (${h.status})${z?`: ${z.trim()}`:""}`)}let i=await h.json(),m=I(i.device_code),A=I(i.user_code),w=I(i.verification_uri);if(!m||!A||!w)throw Error("xAI device code response is missing device_code / user_code / verification_uri.");return{device_code:m,user_code:A,verification_uri:w,verification_uri_complete:I(i.verification_uri_complete),expires_in:typeof i.expires_in==="number"&&i.expires_in>0?i.expires_in:Cc/1000,interval:typeof i.interval==="number"&&i.interval>0?i.interval:yc/1000}}async function Tu(t,n){let u=n?.fetchImpl??fetch,h=n?.sleep??Ku,i=n?.now??(()=>Date.now()),m=lc(t.expires_in,Cc),A=i()+m,w=Math.max(lc(t.interval,yc),Yu);while(i()<A){if(n?.signal?.aborted)throw Error("xAI device authorization was cancelled.");let z=await u(ec,{method:"POST",headers:sc(),body:new URLSearchParams({grant_type:mc,client_id:rn(),device_code:t.device_code}).toString(),signal:n?.signal});if(z.ok){let L=await z.json(),Z=I(L.access_token),V=I(L.refresh_token);if(!Z||!V)throw Error("xAI OAuth completed, but the token response was missing credentials.");let C=typeof L.expires_in==="number"&&Number.isFinite(L.expires_in)&&L.expires_in>0?L.expires_in:3600;return{accessToken:Z,refreshToken:V,idToken:I(L.id_token),expiresAt:i()+C*1000}}let b=await z.json().catch(()=>({})),R=Math.max(0,A-i());if(b.error==="authorization_pending"){await h(Math.min(w+rc,R),n?.signal);continue}if(b.error==="slow_down"){w=Math.min(w+Ju,Zu),await h(Math.min(w+rc,R),n?.signal);continue}if(b.error==="access_denied"||b.error==="authorization_denied")throw Error("xAI device authorization was denied.");if(b.error==="expired_token")throw Error("xAI device code expired - please re-run login.");let q=b.error_description??b.error??"";throw Error(`xAI device token exchange failed (${z.status})${q?`: ${q}`:""}`)}throw Error("xAI device authorization timed out.")}class ln{abortController=null;async startDeviceFlow(t){let n=new AbortController;this.abortController=n;try{let u=await Hu({signal:n.signal});return await t(u),await Tu(u,{signal:n.signal})}finally{if(this.abortController===n)this.abortController=null}}cleanup(){this.abortController?.abort(Error("xAI device authorization was cancelled.")),this.abortController=null}}var yc=5000,Yu=1000,Ju=5000,Zu=60000,Cc=300000,rc=3000;var bc=p(()=>{Qu();Gu()});function Wu(){return new ln}function gc(t){let{onAuthenticated:n}=t,u=t.deps?.createOAuthService??Wu,h=t.deps?.saveXaiCredentials??wc,i=t.deps?.isBareMode??nt,[m,A]=Yt.useState({state:"starting"});return Yt.useEffect(()=>{if(i()){A({state:"error",message:"xAI OAuth is unavailable in --bare because secure storage is disabled."});return}let w=!1,z=u();return z.startDeviceFlow(async(b)=>{if(w)return;A({state:"waiting",userCode:b.user_code,verificationUri:b.verification_uri,verificationUriComplete:b.verification_uri_complete})}).then(async(b)=>{if(w)return;await n(b,(q)=>{let L=h({accessToken:b.accessToken,refreshToken:b.refreshToken,idToken:b.idToken,expiresAt:b.expiresAt,profileId:q?.profileId});if(!L.success)throw Error(L.warning??"xAI OAuth succeeded, but credentials could not be saved securely.")})}).catch((b)=>{if(w)return;A({state:"error",message:b instanceof Error?b.message:String(b)})}),()=>{w=!0,z.cleanup()}},[u,i,n,h]),m}var Yt;var Ac=p(()=>{bc();hn();Oc();Yt=Mt(Vt(),1)});function ea(t){return{name:t.name,baseUrl:t.baseUrl,model:t.model,apiKey:t.apiKey??""}}function oa(t){let n=Kt(t);return{name:n.name,baseUrl:n.baseUrl,model:n.model,apiKey:n.apiKey??""}}function ma(t){let n={};for(let u of t.split(/\r?\n/)){let h=u.trim();if(!h)continue;let i=h.indexOf(":");if(i<=0)continue;let m=h.slice(0,i).trim(),A=h.slice(i+1).trim();if(m&&A)n[m]=A}return n}function da(t){if(!t)return"";return Object.entries(t).map(([n,u])=>`${n}: ${u}`).join(`
|
|
49
|
+
`)}function ya(t,n){let u={},h=t.awsRegion?.trim();if(h)u.awsRegion=h;let i=t.gcpProject?.trim();if(i)u.gcpProject=i;let m=t.gcpRegion?.trim();if(m)u.gcpRegion=m;let A=t.azureResource?.trim();if(A)u.azureResource=A;let w=ma(n);if(Object.keys(w).length>0)u.customHeaders=w;return Object.keys(u).length>0?u:void 0}function sa(t,n){let u=n?" (active)":"",h=t.apiKey?"key set":"no key",i=t.provider==="anthropic"?"anthropic":"openai-compatible",m=Rc(t.model),A=m.length<=3?m.join(", "):`${m[0]}, ${m[1]} + ${m.length-2} more`;return`${i} · ${t.baseUrl} · ${A} · ${h}${u}`}function ba(t,n){if(t.state==="unreachable")return`Could not reach Atomic Chat at ${tn(n)}. Start the Atomic Chat app first, or enter the endpoint manually.`;if(t.state==="no_models")return"Atomic Chat is running, but no models are loaded. Download and load a model inside the Atomic Chat app first, or enter details manually.";return""}function wa(t,n){if(t.state==="unreachable")return`Could not reach Ollama at ${tn(n)}. Start Ollama first, or enter the endpoint manually.`;if(t.state==="no_models")return"Ollama is running, but no installed models were found. Pull a chat model such as qwen2.5-coder:7b or llama3.1:8b first, or enter details manually.";if(t.state==="generation_failed"){let u=t.probeModel??"the selected model",h=t.detail?` Details: ${t.detail}.`:"";return`Ollama is reachable and models are installed, but a generation probe failed for ${u}.${h} Run "ollama run ${u}" once and retry, or enter details manually.`}return""}function en(t,n){if(!n)return;return t.find((u)=>u.id===n)}function fc(t,n){return Boolean(t&&n&&t.id===n)}function Oa({onBack:t,onConfigured:n}){let u=s.useCallback(async(i,m)=>{await n(i,m)},[n]);ct("confirm:no",t,[t]);let h=ac({onAuthenticated:u});if(h.state==="error")return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"error",bold:!0,children:"Codex OAuth failed"}),a(l,{children:h.message}),a(l,{dimColor:!0,children:"Press Enter or Esc to go back."}),a(Y,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:t,onCancel:t,visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:"Codex OAuth"}),a(l,{children:"Sign in with your ChatGPT account in the browser. Claudin will store the resulting Codex credentials securely and switch this session to the new Codex login when setup completes."}),h.state==="starting"?a(l,{dimColor:!0,children:"Starting local callback and preparing your browser..."}):h.browserOpened===!1?y(et,{children:[a(l,{color:"warning",children:"Browser did not open automatically. Visit this URL to continue:"}),a(l,{children:h.authUrl})]}):h.browserOpened===!0?y(et,{children:[a(l,{dimColor:!0,children:"Browser opened. Finish the ChatGPT sign-in there and this setup will complete automatically."}),a(l,{children:h.authUrl})]}):a(l,{dimColor:!0,children:"Opening your browser..."}),a(l,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function ga({onBack:t,onConfigured:n}){let u=s.useCallback(async(i,m)=>{await n(i,m)},[n]);ct("confirm:no",t,[t]);let h=gc({onAuthenticated:u});if(h.state==="error")return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"error",bold:!0,children:"xAI OAuth failed"}),a(l,{children:h.message}),a(l,{dimColor:!0,children:"Press Enter or Esc to go back."}),a(Y,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:t,onCancel:t,visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:"xAI / Grok OAuth"}),h.state==="starting"?a(l,{dimColor:!0,children:"Requesting a device code from xAI..."}):y(et,{children:[y(l,{children:["Open this URL on any device:"," ",a(l,{bold:!0,children:h.verificationUri})]}),y(l,{children:["Enter code ",a(l,{bold:!0,children:h.userCode})]}),h.verificationUriComplete&&h.verificationUriComplete!==h.verificationUri?y(l,{dimColor:!0,children:["Or open this prefilled URL: ",h.verificationUriComplete]}):null,a(l,{dimColor:!0,children:"Waiting for you to authorize in the browser..."})]}),a(l,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function gh({mode:t,onDone:n}){let u=Fc(),[h,i]=s.useState([]),[m,A]=s.useState(),[w,z]=s.useState(),[b,R]=s.useState(!1),[q,L]=s.useState(),Z=s.useRef(0),[V,C]=s.useState(t==="first-run"?"select-preset":"menu"),[ut,Q]=s.useState(null),[_,x]=s.useState("openai"),[S,W]=s.useState(()=>oa("ollama")),[Ht,zt]=s.useState({}),[wn,Tt]=s.useState(""),[Vc,Qc]=s.useState(0),[Gc,Yc]=s.useState(0),[Wt,On]=s.useState(null),[at,st]=s.useState(0),[ht,D]=s.useState(0),[Jc,j]=s.useState(0),[gn,N]=s.useState(),[rt,f]=s.useState(),[Zc,Kc]=s.useState(),[An,kt]=s.useState(!1),[bt,wt]=s.useState(),[P,Xt]=s.useState({state:"idle"}),[B,_t]=s.useState({state:"idle"}),[Hc,Tc]=s.useState(!0),[Wc,H]=s.useState(!1),Ut=s.useRef(!1),[Et,Pt]=s.useState(()=>Rt()),[fn,Uc]=s.useState(()=>Nc());s.useEffect(()=>{queueMicrotask(()=>{let c=v(),r=T()?.id;i(c),A(r),z(Jt()),L(on()),R(ft()),Tc(!1)})},[]);let lt=mt[ht]??mt[0],qt=lt.key,Ec=S[qt],Bt=h.length>0,St=Bt,Rn=s.useMemo(()=>[{value:"add",label:"Add provider",description:"Create a new provider profile"},...Et?[{value:"import-legacy",label:"Import from Claude Code",description:"Copy ~/.claude/ tokens, settings, skills, agents, plugins."}]:[],{value:"activate",label:"Set active provider (Global)",description:q?`Currently: ${h.find((c)=>c.id===q)?.name??"unknown"}`:"Default profile for projects without an override",disabled:!St},{value:"activate-project",label:"Set active provider (Project)",description:w?`Currently: ${h.find((c)=>c.id===w)?.name??"unknown"} (this project)`:"Override the global default for this project only",disabled:!St},...b?[{value:"clear-project-override",label:"Clear project provider override",description:w?"Stop overriding for this project; fall back to global":"Project override points to a missing profile; clear it"}]:[],{value:"edit",label:"Edit provider",description:"Update URL, model, or key",disabled:!Bt},{value:"delete",label:"Delete provider",description:"Remove a provider profile",disabled:!St},...An?[{value:"logout-codex-oauth",label:"Log out Codex OAuth",description:"Clear securely stored Codex OAuth credentials"}]:[],{value:"done",label:"Done",description:"Return to chat"}],[St,Bt,An,Et,q,w,h]),pt=s.useCallback(()=>{if(nt()){Z.current+=1,kt(!1),wt(void 0);return}let c=++Z.current;(async()=>{let r=await yn();if(c!==Z.current)return;kt(Boolean(r?.apiKey||r?.accessToken||r?.refreshToken||r?.idToken)),wt(r?.profileId)})()},[]);s.useEffect(()=>{return pt(),()=>{Z.current+=1}},[pt]),s.useEffect(()=>{if(V!=="select-ollama-model")return;let c=!1;return Xt({state:"loading"}),(async()=>{let r=await Lc({baseUrl:S.baseUrl});if(r.state!=="ready"){if(!c)Xt({state:"unavailable",message:wa(r,S.baseUrl)});return}let o=vt(r.models,"balanced"),e=Hn(r.models,"balanced");if(!c)Xt({state:"ready",defaultValue:e?.name??o[0]?.name,options:o.map((d)=>({label:d.name,value:d.name,description:d.summary}))})})(),()=>{c=!0}},[S.baseUrl,V]),s.useEffect(()=>{if(V!=="select-atomic-chat-model")return;let c=!1;return _t({state:"loading"}),(async()=>{let r=await $c({baseUrl:S.baseUrl});if(r.state!=="ready"){if(!c)_t({state:"unavailable",message:ba(r,S.baseUrl)});return}if(!c)_t({state:"ready",defaultValue:r.models[0],options:r.models.map((o)=>({label:o,value:o}))})})(),()=>{c=!0}},[S.baseUrl,V]);function M(){if(Ut.current)return;Ut.current=!0,queueMicrotask(()=>{let c=v();i(c),A(T()?.id),z(Jt()),L(on()),R(ft()),pt(),Ut.current=!1})}function it(){return null}function It(c){if(c.activationWarning)return`${c.prefix}. Saved for next startup. Warning: ${c.warnings.join("; ")}.`;if(c.warnings.length>0)return`${c.prefix}. Claudin switched to it for this session with warnings: ${c.warnings.join("; ")}.`;return`${c.prefix}. Claudin switched to it for this session.`}async function xt(c){if(c?.accessToken&&c.accountId)return null;let r=await yn();if(!r)return"stored Codex OAuth credentials could not be loaded";if(!r.accountId)return"stored Codex OAuth credentials are missing a ChatGPT account id";return null}function zn(){Sc()}async function Pc(c){let r="provider";H(!0),N("Activating provider...");try{await new Promise((U)=>queueMicrotask(U));let o=ft(),e=gt(c);if(!e){f("Could not change active provider."),H(!1),k();return}let d=o?T()??e:e,O=yt(d.model);if(!o)u((U)=>({...U,mainLoopModel:O,mainLoopModelForSession:null}));r=e.name;let X=it(),J=fc(e,bt),$=J?await xt():null;M();let K=o&&d.id!==e.id?` (project override still active — this project keeps using ${d.name}; use "Clear project provider override" to apply the new default here)`:"",F=J?It({prefix:`Active provider: ${e.name}${K}`,activationWarning:$,warnings:[$,X?`could not clear startup provider override (${X})`:null].filter((U)=>Boolean(U))}):X?`Active provider: ${e.name}${K}. Warning: could not clear startup provider override (${X}).`:`Active provider: ${e.name}${K}`;N(F),H(!1),n({action:"activated",activeProfileId:e.id,activeProviderName:e.name,activeProviderModel:O,message:`Provider switched to ${e.name} (${O})`}),k()}catch(o){M(),N(void 0),H(!1);let e=o instanceof Error?o.message:String(o);f(`Could not finish activating ${r}: ${e}`),k()}}async function Bc(){H(!0),N("Clearing project provider override...");try{await new Promise((r)=>queueMicrotask(r)),mn(null),M();let c=T();if(c){let r=yt(c.model);Ct(),u((o)=>({...o,mainLoopModel:r,mainLoopModelForSession:null})),N(`Project override cleared. Using global default: ${c.name}.`),H(!1),n({action:"activated",activeProfileId:c.id,activeProviderName:c.name,activeProviderModel:r,message:`Project override cleared — using ${c.name} (${r})`}),k()}else N("Project provider override cleared. No global default set."),H(!1),n({action:"saved",message:"Project provider override cleared. No global default set."}),k()}catch(c){M(),N(void 0),H(!1);let r=c instanceof Error?c.message:String(c);f(`Could not clear project provider override: ${r}`),k()}}async function pc(c){let r="provider";H(!0),N("Setting provider for this project...");try{await new Promise((F)=>queueMicrotask(F));let o=Jt(),e=mn(c);if(!e){f("Could not set project provider override."),H(!1),k();return}let d=yt(e.model);if(o===e.id)Ct();u((F)=>({...F,mainLoopModel:d,mainLoopModelForSession:null})),r=e.name;let O=it(),X=fc(e,bt),J=X?await xt():null;M();let $=`Active provider for this project: ${e.name}. Other projects keep the global default.`,K=X?It({prefix:$,activationWarning:J,warnings:[J,O?`could not clear startup provider override (${O})`:null].filter((F)=>Boolean(F))}):O?`${$} Warning: could not clear startup provider override (${O}).`:$;N(K),H(!1),n({action:"activated",activeProfileId:e.id,activeProviderName:e.name,activeProviderModel:d,message:`Provider switched to ${e.name} (${d}) for this project`}),k()}catch(o){M(),N(void 0),H(!1);let e=o instanceof Error?o.message:String(o);f(`Could not finish setting ${r} for this project: ${e}`),k()}}function k(){Kc("done"),C("menu")}function Ft(c){n({action:"cancelled",message:c})}function Ic(c){let r=Kt(c),o={name:r.name,baseUrl:r.baseUrl,model:r.model,apiKey:r.apiKey??""};if(Q(null),x(r.provider??"openai"),W(o),zt({}),Tt(""),On(c),D(0),st(0),j(o.name.length),f(void 0),c==="ollama"){Xt({state:"loading"}),C("select-ollama-model");return}if(c==="atomic-chat"){_t({state:"loading"}),C("select-atomic-chat-model");return}if(c==="anthropic"){C("anthropic-auth-choice");return}if(c==="bedrock"||c==="vertex"||c==="foundry"){C("cloud-extras");return}C("form")}function xc(c){let r=h.find((e)=>e.id===c);if(!r)return;let o=ea(r);Q(c),x(r.provider??"openai"),W(o),zt({awsRegion:r.extras?.awsRegion,gcpProject:r.extras?.gcpProject,gcpRegion:r.extras?.gcpRegion,azureResource:r.extras?.azureResource}),Tt(da(r.extras?.customHeaders)),On(null),D(0),st(0),j(o.name.length),f(void 0),C("form")}function $t(c=S){let r=ya(Ht,wn),o={provider:_,name:c.name,baseUrl:c.baseUrl,model:c.model,apiKey:c.apiKey,extras:r},e=ut?Ot(ut,o):tt(o,{makeActive:!0});if(!e){f("Could not save provider. Fill all required fields.");return}let d=T()?.id===e.id;if(d)Ct(),u((K)=>({...K,mainLoopModel:yt(e.model),mainLoopModelForSession:null}));let O=d?it():null;M();let X=!ut&&ft()&&!d,J=X?T()?.name??"override target":null,$=ut?`Updated provider: ${e.name}`:X?`Added provider: ${e.name} (now global default — project keeps using ${J}; use "Clear project provider override" to apply here)`:`Added provider: ${e.name} (now active)`;if(N(O?`${$}. Warning: could not clear startup provider override (${O}).`:$),t==="first-run"){n({action:"saved",activeProfileId:e.id,message:`Provider configured: ${e.name}`});return}Q(null),D(0),f(void 0),k()}function Dc(){if(B.state==="loading"||B.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:"Checking Atomic Chat"}),a(l,{dimColor:!0,children:"Looking for loaded Atomic Chat models..."})]});if(B.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:"Atomic Chat setup"}),a(l,{dimColor:!0,children:B.message}),a(Y,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(c)=>{if(c==="manual"){D(0),j(S.name.length),C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:2})]});return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:"Choose an Atomic Chat model"}),a(l,{dimColor:!0,children:"Pick one of the models loaded in Atomic Chat to save into a local provider profile."}),a(Y,{options:B.options,defaultValue:B.defaultValue,defaultFocusValue:B.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,B.options.length),onChange:(c)=>{let r={...S,model:c};W(r),$t(r)},onCancel:()=>C("select-preset")})]})}function jc(){if(P.state==="loading"||P.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:"Checking Ollama"}),a(l,{dimColor:!0,children:"Looking for installed Ollama models..."})]});if(P.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:"Ollama setup"}),a(l,{dimColor:!0,children:P.message}),a(Y,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(c)=>{if(c==="manual"){D(0),j(S.name.length),C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:2})]});return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:"Choose an Ollama model"}),a(l,{dimColor:!0,children:"Pick one of the installed Ollama models to save into a local provider profile."}),a(Y,{options:P.options,defaultValue:P.defaultValue,defaultFocusValue:P.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,P.options.length),onChange:(c)=>{let r={...S,model:c};W(r),$t(r)},onCancel:()=>C("select-preset")})]})}function vc(c){let r=c.trim();if(!lt.optional&&r.length===0){f(`${lt.label} is required.`);return}let o={...S,[qt]:r};if(W(o),f(void 0),ht<mt.length-1){let e=ht+1,d=mt[e]?.key??"name";D(e),j(o[d].length);return}if((Wt==="anthropic"||Wt==="custom")&&V==="form"){W(o),C("custom-headers");return}$t(o)}function tu(){if(f(void 0),ht>0){let c=ht-1,r=mt[c]?.key??"name";D(c),j(S[r].length);return}if(t==="first-run"){C("select-preset");return}k()}ct("confirm:no",tu,{context:"Settings",isActive:V==="form"});function nu(){if(f(void 0),at>0){st(at-1);return}C("select-preset")}ct("confirm:no",nu,{context:"Settings",isActive:V==="cloud-extras"}),ct("confirm:no",()=>C("form"),{context:"Settings",isActive:V==="custom-headers"}),ct("confirm:no",()=>C("select-preset"),{context:"Settings",isActive:V==="anthropic-auth-choice"||V==="anthropic-oauth"});function cu(){let c=!nt(),r=[...Et?[{value:"import-legacy",label:"Import from Claude Code",description:"Reuse ~/.claude/ tokens, settings, theme, MCP, skills, agents, plugins."}]:[],{value:"dashscope-intl",label:"Alibaba Coding Plan",description:"Alibaba DashScope International endpoint"},{value:"dashscope-cn",label:"Alibaba Coding Plan (China)",description:"Alibaba DashScope China endpoint"},{value:"anthropic",label:"Anthropic",description:"Native Claude API (x-api-key auth)"},{value:"atomic-chat",label:"Atomic Chat",description:"Local Model Provider"},{value:"azure-openai",label:"Azure OpenAI",description:"Azure OpenAI endpoint (model=deployment name)"},{value:"foundry",label:"Azure AI Foundry",description:"Anthropic models hosted on Azure AI Foundry (resource-scoped)"},{value:"bedrock",label:"AWS Bedrock",description:"Anthropic models on AWS Bedrock (region-scoped, AWS creds)"},{value:"bankr",label:"Bankr",description:"Bankr LLM Gateway (OpenAI-compatible)"},...c?[{value:"codex-oauth",label:"Codex OAuth",description:"Sign in with ChatGPT in your browser and store Codex credentials securely"},{value:"xai-oauth",label:"xAI / Grok (OAuth)",description:"Sign in with xAI in your browser and store Grok credentials securely"}]:[],{value:"github-onboard",label:"GitHub Copilot",description:"Sign in with GitHub in your browser to use Copilot models"},{value:"deepseek",label:"DeepSeek",description:"DeepSeek OpenAI-compatible endpoint"},{value:"gemini",label:"Google Gemini",description:"Gemini OpenAI-compatible endpoint"},{value:"vertex",label:"Google Vertex AI",description:"Anthropic models on Vertex AI (project + region, ADC)"},{value:"groq",label:"Groq",description:"Groq OpenAI-compatible endpoint"},{value:"lmstudio",label:"LM Studio",description:"Local LM Studio endpoint"},{value:"minimax",label:"MiniMax",description:"MiniMax API endpoint"},{value:"mistral",label:"Mistral",description:"Mistral OpenAI-compatible endpoint"},{value:"moonshotai",label:"Moonshot AI - API",description:"Moonshot AI - API endpoint"},{value:"kimi-code",label:"Moonshot AI - Kimi Code",description:"Moonshot AI - Kimi Code Subscription endpoint"},{value:"nvidia-nim",label:"NVIDIA NIM",description:"NVIDIA NIM endpoint"},{value:"opencode-go",label:"OpenCode GO",description:"OpenCode GO OpenAI-compatible endpoint"},{value:"opencode-zen",label:"OpenCode Zen",description:"OpenCode Zen OpenAI-compatible endpoint"},{value:"ollama",label:"Ollama",description:"Local or remote Ollama endpoint"},{value:"openai",label:"OpenAI",description:"OpenAI API with API key"},{value:"openrouter",label:"OpenRouter",description:"OpenRouter OpenAI-compatible endpoint"},{value:"together",label:"Together AI",description:"Together chat/completions endpoint"},{value:"custom",label:"Custom",description:"Any OpenAI-compatible provider"},...t==="first-run"?[{value:"skip",label:"Skip for now",description:"Continue with current defaults"}]:[]];return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:t==="first-run"?"Set up provider":"Choose provider preset"}),a(l,{dimColor:!0,children:"Pick a preset, then confirm base URL, model, and API key."}),a(Y,{options:r,onChange:(o)=>{if(o==="skip"){Ft("Provider setup skipped");return}if(o==="codex-oauth"){C("codex-oauth");return}if(o==="xai-oauth"){C("xai-oauth");return}if(o==="github-onboard"){C("github-onboard");return}if(o==="import-legacy"){(async()=>{let e=await bn({force:!0});Pt(Rt()),M();let d=Zt(e);if(e.errors.length>0){f(d);return}let O=T();if(t==="first-run"&&O){n({action:"saved",activeProfileId:O.id,activeProviderName:O.name,activeProviderModel:O.model,message:d});return}if(N(d),f(void 0),t==="manage")k()})();return}Ic(o)},onCancel:()=>{if(t==="first-run"){Ft("Provider setup skipped");return}k()},visibleOptionCount:Math.min(13,r.length)})]})}function uu(){return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:"Anthropic — choose authentication"}),a(l,{dimColor:!0,children:"Sign in with your Anthropic account in the browser, or paste an API key."}),a(Y,{options:[{value:"oauth",label:"Sign in with web (OAuth)",description:"Open a browser, sign in to Claude, and store tokens in ~/.claudin/.credentials.json"},{value:"apiKey",label:"Use API key",description:"Paste an x-api-key value (sk-ant-…)"},{value:"back",label:"Back",description:"Choose a different provider"}],onChange:(c)=>{if(c==="oauth"){C("anthropic-oauth");return}if(c==="apiKey"){C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:3})]})}function au(){let c=(na(),Uu(ta)).ConsoleOAuthFlow;return a(g,{flexDirection:"column",gap:1,children:a(c,{mode:"login",onDone:()=>{let r=Kt("anthropic"),o={provider:"anthropic",name:r.name,baseUrl:r.baseUrl,model:r.model},e=tt(o,{makeActive:!0});if(!e){f("OAuth completed, but the Anthropic profile could not be saved."),C("select-preset");return}let d=`Anthropic OAuth configured: ${e.name}`;if(M(),t==="first-run"){n({action:"saved",activeProfileId:e.id,message:d});return}N(d),f(void 0),k()}})})}function hu(){let c=Wt;if(c!=="bedrock"&&c!=="vertex"&&c!=="foundry")return null;let r=Ca[c],o=r[at]??r[0],e=Ht[o.key]??"";function d(O){let X=O.trim();if(X.length===0){f(`${o.label} is required.`);return}let J={...Ht,[o.key]:X};if(zt(J),f(void 0),at<r.length-1){st(at+1);return}st(0),C("form")}return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:`${c==="bedrock"?"AWS Bedrock":c==="vertex"?"Google Vertex AI":"Azure AI Foundry"} setup`}),a(l,{dimColor:!0,children:o.helpText}),y(l,{dimColor:!0,children:["Step ",at+1," of ",r.length,": ",o.label]}),y(g,{flexDirection:"row",gap:1,children:[a(l,{children:dt.pointer}),a(ot,{value:e,onChange:(O)=>zt((X)=>({...X,[o.key]:O})),onSubmit:d,focus:!0,showCursor:!0,placeholder:`${o.placeholder}${dt.ellipsis}`,columns:80,cursorOffset:Vc,onChangeCursorOffset:Qc})]}),rt&&a(l,{color:"error",children:rt}),a(l,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function ru(){return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:"Custom headers (optional)"}),y(l,{dimColor:!0,children:["Add HTTP headers sent on every request. One header per line as"," ",a(l,{children:"Header: Value"}),". Leave empty to skip."]}),y(g,{flexDirection:"row",gap:1,children:[a(l,{children:dt.pointer}),a(ot,{value:wn,onChange:Tt,onSubmit:()=>$t(S),focus:!0,showCursor:!0,placeholder:"X-Header: value",columns:80,multiline:!0,cursorOffset:Gc,onChangeCursorOffset:Yc})]}),rt&&a(l,{color:"error",children:rt}),a(l,{dimColor:!0,children:"Press Enter on a blank line to save. Press Esc to go back."})]})}function lu(){return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:ut?"Edit provider profile":"Create provider profile"}),a(l,{dimColor:!0,children:lt.helpText}),y(l,{dimColor:!0,children:["Provider type:"," ",_==="anthropic"?"Anthropic native API":"OpenAI-compatible API"]}),y(l,{dimColor:!0,children:["Step ",ht+1," of ",mt.length,": ",lt.label]}),y(g,{flexDirection:"row",gap:1,children:[a(l,{children:dt.pointer}),a(ot,{value:Ec,onChange:(c)=>W((r)=>({...r,[qt]:c})),onSubmit:vc,focus:!0,showCursor:!0,placeholder:`${lt.placeholder}${dt.ellipsis}`,mask:qt==="apiKey"?"*":void 0,columns:80,cursorOffset:Jc,onChangeCursorOffset:j})]}),rt&&a(l,{color:"error",children:rt}),a(l,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function iu(){let c=h.length>0,r=c;return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:"Provider manager"}),a(l,{dimColor:!0,children:"Active profile controls base URL, model, and API key used by this session."}),gn&&a(l,{children:gn}),a(g,{flexDirection:"column",children:h.length===0?a(l,{dimColor:!0,children:"No provider profiles configured yet."}):h.map((o)=>y(l,{dimColor:!0,children:["- ",o.name,": ",sa(o,o.id===m)]},o.id))}),a(Y,{options:Rn,onChange:(o)=>{switch(f(void 0),o){case"add":C("select-preset");break;case"import-legacy":{(async()=>{let e=await bn({force:!0});if(Pt(Rt()),M(),e.errors.length>0)f(Zt(e));else N(Zt(e))})();break}case"activate":if(r)C("select-active");break;case"activate-project":if(r)C("select-active-project");break;case"clear-project-override":Bc();break;case"edit":if(c)C("select-edit");break;case"delete":if(r)C("select-delete");break;case"logout-codex-oauth":{let e=Cn();if(!e.success){f(e.warning??"Could not clear Codex OAuth credentials.");break}kt(!1),wt(void 0);let d=en(v(),bt),O=null;if(d){let X=dn(d.id);if(!X.removed){f("Codex OAuth credentials were cleared, but the Codex profile could not be removed."),M();break}zn(),O=X.activeProfileId?it():null}M(),N(O?`Codex OAuth logged out. Warning: could not clear startup provider override (${O}).`:"Codex OAuth logged out.");break}default:Ft("Provider manager closed");break}},onCancel:()=>Ft("Provider manager closed"),defaultFocusValue:Zc,visibleOptionCount:Rn.length})]})}function Lt(c,r,o){let e=h.map((d)=>{let O=[];if(d.id===m)O.push("active");if(w&&d.id===w)O.push("this project");if(q&&d.id===q)O.push("global default");let X=O.length>0?` (${O.join(", ")})`:"";return{value:d.id,label:`${d.name}${X}`,description:`${d.provider==="anthropic"?"anthropic":"openai-compatible"} · ${d.baseUrl} · ${d.model}`}});if(e.length===0)return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:c}),a(l,{dimColor:!0,children:r}),a(Y,{options:[{value:"back",label:"Back",description:"Return to provider manager"}],onChange:()=>k(),onCancel:()=>k(),visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:c}),a(Y,{options:e,onChange:o,onCancel:()=>k(),visibleOptionCount:Math.min(10,Math.max(2,e.length))})]})}let G;switch(V){case"select-preset":G=cu();break;case"select-ollama-model":G=jc();break;case"select-atomic-chat-model":G=Dc();break;case"codex-oauth":G=a(Oa,{onBack:()=>C("select-preset"),onConfigured:async(c,r)=>{let o={provider:"openai",name:ha,baseUrl:zc,model:ra,apiKey:""},e=en(v(),bt),d=e?Ot(e.id,o):tt(o,{makeActive:!0});if(!d){f("Codex OAuth login finished, but the provider profile could not be saved."),k();return}let O=e&&m!==d.id?gt(d.id):d;if(!O){f("Codex OAuth login finished, but the provider could not be set as the startup provider."),k();return}r({profileId:d.id});let X=it(),J=await xt(c);kt(!0),wt(d.id),M();let $=[J,X?`could not clear startup provider override (${X})`:null].filter((F)=>Boolean(F)),K=It({prefix:"Codex OAuth configured",activationWarning:J,warnings:$});if(t==="first-run"){n({action:"saved",activeProfileId:O.id,message:K});return}N(K),f(void 0),k()}});break;case"xai-oauth":G=a(ga,{onBack:()=>C("select-preset"),onConfigured:async(c,r)=>{let e=tt({provider:"openai",name:la,baseUrl:sn,model:ia,apiKey:""},{makeActive:!0});if(!e){f("xAI OAuth login finished, but the provider profile could not be saved."),k();return}try{r({profileId:e.id})}catch(O){f(O instanceof Error?O.message:String(O)),k();return}M();let d="xAI / Grok configured. Claudin switched to it for this session.";if(t==="first-run"){n({action:"saved",activeProfileId:e.id,message:d});return}N(d),f(void 0),k()}});break;case"github-onboard":G=a(Yn,{onDone:(c)=>{if(c)N(c),f(void 0);M(),k()},onBack:()=>C("select-preset"),onChangeAPIKey:M});break;case"anthropic-auth-choice":G=uu();break;case"anthropic-oauth":G=au();break;case"cloud-extras":G=hu();break;case"custom-headers":G=ru();break;case"form":G=lu();break;case"select-active":G=Lt("Set active provider (Global)","No providers available. Add one first.",(c)=>{Pc(c)});break;case"select-active-project":G=Lt("Set active provider (Project)","No providers available. Add one first.",(c)=>{pc(c)});break;case"select-edit":G=Lt("Edit provider","No providers available. Add one first.",(c)=>{xc(c)});break;case"select-delete":G=Lt("Delete provider","No providers available. Add one first.",(c)=>{let r=h.find(($)=>$.id===c),o=r?.provider==="openai"&&r?.extras?.githubToken!==void 0,e=en(h,bt)?.id===c,d=_c()?.profileId,O=r?.provider==="openai"&&r.baseUrl===sn&&!r.apiKey&&d===c,X=T()?.id===c,J=dn(c);if(!J.removed)f("Could not delete provider.");else{let $=[];if(e){let F=Cn();if(!F.success)$.push(F.warning??"could not clear Codex OAuth credentials");else wt(void 0);zn()}if(o){let F=Xc();if(!F.success)$.push(F.warning??"could not clear GitHub Copilot token")}if(O){let F=qc();if(!F.success)$.push(F.warning??"could not clear xAI OAuth credentials")}let K=J.activeProfileId?it():null;if(K)$.push(`could not clear startup provider override (${K})`);if(M(),X){let F=T();if(F)Ct(),u((U)=>({...U,mainLoopModel:yt(F.model),mainLoopModelForSession:null}));else Ct(),u((U)=>({...U,mainLoopModel:null,mainLoopModelForSession:null}))}N($.length>0?`Provider deleted. Warning: ${$.join("; ")}.`:"Provider deleted")}k()});break;case"menu":default:G=iu();break}return y(kc,{color:"permission",children:[a(Mc,{enabled:fn,onDismiss:(c)=>{Pt(Rt()),Uc(!1),M();let r=T();if(c==="migrated"&&t==="first-run"&&r)n({action:"saved",activeProfileId:r.id,activeProviderName:r.name,activeProviderModel:r.model})}}),fn?null:Hc?y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:"Loading providers..."}),a(l,{dimColor:!0,children:"Reading provider profiles from disk."})]}):Wc?y(g,{flexDirection:"column",gap:1,children:[a(l,{color:"remember",bold:!0,children:"Activating provider..."}),a(l,{dimColor:!0,children:"Please wait while the provider is being configured."})]}):G]})}var s,mt,ha="Codex OAuth",ra="codexplan",la="xAI / Grok (OAuth)",ia="grok-4",Ca;var Aa=p(()=>{Eu();Jn();Bu();_n();pu();Du();ca();cc();hn();Pu();xu();kn();Vn();ju();Tn();Wn();vu();Iu();aa();Qn();hc();Ac();Oc();ua();Nt();s=Mt(Vt(),1),mt=[{key:"name",label:"Provider name",placeholder:"e.g. Ollama Home, OpenAI Work",helpText:"A short label shown in /provider and startup setup."},{key:"baseUrl",label:"Base URL",placeholder:"e.g. http://localhost:11434/v1",helpText:"API base URL used for this provider profile."},{key:"model",label:"Default model",placeholder:"e.g. llama3.1:8b or glm-4.7; glm-4.7-flash",helpText:'Model name(s) to use. Separate multiple with ";" or ","; first is default.'},{key:"apiKey",label:"API key",placeholder:"Leave empty if your provider does not require one",helpText:"Optional. Press Enter with empty value to skip.",optional:!0}];Ca={bedrock:[{key:"awsRegion",label:"AWS region",placeholder:"e.g. us-east-1",helpText:"Region of your Bedrock-enabled AWS account. Credentials are picked up from the AWS SDK chain."}],vertex:[{key:"gcpProject",label:"GCP project ID",placeholder:"e.g. my-project-123456",helpText:"Google Cloud project where Vertex AI is enabled. Credentials are picked up from ADC."},{key:"gcpRegion",label:"GCP region",placeholder:"e.g. us-central1",helpText:"Vertex AI region for the model."}],foundry:[{key:"azureResource",label:"Azure resource",placeholder:"e.g. my-foundry-resource",helpText:"Name of your Azure AI Foundry resource. Credentials are picked up from DefaultAzureCredential."}]}});
|
|
50
|
+
export{tn as Rb,Wn as Sb,ma as Tb,gh as Ub,Aa as Vb};
|