@caspian2026/agent-sdk 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-04h360ha.js +57 -0
- package/dist/{chunk-jmkn11my.js → chunk-04pw5akr.js} +20 -20
- package/dist/{chunk-veap97he.js → chunk-0gpem3pk.js} +46 -45
- package/dist/{chunk-0mej3p7q.js → chunk-0txtpamh.js} +14 -14
- package/dist/{chunk-4m9df5ef.js → chunk-0v89r445.js} +17 -21
- package/dist/chunk-0vp3wfab.js +12 -0
- package/dist/{chunk-268jd0rc.js → chunk-1486qzk5.js} +6 -4
- package/dist/chunk-1efrnkxx.js +468 -0
- package/dist/chunk-1gaw18rz.js +93 -0
- package/dist/{chunk-69r3hm9b.js → chunk-1hqb50ne.js} +13 -19
- package/dist/chunk-1hqvvvrt.js +96 -0
- package/dist/{chunk-qjyg1dv7.js → chunk-1hx5g6qy.js} +6 -10
- package/dist/{chunk-3g1vqhyx.js → chunk-1kmwf4vn.js} +17 -21
- package/dist/{chunk-naybw0p0.js → chunk-1nhnn2rg.js} +8 -8
- package/dist/{chunk-jjh7m5sg.js → chunk-1nvcmzj1.js} +66 -77
- package/dist/{chunk-2f21meep.js → chunk-1v01c96r.js} +1 -1
- package/dist/{chunk-7n51wk9k.js → chunk-1vp22nex.js} +2 -2
- package/dist/{chunk-jcwkgtbp.js → chunk-1yfc1d48.js} +52 -90
- package/dist/{chunk-83e71kz6.js → chunk-2072dpbx.js} +2 -2
- package/dist/{chunk-7rnqsng2.js → chunk-22mfb6bp.js} +19 -19
- package/dist/{chunk-d7886r6a.js → chunk-26wtxbdc.js} +7774 -7774
- package/dist/{chunk-x94btg29.js → chunk-2m32xn94.js} +17 -21
- package/dist/{chunk-mw1kpeg9.js → chunk-2nrarbza.js} +1909 -1377
- package/dist/chunk-2vbash3m.js +331 -0
- package/dist/{chunk-c11swzas.js → chunk-2vteceqh.js} +5 -5
- package/dist/{chunk-3zxswxtg.js → chunk-2y8x7xt7.js} +2 -2
- package/dist/{chunk-s7q42kp2.js → chunk-2yxqz99n.js} +9 -9
- package/dist/{chunk-qyqpb15f.js → chunk-35nft36d.js} +205 -261
- package/dist/{chunk-88xc4d7f.js → chunk-35z2vxep.js} +49 -48
- package/dist/{chunk-15m49c67.js → chunk-3e28fvn0.js} +2 -2
- package/dist/{chunk-2xvc97x4.js → chunk-3e4r5pmc.js} +3 -3
- package/dist/{chunk-a3ws4gae.js → chunk-3fn3ysvs.js} +47 -46
- package/dist/{chunk-4hv90qcz.js → chunk-3mgywd32.js} +1 -1
- package/dist/{chunk-pwqm47kn.js → chunk-3npsy4c4.js} +46 -45
- package/dist/{chunk-xz655xxa.js → chunk-3pzwd6qq.js} +2 -2
- package/dist/{chunk-70eey1nh.js → chunk-40s88wdg.js} +2 -2
- package/dist/{chunk-w0gmf6bv.js → chunk-42a0nyrq.js} +47 -46
- package/dist/{chunk-jvmybb06.js → chunk-44t1xk05.js} +46 -45
- package/dist/{chunk-0awwmrwr.js → chunk-4ayjwyqj.js} +2 -2
- package/dist/{chunk-a4npwxvb.js → chunk-4myad919.js} +46 -45
- package/dist/{chunk-8g747a8x.js → chunk-4pbx3g7s.js} +1 -1
- package/dist/chunk-4vtvwg7e.js +99 -0
- package/dist/{chunk-qcnhb4cd.js → chunk-54wn2jdr.js} +3 -3
- package/dist/{chunk-1nk93fqz.js → chunk-5cxjxxx8.js} +2 -7
- package/dist/chunk-5m3m7hr5.js +108 -0
- package/dist/{chunk-a3wczqrp.js → chunk-5mrc0ps5.js} +37 -41
- package/dist/{chunk-zmra45az.js → chunk-5tw3gj5z.js} +47 -46
- package/dist/{chunk-87e209aj.js → chunk-5zcygjb2.js} +46 -45
- package/dist/{chunk-mk1y74w7.js → chunk-65q3hqkw.js} +17 -21
- package/dist/{chunk-vajwapkf.js → chunk-67wms97m.js} +17 -23
- package/dist/chunk-6cfcqjty.js +441 -0
- package/dist/{chunk-rc9x0raa.js → chunk-6hs0cptm.js} +56 -55
- package/dist/{chunk-bmbq6nt1.js → chunk-6wzg2hpc.js} +2 -2
- package/dist/chunk-72qa16xm.js +91 -0
- package/dist/chunk-7cdy4aj6.js +150 -0
- package/dist/chunk-7cje7scj.js +1534 -0
- package/dist/{chunk-e7h4qxgw.js → chunk-7etkb4pr.js} +4 -4
- package/dist/{chunk-1ax1znzj.js → chunk-7hrmxpha.js} +6 -6
- package/dist/{chunk-wha6v7za.js → chunk-7krg0dkt.js} +2 -2
- package/dist/{chunk-vvsbvz2b.js → chunk-7skyagc2.js} +2 -2
- package/dist/{chunk-hzknr99c.js → chunk-83b2frat.js} +4 -4
- package/dist/{chunk-qvd3hbqs.js → chunk-84cdy41j.js} +5 -5
- package/dist/{chunk-bxcfz5gy.js → chunk-87xg6yb4.js} +1 -1
- package/dist/{chunk-nrtksr2p.js → chunk-8b2y3x7a.js} +1 -1
- package/dist/{chunk-c9dmpdss.js → chunk-8ckwc9k8.js} +46 -45
- package/dist/{chunk-67a4147x.js → chunk-8jy18nx9.js} +1 -1
- package/dist/{chunk-f2hbn5rk.js → chunk-93vwm44t.js} +100420 -57118
- package/dist/{chunk-cfgha78n.js → chunk-9957ffjc.js} +2 -2
- package/dist/{chunk-cdj51xbj.js → chunk-9byfzaeq.js} +46 -45
- package/dist/chunk-9ewnsd7f.js +31 -0
- package/dist/{chunk-xwg327ys.js → chunk-9w114071.js} +6 -6
- package/dist/chunk-9wf3fc4t.js +29 -0
- package/dist/chunk-9z9teq7p.js +87 -0
- package/dist/{chunk-6p4cyhb3.js → chunk-a6d2q415.js} +2 -2
- package/dist/{chunk-jgzxmtpf.js → chunk-ay5fvc2r.js} +52 -52
- package/dist/{chunk-1ybvj5df.js → chunk-ayx9aq2k.js} +47 -46
- package/dist/{chunk-23fkapww.js → chunk-azv68vk1.js} +2 -2
- package/dist/chunk-b547q41s.js +92 -0
- package/dist/{chunk-jgjqa49s.js → chunk-b56smerd.js} +3 -3
- package/dist/{chunk-enkdxqas.js → chunk-b5asw4tj.js} +6 -6
- package/dist/{chunk-nk82j7r2.js → chunk-b6prbsae.js} +7 -7
- package/dist/{chunk-ya40p6vj.js → chunk-b89ese8r.js} +46 -45
- package/dist/{chunk-byb2mn1c.js → chunk-be77bcs8.js} +118 -450
- package/dist/{chunk-m46xyqr6.js → chunk-bf03a1w7.js} +48 -47
- package/dist/{chunk-dmqeqxfz.js → chunk-bjdknxqn.js} +46 -45
- package/dist/{chunk-m87bhhqv.js → chunk-bzatg35k.js} +1 -1
- package/dist/{chunk-8ybw2s0h.js → chunk-c4d52460.js} +4 -4
- package/dist/{chunk-6g5qbbxk.js → chunk-c5zkrd7r.js} +47 -46
- package/dist/{chunk-4140c8xy.js → chunk-c6hsz5ey.js} +20 -24
- package/dist/{chunk-wqvr37xp.js → chunk-cay13mxk.js} +15 -31
- package/dist/{chunk-s3hsqf80.js → chunk-cexw1jmv.js} +30 -81
- package/dist/{chunk-cvm2tmwg.js → chunk-ckh4f9ry.js} +20 -24
- package/dist/{chunk-qn8z4r79.js → chunk-cr1dv2js.js} +50 -48
- package/dist/{chunk-88cekjja.js → chunk-d8z7pyrb.js} +47 -46
- package/dist/chunk-dexkgxt4.js +211 -0
- package/dist/{chunk-xxw9a0bq.js → chunk-dhwr4fz4.js} +2 -2
- package/dist/{chunk-0ym2z0c7.js → chunk-dj7d67ya.js} +1 -1
- package/dist/chunk-djfq8ws0.js +124 -0
- package/dist/{chunk-x2pvw7xw.js → chunk-dmyedkpw.js} +8 -8
- package/dist/{chunk-v0bykh19.js → chunk-dngfdsm9.js} +108 -102
- package/dist/{chunk-8nfn89nz.js → chunk-dt3epnwj.js} +9 -9
- package/dist/{chunk-4r50c14n.js → chunk-dz6zxh89.js} +46 -45
- package/dist/{chunk-jh965sa0.js → chunk-e7ag583m.js} +47 -46
- package/dist/{chunk-th4y838y.js → chunk-ec6ga5ey.js} +51 -50
- package/dist/{chunk-4g0nj78p.js → chunk-ecbh4n6q.js} +46 -45
- package/dist/{chunk-ydcsbj4t.js → chunk-ecv9kbtk.js} +11 -9
- package/dist/{chunk-nvwwtq1w.js → chunk-ecvy1ng2.js} +49 -48
- package/dist/{chunk-s4zb3f1b.js → chunk-ef2m4xyz.js} +46 -45
- package/dist/{chunk-psnsve7m.js → chunk-etbb3dss.js} +49 -48
- package/dist/{chunk-jgpmpgx6.js → chunk-etdt1xz3.js} +1 -1
- package/dist/{chunk-jxfp3g9b.js → chunk-ev7h351p.js} +4 -4
- package/dist/{chunk-njxgct8f.js → chunk-ey0n4emm.js} +46 -45
- package/dist/{chunk-af868wet.js → chunk-f4tdn7yr.js} +46 -45
- package/dist/{chunk-bd5sqj86.js → chunk-f4v7t54y.js} +11 -11
- package/dist/{chunk-8ywngxqt.js → chunk-fesvrjhd.js} +10 -10
- package/dist/{chunk-j4m8fd76.js → chunk-frm7mphm.js} +7 -11
- package/dist/{chunk-kek5v6ef.js → chunk-frwznxnf.js} +3 -3
- package/dist/{chunk-030rqd3a.js → chunk-ftsdm7y7.js} +54 -53
- package/dist/{chunk-vdcm8hz6.js → chunk-g597bz1j.js} +47 -46
- package/dist/chunk-g5pe8dew.js +25 -0
- package/dist/{chunk-tvzr9c8a.js → chunk-g78fetxa.js} +46 -45
- package/dist/{chunk-ga86yjm1.js → chunk-gdwdqewd.js} +3 -3
- package/dist/{chunk-dvcwahst.js → chunk-ghwvqhx9.js} +51 -50
- package/dist/chunk-gkn3jgqn.js +123 -0
- package/dist/{chunk-23q4jpn2.js → chunk-grqhgr2b.js} +3 -3
- package/dist/chunk-grqkx44z.js +90 -0
- package/dist/{chunk-21jsjcfa.js → chunk-gzj94jgg.js} +46 -45
- package/dist/{chunk-g5pgham9.js → chunk-h3vyya5n.js} +20 -14
- package/dist/{chunk-15edybe0.js → chunk-h4xfadhf.js} +1 -1
- package/dist/chunk-h61d4awv.js +95 -0
- package/dist/{chunk-w05jpkkr.js → chunk-hae34yd0.js} +5 -9
- package/dist/{chunk-rtmh0v4c.js → chunk-hb1gr101.js} +6 -6
- package/dist/{chunk-5a5w0ygx.js → chunk-hg45r671.js} +2 -2
- package/dist/{chunk-d9yghsfg.js → chunk-hg6fwhj1.js} +1 -1
- package/dist/{chunk-1cq2vrzq.js → chunk-hgmhngje.js} +4 -4
- package/dist/{chunk-vvjgdzhn.js → chunk-hparkfvt.js} +55 -51
- package/dist/{chunk-ahrhwpm9.js → chunk-hqjdgc6c.js} +2 -2
- package/dist/{chunk-37p5p94r.js → chunk-hrhp26d7.js} +55 -54
- package/dist/{chunk-xrpstt41.js → chunk-hzbr9543.js} +4 -4
- package/dist/{chunk-1dwvgrfc.js → chunk-j0gke393.js} +46 -45
- package/dist/{chunk-yyf72f78.js → chunk-j35mw64g.js} +4 -2
- package/dist/{chunk-425w66ka.js → chunk-j99ms5ep.js} +4 -4
- package/dist/{chunk-dtgh4te6.js → chunk-jgvmjwnx.js} +46 -45
- package/dist/{chunk-87scz097.js → chunk-jj4zs4gr.js} +46 -45
- package/dist/{chunk-am3qcgzp.js → chunk-jjz3hs34.js} +56 -55
- package/dist/{chunk-1a6ez1mg.js → chunk-jksf0ax9.js} +51 -49
- package/dist/{chunk-gdhz1652.js → chunk-jqfrz5g9.js} +27 -30
- package/dist/{chunk-q7jnesv8.js → chunk-jsj3fx0g.js} +5 -5
- package/dist/{chunk-vawgyev5.js → chunk-jtgyzqbq.js} +3 -3
- package/dist/{chunk-xfkfh5sd.js → chunk-jwpp2bq2.js} +1808 -1643
- package/dist/{chunk-zq6ezxh2.js → chunk-jwwpfq76.js} +49 -45
- package/dist/{chunk-qq5d2s0d.js → chunk-jxp2j9t5.js} +46 -45
- package/dist/{chunk-zctfbr1v.js → chunk-k7cw1a8a.js} +1 -1
- package/dist/chunk-k8jpbz31.js +62 -0
- package/dist/{chunk-tdbz9gbm.js → chunk-kjqyhxz7.js} +6 -6
- package/dist/{chunk-yc23zxmj.js → chunk-kxrrtr3p.js} +1 -1
- package/dist/chunk-m70n19dz.js +93 -0
- package/dist/{chunk-4nspekjp.js → chunk-mcws22k3.js} +1 -28
- package/dist/{chunk-a1bf2kh4.js → chunk-mewywsar.js} +46 -45
- package/dist/{chunk-k7g9gcr9.js → chunk-mmhkcj7c.js} +64 -58
- package/dist/{chunk-rm2vtv77.js → chunk-msxggy37.js} +22 -25
- package/dist/{chunk-s1tg295x.js → chunk-njw0haha.js} +10 -8
- package/dist/{chunk-5rv9c8yd.js → chunk-nrjtxhyr.js} +1 -1
- package/dist/{chunk-nqn45znr.js → chunk-ns7x6xam.js} +9 -9
- package/dist/{chunk-jaaxk89e.js → chunk-nsc89h0n.js} +2 -22
- package/dist/{chunk-z19sd3bt.js → chunk-p4196wzm.js} +5 -5
- package/dist/{chunk-1dgdjrm1.js → chunk-p791ydbm.js} +4 -4
- package/dist/{chunk-1zhy5cbc.js → chunk-p9ny0p2a.js} +13 -13
- package/dist/{chunk-phd1qfpc.js → chunk-pd2vy8hx.js} +5 -5
- package/dist/{chunk-gnj7tyj6.js → chunk-pddf0719.js} +49 -48
- package/dist/{chunk-6t5zvnrg.js → chunk-pfarypfq.js} +48 -46
- package/dist/{chunk-w4yn8cq7.js → chunk-psm26hv7.js} +8 -8
- package/dist/{chunk-hwn8vetn.js → chunk-pwpk3gm6.js} +10 -10
- package/dist/{chunk-va8drjmv.js → chunk-q14wrksq.js} +48 -47
- package/dist/{chunk-twqzmqsn.js → chunk-q4f1g9y6.js} +31 -27
- package/dist/{chunk-23jzrwsw.js → chunk-q6tdxy8v.js} +5 -5
- package/dist/chunk-q8hxwh48.js +445 -0
- package/dist/{chunk-eenq3avg.js → chunk-qcrpqjya.js} +1 -1
- package/dist/{chunk-e7efcp3k.js → chunk-qctsv1d7.js} +257 -2857
- package/dist/{chunk-ck0ap688.js → chunk-qkczt8cr.js} +4 -4
- package/dist/{chunk-2fxpd35d.js → chunk-qkp4ygnk.js} +2 -2
- package/dist/{chunk-c3d2cnz5.js → chunk-qqs58ywv.js} +7 -7
- package/dist/{chunk-qdnxk7d7.js → chunk-qxjhw1dt.js} +29 -30
- package/dist/{chunk-rkg741k3.js → chunk-qz0xdht6.js} +14 -14
- package/dist/chunk-r3ehjkj5.js +123 -0
- package/dist/{chunk-wbbykfdd.js → chunk-r5nd93kc.js} +1 -1
- package/dist/{chunk-yzcjz0gg.js → chunk-r6nnp8mj.js} +46 -45
- package/dist/{chunk-bm5rc541.js → chunk-r7684mmh.js} +5 -5
- package/dist/chunk-ratnrv9v.js +517 -0
- package/dist/{chunk-nx7c354z.js → chunk-rfbbcx5s.js} +46 -45
- package/dist/{chunk-z9n0183s.js → chunk-rfq9kmsy.js} +9 -9
- package/dist/{chunk-qsc98gbe.js → chunk-rhvn1rqs.js} +2 -2
- package/dist/{chunk-gvrjgq1n.js → chunk-rjq5nf1c.js} +16 -20
- package/dist/{chunk-xp61y5ba.js → chunk-rkv8bdtr.js} +2 -2
- package/dist/{chunk-tff58196.js → chunk-rmpaj37q.js} +48 -47
- package/dist/{chunk-k1crm94z.js → chunk-rn1s097c.js} +46 -45
- package/dist/{chunk-c42pqnxx.js → chunk-rnxpvm3m.js} +1 -1
- package/dist/{chunk-k0v0cz71.js → chunk-rpsqtvkx.js} +46 -45
- package/dist/{chunk-t5vbqd9d.js → chunk-rx4mcfg1.js} +55 -54
- package/dist/{chunk-30smv00b.js → chunk-rygxwjtc.js} +47 -46
- package/dist/{chunk-jpc9zwsk.js → chunk-rz94yg8c.js} +3 -3
- package/dist/{chunk-0m9w9esf.js → chunk-s19b0bc7.js} +46 -45
- package/dist/{chunk-wayfjcwt.js → chunk-sdfvr9ps.js} +4 -4
- package/dist/{chunk-fkhs3myp.js → chunk-sh2v9ywv.js} +5 -3
- package/dist/{chunk-1avzakfd.js → chunk-sjpqw47t.js} +3 -3
- package/dist/{chunk-7mqab3z7.js → chunk-skp5w8bq.js} +1 -1
- package/dist/{chunk-76j2e9vy.js → chunk-snxp8mxj.js} +2 -2
- package/dist/{chunk-vsqwd13w.js → chunk-ssb4wba6.js} +17 -19
- package/dist/{chunk-kva79cra.js → chunk-szzff973.js} +7 -5
- package/dist/{chunk-st73prx0.js → chunk-t1pygy19.js} +47 -46
- package/dist/{chunk-q1ah9nbq.js → chunk-t1s91wrk.js} +1 -1
- package/dist/{chunk-3skj4gfg.js → chunk-t3gmfcy7.js} +47 -46
- package/dist/{chunk-xw8pjerk.js → chunk-t9eeyrkn.js} +48 -47
- package/dist/{chunk-0jtbeesf.js → chunk-tf859h88.js} +16 -20
- package/dist/{chunk-denyma1s.js → chunk-thenr6b3.js} +14 -12
- package/dist/{chunk-234668cb.js → chunk-thmtkfgj.js} +5 -5
- package/dist/chunk-tj7v47cp.js +20 -0
- package/dist/{chunk-12k745vf.js → chunk-tpk67mjc.js} +3 -3
- package/dist/chunk-trvc6jh7.js +92 -0
- package/dist/{chunk-9v13f3gm.js → chunk-ttyfhx12.js} +524 -195
- package/dist/{chunk-q87kegxh.js → chunk-txgbs4hp.js} +49 -48
- package/dist/{chunk-25bwa70y.js → chunk-ty1cyqr7.js} +49 -48
- package/dist/{chunk-r6kaak61.js → chunk-v0tgjdx0.js} +16 -20
- package/dist/chunk-v3s93bzd.js +34 -0
- package/dist/{chunk-4cp6193g.js → chunk-v4t6dyyh.js} +2 -2
- package/dist/{chunk-fape0yfp.js → chunk-v4wba09w.js} +46 -45
- package/dist/{chunk-h02gcdx5.js → chunk-v5g8nf5h.js} +8 -8
- package/dist/{chunk-jtztm8f5.js → chunk-v6hbqcmr.js} +44 -43
- package/dist/{chunk-21gmrwhs.js → chunk-vajsk9ya.js} +17 -21
- package/dist/{chunk-8hpq2659.js → chunk-vbtm9g57.js} +1 -1
- package/dist/{chunk-q7e0106d.js → chunk-vk3nb2xe.js} +51 -56
- package/dist/{chunk-ad3v6mzw.js → chunk-vmbht6ec.js} +12 -12
- package/dist/{chunk-as5rvw4n.js → chunk-vmp5rk8q.js} +17 -21
- package/dist/{chunk-1x0y4426.js → chunk-vtmxgm1m.js} +4 -4
- package/dist/{chunk-pb92bj1h.js → chunk-vw5jzpcm.js} +6 -6
- package/dist/{chunk-5cem2v7n.js → chunk-vyz3v0qx.js} +5 -5
- package/dist/{chunk-hxzt3r84.js → chunk-w3782jck.js} +51 -50
- package/dist/{chunk-1vnd9s2j.js → chunk-w3gnkyfc.js} +57 -66
- package/dist/chunk-w6mcmmt5.js +1457 -0
- package/dist/chunk-wa0xgm6m.js +988 -0
- package/dist/{chunk-vrjbc8ap.js → chunk-wa8yn2p0.js} +1 -1
- package/dist/{chunk-hya4c599.js → chunk-wg47eg7y.js} +46 -45
- package/dist/{chunk-y7we499r.js → chunk-wgd4n1q7.js} +8 -8
- package/dist/{chunk-0g5cy3wj.js → chunk-wgk9sxk7.js} +4 -4
- package/dist/{chunk-wr3pd88n.js → chunk-wkt2q02c.js} +40 -9
- package/dist/{chunk-gbte7d7h.js → chunk-wm1zm5xj.js} +4 -2
- package/dist/{chunk-3hwa20vg.js → chunk-wtpgjmjd.js} +49 -46
- package/dist/{chunk-dbwmzvfj.js → chunk-wxkrq9eb.js} +46 -45
- package/dist/{chunk-d00mfc1e.js → chunk-x2bnzvd6.js} +46 -45
- package/dist/{chunk-2xbyb015.js → chunk-x3jthbjq.js} +47 -46
- package/dist/chunk-x7fdwq3d.js +33 -0
- package/dist/{chunk-zhk465tg.js → chunk-xcrzgyce.js} +46 -45
- package/dist/{chunk-chsyvavm.js → chunk-xeb6075z.js} +1 -1
- package/dist/{chunk-6ksdp40n.js → chunk-xffb3dsw.js} +1 -1
- package/dist/{chunk-2j3v2dgk.js → chunk-xgbd6ec5.js} +47 -46
- package/dist/{chunk-n7pnyq43.js → chunk-xhfmdq1y.js} +16 -0
- package/dist/{chunk-2v4x8kaq.js → chunk-xhn4ptjn.js} +51 -50
- package/dist/{chunk-w1sv7j01.js → chunk-xs7zsmzk.js} +46 -45
- package/dist/chunk-xswyz2es.js +118 -0
- package/dist/{chunk-ky39hkg1.js → chunk-xtdm6ejq.js} +9 -7
- package/dist/{chunk-hh3k5s1s.js → chunk-xvk90wpt.js} +3 -3
- package/dist/{chunk-5awgsvrw.js → chunk-xw99fqv1.js} +14 -6
- package/dist/{chunk-xnv6kb39.js → chunk-y32em34x.js} +22 -23
- package/dist/chunk-y5wfy524.js +94 -0
- package/dist/{chunk-fk8crdnk.js → chunk-ya9dxex0.js} +48 -46
- package/dist/{chunk-97wgdsab.js → chunk-z16txqz0.js} +3 -3
- package/dist/{chunk-yvtzznds.js → chunk-z6wm96eh.js} +2 -2
- package/dist/{chunk-nqrc7pc4.js → chunk-zcgprbyy.js} +29 -27
- package/dist/chunk-zqbnw3n2.js +197 -0
- package/dist/{chunk-d6rypdxt.js → chunk-zxywawr7.js} +1 -1
- package/dist/{chunk-jj5wj46b.js → chunk-zyjkg76f.js} +7 -7
- package/dist/cli.js +8 -8
- package/dist/gateway/index.js +326 -0
- package/dist/gateway/worker.js +482241 -0
- package/package.json +1 -1
- package/dist/chunk-11cz07kz.js +0 -93
- package/dist/chunk-1pbtp2z2.js +0 -92
- package/dist/chunk-25y2dtzf.js +0 -91
- package/dist/chunk-3hyj0zpy.js +0 -95
- package/dist/chunk-4kqjjakw.js +0 -73
- package/dist/chunk-4zwqbg7s.js +0 -87
- package/dist/chunk-5be33wja.js +0 -120
- package/dist/chunk-70mgxhkz.js +0 -369
- package/dist/chunk-7gmk09cq.js +0 -116
- package/dist/chunk-8dprcdra.js +0 -92
- package/dist/chunk-8xwx1xtg.js +0 -120
- package/dist/chunk-a579wjd2.js +0 -436
- package/dist/chunk-axqk3mxk.js +0 -116
- package/dist/chunk-c0ckmxr1.js +0 -86
- package/dist/chunk-c6t24y8q.js +0 -94
- package/dist/chunk-cfv996bs.js +0 -22
- package/dist/chunk-e5t5eefc.js +0 -62
- package/dist/chunk-eyph0250.js +0 -88
- package/dist/chunk-f825x57v.js +0 -91
- package/dist/chunk-h9xx5bj6.js +0 -91
- package/dist/chunk-j1dg659r.js +0 -89
- package/dist/chunk-jk8seqkk.js +0 -90
- package/dist/chunk-jzg4nddc.js +0 -92
- package/dist/chunk-k5vy0s3c.js +0 -93
- package/dist/chunk-ke820fjw.js +0 -91
- package/dist/chunk-kyzd4p8z.js +0 -111
- package/dist/chunk-njrt3tac.js +0 -640
- package/dist/chunk-pavb6a7w.js +0 -516
- package/dist/chunk-q268gpa0.js +0 -145
- package/dist/chunk-qvh1w3t7.js +0 -157
- package/dist/chunk-qy1es4jj.js +0 -95
- package/dist/chunk-qz2x630m.js +0 -49145
- package/dist/chunk-tw48evtr.js +0 -40
- package/dist/chunk-w0gfctyc.js +0 -117
- package/dist/chunk-y0fhjxef.js +0 -276
- package/dist/chunk-y275vgmw.js +0 -654
- package/dist/chunk-zq7pmdas.js +0 -1003
package/dist/chunk-y275vgmw.js
DELETED
|
@@ -1,654 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
WelcomeV2
|
|
4
|
-
} from "./chunk-zctfbr1v.js";
|
|
5
|
-
import {
|
|
6
|
-
ApproveApiKey
|
|
7
|
-
} from "./chunk-ahrhwpm9.js";
|
|
8
|
-
import {
|
|
9
|
-
PressEnterToContinue,
|
|
10
|
-
init_PressEnterToContinue
|
|
11
|
-
} from "./chunk-qatfdxvd.js";
|
|
12
|
-
import {
|
|
13
|
-
ThemePicker,
|
|
14
|
-
init_ThemePicker
|
|
15
|
-
} from "./chunk-kva79cra.js";
|
|
16
|
-
import {
|
|
17
|
-
ConsoleOAuthFlow,
|
|
18
|
-
Select,
|
|
19
|
-
Spinner,
|
|
20
|
-
getSSLErrorHint,
|
|
21
|
-
init_ConsoleOAuthFlow,
|
|
22
|
-
init_Spinner,
|
|
23
|
-
init_errorUtils,
|
|
24
|
-
init_select
|
|
25
|
-
} from "./chunk-f2hbn5rk.js";
|
|
26
|
-
import"./chunk-jpc9zwsk.js";
|
|
27
|
-
import"./chunk-hwfknpxv.js";
|
|
28
|
-
import"./chunk-4nspekjp.js";
|
|
29
|
-
import"./chunk-jzthz1bx.js";
|
|
30
|
-
import"./chunk-1gx78081.js";
|
|
31
|
-
import"./chunk-qcnhb4cd.js";
|
|
32
|
-
import"./chunk-s7q42kp2.js";
|
|
33
|
-
import"./chunk-2gzv8nrw.js";
|
|
34
|
-
import"./chunk-ehtwnxpg.js";
|
|
35
|
-
import"./chunk-wr3pd88n.js";
|
|
36
|
-
import"./chunk-wayfjcwt.js";
|
|
37
|
-
import"./chunk-cgfdkzhb.js";
|
|
38
|
-
import"./chunk-bxcfz5gy.js";
|
|
39
|
-
import {
|
|
40
|
-
init_useExitOnCtrlCDWithKeybindings,
|
|
41
|
-
useExitOnCtrlCDWithKeybindings
|
|
42
|
-
} from "./chunk-y0fhjxef.js";
|
|
43
|
-
import"./chunk-j5bth84e.js";
|
|
44
|
-
import {
|
|
45
|
-
init_terminalSetup,
|
|
46
|
-
setupTerminal,
|
|
47
|
-
shouldOfferTerminalSetup
|
|
48
|
-
} from "./chunk-nk82j7r2.js";
|
|
49
|
-
import {
|
|
50
|
-
init_useKeybinding
|
|
51
|
-
} from "./chunk-68ffk5qa.js";
|
|
52
|
-
import"./chunk-ps49ymvj.js";
|
|
53
|
-
import"./chunk-p7vkh4wx.js";
|
|
54
|
-
import"./chunk-bmbq6nt1.js";
|
|
55
|
-
import"./chunk-yc23zxmj.js";
|
|
56
|
-
import"./chunk-njrt3tac.js";
|
|
57
|
-
import"./chunk-m87bhhqv.js";
|
|
58
|
-
import"./chunk-xwg327ys.js";
|
|
59
|
-
import"./chunk-xz655xxa.js";
|
|
60
|
-
import"./chunk-c11swzas.js";
|
|
61
|
-
import"./chunk-chsyvavm.js";
|
|
62
|
-
import"./chunk-5rv9c8yd.js";
|
|
63
|
-
import {
|
|
64
|
-
getCustomApiKeyStatus,
|
|
65
|
-
getUserAgent,
|
|
66
|
-
init_auth,
|
|
67
|
-
init_authPortable,
|
|
68
|
-
init_config,
|
|
69
|
-
init_http,
|
|
70
|
-
isAnthropicAuthEnabled,
|
|
71
|
-
normalizeApiKeyForConfig
|
|
72
|
-
} from "./chunk-e7efcp3k.js";
|
|
73
|
-
import"./chunk-z19sd3bt.js";
|
|
74
|
-
import"./chunk-1ax1znzj.js";
|
|
75
|
-
import"./chunk-6nsd9606.js";
|
|
76
|
-
import"./chunk-xp61y5ba.js";
|
|
77
|
-
import"./chunk-64c1avct.js";
|
|
78
|
-
import"./chunk-wha6v7za.js";
|
|
79
|
-
import"./chunk-8g5pe1gr.js";
|
|
80
|
-
import"./chunk-4cp6193g.js";
|
|
81
|
-
import"./chunk-8g747a8x.js";
|
|
82
|
-
import"./chunk-d7886r6a.js";
|
|
83
|
-
import"./chunk-yvtzznds.js";
|
|
84
|
-
import"./chunk-4jm600zv.js";
|
|
85
|
-
import"./chunk-qz2x630m.js";
|
|
86
|
-
import"./chunk-2f21meep.js";
|
|
87
|
-
import"./chunk-nrtksr2p.js";
|
|
88
|
-
import"./chunk-3c25bcsw.js";
|
|
89
|
-
import {
|
|
90
|
-
env,
|
|
91
|
-
getOauthConfig,
|
|
92
|
-
init_env,
|
|
93
|
-
init_oauth
|
|
94
|
-
} from "./chunk-s3hsqf80.js";
|
|
95
|
-
import"./chunk-yyf72f78.js";
|
|
96
|
-
import"./chunk-cdz5yb0r.js";
|
|
97
|
-
import {
|
|
98
|
-
Link,
|
|
99
|
-
Newline,
|
|
100
|
-
ThemedBox_default,
|
|
101
|
-
ThemedText,
|
|
102
|
-
init_src,
|
|
103
|
-
useKeybindings,
|
|
104
|
-
useTheme,
|
|
105
|
-
useTimeout
|
|
106
|
-
} from "./chunk-c7jwbe76.js";
|
|
107
|
-
import"./chunk-0vkfrmqm.js";
|
|
108
|
-
import {
|
|
109
|
-
require_jsx_dev_runtime,
|
|
110
|
-
require_react
|
|
111
|
-
} from "./chunk-7sgtxrsc.js";
|
|
112
|
-
import"./chunk-0xjaqda8.js";
|
|
113
|
-
import {
|
|
114
|
-
init_analytics,
|
|
115
|
-
logEvent
|
|
116
|
-
} from "./chunk-x8d2ehd7.js";
|
|
117
|
-
import"./chunk-15m49c67.js";
|
|
118
|
-
import"./chunk-tdbz9gbm.js";
|
|
119
|
-
import"./chunk-0awwmrwr.js";
|
|
120
|
-
import"./chunk-qnfx3qtx.js";
|
|
121
|
-
import"./chunk-70eey1nh.js";
|
|
122
|
-
import {
|
|
123
|
-
init_log,
|
|
124
|
-
logError
|
|
125
|
-
} from "./chunk-1nk93fqz.js";
|
|
126
|
-
import"./chunk-s8kj6ajy.js";
|
|
127
|
-
import"./chunk-eenq3avg.js";
|
|
128
|
-
import"./chunk-7mqab3z7.js";
|
|
129
|
-
import"./chunk-5z28bqne.js";
|
|
130
|
-
import"./chunk-qajrkk97.js";
|
|
131
|
-
import"./chunk-phd1qfpc.js";
|
|
132
|
-
import"./chunk-fbv4apne.js";
|
|
133
|
-
import {
|
|
134
|
-
init_envUtils,
|
|
135
|
-
isRunningOnHomespace
|
|
136
|
-
} from "./chunk-jaaxk89e.js";
|
|
137
|
-
import"./chunk-k8vp0atq.js";
|
|
138
|
-
import"./chunk-vf612n57.js";
|
|
139
|
-
import"./chunk-07069jq1.js";
|
|
140
|
-
import"./chunk-d4mdda98.js";
|
|
141
|
-
import {
|
|
142
|
-
axios_default,
|
|
143
|
-
init_axios
|
|
144
|
-
} from "./chunk-55raexh7.js";
|
|
145
|
-
import"./chunk-v9smspw2.js";
|
|
146
|
-
import"./chunk-v1kzp02e.js";
|
|
147
|
-
import"./chunk-7wm5s02e.js";
|
|
148
|
-
import"./chunk-b0kf00ff.js";
|
|
149
|
-
import"./chunk-netzwgv1.js";
|
|
150
|
-
import {
|
|
151
|
-
__toESM
|
|
152
|
-
} from "./chunk-qp2qdcda.js";
|
|
153
|
-
|
|
154
|
-
// src/components/Onboarding.tsx
|
|
155
|
-
init_analytics();
|
|
156
|
-
init_terminalSetup();
|
|
157
|
-
init_useExitOnCtrlCDWithKeybindings();
|
|
158
|
-
init_src();
|
|
159
|
-
init_useKeybinding();
|
|
160
|
-
init_auth();
|
|
161
|
-
init_authPortable();
|
|
162
|
-
init_config();
|
|
163
|
-
init_env();
|
|
164
|
-
init_envUtils();
|
|
165
|
-
var import_react4 = __toESM(require_react(), 1);
|
|
166
|
-
|
|
167
|
-
// src/utils/preflightChecks.tsx
|
|
168
|
-
init_axios();
|
|
169
|
-
init_analytics();
|
|
170
|
-
init_Spinner();
|
|
171
|
-
init_oauth();
|
|
172
|
-
var import_react = __toESM(require_react(), 1);
|
|
173
|
-
|
|
174
|
-
// src/hooks/useTimeout.ts
|
|
175
|
-
init_src();
|
|
176
|
-
|
|
177
|
-
// src/utils/preflightChecks.tsx
|
|
178
|
-
init_src();
|
|
179
|
-
init_errorUtils();
|
|
180
|
-
init_http();
|
|
181
|
-
init_log();
|
|
182
|
-
var jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
|
|
183
|
-
async function checkEndpoints() {
|
|
184
|
-
try {
|
|
185
|
-
const oauthConfig = getOauthConfig();
|
|
186
|
-
const tokenUrl = new URL(oauthConfig.TOKEN_URL);
|
|
187
|
-
const endpoints = [
|
|
188
|
-
`${oauthConfig.BASE_API_URL}/api/hello`,
|
|
189
|
-
`${tokenUrl.origin}/v1/oauth/hello`
|
|
190
|
-
];
|
|
191
|
-
const checkEndpoint = async (url) => {
|
|
192
|
-
try {
|
|
193
|
-
const response = await axios_default.get(url, {
|
|
194
|
-
headers: { "User-Agent": getUserAgent() }
|
|
195
|
-
});
|
|
196
|
-
if (response.status !== 200) {
|
|
197
|
-
const hostname = new URL(url).hostname;
|
|
198
|
-
return {
|
|
199
|
-
success: false,
|
|
200
|
-
error: `Failed to connect to ${hostname}: Status ${response.status}`
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
return { success: true };
|
|
204
|
-
} catch (error) {
|
|
205
|
-
const hostname = new URL(url).hostname;
|
|
206
|
-
const sslHint = getSSLErrorHint(error);
|
|
207
|
-
return {
|
|
208
|
-
success: false,
|
|
209
|
-
error: `Failed to connect to ${hostname}: ${error instanceof Error ? error.code || error.message : String(error)}`,
|
|
210
|
-
sslHint: sslHint ?? undefined
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
};
|
|
214
|
-
const results = await Promise.all(endpoints.map(checkEndpoint));
|
|
215
|
-
const failedResult = results.find((result) => !result.success);
|
|
216
|
-
if (failedResult) {
|
|
217
|
-
logEvent("tengu_preflight_check_failed", {
|
|
218
|
-
isConnectivityError: false,
|
|
219
|
-
hasErrorMessage: !!failedResult.error,
|
|
220
|
-
isSSLError: !!failedResult.sslHint
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
return failedResult || { success: true };
|
|
224
|
-
} catch (error) {
|
|
225
|
-
logError(error);
|
|
226
|
-
logEvent("tengu_preflight_check_failed", {
|
|
227
|
-
isConnectivityError: true
|
|
228
|
-
});
|
|
229
|
-
return {
|
|
230
|
-
success: false,
|
|
231
|
-
error: `Connectivity check error: ${error instanceof Error ? error.code || error.message : String(error)}`
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
function PreflightStep({
|
|
236
|
-
onSuccess
|
|
237
|
-
}) {
|
|
238
|
-
const [result, setResult] = import_react.useState(null);
|
|
239
|
-
const [isChecking, setIsChecking] = import_react.useState(true);
|
|
240
|
-
const showSpinner = useTimeout(1000) && isChecking;
|
|
241
|
-
import_react.useEffect(() => {
|
|
242
|
-
async function run() {
|
|
243
|
-
const checkResult = await checkEndpoints();
|
|
244
|
-
setResult(checkResult);
|
|
245
|
-
setIsChecking(false);
|
|
246
|
-
}
|
|
247
|
-
run();
|
|
248
|
-
}, []);
|
|
249
|
-
import_react.useEffect(() => {
|
|
250
|
-
if (result?.success) {
|
|
251
|
-
onSuccess();
|
|
252
|
-
} else if (result && !result.success) {
|
|
253
|
-
const timer = setTimeout(() => process.exit(1), 100);
|
|
254
|
-
return () => clearTimeout(timer);
|
|
255
|
-
}
|
|
256
|
-
}, [result, onSuccess]);
|
|
257
|
-
return /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
258
|
-
flexDirection: "column",
|
|
259
|
-
gap: 1,
|
|
260
|
-
paddingLeft: 1,
|
|
261
|
-
children: isChecking && showSpinner ? /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
262
|
-
paddingLeft: 1,
|
|
263
|
-
children: [
|
|
264
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
265
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
266
|
-
children: "Checking connectivity..."
|
|
267
|
-
}, undefined, false, undefined, this)
|
|
268
|
-
]
|
|
269
|
-
}, undefined, true, undefined, this) : !result?.success && !isChecking && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
270
|
-
flexDirection: "column",
|
|
271
|
-
gap: 1,
|
|
272
|
-
children: [
|
|
273
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
274
|
-
color: "error",
|
|
275
|
-
children: "Unable to connect to Anthropic services"
|
|
276
|
-
}, undefined, false, undefined, this),
|
|
277
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
278
|
-
color: "error",
|
|
279
|
-
children: result?.error
|
|
280
|
-
}, undefined, false, undefined, this),
|
|
281
|
-
result?.sslHint ? /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
282
|
-
flexDirection: "column",
|
|
283
|
-
gap: 1,
|
|
284
|
-
children: [
|
|
285
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
286
|
-
children: result.sslHint
|
|
287
|
-
}, undefined, false, undefined, this),
|
|
288
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
289
|
-
color: "suggestion",
|
|
290
|
-
children: "See https://code.claude.com/docs/en/network-config"
|
|
291
|
-
}, undefined, false, undefined, this)
|
|
292
|
-
]
|
|
293
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
294
|
-
flexDirection: "column",
|
|
295
|
-
gap: 1,
|
|
296
|
-
children: [
|
|
297
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
298
|
-
children: "Please check your internet connection and network settings."
|
|
299
|
-
}, undefined, false, undefined, this),
|
|
300
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
301
|
-
children: [
|
|
302
|
-
"Note: Claude Code might not be available in your country. Check supported countries at",
|
|
303
|
-
" ",
|
|
304
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
305
|
-
color: "suggestion",
|
|
306
|
-
children: "https://anthropic.com/supported-countries"
|
|
307
|
-
}, undefined, false, undefined, this)
|
|
308
|
-
]
|
|
309
|
-
}, undefined, true, undefined, this)
|
|
310
|
-
]
|
|
311
|
-
}, undefined, true, undefined, this)
|
|
312
|
-
]
|
|
313
|
-
}, undefined, true, undefined, this)
|
|
314
|
-
}, undefined, false, undefined, this);
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
// src/components/Onboarding.tsx
|
|
318
|
-
init_ConsoleOAuthFlow();
|
|
319
|
-
init_select();
|
|
320
|
-
init_PressEnterToContinue();
|
|
321
|
-
init_ThemePicker();
|
|
322
|
-
|
|
323
|
-
// src/components/ui/OrderedList.tsx
|
|
324
|
-
init_src();
|
|
325
|
-
var import_react3 = __toESM(require_react(), 1);
|
|
326
|
-
|
|
327
|
-
// src/components/ui/OrderedListItem.tsx
|
|
328
|
-
init_src();
|
|
329
|
-
var import_react2 = __toESM(require_react(), 1);
|
|
330
|
-
var jsx_dev_runtime2 = __toESM(require_jsx_dev_runtime(), 1);
|
|
331
|
-
var OrderedListItemContext = import_react2.createContext({ marker: "" });
|
|
332
|
-
function OrderedListItem({
|
|
333
|
-
children
|
|
334
|
-
}) {
|
|
335
|
-
const { marker } = import_react2.useContext(OrderedListItemContext);
|
|
336
|
-
return /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedBox_default, {
|
|
337
|
-
gap: 1,
|
|
338
|
-
children: [
|
|
339
|
-
/* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
340
|
-
dimColor: true,
|
|
341
|
-
children: marker
|
|
342
|
-
}, undefined, false, undefined, this),
|
|
343
|
-
/* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedBox_default, {
|
|
344
|
-
flexDirection: "column",
|
|
345
|
-
children
|
|
346
|
-
}, undefined, false, undefined, this)
|
|
347
|
-
]
|
|
348
|
-
}, undefined, true, undefined, this);
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
// src/components/ui/OrderedList.tsx
|
|
352
|
-
var jsx_dev_runtime3 = __toESM(require_jsx_dev_runtime(), 1);
|
|
353
|
-
var OrderedListContext = import_react3.createContext({ marker: "" });
|
|
354
|
-
function OrderedListComponent({ children }) {
|
|
355
|
-
const { marker: parentMarker } = import_react3.useContext(OrderedListContext);
|
|
356
|
-
let numberOfItems = 0;
|
|
357
|
-
for (const child of import_react3.default.Children.toArray(children)) {
|
|
358
|
-
if (!import_react3.isValidElement(child) || child.type !== OrderedListItem) {
|
|
359
|
-
continue;
|
|
360
|
-
}
|
|
361
|
-
numberOfItems++;
|
|
362
|
-
}
|
|
363
|
-
const maxMarkerWidth = String(numberOfItems).length;
|
|
364
|
-
return /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedBox_default, {
|
|
365
|
-
flexDirection: "column",
|
|
366
|
-
children: import_react3.default.Children.map(children, (child, index) => {
|
|
367
|
-
if (!import_react3.isValidElement(child) || child.type !== OrderedListItem) {
|
|
368
|
-
return child;
|
|
369
|
-
}
|
|
370
|
-
const paddedMarker = `${String(index + 1).padStart(maxMarkerWidth)}.`;
|
|
371
|
-
const marker = `${parentMarker}${paddedMarker}`;
|
|
372
|
-
return /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(OrderedListContext.Provider, {
|
|
373
|
-
value: { marker },
|
|
374
|
-
children: /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(OrderedListItemContext.Provider, {
|
|
375
|
-
value: { marker },
|
|
376
|
-
children: child
|
|
377
|
-
}, undefined, false, undefined, this)
|
|
378
|
-
}, undefined, false, undefined, this);
|
|
379
|
-
})
|
|
380
|
-
}, undefined, false, undefined, this);
|
|
381
|
-
}
|
|
382
|
-
OrderedListComponent.Item = OrderedListItem;
|
|
383
|
-
var OrderedList = OrderedListComponent;
|
|
384
|
-
|
|
385
|
-
// src/components/Onboarding.tsx
|
|
386
|
-
var jsx_dev_runtime4 = __toESM(require_jsx_dev_runtime(), 1);
|
|
387
|
-
function Onboarding({ onDone }) {
|
|
388
|
-
const [currentStepIndex, setCurrentStepIndex] = import_react4.useState(0);
|
|
389
|
-
const [skipOAuth, setSkipOAuth] = import_react4.useState(false);
|
|
390
|
-
const [oauthEnabled] = import_react4.useState(() => isAnthropicAuthEnabled());
|
|
391
|
-
const [theme, setTheme] = useTheme();
|
|
392
|
-
import_react4.useEffect(() => {
|
|
393
|
-
logEvent("tengu_began_setup", {
|
|
394
|
-
oauthEnabled
|
|
395
|
-
});
|
|
396
|
-
}, [oauthEnabled]);
|
|
397
|
-
function goToNextStep() {
|
|
398
|
-
if (currentStepIndex < steps.length - 1) {
|
|
399
|
-
const nextIndex = currentStepIndex + 1;
|
|
400
|
-
setCurrentStepIndex(nextIndex);
|
|
401
|
-
logEvent("tengu_onboarding_step", {
|
|
402
|
-
oauthEnabled,
|
|
403
|
-
stepId: steps[nextIndex]?.id
|
|
404
|
-
});
|
|
405
|
-
} else {
|
|
406
|
-
onDone();
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
function handleThemeSelection(newTheme) {
|
|
410
|
-
setTheme(newTheme);
|
|
411
|
-
goToNextStep();
|
|
412
|
-
}
|
|
413
|
-
const exitState = useExitOnCtrlCDWithKeybindings();
|
|
414
|
-
const themeStep = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
|
|
415
|
-
marginX: 1,
|
|
416
|
-
children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemePicker, {
|
|
417
|
-
onThemeSelect: handleThemeSelection,
|
|
418
|
-
showIntroText: true,
|
|
419
|
-
helpText: "To change this later, run /theme",
|
|
420
|
-
hideEscToCancel: true,
|
|
421
|
-
skipExitHandling: true
|
|
422
|
-
}, undefined, false, undefined, this)
|
|
423
|
-
}, undefined, false, undefined, this);
|
|
424
|
-
const securityStep = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
|
|
425
|
-
flexDirection: "column",
|
|
426
|
-
gap: 1,
|
|
427
|
-
paddingLeft: 1,
|
|
428
|
-
children: [
|
|
429
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
430
|
-
bold: true,
|
|
431
|
-
children: "Security notes:"
|
|
432
|
-
}, undefined, false, undefined, this),
|
|
433
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
|
|
434
|
-
flexDirection: "column",
|
|
435
|
-
width: 70,
|
|
436
|
-
children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(OrderedList, {
|
|
437
|
-
children: [
|
|
438
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(OrderedList.Item, {
|
|
439
|
-
children: [
|
|
440
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
441
|
-
children: "Claude can make mistakes"
|
|
442
|
-
}, undefined, false, undefined, this),
|
|
443
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
444
|
-
dimColor: true,
|
|
445
|
-
wrap: "wrap",
|
|
446
|
-
children: [
|
|
447
|
-
"You should always review Claude's responses, especially when",
|
|
448
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
449
|
-
"running code.",
|
|
450
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Newline, {}, undefined, false, undefined, this)
|
|
451
|
-
]
|
|
452
|
-
}, undefined, true, undefined, this)
|
|
453
|
-
]
|
|
454
|
-
}, undefined, true, undefined, this),
|
|
455
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(OrderedList.Item, {
|
|
456
|
-
children: [
|
|
457
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
458
|
-
children: "Due to prompt injection risks, only use it with code you trust"
|
|
459
|
-
}, undefined, false, undefined, this),
|
|
460
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
461
|
-
dimColor: true,
|
|
462
|
-
wrap: "wrap",
|
|
463
|
-
children: [
|
|
464
|
-
"For more details see:",
|
|
465
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
466
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Link, {
|
|
467
|
-
url: "https://code.claude.com/docs/en/security"
|
|
468
|
-
}, undefined, false, undefined, this)
|
|
469
|
-
]
|
|
470
|
-
}, undefined, true, undefined, this)
|
|
471
|
-
]
|
|
472
|
-
}, undefined, true, undefined, this)
|
|
473
|
-
]
|
|
474
|
-
}, undefined, true, undefined, this)
|
|
475
|
-
}, undefined, false, undefined, this),
|
|
476
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(PressEnterToContinue, {}, undefined, false, undefined, this)
|
|
477
|
-
]
|
|
478
|
-
}, undefined, true, undefined, this);
|
|
479
|
-
const preflightStep = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(PreflightStep, {
|
|
480
|
-
onSuccess: goToNextStep
|
|
481
|
-
}, undefined, false, undefined, this);
|
|
482
|
-
const apiKeyNeedingApproval = import_react4.useMemo(() => {
|
|
483
|
-
if (!process.env.ANTHROPIC_API_KEY || isRunningOnHomespace()) {
|
|
484
|
-
return "";
|
|
485
|
-
}
|
|
486
|
-
const customApiKeyTruncated = normalizeApiKeyForConfig(process.env.ANTHROPIC_API_KEY);
|
|
487
|
-
if (getCustomApiKeyStatus(customApiKeyTruncated) === "new") {
|
|
488
|
-
return customApiKeyTruncated;
|
|
489
|
-
}
|
|
490
|
-
}, []);
|
|
491
|
-
function handleApiKeyDone(approved) {
|
|
492
|
-
if (approved) {
|
|
493
|
-
setSkipOAuth(true);
|
|
494
|
-
}
|
|
495
|
-
goToNextStep();
|
|
496
|
-
}
|
|
497
|
-
const steps = [];
|
|
498
|
-
if (oauthEnabled) {
|
|
499
|
-
steps.push({ id: "preflight", component: preflightStep });
|
|
500
|
-
}
|
|
501
|
-
steps.push({ id: "theme", component: themeStep });
|
|
502
|
-
if (apiKeyNeedingApproval) {
|
|
503
|
-
steps.push({
|
|
504
|
-
id: "api-key",
|
|
505
|
-
component: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ApproveApiKey, {
|
|
506
|
-
customApiKeyTruncated: apiKeyNeedingApproval,
|
|
507
|
-
onDone: handleApiKeyDone
|
|
508
|
-
}, undefined, false, undefined, this)
|
|
509
|
-
});
|
|
510
|
-
}
|
|
511
|
-
if (oauthEnabled) {
|
|
512
|
-
steps.push({
|
|
513
|
-
id: "oauth",
|
|
514
|
-
component: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(SkippableStep, {
|
|
515
|
-
skip: skipOAuth,
|
|
516
|
-
onSkip: goToNextStep,
|
|
517
|
-
children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ConsoleOAuthFlow, {
|
|
518
|
-
onDone: goToNextStep
|
|
519
|
-
}, undefined, false, undefined, this)
|
|
520
|
-
}, undefined, false, undefined, this)
|
|
521
|
-
});
|
|
522
|
-
}
|
|
523
|
-
steps.push({ id: "security", component: securityStep });
|
|
524
|
-
if (shouldOfferTerminalSetup()) {
|
|
525
|
-
steps.push({
|
|
526
|
-
id: "terminal-setup",
|
|
527
|
-
component: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
|
|
528
|
-
flexDirection: "column",
|
|
529
|
-
gap: 1,
|
|
530
|
-
paddingLeft: 1,
|
|
531
|
-
children: [
|
|
532
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
533
|
-
bold: true,
|
|
534
|
-
children: "Use Claude Code's terminal setup?"
|
|
535
|
-
}, undefined, false, undefined, this),
|
|
536
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
|
|
537
|
-
flexDirection: "column",
|
|
538
|
-
width: 70,
|
|
539
|
-
gap: 1,
|
|
540
|
-
children: [
|
|
541
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
542
|
-
children: [
|
|
543
|
-
"For the optimal coding experience, enable the recommended settings",
|
|
544
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
545
|
-
"for your terminal:",
|
|
546
|
-
" ",
|
|
547
|
-
env.terminal === "Apple_Terminal" ? "Option+Enter for newlines and visual bell" : "Shift+Enter for newlines"
|
|
548
|
-
]
|
|
549
|
-
}, undefined, true, undefined, this),
|
|
550
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Select, {
|
|
551
|
-
options: [
|
|
552
|
-
{
|
|
553
|
-
label: "Yes, use recommended settings",
|
|
554
|
-
value: "install"
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
label: "No, maybe later with /terminal-setup",
|
|
558
|
-
value: "no"
|
|
559
|
-
}
|
|
560
|
-
],
|
|
561
|
-
onChange: (value) => {
|
|
562
|
-
if (value === "install") {
|
|
563
|
-
setupTerminal(theme).catch(() => {}).finally(goToNextStep);
|
|
564
|
-
} else {
|
|
565
|
-
goToNextStep();
|
|
566
|
-
}
|
|
567
|
-
},
|
|
568
|
-
onCancel: () => goToNextStep()
|
|
569
|
-
}, undefined, false, undefined, this),
|
|
570
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
571
|
-
dimColor: true,
|
|
572
|
-
children: exitState.pending ? /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(jsx_dev_runtime4.Fragment, {
|
|
573
|
-
children: [
|
|
574
|
-
"Press ",
|
|
575
|
-
exitState.keyName,
|
|
576
|
-
" again to exit"
|
|
577
|
-
]
|
|
578
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(jsx_dev_runtime4.Fragment, {
|
|
579
|
-
children: "Enter to confirm \xB7 Esc to skip"
|
|
580
|
-
}, undefined, false, undefined, this)
|
|
581
|
-
}, undefined, false, undefined, this)
|
|
582
|
-
]
|
|
583
|
-
}, undefined, true, undefined, this)
|
|
584
|
-
]
|
|
585
|
-
}, undefined, true, undefined, this)
|
|
586
|
-
});
|
|
587
|
-
}
|
|
588
|
-
const currentStep = steps[currentStepIndex];
|
|
589
|
-
const handleSecurityContinue = import_react4.useCallback(() => {
|
|
590
|
-
if (currentStepIndex === steps.length - 1) {
|
|
591
|
-
onDone();
|
|
592
|
-
} else {
|
|
593
|
-
goToNextStep();
|
|
594
|
-
}
|
|
595
|
-
}, [currentStepIndex, steps.length, oauthEnabled, onDone]);
|
|
596
|
-
const handleTerminalSetupSkip = import_react4.useCallback(() => {
|
|
597
|
-
goToNextStep();
|
|
598
|
-
}, [currentStepIndex, steps.length, oauthEnabled, onDone]);
|
|
599
|
-
useKeybindings({
|
|
600
|
-
"confirm:yes": handleSecurityContinue
|
|
601
|
-
}, {
|
|
602
|
-
context: "Confirmation",
|
|
603
|
-
isActive: currentStep?.id === "security"
|
|
604
|
-
});
|
|
605
|
-
useKeybindings({
|
|
606
|
-
"confirm:no": handleTerminalSetupSkip
|
|
607
|
-
}, {
|
|
608
|
-
context: "Confirmation",
|
|
609
|
-
isActive: currentStep?.id === "terminal-setup"
|
|
610
|
-
});
|
|
611
|
-
return /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
|
|
612
|
-
flexDirection: "column",
|
|
613
|
-
children: [
|
|
614
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(WelcomeV2, {}, undefined, false, undefined, this),
|
|
615
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
|
|
616
|
-
flexDirection: "column",
|
|
617
|
-
marginTop: 1,
|
|
618
|
-
children: [
|
|
619
|
-
currentStep?.component,
|
|
620
|
-
exitState.pending && /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
|
|
621
|
-
padding: 1,
|
|
622
|
-
children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
623
|
-
dimColor: true,
|
|
624
|
-
children: [
|
|
625
|
-
"Press ",
|
|
626
|
-
exitState.keyName,
|
|
627
|
-
" again to exit"
|
|
628
|
-
]
|
|
629
|
-
}, undefined, true, undefined, this)
|
|
630
|
-
}, undefined, false, undefined, this)
|
|
631
|
-
]
|
|
632
|
-
}, undefined, true, undefined, this)
|
|
633
|
-
]
|
|
634
|
-
}, undefined, true, undefined, this);
|
|
635
|
-
}
|
|
636
|
-
function SkippableStep({
|
|
637
|
-
skip,
|
|
638
|
-
onSkip,
|
|
639
|
-
children
|
|
640
|
-
}) {
|
|
641
|
-
import_react4.useEffect(() => {
|
|
642
|
-
if (skip) {
|
|
643
|
-
onSkip();
|
|
644
|
-
}
|
|
645
|
-
}, [skip, onSkip]);
|
|
646
|
-
if (skip) {
|
|
647
|
-
return null;
|
|
648
|
-
}
|
|
649
|
-
return children;
|
|
650
|
-
}
|
|
651
|
-
export {
|
|
652
|
-
SkippableStep,
|
|
653
|
-
Onboarding
|
|
654
|
-
};
|