@opencode/core 0.0.0-dev-21128 → 0.0.0-dev-21144
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{schema-6fted6dj.js → persistent-pty-04237xqk.js} +34 -27
- package/dist/chunks/{schema-76p2hadv.js → persistent-pty-0at12hts.js} +18 -18
- package/dist/chunks/{schema-ewqvwr2x.js → persistent-pty-0h2x14kv.js} +5 -5
- package/dist/chunks/{schema-2rf1n5pv.js → persistent-pty-0hgs8p1m.js} +24 -24
- package/dist/chunks/{schema-2k8khapm.js → persistent-pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{schema-4egt9m7r.js → persistent-pty-0kwc86f6.js} +15 -15
- package/dist/chunks/{schema-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{schema-p052r70t.js → persistent-pty-0w22s44h.js} +89 -89
- package/dist/chunks/{schema-n03mp3yd.js → persistent-pty-0wzapw8n.js} +30 -30
- package/dist/chunks/{schema-68ha1dmp.js → persistent-pty-0x4chtp0.js} +8 -8
- package/dist/chunks/{schema-17vv9xcz.js → persistent-pty-0ymzh51e.js} +40 -40
- package/dist/chunks/{schema-59jp7pd6.js → persistent-pty-1ak9gecn.js} +8 -8
- package/dist/chunks/persistent-pty-1ep4rre3.js +42 -0
- package/dist/chunks/{schema-1ffvrpkg.js → persistent-pty-1ffvrpkg.js} +2 -2
- package/dist/chunks/{schema-thf661k5.js → persistent-pty-1j0p9b01.js} +3 -3
- package/dist/chunks/{schema-dg4m5tge.js → persistent-pty-1m69962m.js} +13 -13
- package/dist/chunks/{schema-mjx25vwj.js → persistent-pty-1nh0dqqz.js} +10 -10
- package/dist/chunks/{schema-4xpgt2w9.js → persistent-pty-1pxz8ven.js} +5 -5
- package/dist/chunks/{schema-ym07d6bt.js → persistent-pty-1sppys3p.js} +40 -40
- package/dist/chunks/{schema-ggm89tq8.js → persistent-pty-26p7d7xs.js} +5 -5
- package/dist/chunks/{schema-czxmxkjn.js → persistent-pty-2avy5dta.js} +10 -10
- package/dist/chunks/{schema-pnaxc6j9.js → persistent-pty-2eegacq4.js} +8 -8
- package/dist/chunks/{schema-v11cfhwj.js → persistent-pty-2nndjys1.js} +14 -14
- package/dist/chunks/{schema-g8chqg8x.js → persistent-pty-2rb9smkj.js} +21 -21
- package/dist/chunks/{schema-kq18enfy.js → persistent-pty-37c5z9v4.js} +21 -21
- package/dist/chunks/{schema-3z44xk1j.js → persistent-pty-399mwr77.js} +15 -15
- package/dist/chunks/{schema-p918rxap.js → persistent-pty-3a2pvjwb.js} +30 -30
- package/dist/chunks/{schema-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3hwn7j4h.js → persistent-pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{schema-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-xmwhtsj9.js → persistent-pty-3syzjre4.js} +11 -11
- package/dist/chunks/{schema-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-b9rg9672.js → persistent-pty-3yj2zv75.js} +30 -30
- package/dist/chunks/{schema-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-pmsh97f8.js → persistent-pty-49h0gsx4.js} +11 -11
- package/dist/chunks/{schema-9p13z2fd.js → persistent-pty-4ezrc1pe.js} +28 -28
- package/dist/chunks/{schema-6865p596.js → persistent-pty-4jr81d9g.js} +7 -7
- package/dist/chunks/{schema-ns88ajwv.js → persistent-pty-4qem063f.js} +22 -22
- package/dist/chunks/{schema-8jk8atz7.js → persistent-pty-4t55d986.js} +3 -3
- package/dist/chunks/{schema-4ma3setj.js → persistent-pty-4z3jw88z.js} +11 -11
- package/dist/chunks/{schema-gb1z2t6a.js → persistent-pty-51aj7naj.js} +34 -34
- package/dist/chunks/{schema-r94pvvab.js → persistent-pty-54ma36ye.js} +4 -4
- package/dist/chunks/{schema-k24fqy0d.js → persistent-pty-55begk9b.js} +50 -50
- package/dist/chunks/{schema-q0abj1bt.js → persistent-pty-58cb3f0k.js} +17 -17
- package/dist/chunks/{schema-fsazytah.js → persistent-pty-5b5xz8a9.js} +23 -23
- package/dist/chunks/{schema-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-x6p3pch1.js → persistent-pty-5pkzysbz.js} +27 -27
- package/dist/chunks/{schema-ghe4s0bd.js → persistent-pty-6559rxr6.js} +6 -6
- package/dist/chunks/{schema-dqxsqydv.js → persistent-pty-6827pfxn.js} +2 -2
- package/dist/chunks/{schema-0k8vrbqv.js → persistent-pty-6fs5hhyf.js} +13 -13
- package/dist/chunks/{schema-anf0zms1.js → persistent-pty-6pzw4973.js} +9 -9
- package/dist/chunks/{schema-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{schema-resasz5n.js → persistent-pty-6zm27x1b.js} +10 -10
- package/dist/chunks/{schema-6kayr0qe.js → persistent-pty-70a1by7q.js} +12 -12
- package/dist/chunks/{schema-8ztr7zqt.js → persistent-pty-70kzh81q.js} +10 -10
- package/dist/chunks/{schema-775gj3j1.js → persistent-pty-775gj3j1.js} +2 -2
- package/dist/chunks/{schema-mfrb75py.js → persistent-pty-79n7kqtz.js} +3 -3
- package/dist/chunks/{schema-sfrk6182.js → persistent-pty-7aj2yngp.js} +11 -11
- package/dist/chunks/{schema-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-wa0dzetr.js → persistent-pty-8076c16q.js} +32 -32
- package/dist/chunks/{schema-84txncab.js → persistent-pty-84txncab.js} +1 -1
- package/dist/chunks/{schema-0f0zvkaa.js → persistent-pty-868f7czb.js} +21 -21
- package/dist/chunks/{schema-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
- package/dist/chunks/{schema-fwwj6dpp.js → persistent-pty-8hx72h8x.js} +17 -17
- package/dist/chunks/{schema-8m6m0r52.js → persistent-pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{schema-fyyfn66b.js → persistent-pty-8m6sqc8s.js} +18 -18
- package/dist/chunks/{schema-3cnddbnz.js → persistent-pty-8sap1y7n.js} +9 -9
- package/dist/chunks/{schema-jws6fkes.js → persistent-pty-8sze2n9a.js} +4 -4
- package/dist/chunks/{schema-8ww2gede.js → persistent-pty-8ww2gede.js} +3 -3
- package/dist/chunks/{schema-2r1eb10n.js → persistent-pty-90gj1595.js} +4 -4
- package/dist/chunks/{schema-j09zfasm.js → persistent-pty-91qna3x0.js} +3 -3
- package/dist/chunks/{schema-p5ryvqnb.js → persistent-pty-9bmnzs6p.js} +36 -36
- package/dist/chunks/{schema-ygdna4kr.js → persistent-pty-9hwaqfsw.js} +5 -5
- package/dist/chunks/{schema-a7ctbxgg.js → persistent-pty-9j45kp54.js} +24 -24
- package/dist/chunks/{schema-q5neaxm4.js → persistent-pty-9t9apx18.js} +20 -20
- package/dist/chunks/{schema-zrtdz52k.js → persistent-pty-9t9jzawt.js} +16 -16
- package/dist/chunks/{schema-tefzsydj.js → persistent-pty-9w8vrx7t.js} +10 -10
- package/dist/chunks/{schema-kwrz0y0k.js → persistent-pty-9y9sk2j9.js} +2 -2
- package/dist/chunks/{schema-qf8yav5m.js → persistent-pty-a08hybxf.js} +71 -62
- package/dist/chunks/{schema-t1q28tqc.js → persistent-pty-a2s0935e.js} +11 -11
- package/dist/chunks/{schema-10v527gs.js → persistent-pty-a895pzt4.js} +3 -3
- package/dist/chunks/{schema-x661k3y3.js → persistent-pty-addxnjmp.js} +4 -4
- package/dist/chunks/{schema-a2n5hk9p.js → persistent-pty-adk15a35.js} +20 -20
- package/dist/chunks/{schema-x90t1x8v.js → persistent-pty-aec28y99.js} +32 -32
- package/dist/chunks/persistent-pty-amdb5r97.js +257 -0
- package/dist/chunks/{schema-axsv9zpy.js → persistent-pty-apg447zh.js} +21 -21
- package/dist/chunks/{schema-yeejah88.js → persistent-pty-axe3mf62.js} +3 -3
- package/dist/chunks/{schema-3xrnjwnw.js → persistent-pty-azgbvmq5.js} +4 -4
- package/dist/chunks/{schema-d8c58hjf.js → persistent-pty-b2502n83.js} +14 -14
- package/dist/chunks/{schema-6nhx3y9w.js → persistent-pty-b4rh7w8t.js} +6 -6
- package/dist/chunks/{schema-c15vp0bv.js → persistent-pty-b6ydn2m7.js} +16 -16
- package/dist/chunks/{schema-0yhcr5y4.js → persistent-pty-b7ek2qq0.js} +5 -5
- package/dist/chunks/{schema-mxa1ph63.js → persistent-pty-bh7k50df.js} +14 -14
- package/dist/chunks/{schema-dteeez7f.js → persistent-pty-bhy5c7m8.js} +20 -20
- package/dist/chunks/{schema-0kycem7f.js → persistent-pty-bjjk51rb.js} +38 -38
- package/dist/chunks/{schema-tee83863.js → persistent-pty-bqwheb6v.js} +11 -11
- package/dist/chunks/{schema-pgp1nwjn.js → persistent-pty-btbmdjwj.js} +4 -4
- package/dist/chunks/{schema-c1fqxshp.js → persistent-pty-c1fqxshp.js} +3 -3
- package/dist/chunks/{schema-8n4dd16f.js → persistent-pty-c6awdkmy.js} +26 -26
- package/dist/chunks/{schema-jy8e2gma.js → persistent-pty-ca6kg5ek.js} +11 -11
- package/dist/chunks/{schema-wyjfsmfk.js → persistent-pty-cffd7thf.js} +5 -5
- package/dist/chunks/{schema-w6hnjh55.js → persistent-pty-cp2cqbts.js} +36 -36
- package/dist/chunks/{schema-f9n7485j.js → persistent-pty-cqz7nt7j.js} +25 -25
- package/dist/chunks/{schema-ye7hy88z.js → persistent-pty-cxx7fx3c.js} +42 -42
- package/dist/chunks/{schema-qtpyfbe9.js → persistent-pty-d20va75g.js} +7 -7
- package/dist/chunks/{schema-6eq3sh2w.js → persistent-pty-d5sx35jq.js} +20 -20
- package/dist/chunks/{schema-n4r3xatb.js → persistent-pty-ddt2bs9e.js} +4 -4
- package/dist/chunks/{schema-fdms3n6w.js → persistent-pty-depwzj9d.js} +9 -9
- package/dist/chunks/{schema-qfsqm6np.js → persistent-pty-dw7cpmje.js} +26 -26
- package/dist/chunks/{schema-q8fp7b3t.js → persistent-pty-dwwb1cts.js} +2 -2
- package/dist/chunks/{schema-vqzwdyht.js → persistent-pty-dxn4j312.js} +19 -19
- package/dist/chunks/{schema-hcv80w8f.js → persistent-pty-dys7k0s0.js} +8 -8
- package/dist/chunks/{schema-50qje5ka.js → persistent-pty-dzv19xhm.js} +5 -5
- package/dist/chunks/{schema-xdzahe3w.js → persistent-pty-e55t292q.js} +31 -31
- package/dist/chunks/{schema-nma959mg.js → persistent-pty-e80seqcp.js} +3 -3
- package/dist/chunks/{schema-1nphqzjq.js → persistent-pty-ecg7v5nb.js} +6 -6
- package/dist/chunks/{schema-eej6y6fw.js → persistent-pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{schema-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-qg2xzwen.js → persistent-pty-efh928rm.js} +22 -22
- package/dist/chunks/{schema-dxpcctss.js → persistent-pty-egxgp523.js} +15 -15
- package/dist/chunks/{schema-k3bfj9r8.js → persistent-pty-em09xzj2.js} +45 -45
- package/dist/chunks/{schema-1wtnhbf9.js → persistent-pty-ep675yaz.js} +13 -13
- package/dist/chunks/{schema-s286yagr.js → persistent-pty-eq6rpykv.js} +18 -18
- package/dist/chunks/{schema-y665z9kv.js → persistent-pty-er6f2807.js} +11 -11
- package/dist/chunks/{schema-h7jvcp9k.js → persistent-pty-eyj1pktf.js} +12 -12
- package/dist/chunks/{schema-8ejdx998.js → persistent-pty-f3sjrvfs.js} +17 -14
- package/dist/chunks/{schema-9p5acfy1.js → persistent-pty-f62n1yv1.js} +27 -27
- package/dist/chunks/{schema-hx87cxzr.js → persistent-pty-f7ma11rg.js} +6 -6
- package/dist/chunks/{schema-fcy631f0.js → persistent-pty-fcy631f0.js} +1 -1
- package/dist/chunks/{schema-95zjjxtq.js → persistent-pty-fjjsqrj6.js} +15 -15
- package/dist/chunks/{schema-tt8gc4fv.js → persistent-pty-fn9t717r.js} +6 -6
- package/dist/chunks/{schema-fqq9xsk7.js → persistent-pty-fnsp55tv.js} +11 -11
- package/dist/chunks/{schema-rx13retx.js → persistent-pty-fr67tqfn.js} +308 -308
- package/dist/chunks/{schema-cpneeje0.js → persistent-pty-ft3hqk2c.js} +9 -9
- package/dist/chunks/{schema-khmqacep.js → persistent-pty-fxaymqdw.js} +4 -4
- package/dist/chunks/{schema-fmw6cc58.js → persistent-pty-g4grd2er.js} +22 -22
- package/dist/chunks/{schema-g5f1ryzt.js → persistent-pty-g5x2qnc7.js} +17 -17
- package/dist/chunks/{schema-g72yd4k4.js → persistent-pty-g72yd4k4.js} +5 -5
- package/dist/chunks/{schema-k56mmmxs.js → persistent-pty-g9q6txws.js} +25 -25
- package/dist/chunks/{schema-fegk541e.js → persistent-pty-gcavn3wx.js} +5 -5
- package/dist/chunks/{schema-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-cdpaedqb.js → persistent-pty-gn31e51v.js} +11 -11
- package/dist/chunks/{schema-hjmyv2hs.js → persistent-pty-gwfvc0m6.js} +21 -21
- package/dist/chunks/{schema-m83febcw.js → persistent-pty-gz4gyws3.js} +32 -32
- package/dist/chunks/{schema-9ekvz889.js → persistent-pty-h4ttq6mv.js} +5 -5
- package/dist/chunks/{schema-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-h7s7r6s9.js → persistent-pty-h7s7r6s9.js} +2 -2
- package/dist/chunks/{schema-3g8j9he4.js → persistent-pty-he27pt63.js} +1 -1
- package/dist/chunks/{schema-hgz4x7wa.js → persistent-pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{schema-ex0qfgm5.js → persistent-pty-hjdr0kvj.js} +19 -19
- package/dist/chunks/{schema-kqx1b4hy.js → persistent-pty-hkffa77z.js} +4 -4
- package/dist/chunks/{schema-408qd735.js → persistent-pty-hpbxh8gx.js} +8 -8
- package/dist/chunks/{schema-vwrj8bb5.js → persistent-pty-hrpc1zm2.js} +41 -41
- package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
- package/dist/chunks/{schema-gxbb3yvm.js → persistent-pty-j337hmpf.js} +1 -1
- package/dist/chunks/{schema-7yk21tm5.js → persistent-pty-jerz8xmy.js} +8 -8
- package/dist/chunks/{schema-1dbxpfae.js → persistent-pty-jwdj0bz1.js} +11 -11
- package/dist/chunks/{schema-gr8gj2c0.js → persistent-pty-k3k3bw8m.js} +1 -1
- package/dist/chunks/{schema-yn7wtxd2.js → persistent-pty-kmhexkvz.js} +44 -44
- package/dist/chunks/{schema-1f8tseqc.js → persistent-pty-krzhqatr.js} +13 -13
- package/dist/chunks/{schema-kwb1v3vj.js → persistent-pty-kwb1v3vj.js} +1 -1
- package/dist/chunks/{schema-06rcn11j.js → persistent-pty-kybvgadz.js} +18 -18
- package/dist/chunks/{schema-sk42vjna.js → persistent-pty-m20dg1r7.js} +7 -7
- package/dist/chunks/{schema-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
- package/dist/chunks/{schema-myznp2ey.js → persistent-pty-mhqkqnc6.js} +4 -4
- package/dist/chunks/{schema-bhercncw.js → persistent-pty-n6rbky9d.js} +6 -6
- package/dist/chunks/{schema-ce0x165r.js → persistent-pty-n8ar2vr6.js} +4 -4
- package/dist/chunks/{schema-8p79pfpw.js → persistent-pty-ncz28he7.js} +12 -12
- package/dist/chunks/{schema-g686f6pq.js → persistent-pty-nd4tfyg0.js} +9 -9
- package/dist/chunks/{schema-vcp4xrb7.js → persistent-pty-njazmw33.js} +11 -11
- package/dist/chunks/{schema-bqq573xy.js → persistent-pty-nmwek3zh.js} +34 -34
- package/dist/chunks/{schema-srkj9qtk.js → persistent-pty-nr3qa60f.js} +24 -24
- package/dist/chunks/{schema-bw9zjykr.js → persistent-pty-p7a39gy5.js} +6 -6
- package/dist/chunks/{schema-p37cw4rj.js → persistent-pty-pa8pe2x7.js} +8 -8
- package/dist/chunks/{schema-ebf45729.js → persistent-pty-pbxhkc08.js} +9 -9
- package/dist/chunks/{schema-cks9st07.js → persistent-pty-pd9mwsk8.js} +21 -21
- package/dist/chunks/{schema-nrs2h4yz.js → persistent-pty-pem0k0kd.js} +32 -32
- package/dist/chunks/{schema-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-1z1hhbnd.js → persistent-pty-pk3y0cyt.js} +298 -298
- package/dist/chunks/{schema-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{schema-apq6r5aa.js → persistent-pty-pm92p9pd.js} +20 -20
- package/dist/chunks/{schema-0gzmbw8p.js → persistent-pty-pndvs7c5.js} +50 -50
- package/dist/chunks/{schema-5kxv8c65.js → persistent-pty-pp68vse7.js} +13 -13
- package/dist/chunks/{schema-akzyr1b0.js → persistent-pty-q4xfwgn4.js} +13 -13
- package/dist/chunks/{schema-61dncda7.js → persistent-pty-qdss2tee.js} +8 -8
- package/dist/chunks/{schema-pfbpv3g0.js → persistent-pty-qf1wc8s5.js} +25 -25
- package/dist/chunks/{schema-j4pa3sxp.js → persistent-pty-qjc79sh2.js} +23 -23
- package/dist/chunks/{schema-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{schema-0p6rjs4a.js → persistent-pty-qqjsh8e7.js} +16 -16
- package/dist/chunks/{schema-3pswppb2.js → persistent-pty-qs4wgkhm.js} +11 -11
- package/dist/chunks/{schema-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-2q5jh8we.js → persistent-pty-r1vdwkta.js} +5 -5
- package/dist/chunks/{schema-69crc7yk.js → persistent-pty-r42fkgn3.js} +28 -28
- package/dist/chunks/{schema-6zqzf161.js → persistent-pty-r4a5d315.js} +20 -20
- package/dist/chunks/{schema-8w4g0xa2.js → persistent-pty-r673z147.js} +20 -20
- package/dist/chunks/{schema-4axgfxzz.js → persistent-pty-r7806esx.js} +10 -10
- package/dist/chunks/{schema-jvjz5qrz.js → persistent-pty-r88hbvz2.js} +10 -10
- package/dist/chunks/{schema-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-rert0e01.js → persistent-pty-rert0e01.js} +2 -2
- package/dist/chunks/{schema-e74qn5m6.js → persistent-pty-rhg4d2ab.js} +4 -4
- package/dist/chunks/{schema-rj3eygr5.js → persistent-pty-rj3eygr5.js} +2 -2
- package/dist/chunks/{schema-e2n8yt8r.js → persistent-pty-rtpb8kpz.js} +15 -15
- package/dist/chunks/{schema-kd5bjm3y.js → persistent-pty-s4dav6dq.js} +31 -28
- package/dist/chunks/{schema-rhjbct0v.js → persistent-pty-s8d7rejh.js} +4 -4
- package/dist/chunks/{schema-gehb1j4h.js → persistent-pty-s8s8vm7g.js} +9 -9
- package/dist/chunks/{schema-sa8ekw3f.js → persistent-pty-sa8ekw3f.js} +2 -2
- package/dist/chunks/{schema-stp8edf2.js → persistent-pty-sc3k4bp6.js} +4 -4
- package/dist/chunks/{schema-89xe4srr.js → persistent-pty-sexkh2dj.js} +17 -17
- package/dist/chunks/{schema-b3a5bp18.js → persistent-pty-sgf9y5xx.js} +14 -14
- package/dist/chunks/{schema-9j8yqexn.js → persistent-pty-sj9rcpbq.js} +35 -35
- package/dist/chunks/{schema-pgwfpy2t.js → persistent-pty-stze078s.js} +10 -10
- package/dist/chunks/{schema-syv4x271.js → persistent-pty-syv4x271.js} +1 -1
- package/dist/chunks/{schema-mrej51x7.js → persistent-pty-t2hdnyp6.js} +11 -11
- package/dist/chunks/{schema-00x4qneg.js → persistent-pty-t89fqycx.js} +7 -7
- package/dist/chunks/{schema-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-m2hjyvdx.js → persistent-pty-tc11merm.js} +10 -10
- package/dist/chunks/{schema-gm31ynds.js → persistent-pty-tdqj5rj9.js} +5 -5
- package/dist/chunks/{schema-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{schema-dsk87twy.js → persistent-pty-te646jaw.js} +18 -18
- package/dist/chunks/{schema-tm0kqsz3.js → persistent-pty-tm0kqsz3.js} +1 -1
- package/dist/chunks/{schema-hm4b5h1p.js → persistent-pty-tw93a2eg.js} +11 -11
- package/dist/chunks/{schema-tyytaxap.js → persistent-pty-tyytaxap.js} +1 -1
- package/dist/chunks/{schema-yakt2btp.js → persistent-pty-v00qce9k.js} +15 -15
- package/dist/chunks/{schema-v0es1rhs.js → persistent-pty-v0es1rhs.js} +2 -2
- package/dist/chunks/{schema-db05nfjv.js → persistent-pty-v2g920t7.js} +20 -20
- package/dist/chunks/{schema-1cy71d6v.js → persistent-pty-v2q1tt24.js} +21 -24
- package/dist/chunks/{schema-edrmdtr5.js → persistent-pty-v5dkyp31.js} +7 -7
- package/dist/chunks/{schema-v7p4zvkq.js → persistent-pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{schema-5de2gr9z.js → persistent-pty-v7rb73jq.js} +5 -5
- package/dist/chunks/{schema-g6nx6pmp.js → persistent-pty-vaxstqyq.js} +4 -4
- package/dist/chunks/{schema-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-dj68pnee.js → persistent-pty-vkfdnwpx.js} +4 -4
- package/dist/chunks/{schema-174z1ezk.js → persistent-pty-vmhdrmay.js} +14 -14
- package/dist/chunks/{schema-z3tpe7fs.js → persistent-pty-vwrsfq36.js} +32 -32
- package/dist/chunks/{schema-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-frtykvn2.js → persistent-pty-w5fzecdx.js} +7 -7
- package/dist/chunks/{schema-txm3e8qz.js → persistent-pty-waskdk5r.js} +4 -4
- package/dist/chunks/{schema-a6ngq6mk.js → persistent-pty-wbbmfrwc.js} +20 -20
- package/dist/chunks/{schema-5z02pkbr.js → persistent-pty-wcdp2xf1.js} +16 -16
- package/dist/chunks/{schema-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{schema-rsyte9ef.js → persistent-pty-wjf86v68.js} +4 -4
- package/dist/chunks/{schema-x7jswfsb.js → persistent-pty-wkyfwj57.js} +70 -70
- package/dist/chunks/{schema-81qk38pm.js → persistent-pty-wq48axxc.js} +4 -4
- package/dist/chunks/{schema-2c7hjkzv.js → persistent-pty-wsb67xeh.js} +15 -15
- package/dist/chunks/{schema-r4z16np3.js → persistent-pty-wsy3wehs.js} +7 -7
- package/dist/chunks/{schema-0hcn15p1.js → persistent-pty-wxft8nrk.js} +18 -18
- package/dist/chunks/{schema-086evxbn.js → persistent-pty-wy4krjgg.js} +14 -14
- package/dist/chunks/{schema-j9k9bt6j.js → persistent-pty-x3d6r14d.js} +50 -50
- package/dist/chunks/{schema-s7gh33jr.js → persistent-pty-xarbvv3d.js} +29 -29
- package/dist/chunks/{schema-svhx02am.js → persistent-pty-xdp7tq7h.js} +179 -179
- package/dist/chunks/{schema-ng3ztjpw.js → persistent-pty-xf5drc1b.js} +18 -18
- package/dist/chunks/{schema-qqeeq2t9.js → persistent-pty-xfkkasph.js} +7 -7
- package/dist/chunks/{schema-r378p0mt.js → persistent-pty-xfsd998s.js} +3 -3
- package/dist/chunks/{schema-nrr6v9hq.js → persistent-pty-xq9mvccd.js} +15 -15
- package/dist/chunks/{schema-n6f2kyvw.js → persistent-pty-xz7fxsde.js} +20 -20
- package/dist/chunks/{schema-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
- package/dist/chunks/{schema-8xhnhrgx.js → persistent-pty-y7tts23x.js} +12 -12
- package/dist/chunks/{schema-h1w7bwx1.js → persistent-pty-y904s1ke.js} +17 -17
- package/dist/chunks/{schema-wxnjjx0e.js → persistent-pty-yayb89cb.js} +3 -3
- package/dist/chunks/{schema-cc1s9c43.js → persistent-pty-yhexa121.js} +9 -9
- package/dist/chunks/{schema-r8xr0va3.js → persistent-pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{schema-hqhqb1sm.js → persistent-pty-yt99s1s6.js} +10 -10
- package/dist/chunks/{schema-y79jsmc4.js → persistent-pty-yv1fws1k.js} +9 -9
- package/dist/chunks/{schema-7tecbzj9.js → persistent-pty-yzzekmzw.js} +11 -11
- package/dist/chunks/{schema-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/persistent-pty-z4w52078.js +26 -0
- package/dist/chunks/{schema-g5dqfzj2.js → persistent-pty-z5e6kfa6.js} +9 -9
- package/dist/chunks/{schema-s8hpqafn.js → persistent-pty-zh5yh1pa.js} +85 -85
- package/dist/chunks/{schema-wja2vrff.js → persistent-pty-zjyt5r8a.js} +43 -43
- package/dist/chunks/{schema-psamvvrj.js → persistent-pty-znkfpgqp.js} +15 -15
- package/dist/chunks/{schema-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-n1n192bv.js → persistent-pty-zsr4wwhv.js} +4 -4
- package/dist/chunks/{schema-3m3fc8ex.js → persistent-pty-zvdzq0ev.js} +8 -8
- package/dist/chunks/{schema-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{schema-rv8mn90w.js → persistent-pty-zytcjjhp.js} +3 -3
- 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 +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +10 -0
- package/dist/config/plugin/skill.js +136 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +369 -368
- 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 +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +106 -106
- package/dist/git.js +6 -6
- 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 +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +7 -7
- package/dist/shell.js +128 -128
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +205 -205
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/config/plugin/skill-scan.d.ts +5 -0
- package/dist/types/skill.d.ts +1 -1
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/schema-4y9z2cs8.js +0 -257
- package/dist/chunks/schema-ctefx7dc.js +0 -18
- package/dist/chunks/schema-fvxbfx4x.js +0 -26
- /package/dist/chunks/{schema-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{schema-pyv0edze.js → persistent-pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service11,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node13
|
|
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 Service11 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service11, 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(Service13, 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 Service11.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(Service13, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service11, node13, exports_discovery };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID6,
|
|
6
|
+
Service60
|
|
7
|
+
} from "./persistent-pty-xarbvv3d.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-axe3mf62.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-6559rxr6.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service60;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID6.make(from),
|
|
91
|
+
to: ID6.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-addxnjmp.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-n8ar2vr6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./persistent-pty-kybvgadz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-pm92p9pd.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service78
|
|
20
|
+
} from "./persistent-pty-fr67tqfn.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID5
|
|
23
|
+
} from "./persistent-pty-e55t292q.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-qs4wgkhm.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-t2hdnyp6.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID11
|
|
33
|
+
} from "./persistent-pty-pd9mwsk8.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
get5
|
|
36
|
+
} from "./persistent-pty-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID14.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service78;
|
|
167
167
|
const bus = yield* Service85;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID13.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID13.githubCopilot, ID5.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID13.githubCopilot, ID5.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,23 +249,23 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
256
256
|
}));
|
|
257
257
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
258
258
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
259
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
259
|
+
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID13.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID13.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID13.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service82
|
|
8
|
+
} from "./persistent-pty-eyj1pktf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service64
|
|
11
|
+
} from "./persistent-pty-9j45kp54.js";
|
|
12
12
|
import {
|
|
13
13
|
Service16
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-4jr81d9g.js";
|
|
15
15
|
import {
|
|
16
16
|
Service19,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-m20dg1r7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./persistent-pty-x3d6r14d.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service55,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-te646jaw.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
39
|
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
41
|
Plugin: () => Plugin7,
|
|
42
|
-
name: () =>
|
|
42
|
+
name: () => name6,
|
|
43
43
|
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name6 = "patch";
|
|
89
|
+
var Input6 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -108,17 +108,17 @@ var toModelContent3 = (output) => [
|
|
|
108
108
|
var Plugin7 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
111
|
+
const environment = yield* Service64;
|
|
112
|
+
const access = yield* Service55;
|
|
113
113
|
const fileMutation = yield* Service19;
|
|
114
114
|
const formatter = yield* Service16;
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
115
|
+
const location = yield* Service82;
|
|
116
|
+
const permission = yield* Service73;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
121
|
+
input: Input6,
|
|
122
122
|
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name6, Input6, Applied2, Output4, toModelContent3, Plugin7, exports_patch };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service38,
|
|
10
|
+
node: () => node40
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service38 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node40 = LayerNode.unbound(Service38, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service38, node40, exports_service2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service6,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node8
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service6 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node8 = makeLocationNode({
|
|
19
|
+
service: Service6,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service6, node8, bound2, exports_instance2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-eyj1pktf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service69,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node73,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service69 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service69, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node73 = LayerNode.unbound(Service69, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service69;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service69, node73, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-n8ar2vr6.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event16,
|
|
18
|
+
ID: () => ID11,
|
|
19
|
+
Info: () => Info20,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service76,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node80
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event16 } from "@opencode/schema/agent";
|
|
29
|
+
var ID11 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID11.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info20 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service76 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service85;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info20.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID11.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service76.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID11.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID11.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node89] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID11, Name3, defaultID2, Color2, Info20, Service76, node80, exports_agent4, Event16 };
|