@opencode/core 0.0.0-dev-20027 → 0.0.0-dev-20030
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 +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{git-v5bht574.js → snapshot-0k8xz9m1.js} +2 -2
- package/dist/chunks/{git-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-5e1pzs32.js → snapshot-0tmgye68.js} +9 -9
- package/dist/chunks/{git-bct739vz.js → snapshot-0v53mg2y.js} +4 -4
- package/dist/chunks/{git-e97zwv3c.js → snapshot-0vb59zmc.js} +28 -28
- package/dist/chunks/{git-13dd4g75.js → snapshot-0vmkj0bg.js} +4 -4
- package/dist/chunks/{git-hmfyqch5.js → snapshot-14a2g77m.js} +13 -13
- package/dist/chunks/{git-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-jd3npf77.js → snapshot-1e56h9we.js} +6 -6
- package/dist/chunks/{git-h4kdtw4d.js → snapshot-1grbbkds.js} +15 -15
- package/dist/chunks/{git-6x0xdmp7.js → snapshot-1svmzqef.js} +162 -162
- package/dist/chunks/{git-tm95rjfh.js → snapshot-1xrh7e6k.js} +4 -4
- package/dist/chunks/{git-56gdpj1q.js → snapshot-1ygqh575.js} +9 -9
- package/dist/chunks/{git-sd3n1ret.js → snapshot-21ht5ags.js} +16 -16
- package/dist/chunks/{git-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{git-caxz1j83.js → snapshot-22f648v1.js} +32 -32
- package/dist/chunks/{git-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
- package/dist/chunks/{git-vsb4na82.js → snapshot-26k3mmxd.js} +42 -42
- package/dist/chunks/{git-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-2bmrymfw.js → snapshot-2ak4dr91.js} +11 -11
- package/dist/chunks/{git-0gaj4617.js → snapshot-2d57kztd.js} +6 -6
- package/dist/chunks/{git-2aqgakzf.js → snapshot-2mhzvh0a.js} +18 -18
- package/dist/chunks/{git-dxpnpzza.js → snapshot-2nwh4zjr.js} +28 -28
- package/dist/chunks/{git-hc4fnx3k.js → snapshot-2q6kkxxq.js} +4 -4
- package/dist/chunks/{git-5yspkx8c.js → snapshot-2tsw83gj.js} +14 -14
- package/dist/chunks/{git-ntbpaqq3.js → snapshot-2twjr81a.js} +17 -17
- package/dist/chunks/{git-8pa4v8ja.js → snapshot-2z3mfw9z.js} +13 -13
- package/dist/chunks/{git-tyd6evbv.js → snapshot-31t8vbzj.js} +3 -3
- package/dist/chunks/{git-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-27jqy24h.js → snapshot-4146wgg3.js} +41 -41
- package/dist/chunks/{git-y8mbs16w.js → snapshot-47zbr52t.js} +14 -14
- package/dist/chunks/{git-dw9armfg.js → snapshot-4c070755.js} +2 -2
- package/dist/chunks/{git-7q587t2b.js → snapshot-4dhk5hft.js} +13 -13
- package/dist/chunks/{git-awyhhjf2.js → snapshot-4hqw81ab.js} +12 -12
- package/dist/chunks/{git-1dvq6k6w.js → snapshot-4ryqkaf0.js} +8 -8
- package/dist/chunks/{git-0n7z1vhq.js → snapshot-4wcbatk8.js} +14 -14
- package/dist/chunks/{git-tsc4theb.js → snapshot-4wp5p5rq.js} +44 -44
- package/dist/chunks/{git-c55fm4pv.js → snapshot-51fa1qxd.js} +12 -12
- package/dist/chunks/{git-xvb08a4w.js → snapshot-55q6v56a.js} +8 -8
- package/dist/chunks/{git-19thbt26.js → snapshot-55ygg84m.js} +3 -3
- package/dist/chunks/{git-57ez7d0k.js → snapshot-57ez7d0k.js} +2 -2
- package/dist/chunks/{git-dxkpry84.js → snapshot-5a22swag.js} +5 -5
- package/dist/chunks/{git-jxrc8b14.js → snapshot-5a5pf3fm.js} +33 -33
- package/dist/chunks/{git-2b9m4c98.js → snapshot-5c299m0q.js} +3 -3
- package/dist/chunks/{git-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{git-sc4zk213.js → snapshot-5dp1bgzf.js} +14 -14
- package/dist/chunks/{git-5ekn9679.js → snapshot-5ekn9679.js} +1 -1
- package/dist/chunks/{git-4xeg45nw.js → snapshot-5rhvvwjg.js} +22 -22
- package/dist/chunks/{git-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-xwm6bryg.js → snapshot-5xpznt2d.js} +4 -4
- package/dist/chunks/{git-p42hj8p8.js → snapshot-5yzzbxa7.js} +8 -8
- package/dist/chunks/{git-kjx25m7e.js → snapshot-601rw66q.js} +19 -19
- package/dist/chunks/{git-669tq793.js → snapshot-669tq793.js} +1 -1
- package/dist/chunks/{git-010w34bf.js → snapshot-66caeg3n.js} +25 -25
- package/dist/chunks/{git-1nyjqkcf.js → snapshot-69e754gk.js} +33 -33
- package/dist/chunks/{git-5cmxdwv8.js → snapshot-6bsje7ws.js} +3 -3
- package/dist/chunks/{git-m81c09cc.js → snapshot-6ebmykms.js} +27 -27
- package/dist/chunks/{git-ct9y6gbn.js → snapshot-6kyzwp48.js} +5 -5
- package/dist/chunks/{git-4ffsqyr5.js → snapshot-6m32j7gw.js} +3 -3
- package/dist/chunks/{git-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
- package/dist/chunks/{git-y2ghzbkq.js → snapshot-6n6t8mg1.js} +30 -30
- package/dist/chunks/{git-rm9q555g.js → snapshot-6sb2wa61.js} +11 -11
- package/dist/chunks/{git-bygjy1qb.js → snapshot-6tcepvr3.js} +18 -18
- package/dist/chunks/{git-xxspzvmh.js → snapshot-6xnxq4m8.js} +15 -15
- package/dist/chunks/{git-as301tcg.js → snapshot-70xxcz3e.js} +19 -19
- package/dist/chunks/{git-x0w9b04z.js → snapshot-722bm5k1.js} +9 -9
- package/dist/chunks/{git-jjb97hk9.js → snapshot-764z5t2a.js} +26 -26
- package/dist/chunks/{git-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-7tqntkc3.js → snapshot-7jgm01sn.js} +8 -8
- package/dist/chunks/{git-69z71taw.js → snapshot-7jq11kaw.js} +54 -54
- package/dist/chunks/{git-607q5haz.js → snapshot-7np6y5v9.js} +12 -12
- package/dist/chunks/{git-c31h68nj.js → snapshot-7p9t6n5c.js} +19 -19
- package/dist/chunks/{git-mavemxhg.js → snapshot-7v3nx88q.js} +48 -48
- package/dist/chunks/{git-sbay9tk1.js → snapshot-7ve2bcyf.js} +16 -16
- package/dist/chunks/{git-g2gyvwgr.js → snapshot-7zp840he.js} +9 -9
- package/dist/chunks/{git-2247smmp.js → snapshot-81xajp5a.js} +31 -31
- package/dist/chunks/{git-48nzf0bm.js → snapshot-82ecpvtr.js} +27 -27
- package/dist/chunks/{git-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-g2ks5ta4.js → snapshot-8hppf00p.js} +78 -78
- package/dist/chunks/{git-e0vtkr8g.js → snapshot-92k45pvj.js} +6 -6
- package/dist/chunks/{git-94ek1h2f.js → snapshot-94ek1h2f.js} +2 -2
- package/dist/chunks/{git-p63yn2ba.js → snapshot-94pjr4dx.js} +1 -1
- package/dist/chunks/{git-zrd1hyk7.js → snapshot-9h83vwwk.js} +32 -32
- package/dist/chunks/{git-zrv5pa4j.js → snapshot-9wzwhfcn.js} +3 -3
- package/dist/chunks/{git-6qnh8fmb.js → snapshot-a4vsphfm.js} +7 -7
- package/dist/chunks/{git-fzd06gvz.js → snapshot-a9r7taa5.js} +26 -26
- package/dist/chunks/{git-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{git-1n18w02d.js → snapshot-ajzsbz6h.js} +12 -12
- package/dist/chunks/{git-g0hzkq8p.js → snapshot-ar08adk5.js} +5 -5
- package/dist/chunks/{git-nbrkqbtq.js → snapshot-as52rsn2.js} +9 -9
- package/dist/chunks/{git-tx9w5tca.js → snapshot-at1kfnmk.js} +8 -8
- package/dist/chunks/{git-2zdn2hg8.js → snapshot-azs45ne5.js} +4 -4
- package/dist/chunks/{git-c5y6tpwg.js → snapshot-b65pysqy.js} +3 -3
- package/dist/chunks/{git-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-p5q3ex0b.js → snapshot-b7cywk50.js} +15 -15
- package/dist/chunks/{git-0n9dhkpc.js → snapshot-be4n291q.js} +21 -21
- package/dist/chunks/{git-x5vgpz9j.js → snapshot-bez6fg5x.js} +11 -11
- package/dist/chunks/{git-3en9cd2f.js → snapshot-bt2ndnm6.js} +12 -12
- package/dist/chunks/{git-5f0nhxgb.js → snapshot-btj1e51e.js} +17 -17
- package/dist/chunks/snapshot-by5v678g.js +18 -0
- package/dist/chunks/{git-zde15cj0.js → snapshot-byv3s7jg.js} +26 -26
- package/dist/chunks/{git-v4m0f3qj.js → snapshot-c2x9fe08.js} +20 -20
- package/dist/chunks/{git-31p1pbsy.js → snapshot-c6srhy44.js} +13 -13
- package/dist/chunks/{git-ps3qw662.js → snapshot-c94p0vzs.js} +5 -5
- package/dist/chunks/{git-ckecvw8r.js → snapshot-ckecvw8r.js} +2 -2
- package/dist/chunks/{git-0vvq0b5s.js → snapshot-cpfmjptp.js} +42 -42
- package/dist/chunks/{git-snhm608r.js → snapshot-cr0epd3b.js} +24 -24
- package/dist/chunks/{git-g9sxb67q.js → snapshot-cskct7ae.js} +11 -11
- package/dist/chunks/{git-r2xpf7zj.js → snapshot-cvb7j2ar.js} +14 -14
- package/dist/chunks/{git-c765mh8b.js → snapshot-cwa6csj7.js} +9 -9
- package/dist/chunks/{git-4jh9036t.js → snapshot-cwh1ykm4.js} +16 -16
- package/dist/chunks/{git-9zr2rkr1.js → snapshot-cx57cfsy.js} +9 -9
- package/dist/chunks/{git-kh4f80a0.js → snapshot-d7x2cfb0.js} +8 -8
- package/dist/chunks/{git-2qp6y8xf.js → snapshot-dj9sq318.js} +5 -5
- package/dist/chunks/{git-dpkg50ah.js → snapshot-dpkg50ah.js} +1 -1
- package/dist/chunks/{git-80kx0180.js → snapshot-dr8h1v1j.js} +25 -25
- package/dist/chunks/{git-tbybbeq2.js → snapshot-dxpm2mzg.js} +21 -21
- package/dist/chunks/{git-q88m6k9v.js → snapshot-dyfjs123.js} +20 -20
- package/dist/chunks/{git-z5w7jba6.js → snapshot-e58zfr0z.js} +36 -36
- package/dist/chunks/{git-jv01nqvq.js → snapshot-e6hmchc5.js} +5 -5
- package/dist/chunks/{git-a5kpvxfh.js → snapshot-e82tdd7x.js} +4 -4
- package/dist/chunks/{git-6b577fjv.js → snapshot-edakf7cy.js} +20 -20
- package/dist/chunks/{git-fjvydvzm.js → snapshot-edme2h3e.js} +9 -9
- package/dist/chunks/{git-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-7g5aaaxw.js → snapshot-ehng9v5j.js} +24 -24
- package/dist/chunks/{git-r46ncawz.js → snapshot-ehtkbpj7.js} +41 -41
- package/dist/chunks/{git-ge4ktqxw.js → snapshot-ejyy1vq3.js} +21 -21
- package/dist/chunks/{git-erw5rpbs.js → snapshot-erw5rpbs.js} +2 -2
- package/dist/chunks/{git-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-s35b38t3.js → snapshot-ex8d3qgq.js} +22 -22
- package/dist/chunks/{git-qj8eh1ht.js → snapshot-f3ngv102.js} +4 -4
- package/dist/chunks/{git-kz01yks6.js → snapshot-f4zbrtg8.js} +24 -24
- package/dist/chunks/{git-6ysrkrkr.js → snapshot-f5gy8qwh.js} +8 -8
- package/dist/chunks/{git-43x0z3ay.js → snapshot-f6f4wqds.js} +85 -85
- package/dist/chunks/{git-7dqw4kz8.js → snapshot-fcrkznn8.js} +5 -5
- package/dist/chunks/{git-vmgq4x8b.js → snapshot-ff0svapt.js} +2 -2
- package/dist/chunks/{git-4ac7tkhg.js → snapshot-fmzx7afd.js} +13 -13
- package/dist/chunks/snapshot-fp8byzsz.js +252 -0
- package/dist/chunks/{git-3ppw9e7p.js → snapshot-ft7whn5s.js} +3 -3
- package/dist/chunks/{git-a2whg7pq.js → snapshot-g6w0fa2e.js} +32 -32
- package/dist/chunks/{git-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-mm0m6d6d.js → snapshot-gdq1wzkg.js} +15 -15
- package/dist/chunks/{git-8tsdq50x.js → snapshot-gmx5hwcv.js} +4 -4
- package/dist/chunks/{git-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
- package/dist/chunks/{git-84g7jkxa.js → snapshot-gws5vmfw.js} +8 -8
- package/dist/chunks/{git-ymdcatcc.js → snapshot-gzh0eb8j.js} +15 -15
- package/dist/chunks/{git-52d56bf8.js → snapshot-h415rfds.js} +20 -20
- package/dist/chunks/{git-44h5tttr.js → snapshot-h6r3nrb9.js} +4 -4
- package/dist/chunks/{git-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-94rbwrma.js → snapshot-hawz7qk3.js} +32 -32
- package/dist/chunks/{git-fp9k3yne.js → snapshot-hfbmyrxh.js} +15 -15
- package/dist/chunks/{git-nxhqveyz.js → snapshot-hkfg6fzm.js} +5 -5
- package/dist/chunks/{git-c0zrtztw.js → snapshot-hrgzvhqa.js} +55 -55
- package/dist/chunks/{git-qvcpt1fs.js → snapshot-hs7e0j5x.js} +8 -8
- package/dist/chunks/{git-hxr8hfhn.js → snapshot-hzvqxvwc.js} +41 -41
- package/dist/chunks/{git-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{git-r3c4069c.js → snapshot-j9ty9cws.js} +1 -1
- package/dist/chunks/{git-wxy0ac48.js → snapshot-jjwr2adn.js} +6 -6
- package/dist/chunks/{git-f1nnvvmc.js → snapshot-jtkwk4gb.js} +25 -25
- package/dist/chunks/{git-k3c624dm.js → snapshot-k3c624dm.js} +3 -3
- package/dist/chunks/{git-c0p7yvnn.js → snapshot-k3d4wrk7.js} +24 -24
- package/dist/chunks/{git-p3bhxa8e.js → snapshot-k4wvtnxa.js} +5 -5
- package/dist/chunks/{git-k9kj6xed.js → snapshot-k9kj6xed.js} +2 -2
- package/dist/chunks/{git-r8sqswrh.js → snapshot-kbqjrca6.js} +11 -11
- package/dist/chunks/{git-fq78sz5t.js → snapshot-kbt19f78.js} +23 -23
- package/dist/chunks/{git-2hr5nhwa.js → snapshot-kh9sx4kg.js} +4 -4
- package/dist/chunks/{git-ykch05ee.js → snapshot-m1a6ntfn.js} +4 -4
- package/dist/chunks/{git-ednp5hmx.js → snapshot-m28tfe1w.js} +8 -8
- package/dist/chunks/{git-jjs74g98.js → snapshot-m2d0j7c0.js} +9 -9
- package/dist/chunks/{git-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-aztg29vg.js → snapshot-m3y0vspd.js} +13 -13
- package/dist/chunks/{git-53fyba40.js → snapshot-m6nec9qq.js} +4 -4
- package/dist/chunks/{git-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-c5tk59cy.js → snapshot-mcehqfzm.js} +10 -10
- package/dist/chunks/{git-csewmbcm.js → snapshot-mcx4wgxb.js} +30 -30
- package/dist/chunks/{git-656e1hpv.js → snapshot-mgfg3xvp.js} +11 -11
- package/dist/chunks/{git-mvfsc1pv.js → snapshot-mhkvc446.js} +3 -3
- package/dist/chunks/{git-z221g1rh.js → snapshot-mkd15s39.js} +10 -10
- package/dist/chunks/{git-8ssx7wvg.js → snapshot-mx48q6f7.js} +13 -13
- package/dist/chunks/{git-7d00555s.js → snapshot-n4v135yq.js} +15 -15
- package/dist/chunks/{git-6dsb7qk9.js → snapshot-nats9h3g.js} +6 -6
- package/dist/chunks/{git-rndw9g15.js → snapshot-nbpg3hpq.js} +13 -13
- package/dist/chunks/{git-28e409nm.js → snapshot-ndky9e3n.js} +1 -1
- package/dist/chunks/{git-rtdzmes0.js → snapshot-npgh0z08.js} +36 -36
- package/dist/chunks/{git-tg4ey0nj.js → snapshot-nv7qmagz.js} +15 -15
- package/dist/chunks/{git-6r9cb4fm.js → snapshot-ny7e7z2d.js} +8 -8
- package/dist/chunks/{git-5a5ae82c.js → snapshot-p48nv60c.js} +19 -19
- package/dist/chunks/{git-419fw4gr.js → snapshot-p6xwdr19.js} +13 -13
- package/dist/chunks/{git-f413cgt0.js → snapshot-pdvt449s.js} +72 -72
- package/dist/chunks/{git-rhwn96vn.js → snapshot-pf5amn4b.js} +7 -7
- package/dist/chunks/{git-vmwh049b.js → snapshot-phc8pspp.js} +6 -6
- package/dist/chunks/{git-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{git-p2szdd0n.js → snapshot-prgk16s2.js} +31 -31
- package/dist/chunks/{git-4mwpykj0.js → snapshot-prmgem5b.js} +6 -6
- package/dist/chunks/{git-rspkaf4h.js → snapshot-pwhe4vsk.js} +12 -12
- package/dist/chunks/{git-bcj22tgq.js → snapshot-pwm8hhrg.js} +11 -11
- package/dist/chunks/{git-h78ckr3f.js → snapshot-pxdwd80t.js} +31 -31
- package/dist/chunks/{git-va5fjah0.js → snapshot-q090x7es.js} +17 -17
- package/dist/chunks/{git-5x6zeszh.js → snapshot-q6vq307s.js} +4 -4
- package/dist/chunks/{git-qahzx1a8.js → snapshot-q9p58qae.js} +34 -34
- package/dist/chunks/{git-qa3qhgw8.js → snapshot-qa3qhgw8.js} +1 -1
- package/dist/chunks/{git-298eqf0p.js → snapshot-qh76ahng.js} +5 -5
- package/dist/chunks/{git-vqemcat0.js → snapshot-qr4n1n51.js} +16 -16
- package/dist/chunks/{git-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{git-rgvd7d6r.js → snapshot-qzccvhz5.js} +5 -5
- package/dist/chunks/{git-8yd29ctq.js → snapshot-r6xcm8s4.js} +14 -14
- package/dist/chunks/{git-1acjjqhc.js → snapshot-r8xr0va3.js} +4 -4
- package/dist/chunks/{git-jvb9xte8.js → snapshot-r9w3djhf.js} +9 -9
- package/dist/chunks/{git-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-znadnk2c.js → snapshot-rh7w60c5.js} +18 -18
- package/dist/chunks/{git-dagq1gyb.js → snapshot-rhxvs2d4.js} +20 -20
- package/dist/chunks/{git-82atqrj1.js → snapshot-rj81hrpq.js} +24 -24
- package/dist/chunks/{git-mksgfzgs.js → snapshot-rmxzq7f5.js} +5 -5
- package/dist/chunks/{git-hwsctmkw.js → snapshot-rs333zy1.js} +20 -20
- package/dist/chunks/{git-xq0837nd.js → snapshot-rsxykv2p.js} +14 -14
- package/dist/chunks/{git-zcrspsvn.js → snapshot-rwm5vee1.js} +4 -4
- package/dist/chunks/{git-wqc8znh9.js → snapshot-s39k9fa5.js} +6 -6
- package/dist/chunks/{git-eaj1djv9.js → snapshot-s8d7rejh.js} +6 -6
- package/dist/chunks/{git-8r029ffp.js → snapshot-s8faeshr.js} +29 -29
- package/dist/chunks/{git-g8atgw3j.js → snapshot-sf0yp864.js} +6 -6
- package/dist/chunks/{git-hfx0q6qd.js → snapshot-sh3cnwks.js} +12 -12
- package/dist/chunks/{git-06sgyj6k.js → snapshot-sh3v0w80.js} +9 -9
- package/dist/chunks/{git-pde5dn08.js → snapshot-ss2695sz.js} +23 -23
- package/dist/chunks/{git-s5a3abkq.js → snapshot-sv1e32h6.js} +13 -13
- package/dist/chunks/{git-z138ka9p.js → snapshot-sx6sbev9.js} +11 -11
- package/dist/chunks/{git-0heqmdds.js → snapshot-t30cn9ds.js} +11 -11
- package/dist/chunks/{git-qers21hv.js → snapshot-t7smn26t.js} +19 -19
- package/dist/chunks/{git-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-ajrg9ep2.js → snapshot-tb7yevgy.js} +4 -4
- package/dist/chunks/{git-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{git-5pzymp2c.js → snapshot-tqbe3jqy.js} +8 -8
- package/dist/chunks/{git-k4dgey25.js → snapshot-tsszah43.js} +10 -10
- package/dist/chunks/{git-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
- package/dist/chunks/{git-ppk9bqm7.js → snapshot-v0xhwtxj.js} +32 -32
- package/dist/chunks/{git-4r06v03z.js → snapshot-ve90vagr.js} +19 -19
- package/dist/chunks/{git-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{git-8t502s3m.js → snapshot-vfx1g0jc.js} +12 -12
- package/dist/chunks/{git-hfypw2dz.js → snapshot-vtf3z4ss.js} +8 -8
- package/dist/chunks/{git-9cyfspf3.js → snapshot-vtxr0yy2.js} +5 -5
- package/dist/chunks/{git-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-tqb379dh.js → snapshot-vzvj8tr4.js} +3 -3
- package/dist/chunks/{git-crw3tv4v.js → snapshot-w186ndtb.js} +5 -5
- package/dist/chunks/{git-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-jekat74m.js → snapshot-w68r2k6h.js} +30 -30
- package/dist/chunks/{git-tex4m4qy.js → snapshot-wavy99wc.js} +11 -11
- package/dist/chunks/{git-wd3x2cqz.js → snapshot-wd3x2cqz.js} +2 -2
- package/dist/chunks/{git-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{git-ryy9z3kr.js → snapshot-wqkz004e.js} +7 -7
- package/dist/chunks/{git-16p5kn1s.js → snapshot-wszcsa84.js} +27 -27
- package/dist/chunks/{git-d8nc1xcx.js → snapshot-x0511brf.js} +4 -4
- package/dist/chunks/{git-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/snapshot-x2psz0qx.js +26 -0
- package/dist/chunks/{git-yt3hy1g9.js → snapshot-x2rw7g36.js} +5 -5
- package/dist/chunks/{git-9b00c1fb.js → snapshot-x6pyv2yz.js} +5 -5
- package/dist/chunks/{git-xfkkasph.js → snapshot-xfkkasph.js} +1 -1
- package/dist/chunks/{git-7eemnjng.js → snapshot-xv6t57yc.js} +11 -11
- package/dist/chunks/{git-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-khv50f9b.js → snapshot-y7z8z9pe.js} +7 -7
- package/dist/chunks/{git-c05376bz.js → snapshot-y8y02c45.js} +323 -323
- package/dist/chunks/{git-abddqw17.js → snapshot-yedjkhvm.js} +24 -24
- package/dist/chunks/{git-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-yrznvahk.js → snapshot-yrznvahk.js} +2 -2
- package/dist/chunks/{git-yvqpxq27.js → snapshot-ywc6wpt1.js} +14 -14
- package/dist/chunks/{git-ryyp7ypm.js → snapshot-yz6jt1q7.js} +19 -19
- package/dist/chunks/{git-dh3r0p8w.js → snapshot-yztvrmjb.js} +18 -18
- package/dist/chunks/{git-z07pqspn.js → snapshot-z07pqspn.js} +3 -3
- package/dist/chunks/{git-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-7gf9heny.js → snapshot-z3anr71n.js} +41 -41
- package/dist/chunks/{git-z63w68vq.js → snapshot-z63w68vq.js} +2 -2
- package/dist/chunks/{git-yxwga7ay.js → snapshot-z8639w91.js} +16 -16
- package/dist/chunks/{git-x1geg3vn.js → snapshot-zc1716vc.js} +11 -11
- package/dist/chunks/{git-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
- package/dist/chunks/{git-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-3agnzf0b.js → snapshot-zt0y4zs5.js} +1 -1
- package/dist/chunks/{git-6ck4d7pv.js → snapshot-zwmthm5e.js} +8 -8
- package/dist/chunks/{git-ey79q3y0.js → snapshot-zwy38s70.js} +22 -22
- package/dist/chunks/{git-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- 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 +123 -123
- 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 +123 -123
- 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 +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +95 -95
- 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 +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +128 -128
- 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 +96 -96
- package/dist/models-dev.js +99 -99
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- 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 +8 -8
- 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 +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- 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 +86 -86
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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 +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- 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 +11 -11
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- 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 +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- 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 +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- 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 +3 -3
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- 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 +9 -9
- package/dist/chunks/git-9mknr04w.js +0 -252
- package/dist/chunks/git-dzk9rjvc.js +0 -26
- package/dist/chunks/git-jqh9b0xq.js +0 -18
- /package/dist/chunks/{git-0mesazry.js → snapshot-0mesazry.js} +0 -0
- /package/dist/chunks/{git-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-34c7v6d4.js → snapshot-34c7v6d4.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-922hggd3.js → snapshot-922hggd3.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-0k8xz9m1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service19
|
|
9
|
+
} from "./snapshot-hfbmyrxh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./snapshot-70xxcz3e.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service10
|
|
27
|
+
} from "./snapshot-gzh0eb8j.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-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: () => Input10,
|
|
36
|
+
Plugin: () => Plugin45,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name10,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
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 name10 = "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 Input10 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin45 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service10;
|
|
62
|
+
const access = yield* Service19;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name10,
|
|
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: Input10,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin6 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent5(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 toModelContent5 = (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" },
|
|
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name10, Input10, Plugin45, toModelContent5, exports_read };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./snapshot-bt2ndnm6.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-7ve2bcyf.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
@@ -19,11 +19,11 @@ __export(exports_persistent_pty, {
|
|
|
19
19
|
NotFoundError: () => NotFoundError4,
|
|
20
20
|
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service22,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
configured: () => configured4,
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
layer: () => layer11,
|
|
26
|
+
node: () => node25
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -37,7 +37,7 @@ import { resolveBinary } from "#persistent-pty-binary";
|
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
@@ -47,10 +47,10 @@ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service22 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service82;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service22.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
258
|
+
var layer11 = makeLayer();
|
|
259
259
|
var configured4 = (options) => makeGlobalNode({
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
260
|
+
service: Service22,
|
|
261
|
+
layer: options === undefined ? layer11 : makeLayer(options),
|
|
262
|
+
deps: [node86, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node25 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options4,
|
|
304
|
+
export { Options4, UnavailableError3, NotFoundError4, Service22, layer11, configured4, node25, exports_persistent_pty, Handoff2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./snapshot-9h83vwwk.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID13.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured7,
|
|
11
|
+
layer: () => layer19,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node47,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer19 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
|
|
33
|
+
var node47 = configured7();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer19, configured7, node47, exports_app };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-hrgzvhqa.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service40,
|
|
12
|
+
node43
|
|
13
|
+
} from "./snapshot-4wp5p5rq.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./snapshot-v0xhwtxj.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions2 = {};
|
|
24
|
+
__export(exports_instructions2, {
|
|
25
|
+
McpInstructions: () => exports_instructions2,
|
|
26
|
+
Service: () => Service32,
|
|
27
|
+
layer: () => layer12,
|
|
28
|
+
node: () => node36
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service32 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service40;
|
|
68
|
+
return Service32.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
70
|
const source = (value) => make21({
|
|
71
|
-
key:
|
|
71
|
+
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -86,7 +86,7 @@ var layer11 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node36 = makeLocationNode({ service: Service32, layer: layer12, deps: [node43] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service32, layer12, node36, exports_instructions2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
8
|
Service: () => Service49,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node53
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service49, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node53 = makeGlobalNode({ service: Service49, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export { Service49,
|
|
31
|
+
export { Service49, node53, exports_environment };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-x6pyv2yz.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin11,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin11 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin33 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin11, exports_exa };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service7,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node9
|
|
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 Service7 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service7, 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(Service6, 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 Service7.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(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node9 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service7, node9, exports_discovery };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-0k8xz9m1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-s8d7rejh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service35,
|
|
19
|
+
node: () => node38
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service35 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service80;
|
|
29
|
-
return
|
|
29
|
+
return Service35.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
31
|
make21({
|
|
32
|
-
key:
|
|
32
|
+
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -50,7 +50,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
52
|
make21({
|
|
53
|
-
key:
|
|
53
|
+
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node38 = makeLocationNode({ service: Service35, layer, deps: [Global.node, node84] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service35, node38, exports_builtins };
|