@opencode/core 0.0.0-dev-19282 → 0.0.0-dev-19284
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/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{bus-e8bm4rm7.js → pty-04b6k755.js} +11 -11
- package/dist/chunks/{bus-p72z5xx6.js → pty-0531sp94.js} +2 -2
- package/dist/chunks/{bus-zmgyev29.js → pty-0b0xam7s.js} +26 -26
- package/dist/chunks/{bus-1dfhrqqs.js → pty-0hpxrkyb.js} +5 -5
- package/dist/chunks/{bus-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{bus-0e6zaxnc.js → pty-0v9511cz.js} +4 -4
- package/dist/chunks/{bus-35s1r081.js → pty-0xxge0pj.js} +8 -8
- package/dist/chunks/{bus-750rpxws.js → pty-0y9djfvb.js} +3 -3
- package/dist/chunks/{bus-kfxc74n2.js → pty-101th954.js} +24 -24
- package/dist/chunks/{bus-t9atnbvs.js → pty-113zqzxk.js} +27 -27
- package/dist/chunks/{bus-gsy9mqvk.js → pty-12y94dz0.js} +11 -11
- package/dist/chunks/{bus-0tm0kv5t.js → pty-13egd5dp.js} +22 -22
- package/dist/chunks/{bus-27rw376c.js → pty-1ayhfk3a.js} +76 -76
- package/dist/chunks/{bus-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-2ee18q3c.js → pty-1dtagjcf.js} +11 -11
- package/dist/chunks/{bus-yn80fmw6.js → pty-1k9r8ajs.js} +21 -21
- package/dist/chunks/{bus-1g0hxw53.js → pty-1katgxgp.js} +36 -36
- package/dist/chunks/{bus-yms512cs.js → pty-1r92xkdd.js} +11 -11
- package/dist/chunks/{bus-edsk2t6a.js → pty-1tq5sqwa.js} +9 -9
- package/dist/chunks/{bus-wmshdsxh.js → pty-1tr2mxv2.js} +15 -15
- package/dist/chunks/{bus-fw00bc85.js → pty-1vx4skf5.js} +26 -26
- package/dist/chunks/{bus-56gdpj1q.js → pty-1ygqh575.js} +9 -9
- package/dist/chunks/{bus-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{bus-6h73sxmp.js → pty-2402vzrj.js} +5 -5
- package/dist/chunks/{bus-9ffmp1f5.js → pty-28v53sff.js} +10 -10
- package/dist/chunks/{bus-z63w68vq.js → pty-29x78va6.js} +6 -6
- package/dist/chunks/{bus-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-58mjts13.js → pty-2caq6pqh.js} +22 -22
- package/dist/chunks/{bus-c78bbtc9.js → pty-2f0bjgcj.js} +5 -5
- package/dist/chunks/{bus-r1mjw3sd.js → pty-2h21rrjx.js} +20 -20
- package/dist/chunks/{bus-kz255f3e.js → pty-2n7rzc9a.js} +6 -6
- package/dist/chunks/{bus-ntazn48k.js → pty-2wzvf4j2.js} +83 -83
- package/dist/chunks/{bus-dc76j9wz.js → pty-36yjp8yh.js} +8 -8
- package/dist/chunks/{bus-k0h28rmr.js → pty-3c2gg74p.js} +17 -17
- package/dist/chunks/{bus-gdvy8fx6.js → pty-3fc6dm20.js} +4 -4
- package/dist/chunks/{bus-wjc2s1ba.js → pty-3gr3tgnk.js} +26 -26
- package/dist/chunks/{bus-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3fvkbj1e.js → pty-3r153z9p.js} +45 -45
- package/dist/chunks/{bus-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-jkvdn3cn.js → pty-3xfh4yeh.js} +35 -35
- package/dist/chunks/{bus-nk7ds145.js → pty-3yyqtq1k.js} +20 -20
- package/dist/chunks/{bus-49t4jawx.js → pty-48jnmw64.js} +16 -16
- package/dist/chunks/{bus-nx25f60x.js → pty-4ahbs3kp.js} +11 -11
- package/dist/chunks/{bus-zc9t3nk1.js → pty-4f90fc6p.js} +22 -22
- package/dist/chunks/{bus-6ez8fd9t.js → pty-52fdmm22.js} +58 -58
- package/dist/chunks/{bus-kj0cw3p7.js → pty-53datcyd.js} +29 -29
- package/dist/chunks/{bus-yxfbxqnd.js → pty-595vq8s1.js} +16 -16
- package/dist/chunks/{bus-jzvr1g73.js → pty-5b8sybsb.js} +15 -15
- package/dist/chunks/{bus-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-92fxycsj.js → pty-5eypht73.js} +142 -142
- package/dist/chunks/{bus-w3seh447.js → pty-5gpsw6jk.js} +26 -26
- package/dist/chunks/{bus-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-gezb754f.js → pty-604mgw0e.js} +11 -11
- package/dist/chunks/{bus-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{bus-gcx2w7qz.js → pty-6e6v2scb.js} +20 -20
- package/dist/chunks/{bus-gsx0ryk4.js → pty-6jnybvqn.js} +9 -9
- package/dist/chunks/{bus-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-3sx2gfrt.js → pty-6rgk4ym7.js} +30 -30
- package/dist/chunks/{bus-qaed280k.js → pty-6tfkz8mw.js} +9 -9
- package/dist/chunks/{bus-8e0dmvmv.js → pty-70vxa6pp.js} +12 -12
- package/dist/chunks/{bus-xfbp7vg3.js → pty-7108e3wm.js} +25 -25
- package/dist/chunks/{bus-71q4at8m.js → pty-71q4at8m.js} +1 -1
- package/dist/chunks/{bus-mvfsc1pv.js → pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{bus-01nje3d7.js → pty-7bfxxbhh.js} +6 -6
- package/dist/chunks/{bus-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-e406nj4k.js → pty-7d0zm79z.js} +6 -6
- package/dist/chunks/{bus-at3ejqj0.js → pty-7f7j5aqq.js} +10 -10
- package/dist/chunks/{bus-9v7msvga.js → pty-7kn1pjxe.js} +11 -11
- package/dist/chunks/{bus-gwp5w4wb.js → pty-7nfgfjsm.js} +6 -6
- package/dist/chunks/{bus-ve2nztfh.js → pty-7t0ps460.js} +10 -10
- package/dist/chunks/{bus-ekxn0p07.js → pty-7wabxp46.js} +18 -18
- package/dist/chunks/{bus-0gaj4617.js → pty-7yqjxrmz.js} +4 -4
- package/dist/chunks/{bus-81swgkk7.js → pty-81swgkk7.js} +2 -2
- package/dist/chunks/{bus-749mk3f5.js → pty-84c1s7yv.js} +25 -25
- package/dist/chunks/{bus-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-mnrz82hq.js → pty-8dk8azxs.js} +3 -3
- package/dist/chunks/{bus-6b30g155.js → pty-8gpb4ajr.js} +17 -17
- package/dist/chunks/{bus-csec5e4m.js → pty-8kqe18cf.js} +9 -9
- package/dist/chunks/{bus-zfaxcb8h.js → pty-8nqvx115.js} +4 -4
- package/dist/chunks/{bus-8p4f9s12.js → pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{bus-jvq7qv7z.js → pty-8tfpvtr7.js} +28 -28
- package/dist/chunks/{bus-fa0cr6zp.js → pty-8xyemkvq.js} +3 -3
- package/dist/chunks/{bus-31nc7ye1.js → pty-913yfcff.js} +18 -18
- package/dist/chunks/{bus-rgdf5anz.js → pty-92c83kr3.js} +13 -13
- package/dist/chunks/{bus-j4zenrww.js → pty-9ex99xm7.js} +7 -7
- package/dist/chunks/{bus-2f04pwep.js → pty-9ky66zz9.js} +3 -3
- package/dist/chunks/{bus-sqevgg1x.js → pty-9nepbqpa.js} +6 -6
- package/dist/chunks/{bus-rpsfnwf3.js → pty-9qrd0ade.js} +39 -39
- package/dist/chunks/{bus-1pv26y79.js → pty-9txcanwf.js} +31 -31
- package/dist/chunks/{bus-a1bz86dw.js → pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{bus-anhc60mz.js → pty-a2fmrcfx.js} +4 -4
- package/dist/chunks/{bus-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-n0xr8ydk.js → pty-ah0499c8.js} +30 -30
- package/dist/chunks/{bus-4mjzz0d5.js → pty-ahz4xwhq.js} +25 -25
- package/dist/chunks/{bus-n8acapy8.js → pty-ajnpj862.js} +6 -6
- package/dist/chunks/{bus-15qsbqmq.js → pty-anj7ja7x.js} +18 -18
- package/dist/chunks/{bus-19vf66h0.js → pty-at5d07az.js} +4 -4
- package/dist/chunks/{bus-cptd71b8.js → pty-at7vj8xg.js} +285 -285
- package/dist/chunks/{bus-3fqa324q.js → pty-aynpr8ab.js} +20 -20
- package/dist/chunks/{bus-jny78evx.js → pty-azc0fw06.js} +47 -47
- package/dist/chunks/{bus-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-bha4atvq.js → pty-bajakh74.js} +4 -4
- package/dist/chunks/{bus-w1k39n5e.js → pty-bccb6npm.js} +4 -4
- package/dist/chunks/{bus-91ewnwxd.js → pty-bd2sx3rh.js} +19 -19
- package/dist/chunks/{bus-jmvyb28c.js → pty-bf9a8ejx.js} +15 -15
- package/dist/chunks/{bus-5hk4b2g6.js → pty-bh0zzf2s.js} +8 -8
- package/dist/chunks/{bus-rvyv87x2.js → pty-by885ras.js} +4 -4
- package/dist/chunks/{bus-527n8bmw.js → pty-byz24ksx.js} +25 -25
- package/dist/chunks/{bus-2gqyg9n5.js → pty-c1ayfejr.js} +17 -17
- package/dist/chunks/{bus-t9dh7k1x.js → pty-c1zrx13f.js} +12 -12
- package/dist/chunks/{bus-gdvdcvqc.js → pty-c4jwsn70.js} +14 -14
- package/dist/chunks/{bus-cvb05pnf.js → pty-cajdsvab.js} +16 -16
- package/dist/chunks/{bus-j5208yae.js → pty-cf3tj770.js} +4 -4
- package/dist/chunks/{bus-cfpkc3c9.js → pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{bus-gxnpxzy4.js → pty-cq79sjzr.js} +28 -28
- package/dist/chunks/{bus-0w62qmxp.js → pty-cte9ap30.js} +8 -8
- package/dist/chunks/{bus-93495grw.js → pty-cy209589.js} +7 -7
- package/dist/chunks/{bus-zpp4pmky.js → pty-d4e3xrxv.js} +8 -8
- package/dist/chunks/{bus-111gxffx.js → pty-dcmqyx64.js} +6 -6
- package/dist/chunks/{bus-9j23snw0.js → pty-dm7hx1w0.js} +13 -13
- package/dist/chunks/{bus-y71avatq.js → pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{bus-dgj0dq1g.js → pty-dv1qgsyq.js} +8 -8
- package/dist/chunks/{bus-f5ckxc6k.js → pty-dw85xzsy.js} +10 -10
- package/dist/chunks/{bus-qr92006n.js → pty-dxt59c3z.js} +11 -11
- package/dist/chunks/{bus-fjta8say.js → pty-e2ryeqwt.js} +20 -20
- package/dist/chunks/{bus-8madsdx3.js → pty-e430r8zt.js} +11 -11
- package/dist/chunks/{bus-3r5z9a2m.js → pty-e6eyn984.js} +20 -20
- package/dist/chunks/{bus-kycn6yts.js → pty-edafkgj2.js} +6 -6
- package/dist/chunks/{bus-vwqs12jy.js → pty-ee3krkrp.js} +15 -15
- package/dist/chunks/{bus-095cpp92.js → pty-eegqa8a9.js} +33 -33
- package/dist/chunks/{bus-5kx2m9j7.js → pty-ef87s1j5.js} +11 -11
- package/dist/chunks/{bus-1qfm9ec4.js → pty-efhysqvt.js} +3 -3
- package/dist/chunks/{bus-4etzfxb1.js → pty-egb2azzx.js} +26 -26
- package/dist/chunks/{bus-jdmm99th.js → pty-ehvxp5zp.js} +10 -10
- package/dist/chunks/{bus-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-x8d28zyr.js → pty-evp6550k.js} +18 -18
- package/dist/chunks/{bus-wccq2216.js → pty-f6h7dvp6.js} +7 -7
- package/dist/chunks/{bus-f828m53h.js → pty-f828m53h.js} +2 -2
- package/dist/chunks/{bus-d2aac7k2.js → pty-f90chkmn.js} +5 -5
- package/dist/chunks/{bus-7dqw4kz8.js → pty-fcrkznn8.js} +5 -5
- package/dist/chunks/{bus-hpd8f1qh.js → pty-fn6h20rm.js} +4 -4
- package/dist/chunks/{bus-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-abqnwdt9.js → pty-gdm9bc2g.js} +33 -33
- package/dist/chunks/{bus-d21tpfeg.js → pty-gke4hfak.js} +11 -11
- package/dist/chunks/{bus-kxxjg53x.js → pty-gmesheqj.js} +64 -64
- package/dist/chunks/{bus-n7myrqvg.js → pty-gq4yt5d9.js} +8 -8
- package/dist/chunks/{bus-b66t5cb8.js → pty-gy4xd5ae.js} +7 -7
- package/dist/chunks/{bus-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{bus-t9e6e84n.js → pty-h457z9c3.js} +1 -1
- package/dist/chunks/{bus-5ahfvgqs.js → pty-h6dyyfam.js} +151 -151
- package/dist/chunks/{bus-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-qte5z7bc.js → pty-hcz3zddy.js} +5 -5
- package/dist/chunks/{bus-6sg4x804.js → pty-hhqp0ev3.js} +4 -4
- package/dist/chunks/{bus-2rrdrtgw.js → pty-hjdzmzjx.js} +6 -6
- package/dist/chunks/{bus-zcrspsvn.js → pty-hn57h045.js} +4 -4
- package/dist/chunks/{bus-e47b9zhk.js → pty-hq506b09.js} +1 -1
- package/dist/chunks/{bus-3dkb1mkq.js → pty-hqp75n2j.js} +33 -33
- package/dist/chunks/pty-hr9dp009.js +4 -0
- package/dist/chunks/{bus-fjmrr6sh.js → pty-hrvd6t1f.js} +9 -9
- package/dist/chunks/{bus-hmy5m0zn.js → pty-hvw41qaw.js} +24 -24
- package/dist/chunks/{bus-1ajrde1x.js → pty-hxzmwa8h.js} +11 -11
- package/dist/chunks/{bus-50tgre74.js → pty-j08yav90.js} +20 -20
- package/dist/chunks/{bus-k0vm1vsh.js → pty-j32r0sby.js} +8 -8
- package/dist/chunks/{bus-nx8jdvz1.js → pty-j46t8cy3.js} +33 -33
- package/dist/chunks/{bus-a9ab9jmj.js → pty-j4e3jsg7.js} +5 -5
- package/dist/chunks/{bus-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-paphc93g.js → pty-j935v87r.js} +2 -2
- package/dist/chunks/{bus-vmmc4gn1.js → pty-jaxrymj1.js} +30 -30
- package/dist/chunks/{bus-41tqqwbx.js → pty-jfz1was4.js} +9 -9
- package/dist/chunks/{bus-renqy12v.js → pty-jmm88pvs.js} +11 -11
- package/dist/chunks/{bus-mykmszv9.js → pty-jn1j3vts.js} +9 -9
- package/dist/chunks/{bus-mkyh9633.js → pty-jv1xsv73.js} +43 -43
- package/dist/chunks/{bus-yrm8zfgt.js → pty-k15hmge1.js} +19 -19
- package/dist/chunks/{bus-k8ebjhqy.js → pty-k9zjg2m8.js} +15 -15
- package/dist/chunks/pty-keyh8483.js +22 -0
- package/dist/chunks/{bus-8292cgjf.js → pty-kf7bhd8x.js} +4 -4
- package/dist/chunks/{bus-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{bus-4yd2q2gq.js → pty-kke37ydq.js} +15 -15
- package/dist/chunks/{bus-0vqg61vt.js → pty-kqcsfhww.js} +20 -20
- package/dist/chunks/{bus-wk58jv74.js → pty-kt5w8vxh.js} +3 -3
- package/dist/chunks/{bus-zxgnc9zk.js → pty-m9g7kjz2.js} +1 -1
- package/dist/chunks/{bus-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-1wsj65et.js → pty-map23pr4.js} +22 -22
- package/dist/chunks/{bus-mkcjrzeh.js → pty-mkcjrzeh.js} +1 -1
- package/dist/chunks/{bus-s2pmvhcg.js → pty-mq9k5emb.js} +24 -24
- package/dist/chunks/{bus-a4r18kjz.js → pty-mqgza0s1.js} +2 -2
- package/dist/chunks/{bus-6zhe6btj.js → pty-mx6z9c2k.js} +36 -36
- package/dist/chunks/{bus-qrtv3c58.js → pty-myh2tnjz.js} +17 -17
- package/dist/chunks/{bus-m08xmbhd.js → pty-n3hdt412.js} +13 -13
- package/dist/chunks/{bus-k6gg2q9r.js → pty-n6nwjk4k.js} +16 -16
- package/dist/chunks/{bus-47gsdddb.js → pty-nhy5jxhy.js} +5 -5
- package/dist/chunks/{bus-4pc0t7v2.js → pty-nqh3n51t.js} +12 -12
- package/dist/chunks/{bus-yv5atzv7.js → pty-nts3ktd3.js} +2 -2
- package/dist/chunks/{bus-h03br4j9.js → pty-p0x0xsz0.js} +16 -16
- package/dist/chunks/{bus-ywkmcjzw.js → pty-p9e5f8hs.js} +4 -4
- package/dist/chunks/{bus-frwpyczr.js → pty-pck3w1ab.js} +4 -4
- package/dist/chunks/{bus-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{bus-0g3tnqy3.js → pty-pksqeybc.js} +22 -22
- package/dist/chunks/{bus-mctj3t5d.js → pty-pxm7ex4k.js} +11 -11
- package/dist/chunks/{bus-vyjzrkx0.js → pty-qba6esk9.js} +9 -9
- package/dist/chunks/{bus-x227z7gv.js → pty-qcbjdgb9.js} +24 -24
- package/dist/chunks/{bus-8qk9tw02.js → pty-qd417my5.js} +1 -1
- package/dist/chunks/{bus-fxdzhz3a.js → pty-qn39sdbb.js} +38 -38
- package/dist/chunks/{bus-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-0v53mg2y.js → pty-r98e92ep.js} +4 -4
- package/dist/chunks/{bus-xjr4j2j6.js → pty-rb4rdn3m.js} +43 -43
- package/dist/chunks/{bus-ahpydw3r.js → pty-rdyvw1h1.js} +33 -33
- package/dist/chunks/{bus-w81afp83.js → pty-rhq1hhdm.js} +8 -8
- package/dist/chunks/{bus-84zmkpg3.js → pty-rw861jrs.js} +46 -46
- package/dist/chunks/{bus-yrznvahk.js → pty-s4enseaf.js} +2 -2
- package/dist/chunks/{bus-p0cja4mf.js → pty-s7kwm6zm.js} +5 -5
- package/dist/chunks/{bus-k2h4r4s0.js → pty-s8j6jbjj.js} +21 -21
- package/dist/chunks/{bus-2z7mxnbp.js → pty-sedetxkq.js} +26 -26
- package/dist/chunks/{bus-8ey7957k.js → pty-sjnbwgen.js} +13 -13
- package/dist/chunks/{bus-brzgr68a.js → pty-sthxgr5k.js} +22 -22
- package/dist/chunks/{bus-0ch8tq9c.js → pty-sv2dresp.js} +11 -11
- package/dist/chunks/{bus-xkvztyjm.js → pty-sxam9rt0.js} +4 -4
- package/dist/chunks/{bus-rfnzy394.js → pty-t23qze4t.js} +1 -1
- package/dist/chunks/{bus-e39t2h66.js → pty-t2vdd8h0.js} +14 -14
- package/dist/chunks/{bus-eaj1djv9.js → pty-t550f9t1.js} +8 -8
- package/dist/chunks/{bus-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{bus-knth1fvs.js → pty-tffb36pg.js} +14 -14
- package/dist/chunks/{bus-gv6a8nnw.js → pty-th5km1p3.js} +5 -5
- package/dist/chunks/{bus-xtx0ppn2.js → pty-tt7t6gfm.js} +13 -13
- package/dist/chunks/{bus-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-7s03h6w8.js → pty-vewreb7k.js} +18 -18
- package/dist/chunks/pty-vnkjks7b.js +18 -0
- package/dist/chunks/{bus-vn9qcck8.js → pty-vp5s6n4v.js} +32 -32
- package/dist/chunks/{bus-2vgzs72b.js → pty-vrpz8t5t.js} +5 -5
- package/dist/chunks/{bus-arcj627b.js → pty-vxdaz8vr.js} +3 -3
- package/dist/chunks/{bus-1w4paq8s.js → pty-vy69nfyt.js} +26 -26
- package/dist/chunks/{bus-atw9v79g.js → pty-vyyqyr61.js} +21 -21
- package/dist/chunks/{bus-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-9qn3qky1.js → pty-vzrnynxw.js} +8 -8
- package/dist/chunks/{bus-wmbchhnn.js → pty-w31q4z5a.js} +11 -11
- package/dist/chunks/{bus-5fm2rry0.js → pty-w3ent86v.js} +10 -10
- package/dist/chunks/{bus-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{bus-nnmhqe7b.js → pty-wfeey21d.js} +14 -14
- package/dist/chunks/{bus-tfym5c4x.js → pty-wg42tg3h.js} +4 -4
- package/dist/chunks/{bus-whbvmyya.js → pty-wm0z4180.js} +23 -23
- package/dist/chunks/{bus-nnchxen3.js → pty-wm433qqz.js} +43 -43
- package/dist/chunks/{bus-zardaqg6.js → pty-wp2qtysx.js} +12 -12
- package/dist/chunks/{bus-0khbs0qs.js → pty-wwrx56v5.js} +3 -3
- package/dist/chunks/{bus-nw2nz702.js → pty-x0511brf.js} +4 -4
- package/dist/chunks/{bus-zq6w5y0q.js → pty-x0yh80ry.js} +13 -13
- package/dist/chunks/{bus-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-x43y2vfs.js → pty-x43y2vfs.js} +2 -2
- package/dist/chunks/{bus-xxcpn45b.js → pty-x4kntfbn.js} +23 -23
- package/dist/chunks/{bus-pf6z3403.js → pty-xc71xt00.js} +5 -5
- package/dist/chunks/{bus-710w2ech.js → pty-xfxn6gek.js} +1 -1
- package/dist/chunks/{bus-vgjt9c5s.js → pty-xsasmzga.js} +5 -5
- package/dist/chunks/{bus-y8qpbdny.js → pty-xt97pgbp.js} +7 -7
- package/dist/chunks/{bus-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-y7whqpt3.js → pty-y37t65q2.js} +10 -10
- package/dist/chunks/{bus-s7xtjryh.js → pty-y49qrr0k.js} +1 -1
- package/dist/chunks/{bus-xhmq8qgk.js → pty-y56ehv6b.js} +5 -5
- package/dist/chunks/{bus-z9e6b7he.js → pty-y65x3qsm.js} +5 -5
- package/dist/chunks/{bus-k7d0894y.js → pty-ye323zqv.js} +9 -9
- package/dist/chunks/{bus-yp2x3t23.js → pty-yp2x3t23.js} +1 -1
- package/dist/chunks/{bus-5cry39zx.js → pty-yrc26zmc.js} +21 -21
- package/dist/chunks/{bus-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-ffx4mq6v.js → pty-z33n7yxw.js} +1 -1
- package/dist/chunks/{bus-c2q1mjgh.js → pty-z5p19pf1.js} +8 -8
- package/dist/chunks/{bus-ve6nm2s5.js → pty-zcqf6png.js} +6 -6
- package/dist/chunks/{bus-zex37ywk.js → pty-ze5v0a14.js} +8 -8
- package/dist/chunks/{bus-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-mm6hcqyy.js → pty-zmh1pv5f.js} +13 -13
- package/dist/chunks/{bus-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-kdc4anf3.js → pty-zwv60398.js} +2 -2
- package/dist/chunks/{bus-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{bus-qdd4vj03.js → pty-zy5ev4j8.js} +18 -18
- package/dist/chunks/{bus-5kxxz5p9.js → pty-zyzh87z1.js} +15 -15
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +113 -113
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +78 -78
- package/dist/generate.js +87 -87
- package/dist/git.js +3 -3
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +109 -109
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/bus-0mesazry.js +0 -4
- package/dist/chunks/bus-qc068m1q.js +0 -18
- package/dist/chunks/bus-ypn041zc.js +0 -22
- /package/dist/chunks/{bus-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-kf7bhd8x.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service73,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node78,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info30 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError5 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service73 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer25 = Layer.effect(Service73, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID15.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer22 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service73.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node78 = makeLocationNode({ service: Service73, layer: layer25, deps: [node84] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service73, layer25, node78, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-kf7bhd8x.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event6,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info6,
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Service: () => Service46,
|
|
21
|
+
layer: () => layer19,
|
|
22
|
+
node: () => node49
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event6 } from "@opencode/schema/command";
|
|
28
|
+
var Info6 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service46 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer19 = Layer.effect(Service46, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service79;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer23 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info6.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service46.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer23 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node49 = makeLocationNode({
|
|
75
|
+
service: Service46,
|
|
76
|
+
layer: layer19,
|
|
77
77
|
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info6, NotFoundError4, ExecutionError2, Service46, layer19, node49, exports_command4, Event6 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID14,
|
|
10
|
+
Info: () => Info29,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
|
-
Request: () =>
|
|
13
|
+
Request: () => Request3,
|
|
14
14
|
Settings: () => Settings2,
|
|
15
15
|
aisdk: () => aisdk2,
|
|
16
16
|
isAISDK: () => isAISDK2,
|
|
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
|
|
|
23
23
|
import { Provider } from "@opencode/schema/provider";
|
|
24
24
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
25
25
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
26
|
-
var
|
|
26
|
+
var ID14 = Provider.ID;
|
|
27
27
|
var AISDK_PREFIX2 = "aisdk:";
|
|
28
28
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
29
29
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -137,9 +137,9 @@ function mergeHeaders2(base, overlay) {
|
|
|
137
137
|
return result;
|
|
138
138
|
}, new Map).values());
|
|
139
139
|
}
|
|
140
|
-
var
|
|
140
|
+
var Request3 = Provider.Request;
|
|
141
141
|
var Settings2 = Provider.Settings;
|
|
142
|
-
var
|
|
142
|
+
var Info29 = Provider.Info;
|
|
143
143
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
144
144
|
const module = yield* Effect.tryPromise({
|
|
145
145
|
try: () => {
|
|
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
161
161
|
return module;
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { ID14, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info29, exports_provider3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9ky66zz9.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-ye323zqv.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-t550f9t1.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-bajakh74.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./pty-bccb6npm.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./pty-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load2,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load2 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load2, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-70vxa6pp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./pty-qn39sdbb.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-cy209589.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service68;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make8(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID13.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make8(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make6();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make6, LMStudioPlugin2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-12y94dz0.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-kf7bhd8x.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./pty-6rgk4ym7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID4,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-yrc26zmc.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID14,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-vzrnynxw.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID4.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID4.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID14.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -221,9 +221,9 @@ var OpenAIPlugin2 = define({
|
|
|
221
221
|
evt.baseURL = codexBaseURL;
|
|
222
222
|
evt.headers.originator = "opencode";
|
|
223
223
|
evt.headers["session-id"] = evt.sessionID;
|
|
224
|
-
}), { providerID:
|
|
224
|
+
}), { providerID: ID14.openai });
|
|
225
225
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
226
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID4.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
function headers(contentType, app) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./pty-nhy5jxhy.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -416,7 +416,7 @@ function make(id, optimize) {
|
|
|
416
416
|
const system = event.system[0];
|
|
417
417
|
if (!system)
|
|
418
418
|
return;
|
|
419
|
-
event.system[0] = { ...system, text:
|
|
419
|
+
event.system[0] = { ...system, text: render3(template, Object.keys(event.tools)) };
|
|
420
420
|
}).pipe(Effect.catch(() => Effect.void)));
|
|
421
421
|
})
|
|
422
422
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service76
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-nts3ktd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service17
|
|
9
|
+
} from "./pty-k9zjg2m8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service7
|
|
12
|
+
} from "./pty-cajdsvab.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service6
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-pxm7ex4k.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input4,
|
|
36
|
+
Plugin: () => Plugin17,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name4,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name4 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input4 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin17 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service6;
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
62
|
+
const access = yield* Service17;
|
|
63
|
+
const sessionInstructions = yield* Service7;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name4,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input4,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin8 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent2 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name4, Input4, Plugin17, toModelContent2, exports_read };
|