@opencode/core 2.0.7 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{integration-e2hjzebn.js → tool-06x8he3q.js} +4 -4
- package/dist/chunks/{integration-hnv6c5tt.js → tool-07kta9gz.js} +5 -5
- package/dist/chunks/{integration-wgz7hchk.js → tool-08ed4zmw.js} +6 -6
- package/dist/chunks/{integration-t09rmbfd.js → tool-0e14c09c.js} +37 -38
- package/dist/chunks/{integration-ab9238g2.js → tool-0ft9cg2j.js} +6 -6
- package/dist/chunks/{integration-60438fy7.js → tool-0gpvppac.js} +14 -14
- package/dist/chunks/{integration-fjmxef0p.js → tool-0mb99r4j.js} +11 -11
- package/dist/chunks/{integration-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
- package/dist/chunks/{integration-bh0zzf2s.js → tool-0t9wd588.js} +8 -8
- package/dist/chunks/{integration-jdksn0k6.js → tool-0tkwk172.js} +23 -23
- package/dist/chunks/{integration-zkf5jky9.js → tool-133y1x9c.js} +5 -5
- package/dist/chunks/{integration-qf3ebkzx.js → tool-13kry10e.js} +9 -9
- package/dist/chunks/{integration-grt2chjq.js → tool-197ae9n4.js} +76 -76
- package/dist/chunks/{integration-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{integration-yf4y1y8p.js → tool-1n6jm1r8.js} +15 -15
- package/dist/chunks/{integration-hgytqh36.js → tool-1q4w1hkk.js} +13 -13
- package/dist/chunks/{integration-1jb3t5y8.js → tool-1rf9k0bb.js} +44 -44
- package/dist/chunks/{integration-361zbcwc.js → tool-1tx6fftr.js} +11 -11
- package/dist/chunks/{integration-ha2e1a5y.js → tool-1y3ke0et.js} +16 -16
- package/dist/chunks/{integration-ctv3sctt.js → tool-1yee1wsw.js} +5 -5
- package/dist/chunks/{integration-mfqp6xfm.js → tool-1ygqh575.js} +6 -6
- package/dist/chunks/{integration-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{integration-3wh0psgk.js → tool-22yzgjh2.js} +29 -29
- package/dist/chunks/{integration-6h73sxmp.js → tool-2402vzrj.js} +5 -5
- package/dist/chunks/{integration-a89e0tac.js → tool-277eer69.js} +4 -4
- package/dist/chunks/{integration-by3dbgkm.js → tool-27arm9z1.js} +5 -5
- package/dist/chunks/{integration-9n92wg39.js → tool-2849xt8w.js} +11 -11
- package/dist/chunks/{integration-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-aawn6y2n.js → tool-2a8ctrw4.js} +28 -28
- package/dist/chunks/{integration-fjhejfvr.js → tool-2g2cd18n.js} +32 -32
- package/dist/chunks/{integration-qzes1frq.js → tool-2g7ehmrk.js} +7 -7
- package/dist/chunks/{integration-fp13m9d9.js → tool-2gch173w.js} +38 -38
- package/dist/chunks/{integration-wxfef5f7.js → tool-2s87feef.js} +23 -23
- package/dist/chunks/{integration-cwa6csj7.js → tool-2sejkfem.js} +9 -9
- package/dist/chunks/tool-2vmydbdw.js +39 -0
- package/dist/chunks/{integration-y3htf95n.js → tool-3cbaeney.js} +3 -3
- package/dist/chunks/{integration-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{integration-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/tool-3j9bgvtg.js +123 -0
- package/dist/chunks/{integration-5jg9j8z5.js → tool-3mtxmfhx.js} +36 -36
- package/dist/chunks/{integration-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-g98kts4v.js → tool-42djxevb.js} +54 -49
- package/dist/chunks/{integration-63gwy3f0.js → tool-4chvkj0g.js} +27 -27
- package/dist/chunks/{integration-30846h32.js → tool-4e8vs6eh.js} +8 -8
- package/dist/chunks/{integration-dzbr64j7.js → tool-4gtpy403.js} +20 -20
- package/dist/chunks/{integration-4n9c6g4h.js → tool-4k6nnmrf.js} +30 -30
- package/dist/chunks/{integration-by9h9y0p.js → tool-4n9mx8v3.js} +29 -29
- package/dist/chunks/{integration-s40zj2kv.js → tool-4vjsat8t.js} +20 -20
- package/dist/chunks/{integration-7b01gr93.js → tool-57m9tgf1.js} +13 -13
- package/dist/chunks/{integration-mfhfdr54.js → tool-5c0f1prt.js} +4 -4
- package/dist/chunks/{integration-a1bz86dw.js → tool-5c4hm403.js} +3 -3
- package/dist/chunks/{integration-89vjf07m.js → tool-5d17xbav.js} +5 -5
- package/dist/chunks/{integration-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-bgxcxs0p.js → tool-5e19p4dw.js} +5 -5
- package/dist/chunks/{integration-0v53mg2y.js → tool-5q02cxx3.js} +4 -4
- package/dist/chunks/{integration-y3egp4dd.js → tool-5rbeskxf.js} +9 -9
- package/dist/chunks/{integration-ag2gfn9f.js → tool-5rdsaqrf.js} +5 -5
- package/dist/chunks/{integration-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{integration-zqsm83yf.js → tool-5y430q9n.js} +11 -11
- package/dist/chunks/{integration-mnaavyqg.js → tool-5y6wgat7.js} +47 -47
- package/dist/chunks/{integration-bscb95cy.js → tool-5yeq06a0.js} +9 -9
- package/dist/chunks/{integration-5xtgfte3.js → tool-5yzzbxa7.js} +8 -8
- package/dist/chunks/{integration-mx4e50pb.js → tool-60hfzj8m.js} +4 -4
- package/dist/chunks/{integration-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{integration-y6f0p4jw.js → tool-6bsje7ws.js} +3 -3
- package/dist/chunks/{integration-71xbqxp3.js → tool-6gc9zjjv.js} +12 -12
- package/dist/chunks/{integration-h71w788e.js → tool-6hjx5zpb.js} +9 -9
- package/dist/chunks/{integration-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{integration-75ks8wpd.js → tool-6nma5gxg.js} +10 -10
- package/dist/chunks/{integration-0ja9hz8h.js → tool-7037ptb2.js} +27 -27
- package/dist/chunks/{integration-r5x6zcsm.js → tool-73tb2d7t.js} +3 -3
- package/dist/chunks/{integration-jtazzn7t.js → tool-76p4c97e.js} +12 -12
- package/dist/chunks/{integration-qj0280db.js → tool-77m2y8gv.js} +12 -20
- package/dist/chunks/{integration-cwa84xdc.js → tool-7a4dnpr3.js} +40 -40
- package/dist/chunks/{integration-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-b5y8n1e6.js → tool-7gyssj7x.js} +21 -21
- package/dist/chunks/{integration-f6ekd8xv.js → tool-7ngem68y.js} +3 -3
- package/dist/chunks/{integration-gv9r9ztf.js → tool-7nm0hg1a.js} +26 -26
- package/dist/chunks/{integration-s1yskcg0.js → tool-88wb8vtq.js} +26 -26
- package/dist/chunks/{integration-cq37gk0t.js → tool-89smrnyf.js} +4 -4
- package/dist/chunks/{integration-zpnb0y11.js → tool-8b03w2b6.js} +51 -51
- package/dist/chunks/{integration-nn34bpja.js → tool-8cpww9tf.js} +6 -6
- package/dist/chunks/{integration-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{integration-31vv3fx1.js → tool-8eg130jy.js} +11 -11
- package/dist/chunks/{integration-3vp2enxy.js → tool-8rras65h.js} +15 -15
- package/dist/chunks/{integration-ngnbq9bc.js → tool-8szgh749.js} +4 -4
- package/dist/chunks/{integration-tj7ekckq.js → tool-8t1mk3vk.js} +50 -50
- package/dist/chunks/{integration-ts4smcrt.js → tool-8vvqba33.js} +14 -14
- package/dist/chunks/{integration-whsap9g4.js → tool-91f0wncr.js} +14 -12
- package/dist/chunks/{integration-r2tzf22e.js → tool-9ebbd7jr.js} +8 -8
- package/dist/chunks/{integration-dw76zyaf.js → tool-9endzh9e.js} +16 -16
- package/dist/chunks/{integration-n72gnw9z.js → tool-9hd1jrv7.js} +10 -10
- package/dist/chunks/{integration-wx2t9nyy.js → tool-9pr9fbrd.js} +23 -23
- package/dist/chunks/{integration-9ydd6pgk.js → tool-9thxh3x6.js} +7 -7
- package/dist/chunks/{integration-qxrjxyb1.js → tool-a012ky48.js} +10 -10
- package/dist/chunks/{integration-n7gd6fv3.js → tool-a9jc8qdz.js} +10 -10
- package/dist/chunks/{integration-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-717hbd2e.js → tool-adffrgan.js} +18 -18
- package/dist/chunks/{integration-c96f455v.js → tool-afmcrv4e.js} +11 -11
- package/dist/chunks/{integration-4tem132z.js → tool-ar0mpfen.js} +16 -16
- package/dist/chunks/tool-az58nsbk.js +26 -0
- package/dist/chunks/{integration-2mja353d.js → tool-b1syqa90.js} +8 -8
- package/dist/chunks/{integration-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-1svwp2zq.js → tool-b71trcwb.js} +15 -15
- package/dist/chunks/{integration-d2aac7k2.js → tool-bhj4y43k.js} +5 -5
- package/dist/chunks/{integration-xbxrvfar.js → tool-c7hpn42k.js} +17 -17
- package/dist/chunks/{integration-02sqwze2.js → tool-cap3n08w.js} +22 -22
- package/dist/chunks/{integration-jw80jp6b.js → tool-cavr175a.js} +4 -4
- package/dist/chunks/{integration-06j1jany.js → tool-cb2k1f8p.js} +20 -20
- package/dist/chunks/{integration-8ybgfkrt.js → tool-czgzge8y.js} +8 -8
- package/dist/chunks/{integration-5q352ksx.js → tool-d0syxqaf.js} +3 -3
- package/dist/chunks/{integration-2g1kg6mf.js → tool-d8dkarbn.js} +14 -14
- package/dist/chunks/{integration-xxhb4jr7.js → tool-d9s573fh.js} +9 -9
- package/dist/chunks/{integration-7539fxrp.js → tool-dc0tp24d.js} +5 -5
- package/dist/chunks/{integration-8bnawm75.js → tool-dcjp3a2d.js} +31 -31
- package/dist/chunks/{integration-tv8kvtrg.js → tool-df3x4kde.js} +15 -15
- package/dist/chunks/{integration-8p4f9s12.js → tool-dj2t23y0.js} +2 -2
- package/dist/chunks/{integration-tv6v1fw0.js → tool-dqmvjehx.js} +20 -20
- package/dist/chunks/{integration-qqeeq2t9.js → tool-drwq78ky.js} +7 -7
- package/dist/chunks/{integration-shkdv626.js → tool-drz214yv.js} +25 -23
- package/dist/chunks/{integration-rhmz26db.js → tool-dssw6a44.js} +23 -23
- package/dist/chunks/{integration-2cse4yyr.js → tool-dwktjsma.js} +1 -1
- package/dist/chunks/{integration-yhmfm09s.js → tool-dz1mzf7h.js} +25 -25
- package/dist/chunks/{integration-1ksm7rsz.js → tool-e1ddjrnd.js} +33 -33
- package/dist/chunks/{integration-s12geb02.js → tool-e1hrzsan.js} +12 -12
- package/dist/chunks/{integration-d892zs75.js → tool-e7q4x2ep.js} +23 -23
- package/dist/chunks/{integration-ayfk1h0n.js → tool-e7vjfaw8.js} +91 -91
- package/dist/chunks/{integration-4f6d0pew.js → tool-ebdw14y1.js} +25 -24
- package/dist/chunks/{integration-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{integration-gvvdpzqz.js → tool-ek2qcn6v.js} +5 -5
- package/dist/chunks/{integration-3jqnyahm.js → tool-epap41sx.js} +4 -4
- package/dist/chunks/{integration-c73rdsyt.js → tool-eq68chpb.js} +9 -9
- package/dist/chunks/{integration-erw5rpbs.js → tool-erw5rpbs.js} +2 -2
- package/dist/chunks/{integration-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{integration-1acjjqhc.js → tool-f2n192rq.js} +4 -4
- package/dist/chunks/{integration-fhs97t90.js → tool-f7j90zp2.js} +9 -9
- package/dist/chunks/{integration-424g7dr0.js → tool-f8ekkhd9.js} +46 -46
- package/dist/chunks/{integration-hyfj73c0.js → tool-fcy52zm3.js} +47 -47
- package/dist/chunks/{integration-b09hzw3k.js → tool-ff0svapt.js} +2 -2
- package/dist/chunks/{integration-zqx8wcya.js → tool-fkjmw100.js} +8 -8
- package/dist/chunks/{integration-wsh21s13.js → tool-fnkqs40h.js} +33 -33
- package/dist/chunks/{integration-xsgk3b13.js → tool-fsbk27r1.js} +9 -9
- package/dist/chunks/{integration-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
- package/dist/chunks/{integration-ts74b2aa.js → tool-gbag256c.js} +28 -28
- package/dist/chunks/{integration-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-fkvr2bf4.js → tool-gnrgb9v9.js} +15 -15
- package/dist/chunks/tool-gyce5qg1.js +18 -0
- package/dist/chunks/{integration-fepr4w5j.js → tool-h2t4955r.js} +21 -21
- package/dist/chunks/{integration-t7hd99dg.js → tool-h5msn5dz.js} +14 -14
- package/dist/chunks/{integration-5mtzsd3b.js → tool-h6r3nrb9.js} +4 -4
- package/dist/chunks/{integration-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-f828m53h.js → tool-hdnk95c8.js} +2 -2
- package/dist/chunks/{integration-3e9gt9pq.js → tool-hxsyww7z.js} +26 -22
- package/dist/chunks/{integration-h2r7bbkd.js → tool-hzfzrbn9.js} +8 -8
- package/dist/chunks/{integration-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{integration-xgghj434.js → tool-jd6wf3ec.js} +6 -6
- package/dist/chunks/{integration-3wqt5zad.js → tool-jd81wks2.js} +35 -35
- package/dist/chunks/{integration-zeh3qhes.js → tool-jm3kmfpd.js} +43 -43
- package/dist/chunks/{integration-6cv9b742.js → tool-jn4t2z3d.js} +4 -4
- package/dist/chunks/{integration-1wbhvsa0.js → tool-kcrds6bj.js} +24 -24
- package/dist/chunks/{integration-t96h8vn6.js → tool-krc9qdj7.js} +35 -35
- package/dist/chunks/{integration-cfpkc3c9.js → tool-m0jqrx5p.js} +2 -2
- package/dist/chunks/{integration-d25378pd.js → tool-m32ek0sw.js} +4 -4
- package/dist/chunks/{integration-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{integration-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-ch54p1a9.js → tool-mh3xs90e.js} +28 -28
- package/dist/chunks/{integration-ght2kap4.js → tool-n24pcqxv.js} +8 -8
- package/dist/chunks/{integration-k06s6pez.js → tool-n3mc6yaw.js} +28 -28
- package/dist/chunks/{integration-t0fxg8b9.js → tool-n4pqkaym.js} +5 -5
- package/dist/chunks/{integration-sz7h0m66.js → tool-nccpag2r.js} +25 -25
- package/dist/chunks/{integration-d51kj8va.js → tool-nj8fcevf.js} +17 -17
- package/dist/chunks/{integration-kxx7k9ny.js → tool-nr25fmgm.js} +27 -27
- package/dist/chunks/{integration-wk3yr6fy.js → tool-ns0n9ww9.js} +22 -22
- package/dist/chunks/{integration-0g7z141f.js → tool-nt9apy23.js} +12 -12
- package/dist/chunks/{integration-xfwam4t6.js → tool-nwgfxwxy.js} +22 -22
- package/dist/chunks/{integration-nzks3jc8.js → tool-nzks3jc8.js} +3 -3
- package/dist/chunks/{integration-p28j5sbe.js → tool-p28j5sbe.js} +2 -2
- package/dist/chunks/{integration-hzds88te.js → tool-p6q10aaw.js} +62 -31
- package/dist/chunks/{integration-xcm9a8eq.js → tool-pb77jvd0.js} +10 -10
- package/dist/chunks/{integration-036p5t1s.js → tool-pcfkrm12.js} +4 -4
- package/dist/chunks/{integration-b8szb91g.js → tool-pf6xmb6f.js} +9 -9
- package/dist/chunks/{integration-984xje6x.js → tool-phc8pspp.js} +3 -3
- package/dist/chunks/{integration-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{integration-qgrcs4vk.js → tool-pwf27gkd.js} +11 -11
- package/dist/chunks/{integration-m023722w.js → tool-py5ms06j.js} +27 -27
- package/dist/chunks/{integration-xtg1xd5n.js → tool-qbp86h8m.js} +91 -91
- package/dist/chunks/{integration-an5bmsq0.js → tool-qc9kn75m.js} +8 -8
- package/dist/chunks/{integration-qbatz9s3.js → tool-qecsarb4.js} +28 -28
- package/dist/chunks/{integration-tdf9xhep.js → tool-qf41qe2n.js} +19 -16
- package/dist/chunks/{integration-7dqw4kz8.js → tool-qgn6gcr1.js} +5 -5
- package/dist/chunks/{integration-f35xt7k7.js → tool-qnc1epre.js} +11 -11
- package/dist/chunks/{integration-fwdrt8y0.js → tool-qqcjb6jx.js} +42 -33
- package/dist/chunks/{integration-7v9j4tg8.js → tool-qr7xcjfz.js} +18 -18
- package/dist/chunks/{integration-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-x2ehjnaf.js → tool-qzwv76tp.js} +6 -6
- package/dist/chunks/{integration-bp376hr7.js → tool-r2m639zq.js} +9 -9
- package/dist/chunks/{integration-99a1yfw0.js → tool-r6qdpshk.js} +13 -13
- package/dist/chunks/{integration-03e5bnrk.js → tool-r9s1vmbv.js} +11 -11
- package/dist/chunks/{integration-zq6stcrg.js → tool-rav9e4bf.js} +5 -5
- package/dist/chunks/tool-rdf0737w.js +252 -0
- package/dist/chunks/{integration-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{integration-w6yx7at2.js → tool-rq1pz7qt.js} +30 -30
- package/dist/chunks/{integration-zeh9ct20.js → tool-rq775frq.js} +2 -2
- package/dist/chunks/{integration-bcxedjzd.js → tool-rx6gygm6.js} +3 -3
- package/dist/chunks/{integration-j2sam9jv.js → tool-rx871m47.js} +2 -2
- package/dist/chunks/{integration-egjdmc9a.js → tool-rxerzcr3.js} +44 -44
- package/dist/chunks/{integration-jthw9jrm.js → tool-s4fep8mk.js} +18 -15
- package/dist/chunks/{integration-rhjbct0v.js → tool-s8d7rejh.js} +4 -4
- package/dist/chunks/{integration-qcwz4p84.js → tool-sd3ysec1.js} +48 -49
- package/dist/chunks/{integration-bje2awg5.js → tool-skq2eby0.js} +18 -18
- package/dist/chunks/{integration-1x4zaxp7.js → tool-sr2ca446.js} +1 -1
- package/dist/chunks/{integration-wpm2rk0p.js → tool-stag65f9.js} +8 -8
- package/dist/chunks/{integration-7ejxwnn2.js → tool-t0e82vdg.js} +19 -19
- package/dist/chunks/{integration-wk7afg2y.js → tool-t15tae8c.js} +28 -28
- package/dist/chunks/{integration-4z9gzs34.js → tool-t183he7n.js} +17 -17
- package/dist/chunks/{integration-efwc84nf.js → tool-t6rnym7v.js} +14 -14
- package/dist/chunks/{integration-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{integration-n1nc45vm.js → tool-tjmwbj5k.js} +16 -16
- package/dist/chunks/{integration-6hh8tjw2.js → tool-tkmwgdpd.js} +7 -7
- package/dist/chunks/{integration-dw8gz3mq.js → tool-tqf8vx6a.js} +13 -13
- package/dist/chunks/{integration-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{integration-bfsnneva.js → tool-v6kqcv79.js} +15 -15
- package/dist/chunks/{integration-mvef3yxd.js → tool-v8z2wyq8.js} +32 -32
- package/dist/chunks/{integration-ex9wjj40.js → tool-vbyfx3mn.js} +24 -24
- package/dist/chunks/{integration-nej4p9g1.js → tool-vcev46jt.js} +28 -28
- package/dist/chunks/{integration-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-pjgwjwxs.js → tool-vgc515rw.js} +11 -11
- package/dist/chunks/{integration-x0jthw69.js → tool-vh7phyy0.js} +43 -43
- package/dist/chunks/{integration-tx47f3yx.js → tool-vppzcqrc.js} +15 -15
- package/dist/chunks/{integration-9gea571p.js → tool-vqfzq50h.js} +6 -6
- package/dist/chunks/{integration-awhm4hzw.js → tool-vs9wvdae.js} +188 -187
- package/dist/chunks/{integration-jx3wypgw.js → tool-vsbgd8f5.js} +27 -27
- package/dist/chunks/{integration-7yd8qa94.js → tool-vwgz8d7g.js} +8 -8
- package/dist/chunks/{integration-hynrrzr9.js → tool-vy03e0d7.js} +18 -18
- package/dist/chunks/{integration-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{integration-m2ygz4rv.js → tool-vzt7w0x1.js} +18 -18
- package/dist/chunks/tool-vzyzcn29.js +65 -0
- package/dist/chunks/{integration-yybj5cwe.js → tool-w1tdvvt2.js} +9 -9
- package/dist/chunks/{integration-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-hsrp58xj.js → tool-w6ertran.js} +13 -13
- package/dist/chunks/{integration-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{integration-es74qn32.js → tool-wt8nwjmt.js} +6 -6
- package/dist/chunks/{integration-gsw5hfjj.js → tool-ww5k9hxf.js} +24 -24
- package/dist/chunks/{integration-e7190871.js → tool-wyd4vgvd.js} +17 -17
- package/dist/chunks/{integration-5d5383gp.js → tool-x0511brf.js} +4 -4
- package/dist/chunks/{integration-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-ptz1vvyt.js → tool-x6z1bn3h.js} +32 -32
- package/dist/chunks/{integration-bk2n1gvf.js → tool-xg0cet8h.js} +32 -32
- package/dist/chunks/{integration-07kph379.js → tool-xhtw6jf1.js} +3 -3
- package/dist/chunks/{integration-ndx5r91v.js → tool-xn17ps4b.js} +3 -3
- package/dist/chunks/tool-xr88f9g7.js +492 -0
- package/dist/chunks/{integration-69z0jng6.js → tool-xxh17bsg.js} +11 -11
- package/dist/chunks/{integration-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-jrpnwa23.js → tool-y1swv0f0.js} +5 -5
- package/dist/chunks/{integration-drmyzd20.js → tool-y5pzn50y.js} +32 -32
- package/dist/chunks/{integration-y71avatq.js → tool-y71avatq.js} +1 -1
- package/dist/chunks/{integration-qtzk0ftm.js → tool-ye73daeg.js} +20 -20
- package/dist/chunks/{integration-qj7wvw4x.js → tool-yp1xsd17.js} +43 -43
- package/dist/chunks/{integration-ps9hb5ct.js → tool-yravmt5v.js} +11 -11
- package/dist/chunks/{integration-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{integration-yrznvahk.js → tool-yrznvahk.js} +2 -2
- package/dist/chunks/{integration-g49fastt.js → tool-yxjvheq8.js} +18 -17
- package/dist/chunks/{integration-gv6a8nnw.js → tool-yyb7tjpc.js} +2 -2
- package/dist/chunks/{integration-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-z63w68vq.js → tool-z63w68vq.js} +2 -2
- package/dist/chunks/{integration-7drzedwa.js → tool-z80n829h.js} +47 -47
- package/dist/chunks/{integration-pqt18mke.js → tool-z89cezv7.js} +6 -6
- package/dist/chunks/{integration-wm4ff12p.js → tool-zdetck8p.js} +59 -59
- package/dist/chunks/{integration-fch79rh9.js → tool-zhq6vg7a.js} +1 -1
- package/dist/chunks/{integration-6hs98t9x.js → tool-zk0g89ph.js} +13 -13
- package/dist/chunks/{integration-gamnghgg.js → tool-zpks96xd.js} +13 -13
- package/dist/chunks/{integration-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-w0t5mfte.js → tool-zwfjdtpq.js} +25 -25
- package/dist/chunks/{integration-7t1qjft4.js → tool-zxcbkvg1.js} +18 -18
- package/dist/chunks/{integration-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{integration-ck69dtv7.js → tool-zy1jay2k.js} +4 -4
- package/dist/chunks/{integration-vgn02gcn.js → tool-zz2gaj37.js} +24 -24
- 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 +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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 +359 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -354
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +135 -0
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -347
- package/dist/plugin/tool-input-repair.js +9 -0
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +104 -98
- 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 +87 -87
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/agent.d.ts +14 -1
- package/dist/types/aisdk.d.ts +5 -5
- package/dist/types/config/plugin/command.d.ts +1 -1
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/job.d.ts +3 -0
- package/dist/types/model-resolver.d.ts +7 -6
- package/dist/types/model.d.ts +46 -14
- package/dist/types/plugin/compaction.d.ts +3 -0
- package/dist/types/plugin/internal.d.ts +2 -2
- package/dist/types/plugin/provider/configured.d.ts +2 -6
- package/dist/types/plugin/tool-input-repair.d.ts +2 -0
- package/dist/types/provider.d.ts +66 -15
- package/dist/types/session/compaction.d.ts +16 -1
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/session/history.d.ts +8 -8
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/tool/plugin/subagent.d.ts +1 -1
- package/dist/types/tool.d.ts +3 -0
- package/dist/types/v1/config/migrate.d.ts +24 -20
- 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 +5 -5
- 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 +91 -91
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/integration-0jswa73q.js +0 -26
- package/dist/chunks/integration-0p29q02t.js +0 -65
- package/dist/chunks/integration-4v7qdvcn.js +0 -18
- package/dist/chunks/integration-fnc9qs28.js +0 -252
- package/dist/chunks/integration-y324smtr.js +0 -478
- /package/dist/chunks/{integration-0mesazry.js → tool-0mesazry.js} +0 -0
- /package/dist/chunks/{integration-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-922hggd3.js → tool-922hggd3.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-twg0f83k.js → tool-twg0f83k.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID11,
|
|
3
|
+
Service72
|
|
4
|
+
} from "./tool-kcrds6bj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./tool-wyd4vgvd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service35
|
|
10
|
+
} from "./tool-rxerzcr3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service62,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-ye73daeg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service19
|
|
17
|
+
} from "./tool-qbp86h8m.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make8
|
|
20
|
+
} from "./tool-xxh17bsg.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin31
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin31 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service35;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin8 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service62;
|
|
60
|
+
const sessions = yield* Service19;
|
|
61
|
+
const agents = yield* Service72;
|
|
62
|
+
const subagents = yield* make8;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin8 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID11.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin31, exports_command2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./tool-5y430q9n.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./tool-9endzh9e.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-czgzge8y.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service70,
|
|
21
|
+
node74
|
|
22
|
+
} from "./tool-vppzcqrc.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service22,
|
|
25
|
+
node25
|
|
26
|
+
} from "./tool-e7vjfaw8.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service5,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer5,
|
|
42
|
+
node: () => node7
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service5 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service82;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service22;
|
|
65
|
+
const store = yield* Service70;
|
|
66
|
+
const db = (yield* Service83).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service5.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node7 = makeLocationNode({
|
|
151
|
+
service: Service5,
|
|
152
|
+
layer: layer5,
|
|
153
|
+
deps: [node86, llmClient2, node25, node74, node87]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service5, isUntitled2, layer5, node7, exports_title };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service35
|
|
4
|
+
} from "./tool-rxerzcr3.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin13,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin13 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service35;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin34 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin13, exports_warming };
|
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-vgc515rw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./tool-9endzh9e.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-dz1mzf7h.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-mh3xs90e.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./integration-fwdrt8y0.js";
|
|
19
|
+
ID13
|
|
20
|
+
} from "./tool-qqcjb6jx.js";
|
|
22
21
|
import {
|
|
23
22
|
iife2
|
|
24
|
-
} from "./
|
|
23
|
+
} from "./tool-1kg9ymc8.js";
|
|
25
24
|
import {
|
|
26
25
|
configuredSettings2
|
|
27
|
-
} from "./
|
|
26
|
+
} from "./tool-jd6wf3ec.js";
|
|
28
27
|
|
|
29
28
|
// src/plugin/provider/azure.ts
|
|
30
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
44
43
|
var AzurePlugin2 = define({
|
|
45
44
|
id: "opencode.provider.azure",
|
|
46
45
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
48
47
|
const processes = yield* AppProcess.Service;
|
|
49
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service82;
|
|
50
49
|
const tokens = new Map;
|
|
51
50
|
const loading = Semaphore.makeUnsafe(1);
|
|
52
51
|
const loaded = {};
|
|
@@ -80,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
80
79
|
});
|
|
81
80
|
yield* ctx.integration.transform((editor) => {
|
|
82
81
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
82
|
+
integrationID: ID13.azure,
|
|
84
83
|
method: { type: "key", label: "API key", form: form() }
|
|
85
84
|
});
|
|
86
85
|
if (!available)
|
|
87
86
|
return;
|
|
88
87
|
editor.method.update({
|
|
89
|
-
integrationID:
|
|
88
|
+
integrationID: ID13.azure,
|
|
90
89
|
method: {
|
|
91
90
|
id: methodID,
|
|
92
91
|
type: "oauth",
|
|
@@ -118,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
118
117
|
});
|
|
119
118
|
});
|
|
120
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
121
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
122
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
123
122
|
return;
|
|
124
123
|
})) : undefined;
|
|
@@ -132,38 +131,39 @@ var AzurePlugin2 = define({
|
|
|
132
131
|
yield* load();
|
|
133
132
|
yield* ctx.provider.transform((evt) => {
|
|
134
133
|
for (const item of evt.list()) {
|
|
135
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
136
135
|
continue;
|
|
137
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
145
|
-
|
|
137
|
+
const websocket = responsesWebSocketCapable(item.provider);
|
|
138
|
+
if (!resourceName && !websocket)
|
|
139
|
+
continue;
|
|
140
|
+
evt.update(item.provider.id, (provider) => {
|
|
141
|
+
provider.settings = {
|
|
142
|
+
...provider.settings,
|
|
143
|
+
...resourceName === undefined ? {} : { resourceName },
|
|
144
|
+
...websocket ? { transport: provider.settings?.transport ?? "websocket" } : {},
|
|
145
|
+
...resourceName !== undefined && typeof provider.settings?.baseURL === "string" ? { baseURL: expandResourceName(provider.settings.baseURL, resourceName) } : {}
|
|
146
|
+
};
|
|
147
|
+
});
|
|
146
148
|
}
|
|
147
149
|
});
|
|
148
150
|
yield* ctx.model.transform((models) => {
|
|
149
151
|
for (const item of models.provider.list()) {
|
|
150
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
151
153
|
continue;
|
|
152
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
153
155
|
for (const model of models.list(item.provider.id)) {
|
|
154
156
|
models.update(item.provider.id, model.id, (draft) => {
|
|
155
157
|
if (resourceName && typeof draft.settings?.baseURL === "string")
|
|
156
158
|
draft.settings.baseURL = expandResourceName(draft.settings.baseURL, resolveResourceName(draft.settings, resourceName) ?? resourceName);
|
|
157
|
-
if (responsesWebSocketCapable(item.provider, draft))
|
|
158
|
-
draft.transport = item.provider.transport ?? "websocket";
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
164
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID13.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID13.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID13.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID13.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -207,10 +207,10 @@ function resolveResourceName(settings, fallback) {
|
|
|
207
207
|
function expandResourceName(baseURL, resourceName) {
|
|
208
208
|
return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
|
|
209
209
|
}
|
|
210
|
-
function responsesWebSocketCapable(provider
|
|
211
|
-
if (
|
|
210
|
+
function responsesWebSocketCapable(provider) {
|
|
211
|
+
if (provider.package !== "@opencode/ai/providers/azure/responses")
|
|
212
212
|
return false;
|
|
213
|
-
const settings =
|
|
213
|
+
const settings = provider.settings;
|
|
214
214
|
if (settings?.useDeploymentBasedUrls === true)
|
|
215
215
|
return false;
|
|
216
216
|
if (settings?.apiVersion !== undefined && settings.apiVersion !== "v1")
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./tool-76p4c97e.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service64,
|
|
16
|
+
node68
|
|
17
|
+
} from "./tool-57m9tgf1.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service50,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node53,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service50 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service64;
|
|
110
|
+
return Service50.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node53 = makeGlobalNode({
|
|
171
|
+
service: Service50,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node68]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service50, isError2, validateBranch2, node53, exports_repository_cache };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service11,
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service11.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node13 = makeLocationNode({ service: Service11, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service11, node13, exports_location_watcher_policy };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service10
|
|
3
|
+
} from "./tool-sd3ysec1.js";
|
|
4
|
+
import {
|
|
5
|
+
__export
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
|
+
|
|
8
|
+
// src/plugin/compaction.ts
|
|
9
|
+
var exports_compaction = {};
|
|
10
|
+
__export(exports_compaction, {
|
|
11
|
+
NativeCompactionPlugin: () => exports_compaction,
|
|
12
|
+
Plugin: () => Plugin16
|
|
13
|
+
});
|
|
14
|
+
import { LLMClient, Message } from "@opencode/ai";
|
|
15
|
+
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
|
+
import { Effect } from "effect";
|
|
17
|
+
var Plugin16 = define({
|
|
18
|
+
id: "opencode.compaction.native",
|
|
19
|
+
effect: Effect.fn("NativeCompactionPlugin")(function* () {
|
|
20
|
+
const llm = yield* LLMClient.Service;
|
|
21
|
+
const compaction = yield* Service10;
|
|
22
|
+
yield* compaction.transform((editor) => {
|
|
23
|
+
editor.native((input) => {
|
|
24
|
+
const request = input.request;
|
|
25
|
+
if (LLMClient.canCompact(request, { mechanism: "trigger" }))
|
|
26
|
+
return Effect.gen(function* () {
|
|
27
|
+
const retained = yield* input.retained;
|
|
28
|
+
const result = yield* llm.compact(request, { ...input.options, mechanism: "trigger" });
|
|
29
|
+
return { replacement: [...retained, Message.assistant(result.checkpoint)], usage: result.usage };
|
|
30
|
+
});
|
|
31
|
+
if (LLMClient.canCompact(request))
|
|
32
|
+
return llm.compact(request, { mechanism: "endpoint", http: input.options.http });
|
|
33
|
+
return;
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
})
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export { Plugin16, exports_compaction };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-fcy52zm3.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|