@opencode/core 0.0.0-dev-20030 → 0.0.0-dev-20033
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{snapshot-722bm5k1.js → location-mutation-0476keb0.js} +9 -9
- package/dist/chunks/{snapshot-qh76ahng.js → location-mutation-0ah1yex1.js} +5 -5
- package/dist/chunks/{snapshot-55q6v56a.js → location-mutation-0cxgwq0r.js} +10 -10
- package/dist/chunks/{snapshot-dr8h1v1j.js → location-mutation-0d3c170h.js} +24 -24
- package/dist/chunks/{snapshot-hkfg6fzm.js → location-mutation-0f9afca0.js} +5 -5
- package/dist/chunks/{snapshot-764z5t2a.js → location-mutation-0kcpwvdq.js} +38 -38
- package/dist/chunks/{snapshot-6n6t8mg1.js → location-mutation-0mbkcvfa.js} +32 -32
- package/dist/chunks/{snapshot-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{snapshot-x2rw7g36.js → location-mutation-0ryd0fps.js} +5 -5
- package/dist/chunks/{snapshot-0v53mg2y.js → location-mutation-0v53mg2y.js} +1 -1
- package/dist/chunks/{snapshot-47zbr52t.js → location-mutation-0y3tcx3y.js} +41 -41
- package/dist/chunks/{snapshot-w68r2k6h.js → location-mutation-0yxt0fzt.js} +36 -36
- package/dist/chunks/{snapshot-7v3nx88q.js → location-mutation-1126x7dj.js} +48 -48
- package/dist/chunks/{snapshot-rh7w60c5.js → location-mutation-11pdtyhd.js} +28 -28
- package/dist/chunks/{snapshot-7ve2bcyf.js → location-mutation-16nrxpzh.js} +22 -22
- package/dist/chunks/{snapshot-npgh0z08.js → location-mutation-17m5mchg.js} +44 -44
- package/dist/chunks/{snapshot-69e754gk.js → location-mutation-182ab1xk.js} +23 -23
- package/dist/chunks/{snapshot-mhkvc446.js → location-mutation-1bbkgx8g.js} +3 -3
- package/dist/chunks/{snapshot-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{snapshot-p48nv60c.js → location-mutation-1de3wz0w.js} +19 -19
- package/dist/chunks/{snapshot-26k3mmxd.js → location-mutation-1j77b7ta.js} +44 -44
- package/dist/chunks/{snapshot-b65pysqy.js → location-mutation-1nrrh40f.js} +3 -3
- package/dist/chunks/{snapshot-f5gy8qwh.js → location-mutation-1tvs79at.js} +8 -8
- package/dist/chunks/{snapshot-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{snapshot-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{snapshot-57ez7d0k.js → location-mutation-2fgn2we9.js} +9 -9
- package/dist/chunks/{snapshot-1svmzqef.js → location-mutation-2hyvpaaa.js} +186 -186
- package/dist/chunks/{snapshot-fcrkznn8.js → location-mutation-2k8khapm.js} +5 -5
- package/dist/chunks/{snapshot-zwy38s70.js → location-mutation-2k8mrmw0.js} +18 -18
- package/dist/chunks/{snapshot-as52rsn2.js → location-mutation-2rhxvkcj.js} +9 -9
- package/dist/chunks/{snapshot-cvb7j2ar.js → location-mutation-2stzdrtj.js} +16 -16
- package/dist/chunks/{snapshot-mx48q6f7.js → location-mutation-2xd2a7xt.js} +13 -13
- package/dist/chunks/{snapshot-4wp5p5rq.js → location-mutation-31axeyek.js} +52 -52
- package/dist/chunks/{snapshot-t7smn26t.js → location-mutation-3286khgb.js} +17 -17
- package/dist/chunks/{snapshot-k3d4wrk7.js → location-mutation-33ygfhj8.js} +26 -26
- package/dist/chunks/{snapshot-601rw66q.js → location-mutation-35yy44ty.js} +30 -30
- package/dist/chunks/{snapshot-sh3cnwks.js → location-mutation-3672w6ev.js} +12 -12
- package/dist/chunks/{snapshot-3fc6dm20.js → location-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-e82tdd7x.js → location-mutation-3g3mmpj3.js} +6 -6
- package/dist/chunks/{snapshot-2q6kkxxq.js → location-mutation-3hdyanjz.js} +4 -4
- package/dist/chunks/{snapshot-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-h415rfds.js → location-mutation-3m3facqp.js} +23 -23
- package/dist/chunks/{snapshot-vtf3z4ss.js → location-mutation-3pbjq009.js} +6 -6
- package/dist/chunks/{snapshot-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-z3anr71n.js → location-mutation-3tdg7zvz.js} +32 -32
- package/dist/chunks/{snapshot-k9kj6xed.js → location-mutation-3tq5qxbk.js} +4 -4
- package/dist/chunks/{snapshot-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-3zsf4n22.js → location-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{snapshot-5c299m0q.js → location-mutation-48m92b7p.js} +3 -3
- package/dist/chunks/{snapshot-rs333zy1.js → location-mutation-4aj8pjfh.js} +23 -23
- package/dist/chunks/{snapshot-6xnxq4m8.js → location-mutation-4k2tzc3x.js} +14 -14
- package/dist/chunks/{snapshot-k4wvtnxa.js → location-mutation-4kcqhn4d.js} +5 -5
- package/dist/chunks/{snapshot-z8639w91.js → location-mutation-4v1st6vt.js} +16 -16
- package/dist/chunks/{snapshot-rsxykv2p.js → location-mutation-55jzxn1z.js} +14 -14
- package/dist/chunks/{snapshot-1ygqh575.js → location-mutation-56gdpj1q.js} +9 -9
- package/dist/chunks/{snapshot-xfkkasph.js → location-mutation-57b9ws8p.js} +7 -7
- package/dist/chunks/{snapshot-2nwh4zjr.js → location-mutation-5a6sb5aa.js} +23 -23
- package/dist/chunks/{snapshot-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{snapshot-5ekn9679.js → location-mutation-5ekn9679.js} +1 -1
- package/dist/chunks/{snapshot-5rhvvwjg.js → location-mutation-5mg79ja1.js} +20 -20
- package/dist/chunks/{snapshot-h6r3nrb9.js → location-mutation-5mtzsd3b.js} +4 -4
- package/dist/chunks/{snapshot-gzh0eb8j.js → location-mutation-5sgg7bt6.js} +15 -15
- package/dist/chunks/{snapshot-c2x9fe08.js → location-mutation-5sgqv57k.js} +20 -20
- package/dist/chunks/{snapshot-e58zfr0z.js → location-mutation-5ss3w5rs.js} +47 -47
- package/dist/chunks/{snapshot-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{snapshot-kbqjrca6.js → location-mutation-5vhjg0x8.js} +10 -10
- package/dist/chunks/{snapshot-qr4n1n51.js → location-mutation-5xk7vzw2.js} +24 -24
- package/dist/chunks/{snapshot-wavy99wc.js → location-mutation-61bj6qxp.js} +9 -9
- package/dist/chunks/{snapshot-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/{snapshot-pf5amn4b.js → location-mutation-66axxmz4.js} +9 -9
- package/dist/chunks/{snapshot-5a22swag.js → location-mutation-6b00zg80.js} +5 -5
- package/dist/chunks/{snapshot-r6xcm8s4.js → location-mutation-6c9gw431.js} +14 -14
- package/dist/chunks/{snapshot-rj81hrpq.js → location-mutation-6cfhdf3e.js} +35 -35
- package/dist/chunks/{snapshot-2ak4dr91.js → location-mutation-6efns8wf.js} +11 -11
- package/dist/chunks/{snapshot-2402vzrj.js → location-mutation-6h73sxmp.js} +5 -5
- package/dist/chunks/{snapshot-2z3mfw9z.js → location-mutation-6hv36207.js} +13 -13
- package/dist/chunks/{snapshot-fmzx7afd.js → location-mutation-6jwa23mg.js} +13 -13
- package/dist/chunks/{snapshot-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{snapshot-btj1e51e.js → location-mutation-6pnqrt06.js} +16 -16
- package/dist/chunks/{snapshot-pdvt449s.js → location-mutation-6wchzsn4.js} +73 -73
- package/dist/chunks/{snapshot-1grbbkds.js → location-mutation-6wxcm30k.js} +15 -15
- package/dist/chunks/{snapshot-ar08adk5.js → location-mutation-77y6kpgx.js} +5 -5
- package/dist/chunks/{snapshot-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-xv6t57yc.js → location-mutation-7q1xd1t5.js} +13 -13
- package/dist/chunks/{snapshot-at1kfnmk.js → location-mutation-7s451enq.js} +8 -8
- package/dist/chunks/{snapshot-6bsje7ws.js → location-mutation-7w99qc9d.js} +3 -3
- package/dist/chunks/{snapshot-ss2695sz.js → location-mutation-89rqwv2a.js} +25 -25
- package/dist/chunks/{snapshot-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{snapshot-s39k9fa5.js → location-mutation-8g2e475e.js} +11 -11
- package/dist/chunks/{snapshot-a9r7taa5.js → location-mutation-8zh96sms.js} +28 -28
- package/dist/chunks/{snapshot-6m32j7gw.js → location-mutation-9321mna9.js} +3 -3
- package/dist/chunks/{snapshot-rhxvs2d4.js → location-mutation-93tmgf40.js} +20 -20
- package/dist/chunks/{snapshot-zc1716vc.js → location-mutation-9447eybt.js} +11 -11
- package/dist/chunks/{snapshot-94ek1h2f.js → location-mutation-94ek1h2f.js} +2 -2
- package/dist/chunks/{snapshot-hs7e0j5x.js → location-mutation-954axgpr.js} +10 -10
- package/dist/chunks/{snapshot-cr0epd3b.js → location-mutation-9eqsn0d4.js} +24 -24
- package/dist/chunks/{snapshot-f4zbrtg8.js → location-mutation-9pxc51yt.js} +29 -29
- package/dist/chunks/{snapshot-4c070755.js → location-mutation-9xnycm3j.js} +2 -2
- package/dist/chunks/{snapshot-gdq1wzkg.js → location-mutation-a222jf67.js} +18 -18
- package/dist/chunks/{snapshot-jjwr2adn.js → location-mutation-a2k1swm6.js} +6 -6
- package/dist/chunks/{snapshot-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{snapshot-gmx5hwcv.js → location-mutation-afrtgck4.js} +4 -4
- package/dist/chunks/{snapshot-a4vsphfm.js → location-mutation-ajzq7epc.js} +7 -7
- package/dist/chunks/{snapshot-sf0yp864.js → location-mutation-ak9msbxp.js} +6 -6
- package/dist/chunks/{snapshot-vfx1g0jc.js → location-mutation-b0e2gp5s.js} +12 -12
- package/dist/chunks/{snapshot-prgk16s2.js → location-mutation-b0mxsgtx.js} +33 -33
- package/dist/chunks/{snapshot-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{snapshot-51fa1qxd.js → location-mutation-babhbb0e.js} +14 -14
- package/dist/chunks/{snapshot-cwh1ykm4.js → location-mutation-bqnpx25c.js} +16 -16
- package/dist/chunks/{snapshot-82ecpvtr.js → location-mutation-c0vkr8fz.js} +27 -27
- package/dist/chunks/{snapshot-jtkwk4gb.js → location-mutation-c451a391.js} +27 -27
- package/dist/chunks/{snapshot-g6w0fa2e.js → location-mutation-c59wch7e.js} +32 -32
- package/dist/chunks/{snapshot-mgfg3xvp.js → location-mutation-c5dgc1kz.js} +11 -11
- package/dist/chunks/{snapshot-hfbmyrxh.js → location-mutation-cdxhvz31.js} +18 -18
- package/dist/chunks/{snapshot-ckecvw8r.js → location-mutation-ckecvw8r.js} +2 -2
- package/dist/chunks/{snapshot-dxpm2mzg.js → location-mutation-cp36jwmw.js} +24 -24
- package/dist/chunks/{snapshot-2d57kztd.js → location-mutation-cpy6gm2a.js} +6 -6
- package/dist/chunks/{snapshot-yedjkhvm.js → location-mutation-cr402dc0.js} +27 -27
- package/dist/chunks/{snapshot-c6srhy44.js → location-mutation-ctyyg58g.js} +13 -13
- package/dist/chunks/{snapshot-7jgm01sn.js → location-mutation-cwq9dvnd.js} +8 -8
- package/dist/chunks/{snapshot-0vmkj0bg.js → location-mutation-cz22139c.js} +4 -4
- package/dist/chunks/{snapshot-4wcbatk8.js → location-mutation-czmpb77b.js} +14 -14
- package/dist/chunks/{snapshot-0tmgye68.js → location-mutation-d43tgzm4.js} +9 -9
- package/dist/chunks/{snapshot-ve90vagr.js → location-mutation-d6frzvcz.js} +28 -28
- package/dist/chunks/{snapshot-w186ndtb.js → location-mutation-d8zdfjjq.js} +5 -5
- package/dist/chunks/{snapshot-wszcsa84.js → location-mutation-d9xsvaya.js} +31 -31
- package/dist/chunks/{snapshot-bt2ndnm6.js → location-mutation-ddrvd88x.js} +12 -12
- package/dist/chunks/{snapshot-m6nec9qq.js → location-mutation-dg2cj1yd.js} +4 -4
- package/dist/chunks/{snapshot-dj9sq318.js → location-mutation-dj9sq318.js} +2 -2
- package/dist/chunks/{snapshot-q9p58qae.js → location-mutation-dp1y9vyx.js} +36 -36
- package/dist/chunks/{snapshot-dpkg50ah.js → location-mutation-dpkg50ah.js} +1 -1
- package/dist/chunks/{snapshot-ndky9e3n.js → location-mutation-e9r5cz82.js} +1 -1
- package/dist/chunks/{snapshot-ex8d3qgq.js → location-mutation-ed5kq3r2.js} +22 -22
- package/dist/chunks/{snapshot-ef5x83kb.js → location-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-q090x7es.js → location-mutation-efxr34m3.js} +24 -24
- package/dist/chunks/{snapshot-m1a6ntfn.js → location-mutation-ehpz93s6.js} +4 -4
- package/dist/chunks/{snapshot-erw5rpbs.js → location-mutation-erw5rpbs.js} +2 -2
- package/dist/chunks/{snapshot-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{snapshot-7p9t6n5c.js → location-mutation-ey46wjem.js} +22 -22
- package/dist/chunks/{snapshot-6tcepvr3.js → location-mutation-ez5dttf9.js} +18 -18
- package/dist/chunks/{snapshot-f3ngv102.js → location-mutation-f3ngv102.js} +1 -1
- package/dist/chunks/{snapshot-p6xwdr19.js → location-mutation-f7bt6hk4.js} +15 -15
- package/dist/chunks/{snapshot-edakf7cy.js → location-mutation-f9fagdg1.js} +24 -24
- package/dist/chunks/{snapshot-m2d0j7c0.js → location-mutation-fhs97t90.js} +9 -9
- package/dist/chunks/{snapshot-mcehqfzm.js → location-mutation-fqxf6ym2.js} +10 -10
- package/dist/chunks/{snapshot-dyfjs123.js → location-mutation-fx0pc3ha.js} +23 -23
- package/dist/chunks/{snapshot-b7cywk50.js → location-mutation-g2wevp18.js} +17 -17
- package/dist/chunks/{snapshot-c94p0vzs.js → location-mutation-gc3a8bv2.js} +12 -12
- package/dist/chunks/{snapshot-ny7e7z2d.js → location-mutation-gc6tpv1q.js} +8 -8
- package/dist/chunks/{snapshot-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-14a2g77m.js → location-mutation-gfngyh9n.js} +15 -15
- package/dist/chunks/{snapshot-hrgzvhqa.js → location-mutation-ghv1x119.js} +46 -46
- package/dist/chunks/{snapshot-wqkz004e.js → location-mutation-gkb45k2f.js} +7 -7
- package/dist/chunks/{snapshot-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{snapshot-21ht5ags.js → location-mutation-h5z1cdbz.js} +19 -19
- package/dist/chunks/{snapshot-x0511brf.js → location-mutation-h6jr292a.js} +4 -4
- package/dist/chunks/{snapshot-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-81xajp5a.js → location-mutation-hjsgmfqs.js} +35 -35
- package/dist/chunks/{snapshot-6ebmykms.js → location-mutation-hmvf075g.js} +27 -27
- package/dist/chunks/{snapshot-kh9sx4kg.js → location-mutation-hpfvhvya.js} +8 -8
- package/dist/chunks/{snapshot-nbpg3hpq.js → location-mutation-hsm6rg1p.js} +13 -13
- package/dist/chunks/{snapshot-byv3s7jg.js → location-mutation-hsxj0tbk.js} +28 -28
- package/dist/chunks/location-mutation-ht5y0zrb.js +18 -0
- package/dist/chunks/{snapshot-v0xhwtxj.js → location-mutation-ht7bqe9r.js} +32 -32
- package/dist/chunks/{snapshot-2tsw83gj.js → location-mutation-hv1dh0hm.js} +18 -18
- package/dist/chunks/{snapshot-n4v135yq.js → location-mutation-j4bv4cz5.js} +15 -15
- package/dist/chunks/{snapshot-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{snapshot-m3y0vspd.js → location-mutation-jdp8z0qq.js} +16 -16
- package/dist/chunks/{snapshot-prmgem5b.js → location-mutation-jhf3jymm.js} +6 -6
- package/dist/chunks/{snapshot-9wzwhfcn.js → location-mutation-k4hdfaf8.js} +5 -5
- package/dist/chunks/{snapshot-j9ty9cws.js → location-mutation-k53npxr2.js} +1 -1
- package/dist/chunks/{snapshot-phc8pspp.js → location-mutation-k9avtbwf.js} +3 -3
- package/dist/chunks/{snapshot-d7x2cfb0.js → location-mutation-kafahprb.js} +8 -8
- package/dist/chunks/{snapshot-y7z8z9pe.js → location-mutation-kcq0y1ne.js} +9 -9
- package/dist/chunks/{snapshot-zt0y4zs5.js → location-mutation-kx2eb1yn.js} +3 -3
- package/dist/chunks/{snapshot-m3fdjcah.js → location-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{snapshot-azs45ne5.js → location-mutation-m6h87r9y.js} +4 -4
- package/dist/chunks/{snapshot-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-ywc6wpt1.js → location-mutation-mmrm3n1c.js} +14 -14
- package/dist/chunks/{snapshot-7np6y5v9.js → location-mutation-mqt5419d.js} +12 -12
- package/dist/chunks/{snapshot-4hqw81ab.js → location-mutation-ms4pyb1d.js} +12 -12
- package/dist/chunks/{snapshot-5xpznt2d.js → location-mutation-mvksx64m.js} +4 -4
- package/dist/chunks/{snapshot-0vb59zmc.js → location-mutation-n3pc0es3.js} +28 -28
- package/dist/chunks/{snapshot-kbt19f78.js → location-mutation-n7xfswjm.js} +20 -20
- package/dist/chunks/{snapshot-pxdwd80t.js → location-mutation-nb36acq4.js} +31 -31
- package/dist/chunks/{snapshot-8hppf00p.js → location-mutation-ncwexr1x.js} +89 -89
- package/dist/chunks/{snapshot-ff0svapt.js → location-mutation-nng2ktcm.js} +2 -2
- package/dist/chunks/{snapshot-rmxzq7f5.js → location-mutation-nsjkyrtc.js} +5 -5
- package/dist/chunks/{snapshot-k3c624dm.js → location-mutation-nzks3jc8.js} +3 -3
- package/dist/chunks/{snapshot-ejyy1vq3.js → location-mutation-p31wwqk3.js} +19 -19
- package/dist/chunks/{snapshot-ft7whn5s.js → location-mutation-p6wzjqpv.js} +3 -3
- package/dist/chunks/{snapshot-4dhk5hft.js → location-mutation-pcsw2ems.js} +29 -29
- package/dist/chunks/{snapshot-5yzzbxa7.js → location-mutation-phstrbs2.js} +8 -8
- package/dist/chunks/{snapshot-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/location-mutation-pp7nh8fz.js +26 -0
- package/dist/chunks/{snapshot-5dp1bgzf.js → location-mutation-pr8zsjjb.js} +18 -18
- package/dist/chunks/{snapshot-vzvj8tr4.js → location-mutation-prwfk4z0.js} +3 -3
- package/dist/chunks/{snapshot-tb7yevgy.js → location-mutation-ps3q9x72.js} +4 -4
- package/dist/chunks/{snapshot-nats9h3g.js → location-mutation-q6c3sq23.js} +6 -6
- package/dist/chunks/{snapshot-qa3qhgw8.js → location-mutation-qa3qhgw8.js} +1 -1
- package/dist/chunks/{snapshot-yztvrmjb.js → location-mutation-qa9hp778.js} +17 -17
- package/dist/chunks/{snapshot-94pjr4dx.js → location-mutation-qdjrgbhx.js} +1 -1
- package/dist/chunks/{snapshot-cwa6csj7.js → location-mutation-qmqgtz8f.js} +9 -9
- package/dist/chunks/{snapshot-s8faeshr.js → location-mutation-qpd1z403.js} +29 -29
- package/dist/chunks/{snapshot-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-e6hmchc5.js → location-mutation-qte5z7bc.js} +5 -5
- package/dist/chunks/{snapshot-ehng9v5j.js → location-mutation-r0tsexjd.js} +23 -23
- package/dist/chunks/{snapshot-tqbe3jqy.js → location-mutation-r9k88yn5.js} +10 -10
- package/dist/chunks/{snapshot-m28tfe1w.js → location-mutation-rc1dmyce.js} +8 -8
- package/dist/chunks/{snapshot-rdw6cm16.js → location-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-s8d7rejh.js → location-mutation-rhjbct0v.js} +4 -4
- package/dist/chunks/{snapshot-55ygg84m.js → location-mutation-rhnpvtt2.js} +3 -3
- package/dist/chunks/{snapshot-x6pyv2yz.js → location-mutation-rmm45jmv.js} +5 -5
- package/dist/chunks/{snapshot-q6vq307s.js → location-mutation-rnnxe44a.js} +4 -4
- package/dist/chunks/location-mutation-rnznfafx.js +503 -0
- package/dist/chunks/{snapshot-7jq11kaw.js → location-mutation-rwqsxa3d.js} +56 -56
- package/dist/chunks/{snapshot-cskct7ae.js → location-mutation-s6gbna7s.js} +11 -11
- package/dist/chunks/{snapshot-6sb2wa61.js → location-mutation-sae5cjvq.js} +11 -11
- package/dist/chunks/{snapshot-r9w3djhf.js → location-mutation-sk2hk6tq.js} +9 -9
- package/dist/chunks/{snapshot-yz6jt1q7.js → location-mutation-st2v0nd0.js} +22 -22
- package/dist/chunks/{snapshot-tsszah43.js → location-mutation-syq206ry.js} +10 -10
- package/dist/chunks/{snapshot-bez6fg5x.js → location-mutation-t8yd87gs.js} +14 -14
- package/dist/chunks/{snapshot-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-tcezcvh9.js → location-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{snapshot-qzccvhz5.js → location-mutation-tdcn0t3e.js} +5 -5
- package/dist/chunks/{snapshot-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{snapshot-1e56h9we.js → location-mutation-tgg7s0qp.js} +8 -8
- package/dist/chunks/{snapshot-31t8vbzj.js → location-mutation-tkn7td33.js} +3 -3
- package/dist/chunks/{snapshot-t30cn9ds.js → location-mutation-tpmaka30.js} +11 -11
- package/dist/chunks/{snapshot-cx57cfsy.js → location-mutation-tpxy60yg.js} +6 -6
- package/dist/chunks/{snapshot-sv1e32h6.js → location-mutation-tvs85jmj.js} +15 -15
- package/dist/chunks/{snapshot-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{snapshot-zwmthm5e.js → location-mutation-ty0dtyd1.js} +10 -10
- package/dist/chunks/{snapshot-rwm5vee1.js → location-mutation-tz4n1mmd.js} +4 -4
- package/dist/chunks/{snapshot-pwhe4vsk.js → location-mutation-v2dypmqc.js} +18 -18
- package/dist/chunks/{snapshot-2mhzvh0a.js → location-mutation-v865h690.js} +20 -20
- package/dist/chunks/{snapshot-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-sh3v0w80.js → location-mutation-vqeras5a.js} +9 -9
- package/dist/chunks/{snapshot-vtxr0yy2.js → location-mutation-vtxr0yy2.js} +2 -2
- package/dist/chunks/{snapshot-cpfmjptp.js → location-mutation-vvazcd3s.js} +44 -44
- package/dist/chunks/{snapshot-edme2h3e.js → location-mutation-vyqn3nqs.js} +9 -9
- package/dist/chunks/{snapshot-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{snapshot-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-hawz7qk3.js → location-mutation-w5j7ezcf.js} +30 -30
- package/dist/chunks/{snapshot-1xrh7e6k.js → location-mutation-wd1s414x.js} +4 -4
- package/dist/chunks/{snapshot-wd3x2cqz.js → location-mutation-wd3x2cqz.js} +2 -2
- package/dist/chunks/{snapshot-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-mkd15s39.js → location-mutation-wk573dmn.js} +7 -7
- package/dist/chunks/{snapshot-66caeg3n.js → location-mutation-wwwhfv4c.js} +20 -20
- package/dist/chunks/{snapshot-mcx4wgxb.js → location-mutation-x0sgemt3.js} +35 -35
- package/dist/chunks/{snapshot-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{snapshot-4ryqkaf0.js → location-mutation-x3rrr00f.js} +8 -8
- package/dist/chunks/{snapshot-nv7qmagz.js → location-mutation-x8v7rwxh.js} +15 -15
- package/dist/chunks/{snapshot-ehtkbpj7.js → location-mutation-x9kfschm.js} +44 -44
- package/dist/chunks/{snapshot-0k8xz9m1.js → location-mutation-xtnzmd6c.js} +16 -16
- package/dist/chunks/{snapshot-f6f4wqds.js → location-mutation-xx2qkkfx.js} +90 -90
- package/dist/chunks/{snapshot-9h83vwwk.js → location-mutation-xzyj6q3f.js} +33 -33
- package/dist/chunks/{snapshot-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-4146wgg3.js → location-mutation-y1mevkv6.js} +44 -44
- package/dist/chunks/{snapshot-6kyzwp48.js → location-mutation-ya8x5spr.js} +5 -5
- package/dist/chunks/{snapshot-pwm8hhrg.js → location-mutation-yb4xdytz.js} +11 -11
- package/dist/chunks/{snapshot-7zp840he.js → location-mutation-ybx1yz55.js} +6 -6
- package/dist/chunks/{snapshot-70xxcz3e.js → location-mutation-ycz23sph.js} +22 -22
- package/dist/chunks/{snapshot-be4n291q.js → location-mutation-yhtbc78s.js} +23 -23
- package/dist/chunks/{snapshot-5a5pf3fm.js → location-mutation-ynpf6v7f.js} +35 -35
- package/dist/chunks/{snapshot-r8xr0va3.js → location-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{snapshot-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{snapshot-yrznvahk.js → location-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{snapshot-z07pqspn.js → location-mutation-z07pqspn.js} +3 -3
- package/dist/chunks/{snapshot-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-z63w68vq.js → location-mutation-z63w68vq.js} +2 -2
- package/dist/chunks/{snapshot-92k45pvj.js → location-mutation-za77p82n.js} +6 -6
- package/dist/chunks/{snapshot-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{snapshot-ajzsbz6h.js → location-mutation-zfa7ynd8.js} +15 -15
- package/dist/chunks/{snapshot-gws5vmfw.js → location-mutation-zjvxqk0q.js} +8 -8
- package/dist/chunks/{snapshot-2twjr81a.js → location-mutation-zpqvt9gf.js} +17 -17
- package/dist/chunks/{snapshot-sx6sbev9.js → location-mutation-zr21ttst.js} +11 -11
- package/dist/chunks/{snapshot-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-22f648v1.js → location-mutation-zs5g3rfz.js} +28 -28
- package/dist/chunks/location-mutation-zw77q1p0.js +252 -0
- package/dist/chunks/{snapshot-hzvqxvwc.js → location-mutation-zxnx5pz0.js} +41 -41
- package/dist/chunks/{snapshot-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +91 -91
- 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 +361 -361
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +94 -94
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/snapshot-by5v678g.js +0 -18
- package/dist/chunks/snapshot-fp8byzsz.js +0 -252
- package/dist/chunks/snapshot-x2psz0qx.js +0 -26
- package/dist/chunks/snapshot-y8y02c45.js +0 -503
- /package/dist/chunks/{snapshot-0mesazry.js → location-mutation-0mesazry.js} +0 -0
- /package/dist/chunks/{snapshot-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → location-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-34c7v6d4.js → location-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-5qd3pb7m.js → location-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-8wj87zfr.js → location-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{snapshot-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → location-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → location-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → location-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → location-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-48m92b7p.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-z07pqspn.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service25,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node29,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service25 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make20({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service25.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node29 = makeLocationNode({ service: Service25, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service25, node29, exports_instruction_entry };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-48m92b7p.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node82
|
|
12
|
+
} from "./location-mutation-ak9msbxp.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service78,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured11,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node81
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID15 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info30 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID15,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID15 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID15,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service78 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service78,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node82]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info30({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service78.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID15.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node81 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID15, Info30, NotFound3, CreateConflict2, Service78, configured11, node81, exports_workspace };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service8.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service8, node10, exports_discovery };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-48m92b7p.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service63,
|
|
17
|
+
node: () => node66
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service63 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service63.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node66 = makeGlobalNode({ service: Service63, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service63, node66, exports_kv };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./location-mutation-ghv1x119.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input4,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin4,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name4 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input4 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input4.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin4 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service68;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name4,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input4,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin44 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name4,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name4, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input4, Plugin4, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./location-mutation-xtnzmd6c.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./location-mutation-y1mevkv6.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service43
|
|
10
|
+
} from "./location-mutation-hv1dh0hm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make7
|
|
13
|
+
} from "./location-mutation-1bbkgx8g.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin20
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin20 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service55;
|
|
37
|
+
const formatter = yield* Service43;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service79;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin28 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make7({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin28 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin20, exports_formatter };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-xzyj6q3f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID4,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info20,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-6cfhdf3e.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID11.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID4.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID4.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info20.make({
|
|
98
|
+
...Info20.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID4.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-5vhjg0x8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin41,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin41 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin2 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin2 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin41, exports_tavily };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./location-mutation-xtnzmd6c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service55
|
|
9
|
+
} from "./location-mutation-y1mevkv6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service18
|
|
12
|
+
} from "./location-mutation-h5z1cdbz.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin14
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin14 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service55;
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service18;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin26 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin14, exports_worktree };
|