@opencode/core 0.0.0-dev-21491 → 0.0.0-dev-21504
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{managed-policy-02mvvr71.js → command-02mvvr71.js} +3 -3
- package/dist/chunks/{managed-policy-3f89j14k.js → command-02pca900.js} +86 -86
- package/dist/chunks/command-06zctecw.js +257 -0
- package/dist/chunks/{managed-policy-bmzpefkn.js → command-0depx116.js} +31 -31
- package/dist/chunks/{managed-policy-0b6dhsgb.js → command-0ejg1h3y.js} +27 -27
- package/dist/chunks/{managed-policy-vq3mbxa1.js → command-0g6q6pfz.js} +1 -1
- package/dist/chunks/{managed-policy-dtqg9ce1.js → command-0gapa1rm.js} +5 -5
- package/dist/chunks/{managed-policy-v210v162.js → command-0javqkgf.js} +9 -9
- package/dist/chunks/{managed-policy-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{managed-policy-c6630jg4.js → command-0z7sm6e6.js} +10 -10
- package/dist/chunks/{managed-policy-rx66987b.js → command-16swm0z2.js} +3 -3
- package/dist/chunks/{managed-policy-e02c3zmf.js → command-1e096zfv.js} +10 -10
- package/dist/chunks/{managed-policy-0rj9qq9v.js → command-1hy1achk.js} +24 -24
- package/dist/chunks/{managed-policy-5yas3zxh.js → command-1k45a7y4.js} +27 -27
- package/dist/chunks/{managed-policy-61020q5n.js → command-1m2v2j5e.js} +10 -10
- package/dist/chunks/{managed-policy-a22hfnwm.js → command-1q5vfyvt.js} +28 -28
- package/dist/chunks/{managed-policy-5e7pqmr6.js → command-1tmptvb5.js} +31 -31
- package/dist/chunks/{managed-policy-e0wab7y1.js → command-22rvfkr8.js} +1 -1
- package/dist/chunks/{managed-policy-27w5k9zf.js → command-27w5k9zf.js} +2 -2
- package/dist/chunks/{managed-policy-ctb4pm8c.js → command-283cyrsj.js} +1 -1
- package/dist/chunks/{managed-policy-qp1h599v.js → command-2g8sxgxk.js} +8 -8
- package/dist/chunks/{managed-policy-fe01zgkj.js → command-2me2cgjk.js} +9 -9
- package/dist/chunks/{managed-policy-0bc3t8db.js → command-32ca7668.js} +17 -17
- package/dist/chunks/{managed-policy-zxt4vfhe.js → command-37q05ven.js} +18 -18
- package/dist/chunks/{managed-policy-83018d4a.js → command-389fpadm.js} +15 -15
- package/dist/chunks/{managed-policy-gxrabwdk.js → command-3c8ew9jt.js} +34 -34
- package/dist/chunks/{managed-policy-9hk667w6.js → command-3egpthbr.js} +24 -24
- package/dist/chunks/{managed-policy-zqxtp45f.js → command-3f1rw1kg.js} +4 -4
- package/dist/chunks/{managed-policy-ezwrbjyz.js → command-3ggeeyj8.js} +8 -8
- package/dist/chunks/{managed-policy-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
- package/dist/chunks/{managed-policy-6ktqrwxg.js → command-3n39cpdf.js} +15 -15
- package/dist/chunks/{managed-policy-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{managed-policy-3gext12q.js → command-3vvdcvz1.js} +25 -25
- package/dist/chunks/{managed-policy-f82angv3.js → command-3wyzm26w.js} +45 -45
- package/dist/chunks/{managed-policy-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{managed-policy-z6c3x22d.js → command-47jkzegy.js} +5 -5
- package/dist/chunks/{managed-policy-qnase3v7.js → command-4aqng94r.js} +25 -25
- package/dist/chunks/{managed-policy-nvdcnaxe.js → command-4bzs8rv8.js} +3 -3
- package/dist/chunks/{managed-policy-ypvpqyv3.js → command-4kj8c1s4.js} +31 -31
- package/dist/chunks/{managed-policy-s11bfypk.js → command-4rsh6n8g.js} +16 -16
- package/dist/chunks/{managed-policy-yfqa18f0.js → command-4w7ecc6g.js} +26 -26
- package/dist/chunks/{managed-policy-t423jy7h.js → command-52ae0j7r.js} +11 -11
- package/dist/chunks/{managed-policy-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{managed-policy-f079wcfr.js → command-56zeqtav.js} +11 -11
- package/dist/chunks/{managed-policy-npxcptkq.js → command-58qhexmz.js} +24 -24
- package/dist/chunks/{managed-policy-hzrfc1p4.js → command-5epte933.js} +3 -3
- package/dist/chunks/{managed-policy-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{managed-policy-y54hr7f3.js → command-63kpjth9.js} +9 -9
- package/dist/chunks/{managed-policy-6827pfxn.js → command-6827pfxn.js} +1 -1
- package/dist/chunks/{managed-policy-apva9kdg.js → command-6k581ess.js} +6 -6
- package/dist/chunks/{managed-policy-9b4s9htt.js → command-6n0t37d6.js} +13 -13
- package/dist/chunks/{managed-policy-8sze2n9a.js → command-6pc27hjz.js} +2 -2
- package/dist/chunks/{managed-policy-6xb47vfp.js → command-6xb47vfp.js} +1 -1
- package/dist/chunks/{managed-policy-xcqzmser.js → command-6y9j254c.js} +8 -8
- package/dist/chunks/{managed-policy-g6yfr6ja.js → command-6yz0wx8n.js} +5 -5
- package/dist/chunks/{managed-policy-rxt37nfn.js → command-72c5e6kf.js} +18 -18
- package/dist/chunks/{managed-policy-w3x9v1nk.js → command-73t188jy.js} +8 -8
- package/dist/chunks/{managed-policy-775gj3j1.js → command-775gj3j1.js} +2 -2
- package/dist/chunks/{managed-policy-w1a8hbta.js → command-77qajvn3.js} +18 -18
- package/dist/chunks/{managed-policy-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-7rfyzhr4.js → command-7ean6v8x.js} +9 -9
- package/dist/chunks/{managed-policy-c3999hsq.js → command-83dfmwhh.js} +27 -27
- package/dist/chunks/{managed-policy-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{managed-policy-2n3f9p6t.js → command-89f0qmxx.js} +1 -1
- package/dist/chunks/{managed-policy-jrvzjra1.js → command-8br0tfcm.js} +2 -2
- package/dist/chunks/{managed-policy-n23ex2vx.js → command-8gazrhqj.js} +34 -34
- package/dist/chunks/{managed-policy-8m6m0r52.js → command-8m6m0r52.js} +1 -1
- package/dist/chunks/{managed-policy-8mywswrd.js → command-8mywswrd.js} +1 -1
- package/dist/chunks/{managed-policy-72xkmq2t.js → command-8nr013c3.js} +23 -23
- package/dist/chunks/{managed-policy-d9sm4xrh.js → command-8rs56nfj.js} +11 -11
- package/dist/chunks/{managed-policy-kkffvv7t.js → command-8sse9e5v.js} +16 -16
- package/dist/chunks/{managed-policy-8vcf4cwr.js → command-8vcf4cwr.js} +2 -2
- package/dist/chunks/{managed-policy-j81942hj.js → command-90mddc2j.js} +27 -27
- package/dist/chunks/{managed-policy-s8r7r2r2.js → command-948dh3hk.js} +31 -26
- package/dist/chunks/{managed-policy-8c1543jm.js → command-95mrps0w.js} +13 -13
- package/dist/chunks/{managed-policy-dys7k0s0.js → command-967benbv.js} +11 -11
- package/dist/chunks/{managed-policy-aznvabbj.js → command-96z498kx.js} +13 -13
- package/dist/chunks/{managed-policy-tgyh3127.js → command-97kmb959.js} +33 -33
- package/dist/chunks/{managed-policy-w6pwf7d8.js → command-9bs1c7ey.js} +2 -2
- package/dist/chunks/{managed-policy-rc68q40s.js → command-9h6sayvh.js} +10 -10
- package/dist/chunks/{managed-policy-xtxypabt.js → command-9nyvt9wv.js} +12 -12
- package/dist/chunks/{managed-policy-acd4vkpt.js → command-9r15s34d.js} +5 -5
- package/dist/chunks/{managed-policy-f2rcxsa5.js → command-9vgsddc0.js} +3 -3
- package/dist/chunks/{managed-policy-9wev2pgg.js → command-9wev2pgg.js} +1 -1
- package/dist/chunks/{managed-policy-aexvs9tr.js → command-a4pbv56j.js} +20 -20
- package/dist/chunks/{managed-policy-9ttm0g3v.js → command-a4xtrzqb.js} +11 -11
- package/dist/chunks/{managed-policy-n70y1c66.js → command-a76s9319.js} +26 -26
- package/dist/chunks/{managed-policy-addxnjmp.js → command-addxnjmp.js} +1 -1
- package/dist/chunks/{managed-policy-aj7mw0zk.js → command-aj7mw0zk.js} +2 -2
- package/dist/chunks/{managed-policy-86gap05f.js → command-as1q5j0q.js} +13 -13
- package/dist/chunks/{managed-policy-prxg8bz4.js → command-asnmz69s.js} +9 -9
- package/dist/chunks/{managed-policy-5g8dz47n.js → command-ayyhc25y.js} +16 -15
- package/dist/chunks/{managed-policy-b11a7tx7.js → command-b11a7tx7.js} +1 -1
- package/dist/chunks/{managed-policy-bsd7119h.js → command-b7k2jn9m.js} +3 -3
- package/dist/chunks/{managed-policy-eqye43p9.js → command-bqzx1cnv.js} +2 -2
- package/dist/chunks/{managed-policy-phz50fbd.js → command-bxqk5pf5.js} +9 -9
- package/dist/chunks/{managed-policy-bzeyqsqd.js → command-bzeyqsqd.js} +1 -1
- package/dist/chunks/{managed-policy-0fdykq3h.js → command-c61wj0cv.js} +7 -7
- package/dist/chunks/{managed-policy-w786zxxk.js → command-cevbxveq.js} +3 -3
- package/dist/chunks/{managed-policy-74k5whsh.js → command-cf25jgjj.js} +9 -9
- package/dist/chunks/{managed-policy-84w8zxyr.js → command-cgh16r15.js} +11 -11
- package/dist/chunks/{managed-policy-key7dk4q.js → command-chpbykcw.js} +7 -7
- package/dist/chunks/{managed-policy-s47ddm7x.js → command-ck6mh85g.js} +9 -9
- package/dist/chunks/{managed-policy-q5asdkn4.js → command-ckf8nxjz.js} +4 -4
- package/dist/chunks/{managed-policy-2mq1h16s.js → command-cpneeje0.js} +9 -9
- package/dist/chunks/{managed-policy-zeswx609.js → command-dcncen4d.js} +16 -16
- package/dist/chunks/{managed-policy-pc1v25hk.js → command-dh62xe4r.js} +3 -3
- package/dist/chunks/{managed-policy-qmb9x70h.js → command-djqf971v.js} +21 -21
- package/dist/chunks/{managed-policy-dpkg50ah.js → command-dpkg50ah.js} +1 -1
- package/dist/chunks/{managed-policy-x8y7t7ay.js → command-dqrbwv0a.js} +38 -38
- package/dist/chunks/{managed-policy-xfkkasph.js → command-drwq78ky.js} +4 -4
- package/dist/chunks/{managed-policy-p50c7myx.js → command-dvj9ct8m.js} +4 -4
- package/dist/chunks/{managed-policy-apnmkvac.js → command-dwr5n885.js} +82 -82
- package/dist/chunks/{managed-policy-rt11jr6s.js → command-dy3angj7.js} +10 -10
- package/dist/chunks/{managed-policy-7esn4579.js → command-e39nsbtg.js} +9 -9
- package/dist/chunks/{managed-policy-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
- package/dist/chunks/{managed-policy-53tkkxhc.js → command-e5cywx9b.js} +9 -9
- package/dist/chunks/{managed-policy-whtqyj4j.js → command-e6knj4ky.js} +9 -9
- package/dist/chunks/{managed-policy-e7gxy7fd.js → command-e7gxy7fd.js} +1 -1
- package/dist/chunks/{managed-policy-kyq61knp.js → command-e9zd77c1.js} +10 -10
- package/dist/chunks/{managed-policy-sm8rjw2t.js → command-ecmkrhds.js} +29 -29
- package/dist/chunks/{managed-policy-wcxv5kn7.js → command-ect4475a.js} +24 -24
- package/dist/chunks/{managed-policy-eej6y6fw.js → command-eej6y6fw.js} +2 -2
- package/dist/chunks/{managed-policy-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{managed-policy-qcez1nns.js → command-eh4k6x00.js} +19 -19
- package/dist/chunks/{managed-policy-9ey36q4m.js → command-ejrgmtaq.js} +6 -6
- package/dist/chunks/{managed-policy-zcgb1d5p.js → command-emyrjxnr.js} +16 -16
- package/dist/chunks/{managed-policy-9ww24xgv.js → command-et0erakc.js} +4 -4
- package/dist/chunks/{managed-policy-krdey6nc.js → command-f8e526k5.js} +6 -6
- package/dist/chunks/{managed-policy-7dqw4kz8.js → command-fcrkznn8.js} +5 -5
- package/dist/chunks/{managed-policy-fcy631f0.js → command-fcy631f0.js} +1 -1
- package/dist/chunks/{managed-policy-48mdvxa1.js → command-fkcvtbd2.js} +11 -11
- package/dist/chunks/{managed-policy-qh440tqz.js → command-fkhc0ppg.js} +21 -21
- package/dist/chunks/{managed-policy-a9hyd3xt.js → command-fkj9mczz.js} +9 -9
- package/dist/chunks/{managed-policy-egfpjxdk.js → command-fp13yrwa.js} +11 -11
- package/dist/chunks/{managed-policy-khmqacep.js → command-fxaymqdw.js} +4 -4
- package/dist/chunks/{managed-policy-jqnfqjgv.js → command-g02fgy81.js} +6 -6
- package/dist/chunks/{managed-policy-8v6pyhej.js → command-g0445xdp.js} +8 -8
- package/dist/chunks/{managed-policy-xz4gy2pw.js → command-g5b8j3v4.js} +17 -17
- package/dist/chunks/{managed-policy-wzxagd9j.js → command-g8qdqr0p.js} +33 -33
- package/dist/chunks/{managed-policy-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{managed-policy-vm5k6wy9.js → command-ge44mx5n.js} +50 -50
- package/dist/chunks/{managed-policy-8q7ya8nw.js → command-h1k4kx5h.js} +11 -11
- package/dist/chunks/{managed-policy-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{managed-policy-t67zsw2d.js → command-hbbqk0nf.js} +8 -8
- package/dist/chunks/{managed-policy-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
- package/dist/chunks/{managed-policy-bkvtpeby.js → command-hnmmt9bt.js} +16 -16
- package/dist/chunks/{managed-policy-79s2vfx4.js → command-hqhd8mr3.js} +10 -10
- package/dist/chunks/{managed-policy-13x3trj0.js → command-hr3ck4k2.js} +11 -11
- package/dist/chunks/{managed-policy-eka1fpr9.js → command-j7aq1t3e.js} +8 -8
- package/dist/chunks/{managed-policy-4v5nt0pw.js → command-jad02azz.js} +136 -136
- package/dist/chunks/{managed-policy-dsjqj3ej.js → command-jg57jh00.js} +13 -13
- package/dist/chunks/{managed-policy-5hd4f9r8.js → command-jhk62tbh.js} +2 -2
- package/dist/chunks/{managed-policy-8tznkr9f.js → command-jjcahp0d.js} +10 -10
- package/dist/chunks/{managed-policy-jjs0t1zg.js → command-jjpxm7bv.js} +22 -23
- package/dist/chunks/{managed-policy-4cceg5sd.js → command-jm03v3tw.js} +4 -4
- package/dist/chunks/{managed-policy-y4m8q82k.js → command-jpjpmxdq.js} +5 -5
- package/dist/chunks/{managed-policy-j8m1p4p1.js → command-jpqeh2wc.js} +4 -4
- package/dist/chunks/{managed-policy-p1evevaf.js → command-k9yvbbgh.js} +7 -7
- package/dist/chunks/command-kj2kg6z0.js +26 -0
- package/dist/chunks/{managed-policy-kb3x7pf7.js → command-kkm66dmx.js} +12 -12
- package/dist/chunks/{managed-policy-caz39jgd.js → command-kks3c8v7.js} +11 -11
- package/dist/chunks/{managed-policy-0pen1p02.js → command-kqef9432.js} +2 -2
- package/dist/chunks/{managed-policy-waskdk5r.js → command-kqv3x6rj.js} +9 -9
- package/dist/chunks/{managed-policy-hzf7nycv.js → command-kt3b3w9s.js} +18 -18
- package/dist/chunks/{managed-policy-kwb1v3vj.js → command-kwb1v3vj.js} +1 -1
- package/dist/chunks/{managed-policy-93sdjx82.js → command-m4rj2mnd.js} +19 -19
- package/dist/chunks/{managed-policy-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-maspj1v3.js → command-maspj1v3.js} +1 -1
- package/dist/chunks/{managed-policy-ewh32mer.js → command-mez53n4j.js} +10 -10
- package/dist/chunks/{managed-policy-rksyg9qw.js → command-mgwe8qfe.js} +3 -3
- package/dist/chunks/{managed-policy-3erh292t.js → command-mmqg1qye.js} +10 -10
- package/dist/chunks/{managed-policy-d9v4kj4p.js → command-mnves5jb.js} +27 -27
- package/dist/chunks/{managed-policy-tvc954gt.js → command-mv3xkgvr.js} +3 -3
- package/dist/chunks/{managed-policy-s633ewaf.js → command-mx1fmt33.js} +43 -43
- package/dist/chunks/{managed-policy-yg9tq0cc.js → command-n1dcq2q6.js} +4 -4
- package/dist/chunks/{managed-policy-qbykmpc4.js → command-n6mnjzyz.js} +4 -4
- package/dist/chunks/{managed-policy-s1zg7ffe.js → command-n6ngdxpd.js} +28 -19
- package/dist/chunks/{managed-policy-pfw87a65.js → command-na13574c.js} +26 -26
- package/dist/chunks/{managed-policy-mv1r8e9h.js → command-nbbt34nq.js} +1 -1
- package/dist/chunks/{managed-policy-qdges9q9.js → command-nhxs7ffw.js} +11 -11
- package/dist/chunks/{managed-policy-x5cd8a5z.js → command-nt51sm0f.js} +5 -5
- package/dist/chunks/{managed-policy-nz56sr1f.js → command-nz56sr1f.js} +2 -2
- package/dist/chunks/{managed-policy-pq3pf99j.js → command-p5pcm5fj.js} +11 -11
- package/dist/chunks/{managed-policy-032qaw1g.js → command-pgyp9qgz.js} +1 -1
- package/dist/chunks/command-phz3h32g.js +18 -0
- package/dist/chunks/{managed-policy-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{managed-policy-7z9xty5h.js → command-pkcmhgjr.js} +6 -6
- package/dist/chunks/{managed-policy-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-013f6n7j.js → command-ptak7ehw.js} +4 -4
- package/dist/chunks/{managed-policy-vj0b9bdb.js → command-pv162s98.js} +4 -4
- package/dist/chunks/{managed-policy-bc8a87a1.js → command-pwfkmcqs.js} +15 -15
- package/dist/chunks/{managed-policy-0f6v0b8k.js → command-q13f50ex.js} +28 -28
- package/dist/chunks/{managed-policy-22haabc6.js → command-q7jg6b3k.js} +12 -12
- package/dist/chunks/{managed-policy-rsn7nymj.js → command-qby9dwvd.js} +8 -8
- package/dist/chunks/{managed-policy-07cemqmz.js → command-qcmbay3g.js} +18 -18
- package/dist/chunks/{managed-policy-qgqsp7s6.js → command-qd788sr8.js} +14 -14
- package/dist/chunks/{managed-policy-chnmd5gf.js → command-qhm64xy3.js} +38 -38
- package/dist/chunks/{managed-policy-brf22wj7.js → command-qjxnsekw.js} +21 -21
- package/dist/chunks/{managed-policy-285njdc7.js → command-qk8cm41f.js} +33 -33
- package/dist/chunks/{managed-policy-7ax7ztnt.js → command-qkgtmd8v.js} +26 -26
- package/dist/chunks/{managed-policy-rps5k12g.js → command-qqjrwnjf.js} +17 -17
- package/dist/chunks/{managed-policy-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{managed-policy-pjc5aezn.js → command-qznp475s.js} +11 -11
- package/dist/chunks/{managed-policy-bnjaxb8y.js → command-r014m902.js} +6 -6
- package/dist/chunks/{managed-policy-mtmc9eg1.js → command-r3npp4de.js} +14 -14
- package/dist/chunks/{managed-policy-ffke7qc3.js → command-r54ry9rd.js} +25 -25
- package/dist/chunks/{managed-policy-fqcgpcra.js → command-r9w3djhf.js} +9 -9
- package/dist/chunks/{managed-policy-v5dkyp31.js → command-ratrq7cm.js} +4 -4
- package/dist/chunks/{managed-policy-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{managed-policy-j9qea72c.js → command-s4q0hzws.js} +41 -41
- package/dist/chunks/{managed-policy-ztyn4krw.js → command-s5fqv55p.js} +14 -14
- package/dist/chunks/{managed-policy-9zpps5cv.js → command-s81df8he.js} +8 -8
- package/dist/chunks/command-sr1qwj5a.js +523 -0
- package/dist/chunks/{managed-policy-gytf7wjd.js → command-sxjy2bbv.js} +10 -10
- package/dist/chunks/{managed-policy-syv4x271.js → command-syv4x271.js} +1 -1
- package/dist/chunks/{managed-policy-5qx0x9n9.js → command-t3znd8m3.js} +30 -30
- package/dist/chunks/{managed-policy-t550f9t1.js → command-t550f9t1.js} +1 -1
- package/dist/chunks/{managed-policy-hxh3b1aa.js → command-t7e2bcer.js} +18 -18
- package/dist/chunks/{managed-policy-84fwdand.js → command-t8afp1a1.js} +9 -9
- package/dist/chunks/{managed-policy-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{managed-policy-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{managed-policy-wekfy4qh.js → command-tdrv5nbk.js} +44 -44
- package/dist/chunks/{managed-policy-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{managed-policy-9whvwchs.js → command-tfsj72j2.js} +18 -18
- package/dist/chunks/{managed-policy-zzjqbrbs.js → command-tk1wxqb9.js} +32 -32
- package/dist/chunks/{managed-policy-395q6j9z.js → command-tt8gc4fv.js} +6 -6
- package/dist/chunks/{managed-policy-tyytaxap.js → command-tyytaxap.js} +1 -1
- package/dist/chunks/{managed-policy-dx5w3at1.js → command-v0g0brx6.js} +44 -44
- package/dist/chunks/{managed-policy-797zm2z1.js → command-v2m8q0xf.js} +9 -9
- package/dist/chunks/{managed-policy-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
- package/dist/chunks/{managed-policy-syphc160.js → command-v9txjfgp.js} +11 -11
- package/dist/chunks/{managed-policy-svznnd2w.js → command-va3y7zmk.js} +52 -52
- package/dist/chunks/{managed-policy-5gpthb56.js → command-vdp67131.js} +15 -15
- package/dist/chunks/{managed-policy-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{managed-policy-y0365093.js → command-w2v961ax.js} +28 -28
- package/dist/chunks/{managed-policy-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-anvc95jv.js → command-w7ef2pdc.js} +5 -5
- package/dist/chunks/{managed-policy-scp930kh.js → command-w8wm14nc.js} +9 -9
- package/dist/chunks/{managed-policy-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{managed-policy-yntw0z39.js → command-wbsnpf72.js} +39 -39
- package/dist/chunks/{managed-policy-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-sfc629sa.js → command-whq7nv3n.js} +1 -1
- package/dist/chunks/{managed-policy-ywt8jp22.js → command-wjr9rjd7.js} +6 -6
- package/dist/chunks/{managed-policy-0rqtsg5n.js → command-wkhzxvmr.js} +3 -3
- package/dist/chunks/{managed-policy-0n8gk7ba.js → command-wkpdpa51.js} +17 -17
- package/dist/chunks/{managed-policy-wpm2rk0p.js → command-wpm2rk0p.js} +1 -1
- package/dist/chunks/{managed-policy-2t04g333.js → command-ws4zn9x6.js} +11 -11
- package/dist/chunks/{managed-policy-zdbqtfh3.js → command-wsphkq72.js} +10 -10
- package/dist/chunks/{managed-policy-pc697a2z.js → command-x0mpvren.js} +18 -18
- package/dist/chunks/{managed-policy-ptmx7msf.js → command-xkxvzqg5.js} +21 -21
- package/dist/chunks/{managed-policy-tgb901z2.js → command-xsgk040k.js} +19 -19
- package/dist/chunks/{managed-policy-7w2pscy5.js → command-xsxxgc5h.js} +7 -7
- package/dist/chunks/{managed-policy-30yr1q3d.js → command-xwqx1eeb.js} +18 -18
- package/dist/chunks/{managed-policy-9dv04wd0.js → command-xx33v6n7.js} +11 -11
- package/dist/chunks/{managed-policy-t55k6nbk.js → command-xyr4e3r8.js} +15 -15
- package/dist/chunks/{managed-policy-g23shk49.js → command-y0mtf7j7.js} +5 -5
- package/dist/chunks/{managed-policy-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{managed-policy-bajnvr42.js → command-y26vasy8.js} +30 -30
- package/dist/chunks/{managed-policy-nr9ctgbm.js → command-y7cneyn5.js} +21 -21
- package/dist/chunks/{managed-policy-6z0h4rce.js → command-y99cwb6p.js} +24 -24
- package/dist/chunks/{managed-policy-9b5wfm11.js → command-ybc3kgcz.js} +15 -15
- package/dist/chunks/{managed-policy-31cptbhm.js → command-yjekck1e.js} +46 -46
- package/dist/chunks/{managed-policy-01zmxwx5.js → command-yph07088.js} +5 -5
- package/dist/chunks/{managed-policy-ybfnsx4m.js → command-z0aj456m.js} +4 -4
- package/dist/chunks/{managed-policy-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-z18fegx4.js → command-z18fegx4.js} +1 -1
- package/dist/chunks/{managed-policy-m52r3js8.js → command-z5bz21w3.js} +67 -67
- package/dist/chunks/{managed-policy-vp0bfksy.js → command-z9d3cvam.js} +3 -4
- package/dist/chunks/{managed-policy-qt15fkhv.js → command-z9h9mhtp.js} +18 -18
- package/dist/chunks/{managed-policy-qhbzjzz8.js → command-zahm10sn.js} +16 -16
- package/dist/chunks/{managed-policy-r360z3bx.js → command-zbwvew5n.js} +14 -14
- package/dist/chunks/{managed-policy-wah2mdw0.js → command-zdzmwh5k.js} +4 -4
- package/dist/chunks/{managed-policy-4dx31ypd.js → command-zp3b7061.js} +21 -21
- package/dist/chunks/{managed-policy-dknhw0am.js → command-zq2x8b87.js} +14 -14
- package/dist/chunks/{managed-policy-5zhxxmww.js → command-zqgkxsdx.js} +10 -10
- package/dist/chunks/{managed-policy-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{managed-policy-1qyhsxqy.js → command-zttg29zn.js} +28 -28
- package/dist/chunks/{managed-policy-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- 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 +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +114 -114
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- 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 +1 -1
- package/dist/config/plugin/skill.js +136 -136
- 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 +85 -85
- 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 +80 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- 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 +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +96 -96
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +3 -3
- package/dist/instance.js +358 -358
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +154 -154
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- 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 +105 -105
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- 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 +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +92 -92
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- 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 +90 -90
- 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 +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-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 +113 -113
- 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 +123 -123
- 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 +123 -123
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- 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 +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- 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 +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +136 -136
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/aisdk.d.ts +2 -2
- package/dist/types/pty.d.ts +2 -2
- package/dist/types/session/sql.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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 +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/managed-policy-4aerk24h.js +0 -257
- package/dist/chunks/managed-policy-5cr3chvm.js +0 -26
- package/dist/chunks/managed-policy-f81tjggh.js +0 -18
- package/dist/chunks/managed-policy-rngsy1tc.js +0 -523
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-5fjb7ams.js → command-5fjb7ams.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wjj7prxr.js → command-wjj7prxr.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-n1dcq2q6.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./command-hnmmt9bt.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID13,
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
Service78,
|
|
20
20
|
node82,
|
|
21
21
|
Event17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-1e096zfv.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -74,7 +74,7 @@ class Service77 extends Context.Service()("@opencode/Model") {
|
|
|
74
74
|
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
75
75
|
const providers = yield* Service78;
|
|
76
76
|
const bus = yield* Service85;
|
|
77
|
-
const location = yield*
|
|
77
|
+
const location = yield* Service81;
|
|
78
78
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
79
79
|
let input;
|
|
80
80
|
const state = create3({
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
236
236
|
})
|
|
237
237
|
});
|
|
238
238
|
}));
|
|
239
|
-
var node81 = makeLocationNode({ service: Service77, layer, deps: [node82, node89,
|
|
239
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [node82, node89, node85] });
|
|
240
240
|
var PREFERRED_FREE = [
|
|
241
241
|
"big-pickle",
|
|
242
242
|
"deepseek-v4.1-flash-free",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service37
|
|
7
|
+
} from "./command-948dh3hk.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-5epte933.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-f8e526k5.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-dvj9ct8m.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-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* Service37;
|
|
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: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service70,
|
|
3
3
|
node73
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-e5cywx9b.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-5epte933.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_job, {
|
|
|
18
18
|
Job: () => exports_job,
|
|
19
19
|
Service: () => Service61,
|
|
20
20
|
make: () => make18,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node64
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -84,7 +84,7 @@ function decrementSession(input, sessionID) {
|
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
86
|
var make18 = Effect.gen(function* () {
|
|
87
|
-
const kv = yield*
|
|
87
|
+
const kv = yield* Service70;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -357,6 +357,6 @@ var make18 = Effect.gen(function* () {
|
|
|
357
357
|
});
|
|
358
358
|
});
|
|
359
359
|
var layer = Layer.effect(Service61, make18);
|
|
360
|
-
var
|
|
360
|
+
var node64 = makeGlobalNode({ service: Service61, layer, deps: [node73] });
|
|
361
361
|
|
|
362
|
-
export { Service61, make18,
|
|
362
|
+
export { Service61, make18, node64, exports_job };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service55,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service55 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service55, exports_runner };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service8.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node9 = makeLocationNode({ service: Service8, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service8, node9, exports_location_watcher_policy };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./command-63kpjth9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./command-9r15s34d.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9wev2pgg.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-phz3h32g.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service66
|
|
15
|
+
} from "./command-qby9dwvd.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-f8e526k5.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service39
|
|
23
|
+
} from "./command-3egpthbr.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service56;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service66;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service39;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service45;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
9
|
-
function
|
|
9
|
+
function make8(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make8 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-n1dcq2q6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service70,
|
|
7
7
|
node73
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-e5cywx9b.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
20
|
Event: () => Event6,
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Input: () => Input15,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,9 +28,9 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service38,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node41
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
@@ -38,19 +38,19 @@ import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Event as Event6 } from "@opencode/schema/websearch";
|
|
41
|
-
var
|
|
41
|
+
var ID5 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input15 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID5,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service38 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service85;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service70;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service38.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node41 = makeLocationNode({
|
|
188
|
+
service: Service38,
|
|
189
189
|
layer,
|
|
190
190
|
deps: [node89, node73]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID5, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service38, node41, exports_websearch3, Event6 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service65
|
|
4
|
+
} from "./command-ect4475a.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
7
|
Service77
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-cf25jgjj.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service67
|
|
12
|
+
} from "./command-3wyzm26w.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-5epte933.js";
|
|
16
16
|
import {
|
|
17
17
|
Service61
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-ck6mh85g.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service62
|
|
22
|
+
} from "./command-v0g0brx6.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service21
|
|
25
|
+
} from "./command-02pca900.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service11
|
|
31
|
+
} from "./command-qqjrwnjf.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input11,
|
|
40
|
+
Output: () => Output7,
|
|
41
|
+
Plugin: () => Plugin48,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description5,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name11
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name11 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input11 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input13 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output7 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin48 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
92
|
+
const sessions = yield* Service21;
|
|
93
93
|
const jobs = yield* Service61;
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
94
|
+
const agents = yield* Service65;
|
|
95
|
+
const config = yield* Service67;
|
|
96
|
+
const permission = yield* Service62;
|
|
97
97
|
const models = yield* Service77;
|
|
98
|
-
const subagents = yield*
|
|
98
|
+
const subagents = yield* Service11;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin33 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name11,
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description5,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input11,
|
|
122
|
+
output: Output7,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin33 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name11,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin33 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name11 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name11];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name11, Input11, Output7, description5, Plugin48, exports_subagent };
|