@opencode-ai/core 0.0.0-beta-18985 → 0.0.0-beta-18999
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 +2 -2
- package/dist/agent.js +70 -70
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +68 -68
- package/dist/catalog.js +78 -78
- package/dist/chunks/{bus-zksrw0cy.js → model-resolver-03ddbsr9.js} +14 -14
- package/dist/chunks/{bus-0ag03ecw.js → model-resolver-0ag03ecw.js} +2 -2
- package/dist/chunks/{bus-0gpahtwn.js → model-resolver-0gpahtwn.js} +2 -2
- package/dist/chunks/{bus-06fa9fea.js → model-resolver-0n1ech8q.js} +87 -87
- package/dist/chunks/{bus-0pc4kdn1.js → model-resolver-0pc4kdn1.js} +2 -2
- package/dist/chunks/{bus-0rz7yd7x.js → model-resolver-0rz7yd7x.js} +1 -1
- package/dist/chunks/{bus-f49n7vfd.js → model-resolver-0vkt3tck.js} +6 -6
- package/dist/chunks/{bus-136c8mz3.js → model-resolver-136c8mz3.js} +3 -3
- package/dist/chunks/{bus-tmmyzvbj.js → model-resolver-136r7v3c.js} +7 -7
- package/dist/chunks/{bus-n1mbef1k.js → model-resolver-15077vr8.js} +149 -149
- package/dist/chunks/{bus-cf85wa46.js → model-resolver-158s554p.js} +7 -7
- package/dist/chunks/{bus-0z3yv0n3.js → model-resolver-165g8spq.js} +8 -8
- package/dist/chunks/{bus-s5cj0r0w.js → model-resolver-18medfkf.js} +4 -4
- package/dist/chunks/{bus-cf3c6hm6.js → model-resolver-1n8ee09s.js} +7 -7
- package/dist/chunks/{bus-crxs3652.js → model-resolver-1pfcdes2.js} +6 -6
- package/dist/chunks/{bus-nexa23fy.js → model-resolver-1qdep925.js} +6 -6
- package/dist/chunks/{bus-264e1nfp.js → model-resolver-264e1nfp.js} +2 -2
- package/dist/chunks/{bus-6ymw52d0.js → model-resolver-2kthdmar.js} +12 -12
- package/dist/chunks/{bus-2qq12ds3.js → model-resolver-2qq12ds3.js} +3 -3
- package/dist/chunks/{bus-2sqw2jjm.js → model-resolver-2sqw2jjm.js} +3 -3
- package/dist/chunks/{bus-hnc2qr6r.js → model-resolver-2v2tc4x7.js} +2 -2
- package/dist/chunks/{bus-326j4s6w.js → model-resolver-326j4s6w.js} +2 -2
- package/dist/chunks/{bus-9hq97bwm.js → model-resolver-36pw8tps.js} +4 -4
- package/dist/chunks/{bus-3chx3ng6.js → model-resolver-3chx3ng6.js} +1 -1
- package/dist/chunks/{bus-3ebhgms6.js → model-resolver-3ebhgms6.js} +3 -3
- package/dist/chunks/{bus-3ep0k87g.js → model-resolver-3ep0k87g.js} +3 -3
- package/dist/chunks/{bus-5p6bksbb.js → model-resolver-3mc1hhwa.js} +3 -3
- package/dist/chunks/{bus-62ttxhbt.js → model-resolver-3rvvyz0j.js} +12 -12
- package/dist/chunks/{bus-3tg0cqem.js → model-resolver-3tg0cqem.js} +1 -1
- package/dist/chunks/{bus-42zyazrq.js → model-resolver-42zyazrq.js} +1 -1
- package/dist/chunks/{bus-gzgvxwph.js → model-resolver-48xfm273.js} +5 -5
- package/dist/chunks/{bus-er3ecgf9.js → model-resolver-4fhh1fay.js} +10 -10
- package/dist/chunks/{bus-2qehjajs.js → model-resolver-4fr8jywp.js} +2 -2
- package/dist/chunks/{bus-4v6g3p22.js → model-resolver-4v6g3p22.js} +1 -1
- package/dist/chunks/{bus-4w0ckvbq.js → model-resolver-4w0ckvbq.js} +3 -3
- package/dist/chunks/{bus-fbdhpzze.js → model-resolver-4wsyak3y.js} +7 -7
- package/dist/chunks/{bus-k8qag8st.js → model-resolver-50zp5qas.js} +5 -5
- package/dist/chunks/{bus-51t2tyks.js → model-resolver-51t2tyks.js} +1 -1
- package/dist/chunks/{bus-53jxjgr1.js → model-resolver-53jxjgr1.js} +2 -2
- package/dist/chunks/{bus-dq6j7mhr.js → model-resolver-5swfpf97.js} +3 -3
- package/dist/chunks/{bus-5vbk082d.js → model-resolver-5vbk082d.js} +2 -2
- package/dist/chunks/{bus-5y5kqjze.js → model-resolver-5y5kqjze.js} +1 -1
- package/dist/chunks/{bus-66mds5ht.js → model-resolver-66mds5ht.js} +1 -1
- package/dist/chunks/{bus-412g9bcb.js → model-resolver-67ndm1z2.js} +49 -49
- package/dist/chunks/{bus-68yag814.js → model-resolver-68yag814.js} +1 -1
- package/dist/chunks/{bus-6a909wmz.js → model-resolver-6a909wmz.js} +2 -2
- package/dist/chunks/{bus-6bxzghb6.js → model-resolver-6bxzghb6.js} +1 -1
- package/dist/chunks/{bus-6hppa3xw.js → model-resolver-6hppa3xw.js} +2 -2
- package/dist/chunks/{bus-0zx1km38.js → model-resolver-6htxnd6w.js} +7 -7
- package/dist/chunks/{bus-6vbv4je1.js → model-resolver-6vbv4je1.js} +2 -2
- package/dist/chunks/{bus-6wsfy4sp.js → model-resolver-6wsfy4sp.js} +2 -2
- package/dist/chunks/{bus-9m7jppp9.js → model-resolver-7a4wqe5w.js} +5 -5
- package/dist/chunks/{bus-cjdmz35s.js → model-resolver-7fndj6sb.js} +1 -1
- package/dist/chunks/{bus-t6kshnxf.js → model-resolver-7g3szxan.js} +3 -3
- package/dist/chunks/{bus-w1bgxg9e.js → model-resolver-7hg4wk1y.js} +4 -4
- package/dist/chunks/{bus-24tjmdvb.js → model-resolver-7ke4vm17.js} +4 -4
- package/dist/chunks/{bus-7myqjfx6.js → model-resolver-7myqjfx6.js} +1 -1
- package/dist/chunks/{bus-cxzqns4k.js → model-resolver-7qpdgm16.js} +93 -93
- package/dist/chunks/{bus-wq2ymhek.js → model-resolver-81kadfkq.js} +2 -2
- package/dist/chunks/{bus-pk4ewrrh.js → model-resolver-895xgr1f.js} +5 -5
- package/dist/chunks/{bus-q9yz0xmh.js → model-resolver-89rn8xzn.js} +26 -26
- package/dist/chunks/{bus-89ttfx5q.js → model-resolver-89ttfx5q.js} +2 -2
- package/dist/chunks/{bus-8ezmrsyj.js → model-resolver-8ezmrsyj.js} +2 -2
- package/dist/chunks/{bus-n1brb5wy.js → model-resolver-8gd72fyf.js} +5 -5
- package/dist/chunks/{bus-42c0jba1.js → model-resolver-8gv3hynm.js} +11 -11
- package/dist/chunks/{bus-8manx9kj.js → model-resolver-8manx9kj.js} +2 -2
- package/dist/chunks/{bus-xty2fpsf.js → model-resolver-8tcjfzdf.js} +8 -8
- package/dist/chunks/{bus-8y5vxhk7.js → model-resolver-8y5vxhk7.js} +1 -1
- package/dist/chunks/{bus-g0cssgvq.js → model-resolver-9d52kcc6.js} +3 -3
- package/dist/chunks/{bus-9dbv6hqn.js → model-resolver-9dbv6hqn.js} +2 -2
- package/dist/chunks/{bus-51z11dxx.js → model-resolver-9w1bs40q.js} +8 -8
- package/dist/chunks/{bus-abr80kmh.js → model-resolver-9ybkn4f3.js} +11 -11
- package/dist/chunks/{bus-a6xqkezx.js → model-resolver-a6xqkezx.js} +1 -1
- package/dist/chunks/{bus-4m7dck1v.js → model-resolver-a8ftngxw.js} +10 -10
- package/dist/chunks/{bus-af42tqdk.js → model-resolver-af42tqdk.js} +2 -2
- package/dist/chunks/{bus-pr7p5gdp.js → model-resolver-aqjetpt7.js} +3 -3
- package/dist/chunks/{bus-1wrznfw9.js → model-resolver-ath9jwvp.js} +8 -8
- package/dist/chunks/{bus-8e14rd69.js → model-resolver-ax34jjm3.js} +9 -9
- package/dist/chunks/{bus-sxwqt151.js → model-resolver-b2mj9w79.js} +4 -4
- package/dist/chunks/{bus-szmfjgwn.js → model-resolver-bb4yrkhg.js} +4 -4
- package/dist/chunks/{bus-bd2mvb8t.js → model-resolver-bd2mvb8t.js} +2 -2
- package/dist/chunks/{bus-bnha4c96.js → model-resolver-bnha4c96.js} +1 -1
- package/dist/chunks/{bus-1h45s5e1.js → model-resolver-bsksdwjr.js} +3 -3
- package/dist/chunks/{bus-e6sg381t.js → model-resolver-bztt47zv.js} +6 -6
- package/dist/chunks/{bus-c54e84vp.js → model-resolver-c54e84vp.js} +1 -1
- package/dist/chunks/{bus-c55cgmsp.js → model-resolver-c55cgmsp.js} +2 -2
- package/dist/chunks/{bus-4kksbg6t.js → model-resolver-c71vnwdm.js} +3 -3
- package/dist/chunks/{bus-sf7mj2je.js → model-resolver-c8n0v0wx.js} +3 -3
- package/dist/chunks/{bus-c8ya26sa.js → model-resolver-c8ya26sa.js} +2 -2
- package/dist/chunks/{bus-ckcq38kt.js → model-resolver-ckcq38kt.js} +2 -2
- package/dist/chunks/{bus-v2p8vsng.js → model-resolver-cs1jwk5c.js} +8 -8
- package/dist/chunks/{bus-nsncqcaa.js → model-resolver-czskr0xw.js} +3 -3
- package/dist/chunks/{bus-vk14mvrh.js → model-resolver-d35eame8.js} +12 -12
- package/dist/chunks/{bus-d4h7vwhh.js → model-resolver-d4h7vwhh.js} +2 -2
- package/dist/chunks/{bus-ew8r4sfm.js → model-resolver-d88sh0qh.js} +4 -4
- package/dist/chunks/{bus-cr4vrvnn.js → model-resolver-dc1577g0.js} +3 -3
- package/dist/chunks/{bus-dexm22yg.js → model-resolver-dexm22yg.js} +1 -1
- package/dist/chunks/{bus-k030pceh.js → model-resolver-djyc2dvw.js} +6 -6
- package/dist/chunks/{bus-cv8z877m.js → model-resolver-dpwr0jqv.js} +7 -7
- package/dist/chunks/{bus-dtm6fkaa.js → model-resolver-dtm6fkaa.js} +2 -2
- package/dist/chunks/{bus-v58b07zt.js → model-resolver-dyax5m0p.js} +2 -2
- package/dist/chunks/{bus-dyhtrhy2.js → model-resolver-dyhtrhy2.js} +1 -1
- package/dist/chunks/{bus-dyrfpcd0.js → model-resolver-dyrfpcd0.js} +1 -1
- package/dist/chunks/{bus-e0n16vwa.js → model-resolver-e0n16vwa.js} +2 -2
- package/dist/chunks/{bus-34w6qmr4.js → model-resolver-e1252xh0.js} +12 -12
- package/dist/chunks/{bus-eb87q0yv.js → model-resolver-eb87q0yv.js} +1 -1
- package/dist/chunks/{bus-edxnhgvj.js → model-resolver-edxnhgvj.js} +1 -1
- package/dist/chunks/{bus-yvx5fn6c.js → model-resolver-ef1eacza.js} +3 -3
- package/dist/chunks/{bus-n4ht9m54.js → model-resolver-egjtzeas.js} +7 -7
- package/dist/chunks/{bus-gc54pqs3.js → model-resolver-eh2wdxrj.js} +15 -15
- package/dist/chunks/{bus-5q4gsrgr.js → model-resolver-emt5rhx5.js} +6 -6
- package/dist/chunks/{bus-4c3c87f8.js → model-resolver-eptw9fc8.js} +3 -3
- package/dist/chunks/{bus-x483em4t.js → model-resolver-eqn19kbv.js} +3 -3
- package/dist/chunks/{bus-esv5q40e.js → model-resolver-esv5q40e.js} +1 -1
- package/dist/chunks/{bus-etbnsc4s.js → model-resolver-etbnsc4s.js} +2 -2
- package/dist/chunks/{bus-f2nhxfjt.js → model-resolver-f2nhxfjt.js} +2 -2
- package/dist/chunks/{bus-ryjzhf8a.js → model-resolver-f4vh7ye9.js} +5 -5
- package/dist/chunks/{bus-f8wvq04h.js → model-resolver-f8wvq04h.js} +1 -1
- package/dist/chunks/{bus-j79064fj.js → model-resolver-fet3yrh0.js} +7 -7
- package/dist/chunks/{bus-fqehnn9p.js → model-resolver-fqehnn9p.js} +2 -2
- package/dist/chunks/{bus-zvc1bdnz.js → model-resolver-fxa9gsr7.js} +10 -10
- package/dist/chunks/{bus-g9dd0fv6.js → model-resolver-g9dd0fv6.js} +2 -2
- package/dist/chunks/{bus-gb1z7yet.js → model-resolver-gb1z7yet.js} +2 -2
- package/dist/chunks/{bus-gc513wew.js → model-resolver-gc513wew.js} +2 -2
- package/dist/chunks/{bus-cs46d5vf.js → model-resolver-gfr7wgjb.js} +9 -9
- package/dist/chunks/{bus-grfz4hhj.js → model-resolver-grfz4hhj.js} +1 -1
- package/dist/chunks/{bus-ge7hgmqf.js → model-resolver-gst5vhy7.js} +14 -14
- package/dist/chunks/{bus-h01zxzks.js → model-resolver-h01zxzks.js} +4 -4
- package/dist/chunks/{bus-6ytxkjzw.js → model-resolver-h3jh27nc.js} +2 -2
- package/dist/chunks/{bus-d6jd58mx.js → model-resolver-hfdhxhjt.js} +7 -7
- package/dist/chunks/{bus-hgr9y616.js → model-resolver-hgr9y616.js} +1 -1
- package/dist/chunks/{bus-hpkeh7wf.js → model-resolver-hpkeh7wf.js} +1 -1
- package/dist/chunks/{bus-4df0exbz.js → model-resolver-hqw3c13n.js} +17 -17
- package/dist/chunks/{bus-hs51b0fc.js → model-resolver-hs51b0fc.js} +1 -1
- package/dist/chunks/{bus-htmhxvv7.js → model-resolver-htmhxvv7.js} +1 -1
- package/dist/chunks/{bus-hvydqsq5.js → model-resolver-hvydqsq5.js} +2 -2
- package/dist/chunks/{bus-d6dqnwmp.js → model-resolver-hwtjfpwk.js} +7 -7
- package/dist/chunks/{bus-hy5n5jcn.js → model-resolver-hy5n5jcn.js} +1 -1
- package/dist/chunks/{bus-hzag9ake.js → model-resolver-hzag9ake.js} +1 -1
- package/dist/chunks/{bus-hzwx8p6y.js → model-resolver-hzwx8p6y.js} +1 -1
- package/dist/chunks/{bus-j0feex7e.js → model-resolver-j0feex7e.js} +1 -1
- package/dist/chunks/{bus-v1z3dzvn.js → model-resolver-j44smbby.js} +3 -3
- package/dist/chunks/{bus-jar52fmb.js → model-resolver-jar52fmb.js} +3 -3
- package/dist/chunks/{bus-2ear60fq.js → model-resolver-je7dmgwr.js} +13 -13
- package/dist/chunks/{bus-8gcq7vry.js → model-resolver-jpjemq2p.js} +4 -4
- package/dist/chunks/{bus-jqhp3fpz.js → model-resolver-jqhp3fpz.js} +2 -2
- package/dist/chunks/{bus-jr5m26np.js → model-resolver-jr5m26np.js} +2 -2
- package/dist/chunks/{bus-t20cc8zh.js → model-resolver-js6tcg3t.js} +4 -4
- package/dist/chunks/{bus-hqmmy6j3.js → model-resolver-jsmyr6k0.js} +5 -5
- package/dist/chunks/{bus-k7hkdbw5.js → model-resolver-k7hkdbw5.js} +2 -2
- package/dist/chunks/{bus-tdd9ye7r.js → model-resolver-k92s0cap.js} +17 -17
- package/dist/chunks/{bus-dc1g6bm6.js → model-resolver-kcz5s2sc.js} +51 -51
- package/dist/chunks/{bus-kq3q54gz.js → model-resolver-kq3q54gz.js} +1 -1
- package/dist/chunks/{bus-kr9vgar1.js → model-resolver-kr9vgar1.js} +1 -1
- package/dist/chunks/{bus-d30r05ev.js → model-resolver-m0hk48gq.js} +3 -3
- package/dist/chunks/{bus-24cmgfns.js → model-resolver-m0zebzgf.js} +3 -3
- package/dist/chunks/{bus-szte6810.js → model-resolver-m1hg7kzv.js} +7 -7
- package/dist/chunks/{bus-m3k5wttq.js → model-resolver-m3k5wttq.js} +4 -4
- package/dist/chunks/{bus-m6a7zjhr.js → model-resolver-m6a7zjhr.js} +1 -1
- package/dist/chunks/{bus-c6b6k7hp.js → model-resolver-m6rc87ej.js} +10 -10
- package/dist/chunks/{bus-fngzbpt5.js → model-resolver-m721zqr5.js} +6 -6
- package/dist/chunks/{bus-m7jtgrng.js → model-resolver-m7jtgrng.js} +2 -2
- package/dist/chunks/{bus-mf0hyk7z.js → model-resolver-mf0hyk7z.js} +1 -1
- package/dist/chunks/{bus-s4r5m4fg.js → model-resolver-mndv4v9k.js} +12 -12
- package/dist/chunks/{bus-mnyszbxc.js → model-resolver-mnyszbxc.js} +1 -1
- package/dist/chunks/{bus-mv81kt5z.js → model-resolver-mv81kt5z.js} +2 -2
- package/dist/chunks/{bus-zs5423dt.js → model-resolver-mvw9jqgs.js} +17 -17
- package/dist/chunks/{bus-my53s247.js → model-resolver-my53s247.js} +1 -1
- package/dist/chunks/{bus-rzq56t3s.js → model-resolver-myqa85b0.js} +2 -2
- package/dist/chunks/{bus-j3da0s0m.js → model-resolver-mz3md7e9.js} +12 -12
- package/dist/chunks/{bus-r3sebkrk.js → model-resolver-n120nzhy.js} +2 -2
- package/dist/chunks/{bus-1akkj2qp.js → model-resolver-n3ej23f6.js} +5 -5
- package/dist/chunks/{bus-ngzr6ypz.js → model-resolver-ngzr6ypz.js} +2 -2
- package/dist/chunks/{bus-nj6yqve1.js → model-resolver-nj6yqve1.js} +2 -2
- package/dist/chunks/{bus-r670sqm5.js → model-resolver-njadyfry.js} +16 -16
- package/dist/chunks/{bus-nn16cgj7.js → model-resolver-nn16cgj7.js} +1 -1
- package/dist/chunks/{bus-sqzws1qx.js → model-resolver-nr5fgbs6.js} +7 -7
- package/dist/chunks/{bus-pe1eqw9s.js → model-resolver-ns8veh4z.js} +5 -5
- package/dist/chunks/{bus-ntev5d3k.js → model-resolver-ntev5d3k.js} +3 -3
- package/dist/chunks/{bus-e7c9xkm6.js → model-resolver-nx1h5ew3.js} +20 -20
- package/dist/chunks/{bus-nz4de5b9.js → model-resolver-nz4de5b9.js} +2 -2
- package/dist/chunks/{bus-p1m5qwvv.js → model-resolver-p1m5qwvv.js} +1 -1
- package/dist/chunks/{bus-p5gyct0y.js → model-resolver-p5gyct0y.js} +1 -1
- package/dist/chunks/{bus-pnh7fk16.js → model-resolver-p7kv5kq9.js} +21 -21
- package/dist/chunks/{bus-29zpzrse.js → model-resolver-p9kbbxty.js} +6 -6
- package/dist/chunks/{bus-pk53j7qk.js → model-resolver-pk53j7qk.js} +2 -2
- package/dist/chunks/{bus-txy2mcak.js → model-resolver-pm5ge93v.js} +15 -15
- package/dist/chunks/{bus-32fc3eer.js → model-resolver-pmxa1kd1.js} +4 -4
- package/dist/chunks/{bus-kdg6kyp7.js → model-resolver-pnesahrw.js} +4 -4
- package/dist/chunks/{bus-4g3kws78.js → model-resolver-pr1927s1.js} +5 -5
- package/dist/chunks/{bus-5c3dahjh.js → model-resolver-psa1vmjb.js} +3 -3
- package/dist/chunks/{bus-pves38xm.js → model-resolver-pves38xm.js} +2 -2
- package/dist/chunks/{bus-q606pcse.js → model-resolver-q606pcse.js} +3 -3
- package/dist/chunks/{bus-062cxme6.js → model-resolver-qa2w238n.js} +3 -3
- package/dist/chunks/{bus-sw07hr28.js → model-resolver-qc9f9sqe.js} +3 -3
- package/dist/chunks/{bus-7dp4y6xt.js → model-resolver-qen4dbg3.js} +6 -6
- package/dist/chunks/{bus-qf52r0wh.js → model-resolver-qf52r0wh.js} +1 -1
- package/dist/chunks/{bus-qfvp8zq7.js → model-resolver-qfvp8zq7.js} +1 -1
- package/dist/chunks/{bus-zsm32t6f.js → model-resolver-qjkhdsbm.js} +7 -7
- package/dist/chunks/{bus-v3rpe40m.js → model-resolver-qmw35mw3.js} +16 -16
- package/dist/chunks/{bus-fb53bqed.js → model-resolver-qnbjsbym.js} +61 -61
- package/dist/chunks/{bus-7r65qmta.js → model-resolver-qp4cj2b0.js} +6 -6
- package/dist/chunks/{bus-qpxzqy01.js → model-resolver-qpxzqy01.js} +1 -1
- package/dist/chunks/{bus-513qeabh.js → model-resolver-qtvfzxt9.js} +8 -8
- package/dist/chunks/{bus-hp004neb.js → model-resolver-qz5gwjr7.js} +5 -5
- package/dist/chunks/{bus-gbt9x2vt.js → model-resolver-r32713pr.js} +6 -6
- package/dist/chunks/{bus-baefj3r7.js → model-resolver-r48cnx81.js} +2 -2
- package/dist/chunks/{bus-5wq89ztd.js → model-resolver-r6sdn3zs.js} +3 -3
- package/dist/chunks/{bus-r7a2r1m6.js → model-resolver-r7a2r1m6.js} +2 -2
- package/dist/chunks/{bus-r7z6wjth.js → model-resolver-r7z6wjth.js} +1 -1
- package/dist/chunks/{bus-r9d3d23r.js → model-resolver-r9d3d23r.js} +1 -1
- package/dist/chunks/{bus-rahat93a.js → model-resolver-rahat93a.js} +1 -1
- package/dist/chunks/{bus-d13khfm4.js → model-resolver-ranv4wm0.js} +3 -3
- package/dist/chunks/{bus-2ts6x9wt.js → model-resolver-rmrmrh60.js} +10 -10
- package/dist/chunks/{bus-pj6ajnb0.js → model-resolver-rr20669x.js} +12 -12
- package/dist/chunks/{bus-rr7wbarq.js → model-resolver-rr7wbarq.js} +1 -1
- package/dist/chunks/{bus-9037ef9q.js → model-resolver-rtktz058.js} +4 -4
- package/dist/chunks/{bus-xh5s9db9.js → model-resolver-ryxrw20d.js} +12 -12
- package/dist/chunks/{bus-ssy5yth8.js → model-resolver-s2avg5mp.js} +4 -4
- package/dist/chunks/{bus-s32nnj3r.js → model-resolver-s32nnj3r.js} +1 -1
- package/dist/chunks/{bus-v9nktnjx.js → model-resolver-s7cdvjvw.js} +9 -9
- package/dist/chunks/{bus-8qbh3htc.js → model-resolver-se5h029t.js} +5 -5
- package/dist/chunks/{bus-6f8rw3r2.js → model-resolver-t3r0ngmb.js} +11 -11
- package/dist/chunks/{bus-rzdd6bt5.js → model-resolver-t54q55m1.js} +7 -7
- package/dist/chunks/model-resolver-t9t544b9.js +38 -0
- package/dist/chunks/{bus-mxx75q7v.js → model-resolver-td9hry5r.js} +4 -4
- package/dist/chunks/{bus-7t1xqnjv.js → model-resolver-tmcx57d7.js} +6 -6
- package/dist/chunks/{bus-eptfcean.js → model-resolver-tmfv98ar.js} +10 -10
- package/dist/chunks/{bus-0gmpy2nr.js → model-resolver-tn3vtv4h.js} +3 -3
- package/dist/chunks/{bus-xnv5fv28.js → model-resolver-v1bt6mkm.js} +7 -7
- package/dist/chunks/{bus-aqq7me5d.js → model-resolver-v9qxqszp.js} +35 -27
- package/dist/chunks/{bus-0fhc0xf7.js → model-resolver-vbaqktrz.js} +2 -2
- package/dist/chunks/{bus-vcwr2vpf.js → model-resolver-vcwr2vpf.js} +1 -1
- package/dist/chunks/{bus-261a3sz6.js → model-resolver-vcygwjbr.js} +5 -5
- package/dist/chunks/{bus-gz2nvpw2.js → model-resolver-vsg6fsmg.js} +4 -4
- package/dist/chunks/model-resolver-vsqc2j7q.js +60 -0
- package/dist/chunks/{bus-vx5egh20.js → model-resolver-vwkqrtae.js} +11 -11
- package/dist/chunks/{bus-vynk8zbr.js → model-resolver-vynk8zbr.js} +1 -1
- package/dist/chunks/{bus-9g7680x5.js → model-resolver-w53bf3d8.js} +6 -6
- package/dist/chunks/{bus-w5r9s7kx.js → model-resolver-w5r9s7kx.js} +1 -1
- package/dist/chunks/{bus-wbkt8qpj.js → model-resolver-wbkt8qpj.js} +1 -1
- package/dist/chunks/{bus-wdqva41w.js → model-resolver-wdqva41w.js} +1 -1
- package/dist/chunks/{bus-wf5w4wph.js → model-resolver-wf5w4wph.js} +1 -1
- package/dist/chunks/{bus-skg7gdw2.js → model-resolver-whbgthyk.js} +14 -14
- package/dist/chunks/{bus-wmxdh12w.js → model-resolver-wmxdh12w.js} +1 -1
- package/dist/chunks/{bus-mjrdwwg1.js → model-resolver-wz5907jr.js} +7 -7
- package/dist/chunks/{bus-x3vb5b1t.js → model-resolver-x3vb5b1t.js} +1 -1
- package/dist/chunks/{bus-x4az4y7r.js → model-resolver-x4az4y7r.js} +1 -1
- package/dist/chunks/{bus-xdb88cdw.js → model-resolver-xdb88cdw.js} +2 -2
- package/dist/chunks/{bus-xe02v0q7.js → model-resolver-xe02v0q7.js} +2 -2
- package/dist/chunks/{bus-3vr3qfcv.js → model-resolver-xghrvkpy.js} +6 -6
- package/dist/chunks/{bus-qv60b130.js → model-resolver-xn34k971.js} +7 -7
- package/dist/chunks/{bus-b45dcwj1.js → model-resolver-xq6chnhm.js} +4 -4
- package/dist/chunks/{bus-xws7arpm.js → model-resolver-xws7arpm.js} +1 -1
- package/dist/chunks/{bus-nheqv4sh.js → model-resolver-y251tsy9.js} +6 -6
- package/dist/chunks/{bus-jx69v2zk.js → model-resolver-y6z22yy0.js} +2 -2
- package/dist/chunks/{bus-h3aawga9.js → model-resolver-ybr4xq6z.js} +32 -32
- package/dist/chunks/{bus-fbgn1fhd.js → model-resolver-yr82tean.js} +11 -11
- package/dist/chunks/{bus-h38390dg.js → model-resolver-yrzmcphh.js} +8 -8
- package/dist/chunks/{bus-38jrhbbw.js → model-resolver-yt21b5ce.js} +49 -83
- package/dist/chunks/{bus-h79t5qqp.js → model-resolver-yxwnec9y.js} +9 -9
- package/dist/chunks/{bus-pjvbc90q.js → model-resolver-z50wtwd6.js} +29 -29
- package/dist/chunks/{bus-7979e7qr.js → model-resolver-z5qwd455.js} +2 -2
- package/dist/chunks/{bus-z8c1ty6e.js → model-resolver-z8c1ty6e.js} +1 -1
- package/dist/chunks/{bus-zbqqnp0n.js → model-resolver-zbqqnp0n.js} +1 -1
- package/dist/chunks/{bus-ar26s8t3.js → model-resolver-zfc8v838.js} +2 -2
- package/dist/chunks/{bus-zmbmd7xf.js → model-resolver-zmbmd7xf.js} +2 -2
- package/dist/chunks/{bus-zn935gjz.js → model-resolver-zn935gjz.js} +1 -1
- package/dist/chunks/{bus-zseh86v1.js → model-resolver-zseh86v1.js} +2 -2
- package/dist/chunks/{bus-5m28scbt.js → model-resolver-zt42x7wk.js} +6 -6
- package/dist/chunks/{bus-zyyhrfr9.js → model-resolver-zyyhrfr9.js} +1 -1
- package/dist/chunks/{bus-px0vn80d.js → model-resolver-zz8p0qp8.js} +3 -3
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +4 -4
- package/dist/command.js +70 -70
- package/dist/config/discovery.js +88 -0
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +129 -127
- package/dist/config/plugin/command.js +115 -113
- package/dist/config/plugin/compaction.js +168 -166
- package/dist/config/plugin/entry-observer.js +111 -109
- package/dist/config/plugin/formatter.js +116 -114
- package/dist/config/plugin/image.js +128 -126
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -112
- package/dist/config/plugin/mcp.js +124 -122
- package/dist/config/plugin/policy.js +113 -111
- package/dist/config/plugin/provider.js +112 -110
- package/dist/config/plugin/reference.js +116 -114
- package/dist/config/plugin/shell.js +115 -113
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +132 -130
- package/dist/config/plugin/snapshot.js +114 -112
- package/dist/config/plugin/source.js +112 -110
- package/dist/config/plugin/tool-output.js +116 -114
- package/dist/config/plugin/websearch.js +112 -110
- package/dist/config/variable.js +4 -4
- package/dist/config/watch.js +9 -0
- package/dist/config.js +110 -108
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -71
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
- package/dist/database/drizzle/effect-sqlite/index.js +13 -13
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +14 -14
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +19 -19
- package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle.js +15 -15
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +2 -2
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +344 -342
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +86 -86
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +86 -86
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +87 -87
- package/dist/file-retention.js +2 -2
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- 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 +3 -3
- package/dist/filesystem/location-watcher.js +219 -217
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +91 -91
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +92 -92
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +80 -80
- package/dist/generate.js +84 -84
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +18 -18
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +94 -94
- package/dist/image.js +94 -94
- package/dist/instance/service.js +2 -2
- package/dist/instance.js +343 -341
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +75 -75
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +82 -82
- package/dist/location-mutation.js +79 -79
- package/dist/location-service-map.js +79 -79
- package/dist/location-services.js +344 -342
- package/dist/location.js +78 -78
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +93 -93
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +81 -81
- package/dist/model.js +3 -3
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +71 -71
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +95 -95
- package/dist/persistent-pty/binary.bun.js +2 -2
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/binary.workerd.js +1 -1
- package/dist/persistent-pty/daemon.js +2 -2
- package/dist/persistent-pty/index.js +73 -73
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +216 -214
- package/dist/plugin/instance.js +2 -2
- package/dist/plugin/internal.js +315 -313
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +3 -3
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +2 -2
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +120 -118
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -117
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +116 -114
- package/dist/plugin/provider/dynamic.js +3 -3
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +82 -82
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +117 -115
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +117 -115
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +77 -77
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +4 -4
- package/dist/plugin/provider/sdk-factory.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +117 -115
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +156 -154
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +2 -2
- package/dist/plugin/skill.js +129 -127
- package/dist/plugin/source-directory.js +2 -2
- package/dist/plugin/supervisor.js +330 -328
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/update.js +3 -3
- package/dist/plugin/variant.js +3 -3
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -109
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +217 -215
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +77 -77
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +2 -2
- package/dist/pty.js +84 -84
- package/dist/reference/instructions.js +80 -80
- package/dist/reference.js +78 -78
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +89 -89
- package/dist/rpc.js +79 -79
- package/dist/schema.js +2 -2
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +150 -150
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +210 -208
- package/dist/session/execution.js +117 -117
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +77 -77
- package/dist/session/inbox.js +77 -77
- package/dist/session/info.js +4 -4
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +89 -89
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +134 -134
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +80 -80
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +115 -115
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +84 -84
- package/dist/session/runner/llm.js +226 -224
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +72 -72
- package/dist/session/runner/step.js +143 -143
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/session.js +173 -171
- package/dist/session/shell.js +132 -130
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +6 -6
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +79 -79
- package/dist/session/subagent-completion.js +2 -2
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +214 -212
- package/dist/session/usage.js +2 -2
- package/dist/session.js +207 -205
- package/dist/shell/parse.js +7 -7
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/result.js +2 -2
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +129 -127
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +97 -97
- package/dist/skill.js +96 -96
- package/dist/snapshot.js +80 -80
- package/dist/state.js +2 -2
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +108 -108
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +111 -111
- package/dist/tool/plugin/grep.js +111 -111
- package/dist/tool/plugin/opencode.js +2 -2
- package/dist/tool/plugin/patch.js +108 -108
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +114 -114
- package/dist/tool/plugin/shell.js +210 -208
- package/dist/tool/plugin/skill.js +97 -97
- package/dist/tool/plugin/subagent.js +209 -207
- package/dist/tool/plugin/webfetch.js +98 -98
- package/dist/tool/plugin/websearch.js +100 -100
- package/dist/tool/plugin/write.js +108 -108
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +114 -114
- package/dist/types/config/discovery.d.ts +35 -0
- package/dist/types/config/watch.d.ts +11 -0
- package/dist/types/filesystem/watcher.d.ts +19 -17
- package/dist/types/filesystem.d.ts +1 -1
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +81 -81
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +72 -72
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +69 -69
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +82 -82
- package/package.json +7 -7
- /package/dist/chunks/{bus-0cgt0xh2.js → model-resolver-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{bus-0f48qthw.js → model-resolver-0f48qthw.js} +0 -0
- /package/dist/chunks/{bus-0zz82cjq.js → model-resolver-0zz82cjq.js} +0 -0
- /package/dist/chunks/{bus-1fb7bmpf.js → model-resolver-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{bus-1wcz8fvj.js → model-resolver-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{bus-29n7vfk2.js → model-resolver-29n7vfk2.js} +0 -0
- /package/dist/chunks/{bus-2qdx6zz3.js → model-resolver-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{bus-2xb0r1c6.js → model-resolver-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{bus-39ktntah.js → model-resolver-39ktntah.js} +0 -0
- /package/dist/chunks/{bus-3g3rpp2x.js → model-resolver-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{bus-3w3ybtfd.js → model-resolver-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{bus-47ty4mvs.js → model-resolver-47ty4mvs.js} +0 -0
- /package/dist/chunks/{bus-4b2tz2m9.js → model-resolver-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{bus-5a5ch9ts.js → model-resolver-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{bus-5va1yh78.js → model-resolver-5va1yh78.js} +0 -0
- /package/dist/chunks/{bus-61ek4hj9.js → model-resolver-61ek4hj9.js} +0 -0
- /package/dist/chunks/{bus-69qrqpw0.js → model-resolver-69qrqpw0.js} +0 -0
- /package/dist/chunks/{bus-6zqxzw0a.js → model-resolver-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{bus-7n9qwqk4.js → model-resolver-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{bus-8nn8kqcn.js → model-resolver-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{bus-8rpfd2h6.js → model-resolver-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{bus-8sj3ajy5.js → model-resolver-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{bus-8w9tzfz1.js → model-resolver-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{bus-906y0b6d.js → model-resolver-906y0b6d.js} +0 -0
- /package/dist/chunks/{bus-9dct5xhx.js → model-resolver-9dct5xhx.js} +0 -0
- /package/dist/chunks/{bus-9maxscqf.js → model-resolver-9maxscqf.js} +0 -0
- /package/dist/chunks/{bus-9sdtsapf.js → model-resolver-9sdtsapf.js} +0 -0
- /package/dist/chunks/{bus-a02svayp.js → model-resolver-a02svayp.js} +0 -0
- /package/dist/chunks/{bus-a83yvq99.js → model-resolver-a83yvq99.js} +0 -0
- /package/dist/chunks/{bus-ayevdmef.js → model-resolver-ayevdmef.js} +0 -0
- /package/dist/chunks/{bus-b02txbh8.js → model-resolver-b02txbh8.js} +0 -0
- /package/dist/chunks/{bus-bbqs2y60.js → model-resolver-bbqs2y60.js} +0 -0
- /package/dist/chunks/{bus-bjwj8hwv.js → model-resolver-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{bus-brsh5f65.js → model-resolver-brsh5f65.js} +0 -0
- /package/dist/chunks/{bus-bxdhjb3y.js → model-resolver-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{bus-bybkghrn.js → model-resolver-bybkghrn.js} +0 -0
- /package/dist/chunks/{bus-c77ad0vh.js → model-resolver-c77ad0vh.js} +0 -0
- /package/dist/chunks/{bus-cm67rqy2.js → model-resolver-cm67rqy2.js} +0 -0
- /package/dist/chunks/{bus-df3v2q6j.js → model-resolver-df3v2q6j.js} +0 -0
- /package/dist/chunks/{bus-dhcq6c44.js → model-resolver-dhcq6c44.js} +0 -0
- /package/dist/chunks/{bus-dht5baf0.js → model-resolver-dht5baf0.js} +0 -0
- /package/dist/chunks/{bus-dkmkay92.js → model-resolver-dkmkay92.js} +0 -0
- /package/dist/chunks/{bus-ehj9csmv.js → model-resolver-ehj9csmv.js} +0 -0
- /package/dist/chunks/{bus-em6xpscd.js → model-resolver-em6xpscd.js} +0 -0
- /package/dist/chunks/{bus-emmqknsm.js → model-resolver-emmqknsm.js} +0 -0
- /package/dist/chunks/{bus-ezs3tagn.js → model-resolver-ezs3tagn.js} +0 -0
- /package/dist/chunks/{bus-f14r7hfz.js → model-resolver-f14r7hfz.js} +0 -0
- /package/dist/chunks/{bus-f1jj19e8.js → model-resolver-f1jj19e8.js} +0 -0
- /package/dist/chunks/{bus-f4cp4g4a.js → model-resolver-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{bus-faypg4r1.js → model-resolver-faypg4r1.js} +0 -0
- /package/dist/chunks/{bus-fg7fz4q3.js → model-resolver-fg7fz4q3.js} +0 -0
- /package/dist/chunks/{bus-fgbfdq62.js → model-resolver-fgbfdq62.js} +0 -0
- /package/dist/chunks/{bus-g23fad86.js → model-resolver-g23fad86.js} +0 -0
- /package/dist/chunks/{bus-gd5xeqc2.js → model-resolver-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{bus-ghm4673n.js → model-resolver-ghm4673n.js} +0 -0
- /package/dist/chunks/{bus-ghwjy7my.js → model-resolver-ghwjy7my.js} +0 -0
- /package/dist/chunks/{bus-gy500k2r.js → model-resolver-gy500k2r.js} +0 -0
- /package/dist/chunks/{bus-hzeg9cfr.js → model-resolver-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{bus-j07kk359.js → model-resolver-j07kk359.js} +0 -0
- /package/dist/chunks/{bus-jqms80b0.js → model-resolver-jqms80b0.js} +0 -0
- /package/dist/chunks/{bus-jve7t217.js → model-resolver-jve7t217.js} +0 -0
- /package/dist/chunks/{bus-k3e42drn.js → model-resolver-k3e42drn.js} +0 -0
- /package/dist/chunks/{bus-k8b45nas.js → model-resolver-k8b45nas.js} +0 -0
- /package/dist/chunks/{bus-kpdbz7gn.js → model-resolver-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{bus-kxy11nzk.js → model-resolver-kxy11nzk.js} +0 -0
- /package/dist/chunks/{bus-kyyqvx4s.js → model-resolver-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{bus-m8cbvarh.js → model-resolver-m8cbvarh.js} +0 -0
- /package/dist/chunks/{bus-ma60vzgv.js → model-resolver-ma60vzgv.js} +0 -0
- /package/dist/chunks/{bus-n3m50c2t.js → model-resolver-n3m50c2t.js} +0 -0
- /package/dist/chunks/{bus-nkm1m8dz.js → model-resolver-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{bus-nsc0c3zb.js → model-resolver-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{bus-qaarhjrp.js → model-resolver-qaarhjrp.js} +0 -0
- /package/dist/chunks/{bus-qc167nrn.js → model-resolver-qc167nrn.js} +0 -0
- /package/dist/chunks/{bus-qp95y4jb.js → model-resolver-qp95y4jb.js} +0 -0
- /package/dist/chunks/{bus-r8f4w671.js → model-resolver-r8f4w671.js} +0 -0
- /package/dist/chunks/{bus-rdfev9jy.js → model-resolver-rdfev9jy.js} +0 -0
- /package/dist/chunks/{bus-s7whb9gt.js → model-resolver-s7whb9gt.js} +0 -0
- /package/dist/chunks/{bus-se76j685.js → model-resolver-se76j685.js} +0 -0
- /package/dist/chunks/{bus-sem2g21k.js → model-resolver-sem2g21k.js} +0 -0
- /package/dist/chunks/{bus-snpn6bap.js → model-resolver-snpn6bap.js} +0 -0
- /package/dist/chunks/{bus-sp575ygv.js → model-resolver-sp575ygv.js} +0 -0
- /package/dist/chunks/{bus-tmb1f636.js → model-resolver-tmb1f636.js} +0 -0
- /package/dist/chunks/{bus-ttxf0gsy.js → model-resolver-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{bus-tvmhrvfj.js → model-resolver-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{bus-v2adqbbe.js → model-resolver-v2adqbbe.js} +0 -0
- /package/dist/chunks/{bus-vac9eqd2.js → model-resolver-vac9eqd2.js} +0 -0
- /package/dist/chunks/{bus-vpjkya7h.js → model-resolver-vpjkya7h.js} +0 -0
- /package/dist/chunks/{bus-wj4sxzqa.js → model-resolver-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{bus-wwntjmk1.js → model-resolver-wwntjmk1.js} +0 -0
- /package/dist/chunks/{bus-wyqjaaa5.js → model-resolver-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{bus-x4q807cx.js → model-resolver-x4q807cx.js} +0 -0
- /package/dist/chunks/{bus-yrqrg4vp.js → model-resolver-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{bus-z47nswr2.js → model-resolver-z47nswr2.js} +0 -0
- /package/dist/chunks/{bus-zsf8rs93.js → model-resolver-zsf8rs93.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fileDiff
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-c77ad0vh.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_location_mutation
|
|
6
|
+
} from "./model-resolver-s2avg5mp.js";
|
|
7
|
+
import {
|
|
8
|
+
exports_file_mutation
|
|
9
|
+
} from "./model-resolver-eqn19kbv.js";
|
|
4
10
|
import {
|
|
5
11
|
exports_formatter
|
|
6
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-ranv4wm0.js";
|
|
7
13
|
import {
|
|
8
14
|
exports_permission
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
exports_file_mutation
|
|
12
|
-
} from "./bus-x483em4t.js";
|
|
15
|
+
} from "./model-resolver-8gv3hynm.js";
|
|
13
16
|
import {
|
|
14
17
|
exports_environment1 as exports_environment
|
|
15
|
-
} from "./
|
|
16
|
-
import {
|
|
17
|
-
exports_location_mutation
|
|
18
|
-
} from "./bus-ssy5yth8.js";
|
|
18
|
+
} from "./model-resolver-m1hg7kzv.js";
|
|
19
19
|
import {
|
|
20
20
|
exports_location
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-vbaqktrz.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/patch.ts
|
|
27
27
|
var exports_patch = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_mcp
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-je7dmgwr.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_location
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-vbaqktrz.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_bus
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-b2mj9w79.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/command.ts
|
|
15
15
|
var exports_command = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
exports_question
|
|
3
|
+
} from "./model-resolver-bsksdwjr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
toLLMMessages
|
|
6
|
+
} from "./model-resolver-g23fad86.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_system_prompt
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-hzwx8p6y.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
exports_model_transport
|
|
12
|
+
} from "./model-resolver-jr5m26np.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_tool
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-egjtzeas.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_permission
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-8gv3hynm.js";
|
|
19
19
|
import {
|
|
20
20
|
exports_hooks
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-xws7arpm.js";
|
|
22
22
|
import {
|
|
23
23
|
exports_app
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-hs51b0fc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
28
28
|
|
|
29
29
|
// src/session/model-request.ts
|
|
30
30
|
var exports_model_request = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_location
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-vbaqktrz.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_project
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-tmfv98ar.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-j07kk359.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
13
13
|
|
|
14
14
|
// src/location-mutation.ts
|
|
15
15
|
var exports_location_mutation = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_page
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-w5r9s7kx.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_app
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-hs51b0fc.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_integration
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-158s554p.js";
|
|
10
|
+
import {
|
|
11
|
+
exports_provider
|
|
12
|
+
} from "./model-resolver-68yag814.js";
|
|
10
13
|
import {
|
|
11
14
|
exports_credential
|
|
12
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-pmxa1kd1.js";
|
|
13
16
|
import {
|
|
14
17
|
exports_bus
|
|
15
|
-
} from "./
|
|
16
|
-
import {
|
|
17
|
-
exports_provider
|
|
18
|
-
} from "./bus-68yag814.js";
|
|
18
|
+
} from "./model-resolver-b2mj9w79.js";
|
|
19
19
|
import {
|
|
20
20
|
__require
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/openai.ts
|
|
24
24
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_model_resolver
|
|
3
|
-
} from "./bus-cf3c6hm6.js";
|
|
4
1
|
import {
|
|
5
2
|
SessionSchema
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-bjwj8hwv.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_model_resolver
|
|
6
|
+
} from "./model-resolver-1n8ee09s.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/model.ts
|
|
12
12
|
var exports_model = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_service as exports_service2
|
|
3
|
-
} from "./bus-esv5q40e.js";
|
|
4
|
-
import {
|
|
5
|
-
exports_service
|
|
6
|
-
} from "./bus-6bxzghb6.js";
|
|
7
1
|
import {
|
|
8
2
|
exports_context
|
|
9
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z50wtwd6.js";
|
|
10
4
|
import {
|
|
11
5
|
exports_model_request
|
|
12
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-ryxrw20d.js";
|
|
7
|
+
import {
|
|
8
|
+
exports_service as exports_service2
|
|
9
|
+
} from "./model-resolver-esv5q40e.js";
|
|
10
|
+
import {
|
|
11
|
+
exports_service
|
|
12
|
+
} from "./model-resolver-6bxzghb6.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_history
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-ax34jjm3.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_database
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-tn3vtv4h.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
22
22
|
|
|
23
23
|
// src/session/generate.ts
|
|
24
24
|
var exports_generate = {};
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
MAX_TOTAL_PATCH_BYTES,
|
|
3
3
|
PATCH_CONTEXT_LINES,
|
|
4
4
|
emptyPatch
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-3chx3ng6.js";
|
|
6
6
|
import {
|
|
7
7
|
exports_location
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
exports_state
|
|
11
|
-
} from "./bus-dyrfpcd0.js";
|
|
8
|
+
} from "./model-resolver-vbaqktrz.js";
|
|
12
9
|
import {
|
|
13
10
|
exports_bus
|
|
14
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-b2mj9w79.js";
|
|
12
|
+
import {
|
|
13
|
+
exports_state
|
|
14
|
+
} from "./model-resolver-dyrfpcd0.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
18
18
|
|
|
19
19
|
// src/vcs.ts
|
|
20
20
|
var exports_vcs = {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
4
|
+
|
|
5
|
+
// src/config/watch.ts
|
|
6
|
+
var exports_watch = {};
|
|
7
|
+
__export(exports_watch, {
|
|
8
|
+
ConfigWatch: () => exports_watch,
|
|
9
|
+
plan: () => plan
|
|
10
|
+
});
|
|
11
|
+
import path from "path";
|
|
12
|
+
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
13
|
+
function plan(sources) {
|
|
14
|
+
const directories = [
|
|
15
|
+
...sources.global ? [sources.global] : [],
|
|
16
|
+
...sources.project.filter((root) => root.present).map((root) => root.path)
|
|
17
|
+
];
|
|
18
|
+
const files = [
|
|
19
|
+
...sources.direct,
|
|
20
|
+
...sources.project.map((root) => root.path),
|
|
21
|
+
...sources.explicit ? [sources.explicit] : []
|
|
22
|
+
];
|
|
23
|
+
const parents = Map.groupBy(files.filter((file) => !directories.some((directory) => file !== directory && FSUtil.contains(directory, file))), (file) => path.dirname(file));
|
|
24
|
+
return new Map([
|
|
25
|
+
...directories.map((path2) => ({
|
|
26
|
+
path: path2,
|
|
27
|
+
type: "directory",
|
|
28
|
+
ignore: ["node_modules", ".git", "**/{node_modules,.git}/**"]
|
|
29
|
+
})),
|
|
30
|
+
...Array.from(parents, ([parent, files2]) => ({
|
|
31
|
+
path: parent,
|
|
32
|
+
type: "entries",
|
|
33
|
+
names: [...new Set(files2.map((file) => path.basename(file)))].toSorted()
|
|
34
|
+
}))
|
|
35
|
+
].map((target) => [JSON.stringify(target), target]));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { plan, exports_watch };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_markdown
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-p5gyct0y.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_skill
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-xghrvkpy.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-j07kk359.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/skill-file.ts
|
|
15
15
|
var exports_skill_file = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_entry_observer
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
exports_tool_output
|
|
6
|
-
} from "./bus-f49n7vfd.js";
|
|
3
|
+
} from "./model-resolver-mnyszbxc.js";
|
|
7
4
|
import {
|
|
8
5
|
exports_config
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-yt21b5ce.js";
|
|
7
|
+
import {
|
|
8
|
+
exports_tool_output
|
|
9
|
+
} from "./model-resolver-0vkt3tck.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_schema
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-m7jtgrng.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeTable
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-gb1z7yet.js";
|
|
7
7
|
import {
|
|
8
8
|
ProjectTable,
|
|
9
9
|
upsertProject
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-c8ya26sa.js";
|
|
11
11
|
import {
|
|
12
12
|
exports_git
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-qz5gwjr7.js";
|
|
14
|
+
import {
|
|
15
|
+
AbsolutePath
|
|
16
|
+
} from "./model-resolver-j07kk359.js";
|
|
14
17
|
import {
|
|
15
18
|
exports_bus
|
|
16
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-b2mj9w79.js";
|
|
17
20
|
import {
|
|
18
21
|
exports_database
|
|
19
|
-
} from "./
|
|
20
|
-
import {
|
|
21
|
-
AbsolutePath
|
|
22
|
-
} from "./bus-j07kk359.js";
|
|
22
|
+
} from "./model-resolver-tn3vtv4h.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
26
26
|
|
|
27
27
|
// src/project.ts
|
|
28
28
|
var exports_project = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_migration
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-48xfm273.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_drizzle
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-zz8p0qp8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_location
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
exports_state
|
|
6
|
-
} from "./bus-dyrfpcd0.js";
|
|
3
|
+
} from "./model-resolver-vbaqktrz.js";
|
|
7
4
|
import {
|
|
8
5
|
exports_git
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-qz5gwjr7.js";
|
|
10
7
|
import {
|
|
11
8
|
AbsolutePath,
|
|
12
9
|
RelativePath
|
|
13
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-j07kk359.js";
|
|
11
|
+
import {
|
|
12
|
+
exports_state
|
|
13
|
+
} from "./model-resolver-dyrfpcd0.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
17
17
|
|
|
18
18
|
// src/snapshot.ts
|
|
19
19
|
var exports_snapshot = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
load
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-dkmkay92.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-8w9tzfz1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
@@ -71,9 +71,7 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
71
71
|
lookup: (key) => Effect.gen(function* () {
|
|
72
72
|
const pubsub = yield* Effect.acquireRelease(PubSub.unbounded(), (pubsub2) => PubSub.shutdown(pubsub2));
|
|
73
73
|
const subscription = yield* Effect.acquireRelease(native.subscribe({
|
|
74
|
-
|
|
75
|
-
target: key.target,
|
|
76
|
-
ignore: key.ignore,
|
|
74
|
+
...key,
|
|
77
75
|
publish: (update) => PubSub.publishUnsafe(pubsub, update)
|
|
78
76
|
}), (subscription2) => subscription2 ? Effect.promise(() => subscription2.unsubscribe()).pipe(Effect.ignoreCause, Effect.andThen(Effect.logInfo("watcher stopped", { path: key.target, type: key.type }))) : Effect.void, { interruptible: true });
|
|
79
77
|
if (!subscription) {
|
|
@@ -89,21 +87,24 @@ var layer = (options) => Layer.effect(Service, Effect.gen(function* () {
|
|
|
89
87
|
return pubsub;
|
|
90
88
|
})
|
|
91
89
|
});
|
|
92
|
-
const subscribe = (input)
|
|
90
|
+
const subscribe = Effect.fnUntraced(function* (input, onReady = Effect.void) {
|
|
93
91
|
const target = path.resolve(input.path);
|
|
94
92
|
const ignore = [...new Set(input.type === "directory" ? input.ignore ?? [] : [])].toSorted();
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
});
|
|
101
|
-
return Stream.unwrap(Effect.gen(function* () {
|
|
102
|
-
const pubsub = yield* RcMap.get(watchers, { type: input.type, target, ignore });
|
|
103
|
-
return Stream.fromPubSub(pubsub);
|
|
104
|
-
}));
|
|
93
|
+
const names = [...new Set(input.type === "entries" ? input.names : [])].toSorted();
|
|
94
|
+
yield* Effect.logInfo("watcher subscribe", {
|
|
95
|
+
path: target,
|
|
96
|
+
type: input.type,
|
|
97
|
+
ignores: ignore.length
|
|
105
98
|
});
|
|
106
|
-
|
|
99
|
+
return Stream.unwrap(Effect.gen(function* () {
|
|
100
|
+
const pubsub = yield* RcMap.get(watchers, { type: input.type, target, ignore, names });
|
|
101
|
+
const subscription = yield* PubSub.subscribe(pubsub);
|
|
102
|
+
if (yield* PubSub.isShutdown(pubsub))
|
|
103
|
+
return Stream.empty;
|
|
104
|
+
yield* onReady;
|
|
105
|
+
return Stream.fromSubscription(subscription);
|
|
106
|
+
}));
|
|
107
|
+
});
|
|
107
108
|
return Service.of({ subscribe });
|
|
108
109
|
}));
|
|
109
110
|
var testLayer = Layer.effectContext(Effect.gen(function* () {
|
|
@@ -111,9 +112,15 @@ var testLayer = Layer.effectContext(Effect.gen(function* () {
|
|
|
111
112
|
const active = new Map;
|
|
112
113
|
const native = Native.of({
|
|
113
114
|
subscribe: (input) => Effect.sync(() => {
|
|
114
|
-
subscriptions.push(input.type === "file" ? { path: input.target, type: "file" } : input.ignore.length > 0 ? { path: input.target, type: "directory", ignore: input.ignore } : { path: input.target, type: "directory" });
|
|
115
|
+
subscriptions.push(input.type === "file" ? { path: input.target, type: "file" } : input.type === "entries" ? { path: input.target, type: "entries", names: input.names } : input.ignore.length > 0 ? { path: input.target, type: "directory", ignore: input.ignore } : { path: input.target, type: "directory" });
|
|
115
116
|
const ignored = input.ignore.map((entry) => path.resolve(input.target, entry));
|
|
116
|
-
active.set(input.publish,
|
|
117
|
+
active.set(input.publish, (target) => {
|
|
118
|
+
if (input.type === "file")
|
|
119
|
+
return target === input.target;
|
|
120
|
+
if (input.type === "entries")
|
|
121
|
+
return path.dirname(target) === input.target && input.names.includes(path.basename(target));
|
|
122
|
+
return FSUtil.contains(input.target, target) && !ignored.some((entry) => FSUtil.contains(entry, target));
|
|
123
|
+
});
|
|
117
124
|
return {
|
|
118
125
|
unsubscribe: () => {
|
|
119
126
|
active.delete(input.publish);
|
|
@@ -138,17 +145,18 @@ var testLayer = Layer.effectContext(Effect.gen(function* () {
|
|
|
138
145
|
}));
|
|
139
146
|
var nativeLayer = Layer.succeed(Native, Native.of({
|
|
140
147
|
subscribe: (input) => {
|
|
141
|
-
if (input.type === "file") {
|
|
148
|
+
if (input.type === "file" || input.type === "entries") {
|
|
142
149
|
return Effect.sync(() => {
|
|
143
|
-
const directory = path.dirname(input.target);
|
|
150
|
+
const directory = input.type === "file" ? path.dirname(input.target) : input.target;
|
|
151
|
+
const names = new Set(input.type === "file" ? [path.basename(input.target)] : input.names);
|
|
144
152
|
const subscription = watch(directory, { recursive: false }, (_event, file) => {
|
|
145
|
-
if (file &&
|
|
153
|
+
if (file && !names.has(file))
|
|
146
154
|
return;
|
|
147
|
-
|
|
155
|
+
for (const name of file ? [file] : names) {
|
|
156
|
+
input.publish({ path: path.join(directory, name), type: "update" });
|
|
157
|
+
}
|
|
148
158
|
});
|
|
149
|
-
|
|
150
|
-
subscription.on("error", (error) => Effect.runFork(Effect.logError("watcher callback failed", { path: input.target, error })));
|
|
151
|
-
}
|
|
159
|
+
subscription.on("error", (error) => Effect.runFork(Effect.logError("watcher callback failed", { path: directory, error })));
|
|
152
160
|
return { unsubscribe: () => Promise.resolve(subscription.close()), backend: "node" };
|
|
153
161
|
});
|
|
154
162
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_protected
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-7myqjfx6.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_ripgrep
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-36pw8tps.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_location
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-vbaqktrz.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-j07kk359.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem/search.ts
|
|
18
18
|
var exports_search = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_entry_observer
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-mnyszbxc.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_config
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-yt21b5ce.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_provider
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-68yag814.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-vpjkya7h.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/provider.ts
|
|
15
15
|
var exports_provider2 = {};
|