@opencode/core 0.0.0-dev-20249 → 0.0.0-dev-20250
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-activity-8kp1k5ps.js → tool-089t50vm.js} +21 -21
- package/dist/chunks/{location-activity-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-ewvgzyem.js → tool-0rban3yw.js} +13 -13
- package/dist/chunks/{location-activity-1kggeejj.js → tool-0t6cxkbd.js} +25 -25
- package/dist/chunks/{location-activity-qsb7s0x5.js → tool-0tdgw0ar.js} +10 -10
- package/dist/chunks/{location-activity-qs4mz5f3.js → tool-0z09521w.js} +2 -2
- package/dist/chunks/{location-activity-jaak92tj.js → tool-156zbn1d.js} +9 -9
- package/dist/chunks/{location-activity-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-cvcab3e7.js → tool-1rtbc53y.js} +1 -1
- package/dist/chunks/{location-activity-1ygqh575.js → tool-1ygqh575.js} +2 -2
- package/dist/chunks/{location-activity-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{location-activity-82a973mw.js → tool-228xbxgc.js} +13 -13
- package/dist/chunks/{location-activity-2xgpccdx.js → tool-24ajxhwn.js} +16 -16
- package/dist/chunks/{location-activity-3m3dt5rv.js → tool-2756h3zt.js} +20 -20
- package/dist/chunks/{location-activity-n4r1a76v.js → tool-2844q2j5.js} +3 -3
- package/dist/chunks/{location-activity-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-c2b0a5hv.js → tool-2f56s268.js} +19 -19
- package/dist/chunks/{location-activity-1hqp4yhx.js → tool-2kw3wt25.js} +5 -5
- package/dist/chunks/{location-activity-hj6fcrxw.js → tool-2r0dzprv.js} +7 -7
- package/dist/chunks/{location-activity-cwa6csj7.js → tool-2sejkfem.js} +9 -9
- package/dist/chunks/{location-activity-ey3ha4js.js → tool-339g4gdd.js} +20 -20
- package/dist/chunks/{location-activity-y0n45tja.js → tool-34er3540.js} +26 -26
- package/dist/chunks/{location-activity-w3h9rmhg.js → tool-38wrebp5.js} +39 -39
- package/dist/chunks/{location-activity-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-w9yg01yk.js → tool-3kzfkvq2.js} +9 -9
- package/dist/chunks/{location-activity-wqpd61v1.js → tool-3m8mva6z.js} +21 -21
- package/dist/chunks/{location-activity-t9ry9eb3.js → tool-3refetkt.js} +3 -3
- package/dist/chunks/{location-activity-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-x1h4eq31.js → tool-3zf7ee43.js} +3 -3
- package/dist/chunks/{location-activity-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-792jbbde.js → tool-44g9bvrf.js} +10 -10
- package/dist/chunks/{location-activity-6pkj5grj.js → tool-482tjr68.js} +3 -3
- package/dist/chunks/{location-activity-5zfnesw8.js → tool-4gy81ws5.js} +11 -11
- package/dist/chunks/{location-activity-kzp9zm5q.js → tool-4qn8cb3g.js} +35 -35
- package/dist/chunks/{location-activity-rmjn6g9n.js → tool-4vxt5jt3.js} +20 -20
- package/dist/chunks/{location-activity-ckecvw8r.js → tool-54tcyq79.js} +2 -2
- package/dist/chunks/{location-activity-tdj3v69k.js → tool-5595mwca.js} +65 -65
- package/dist/chunks/{location-activity-vffygzrk.js → tool-572k1pdw.js} +33 -33
- package/dist/chunks/{location-activity-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-cx34d9wd.js → tool-5g3whhj5.js} +11 -11
- package/dist/chunks/{location-activity-bex4hgfv.js → tool-5q9n4mzc.js} +9 -9
- package/dist/chunks/{location-activity-xhysamsz.js → tool-5r4dt47c.js} +8 -8
- package/dist/chunks/{location-activity-wpf825w3.js → tool-5t1f4rw7.js} +48 -48
- package/dist/chunks/{location-activity-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-ka05w473.js → tool-66ae9dn1.js} +9 -9
- package/dist/chunks/{location-activity-hb3510gt.js → tool-67kma7bn.js} +7 -7
- package/dist/chunks/{location-activity-mf9m2v67.js → tool-6bsje7ws.js} +3 -3
- package/dist/chunks/{location-activity-0996nyz8.js → tool-6hjx5zpb.js} +5 -5
- package/dist/chunks/{location-activity-hfja1tsc.js → tool-6jz68697.js} +20 -20
- package/dist/chunks/{location-activity-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-activity-6s622yr1.js → tool-6s622yr1.js} +4 -4
- package/dist/chunks/{location-activity-k1qrnqst.js → tool-6ysrkrkr.js} +8 -8
- package/dist/chunks/{location-activity-73tb2d7t.js → tool-73tb2d7t.js} +1 -1
- package/dist/chunks/{location-activity-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-4z3jq6v9.js → tool-7ef2cf21.js} +32 -32
- package/dist/chunks/{location-activity-52z785nj.js → tool-7fzckgvn.js} +13 -13
- package/dist/chunks/{location-activity-nxrarche.js → tool-7kn0n9pm.js} +5 -5
- package/dist/chunks/{location-activity-9gc7vjkx.js → tool-7q5pky5y.js} +4 -4
- package/dist/chunks/{location-activity-dwvzh0g2.js → tool-7s6gk46a.js} +8 -8
- package/dist/chunks/{location-activity-1kq3kam5.js → tool-8096wrwr.js} +26 -26
- package/dist/chunks/{location-activity-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{location-activity-z1x1gfhs.js → tool-853r27ye.js} +10 -10
- package/dist/chunks/{location-activity-p1884n00.js → tool-8bqa7fc6.js} +8 -8
- package/dist/chunks/{location-activity-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/tool-8dc69bj5.js +507 -0
- package/dist/chunks/{location-activity-9hdv76r7.js → tool-8grz10yw.js} +15 -15
- package/dist/chunks/{location-activity-y2ytve36.js → tool-8qmd1pgy.js} +26 -26
- package/dist/chunks/{location-activity-6pc27hjz.js → tool-8sze2n9a.js} +2 -2
- package/dist/chunks/{location-activity-tp8se8yv.js → tool-92dd2pjn.js} +11 -11
- package/dist/chunks/{location-activity-4c1fyqzy.js → tool-95n4m8dv.js} +40 -40
- package/dist/chunks/{location-activity-cmwkp3r5.js → tool-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-activity-hdzjhqr6.js → tool-9wey92tn.js} +11 -11
- package/dist/chunks/{location-activity-xf0nr9dv.js → tool-9x77fmbz.js} +4 -4
- package/dist/chunks/{location-activity-dq7g0m2g.js → tool-a12ny575.js} +33 -33
- package/dist/chunks/{location-activity-mjymc32g.js → tool-a8bn8zg0.js} +4 -4
- package/dist/chunks/{location-activity-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-rdbs0tt8.js → tool-ab800qgh.js} +26 -26
- package/dist/chunks/{location-activity-22sd1qqc.js → tool-at1kfnmk.js} +8 -8
- package/dist/chunks/{location-activity-rbr1ba9y.js → tool-awfma6nb.js} +6 -6
- package/dist/chunks/{location-activity-sxhaxdsn.js → tool-azhaj76f.js} +8 -8
- package/dist/chunks/{location-activity-n1ka8r9d.js → tool-b0vhkd8y.js} +4 -4
- package/dist/chunks/{location-activity-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-nysy6sp5.js → tool-b8mzk2bb.js} +2 -2
- package/dist/chunks/{location-activity-3g74j2m4.js → tool-b9skyj6x.js} +41 -41
- package/dist/chunks/{location-activity-fv24634s.js → tool-bdnxdzhr.js} +20 -20
- package/dist/chunks/{location-activity-p0zhhjrw.js → tool-bf7nh1j5.js} +33 -33
- package/dist/chunks/{location-activity-xcjaeq7k.js → tool-bfz40jc4.js} +21 -21
- package/dist/chunks/{location-activity-wgrwsfrd.js → tool-bgyet4nh.js} +20 -20
- package/dist/chunks/{location-activity-tcgrsnf7.js → tool-bhnv13g4.js} +1 -1
- package/dist/chunks/{location-activity-z07pqspn.js → tool-bjtzbw4r.js} +3 -3
- package/dist/chunks/{location-activity-jnwhj7yt.js → tool-bt1rrqjq.js} +9 -9
- package/dist/chunks/{location-activity-yd8wbh55.js → tool-bz49ytrm.js} +33 -33
- package/dist/chunks/{location-activity-d0451ks6.js → tool-c0pp0gx6.js} +9 -9
- package/dist/chunks/{location-activity-911tzt7k.js → tool-c1741tf2.js} +3 -3
- package/dist/chunks/{location-activity-v9s04r34.js → tool-c2zqmqqh.js} +4 -4
- package/dist/chunks/{location-activity-krrw8gsp.js → tool-c8hdf53d.js} +23 -23
- package/dist/chunks/{location-activity-3v15n266.js → tool-cdd241tg.js} +25 -25
- package/dist/chunks/{location-activity-k4dd9b3k.js → tool-cf1mja65.js} +15 -15
- package/dist/chunks/{location-activity-gsqtgdec.js → tool-crmtq7c0.js} +15 -15
- package/dist/chunks/{location-activity-amzhydp5.js → tool-czkrkmgx.js} +11 -11
- package/dist/chunks/{location-activity-mfy27tej.js → tool-d5e4twxw.js} +10 -10
- package/dist/chunks/{location-activity-g8f1nww0.js → tool-d86bmrwq.js} +18 -18
- package/dist/chunks/{location-activity-2fgn2we9.js → tool-d9s573fh.js} +9 -9
- package/dist/chunks/{location-activity-f95d4cya.js → tool-dejqpjjg.js} +17 -17
- package/dist/chunks/{location-activity-e5gbwpdw.js → tool-dnn8jac4.js} +33 -33
- package/dist/chunks/{location-activity-ecfe7b91.js → tool-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-activity-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-dh670703.js → tool-en84zv0j.js} +10 -10
- package/dist/chunks/{location-activity-kpewm0pp.js → tool-esdbr59h.js} +6 -6
- package/dist/chunks/{location-activity-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-07wfsmpr.js → tool-evbd4bna.js} +4 -4
- package/dist/chunks/{location-activity-kwjgkwej.js → tool-f07bsgse.js} +18 -18
- package/dist/chunks/{location-activity-syf57q56.js → tool-f29mbr7f.js} +4 -4
- package/dist/chunks/{location-activity-nscznvay.js → tool-f7j90zp2.js} +9 -9
- package/dist/chunks/{location-activity-p0gwq84d.js → tool-f8rqg7d1.js} +3 -3
- package/dist/chunks/{location-activity-cjmgsq5e.js → tool-fcv60zmd.js} +14 -14
- package/dist/chunks/{location-activity-9kmbd9mt.js → tool-ff0svapt.js} +2 -2
- package/dist/chunks/{location-activity-y65d65xc.js → tool-fy2gbg5p.js} +25 -25
- package/dist/chunks/{location-activity-0f9akkc9.js → tool-fz3j06zq.js} +10 -10
- package/dist/chunks/{location-activity-2pa0jjc4.js → tool-g18xrwnx.js} +12 -12
- package/dist/chunks/{location-activity-pvs6fqv6.js → tool-g4cac8ef.js} +18 -18
- package/dist/chunks/{location-activity-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-a4sqpv8w.js → tool-gf60dj4k.js} +37 -37
- package/dist/chunks/{location-activity-94ek1h2f.js → tool-gfvb90ym.js} +2 -2
- package/dist/chunks/{location-activity-et4fhn49.js → tool-gvf9bzs6.js} +19 -19
- package/dist/chunks/{location-activity-k545rb98.js → tool-gxf934mz.js} +10 -10
- package/dist/chunks/{location-activity-4n830rq0.js → tool-gyb99kyw.js} +20 -20
- package/dist/chunks/{location-activity-ct4mjmkm.js → tool-gzgv62vm.js} +18 -18
- package/dist/chunks/{location-activity-h6r3nrb9.js → tool-h6r3nrb9.js} +1 -1
- package/dist/chunks/{location-activity-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-89f9fm0d.js → tool-h7yw06f0.js} +4 -4
- package/dist/chunks/{location-activity-qdbakdjh.js → tool-hbyhqfhs.js} +5 -5
- package/dist/chunks/{location-activity-xfsbkaye.js → tool-hegd5844.js} +88 -88
- package/dist/chunks/{location-activity-wv5fs872.js → tool-hk614gwz.js} +36 -36
- package/dist/chunks/{location-activity-qgrqny45.js → tool-hm0ghfbf.js} +15 -15
- package/dist/chunks/{location-activity-kcpj4n48.js → tool-hmwat8vc.js} +8 -8
- package/dist/chunks/{location-activity-t7tyx60j.js → tool-hq93snkq.js} +26 -26
- package/dist/chunks/{location-activity-j5jfxbva.js → tool-hrrvjwek.js} +22 -22
- package/dist/chunks/{location-activity-ht5y0zrb.js → tool-ht5y0zrb.js} +1 -1
- package/dist/chunks/{location-activity-2eabpvfh.js → tool-hvcfnpzs.js} +13 -13
- package/dist/chunks/{location-activity-q5t0te5a.js → tool-j15mfg1p.js} +6 -6
- package/dist/chunks/{location-activity-b865kx8x.js → tool-j2mr6y77.js} +11 -11
- package/dist/chunks/{location-activity-zrv7nm7e.js → tool-j45tg8np.js} +36 -36
- package/dist/chunks/{location-activity-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-e8snqq2r.js → tool-j59psk5p.js} +8 -8
- package/dist/chunks/{location-activity-j7twtagn.js → tool-jdvtaw2e.js} +9 -9
- package/dist/chunks/{location-activity-tz2bjj40.js → tool-jeknfs5c.js} +2 -2
- package/dist/chunks/{location-activity-a1wt7dn2.js → tool-jr28mrxh.js} +24 -24
- package/dist/chunks/{location-activity-hevfjdd2.js → tool-jtcj11mm.js} +6 -6
- package/dist/chunks/{location-activity-e8d32q1s.js → tool-k2pkt5dm.js} +5 -5
- package/dist/chunks/{location-activity-gn3n43j7.js → tool-k514m870.js} +13 -13
- package/dist/chunks/{location-activity-hv8pj2g2.js → tool-k7j7s7sa.js} +4 -4
- package/dist/chunks/{location-activity-f73rjn58.js → tool-kne8f3cn.js} +4 -4
- package/dist/chunks/{location-activity-bwjpedc6.js → tool-kvny42nn.js} +24 -24
- package/dist/chunks/tool-kvsn2a38.js +252 -0
- package/dist/chunks/{location-activity-y5zh0atg.js → tool-m096yd83.js} +6 -6
- package/dist/chunks/{location-activity-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-zk8c4w5t.js → tool-m64xvjj1.js} +5 -5
- package/dist/chunks/{location-activity-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-dexe5x4p.js → tool-mbevs47a.js} +6 -6
- package/dist/chunks/{location-activity-x2wb27pg.js → tool-mbsehe5v.js} +15 -15
- package/dist/chunks/{location-activity-r688vq8x.js → tool-mbwany8q.js} +8 -8
- package/dist/chunks/{location-activity-aeszd35j.js → tool-mc0emygj.js} +13 -13
- package/dist/chunks/{location-activity-bgsmen1g.js → tool-mdyteabe.js} +3 -3
- package/dist/chunks/{location-activity-5wgca1hz.js → tool-mpyxb9wp.js} +10 -10
- package/dist/chunks/{location-activity-2px4r9gg.js → tool-mx9vqzsb.js} +6 -6
- package/dist/chunks/{location-activity-p305v1nf.js → tool-mxw2n1pp.js} +20 -20
- package/dist/chunks/{location-activity-tgc9kse0.js → tool-mybpd4me.js} +7 -7
- package/dist/chunks/{location-activity-j3tac8rj.js → tool-n26b57vp.js} +12 -12
- package/dist/chunks/{location-activity-0c4a10mq.js → tool-n8j3kf0h.js} +9 -9
- package/dist/chunks/{location-activity-wxfw16zk.js → tool-na49kjq7.js} +15 -15
- package/dist/chunks/{location-activity-xz8qpa4w.js → tool-nap39a15.js} +8 -8
- package/dist/chunks/{location-activity-zhk4zx0p.js → tool-nb8f0xyk.js} +35 -35
- package/dist/chunks/tool-nd24615b.js +26 -0
- package/dist/chunks/{location-activity-mgnybjyp.js → tool-ne3p3r7w.js} +39 -39
- package/dist/chunks/{location-activity-dqky8k4e.js → tool-nrfagrkx.js} +3 -3
- package/dist/chunks/{location-activity-cq3yby3s.js → tool-nz49d44e.js} +5 -5
- package/dist/chunks/{location-activity-hd8jt5qg.js → tool-nz4rjcy7.js} +1 -1
- package/dist/chunks/{location-activity-nzks3jc8.js → tool-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-activity-m8xjcd8p.js → tool-pbbypdpt.js} +3 -3
- package/dist/chunks/{location-activity-xxxym934.js → tool-ph842b28.js} +4 -4
- package/dist/chunks/{location-activity-8dm8w275.js → tool-pj0sbgvb.js} +16 -16
- package/dist/chunks/{location-activity-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-wd3x2cqz.js → tool-psazpmmj.js} +2 -2
- package/dist/chunks/{location-activity-m82hpr9q.js → tool-q7pmkv96.js} +42 -42
- package/dist/chunks/{location-activity-1r0mgmnx.js → tool-q87t05d4.js} +28 -28
- package/dist/chunks/{location-activity-trpnn8yx.js → tool-qan9v5dp.js} +8 -8
- package/dist/chunks/{location-activity-qgn6gcr1.js → tool-qgn6gcr1.js} +1 -1
- package/dist/chunks/{location-activity-nbcz365w.js → tool-qk7cxx71.js} +1 -1
- package/dist/chunks/{location-activity-fdv30zvt.js → tool-qm0v3jhh.js} +4 -4
- package/dist/chunks/{location-activity-5n3w7w9q.js → tool-qrvqqxe1.js} +6 -6
- package/dist/chunks/{location-activity-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-dqsw1vz6.js → tool-qt4m2w6j.js} +16 -16
- package/dist/chunks/{location-activity-hhc8k5d5.js → tool-r3tsythc.js} +11 -11
- package/dist/chunks/{location-activity-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-427t97hr.js → tool-rk1r2hx8.js} +1 -1
- package/dist/chunks/{location-activity-gcb0pgp4.js → tool-rkg3eda0.js} +6 -6
- package/dist/chunks/{location-activity-ga6fan7w.js → tool-rpayzx76.js} +9 -9
- package/dist/chunks/{location-activity-zeh9ct20.js → tool-rq775frq.js} +2 -2
- package/dist/chunks/{location-activity-07770t2t.js → tool-rrkxh1xc.js} +8 -8
- package/dist/chunks/{location-activity-cdmv03c1.js → tool-rvnp213s.js} +13 -13
- package/dist/chunks/{location-activity-tdhe5xga.js → tool-s0k7kba5.js} +8 -8
- package/dist/chunks/{location-activity-5s5cjcj1.js → tool-s61zg2sx.js} +24 -24
- package/dist/chunks/{location-activity-fp4vakyq.js → tool-s6667w8r.js} +26 -26
- package/dist/chunks/{location-activity-t550f9t1.js → tool-s8d7rejh.js} +4 -4
- package/dist/chunks/{location-activity-sy8g0x3h.js → tool-s8r7tdep.js} +20 -20
- package/dist/chunks/{location-activity-ahd542yp.js → tool-sm965ndy.js} +8 -8
- package/dist/chunks/{location-activity-fvyecsnj.js → tool-snak5hvk.js} +3 -3
- package/dist/chunks/{location-activity-kjhjjdm4.js → tool-sp6nzby6.js} +17 -17
- package/dist/chunks/{location-activity-nraks1dr.js → tool-ss7b6637.js} +14 -14
- package/dist/chunks/{location-activity-y79j09dr.js → tool-st6ezctj.js} +21 -21
- package/dist/chunks/{location-activity-q2b1ymqp.js → tool-sx1n432n.js} +4 -4
- package/dist/chunks/{location-activity-nrewq54w.js → tool-sx3y5fj3.js} +24 -24
- package/dist/chunks/{location-activity-xs2kjjdj.js → tool-sx8pbsn3.js} +1 -1
- package/dist/chunks/{location-activity-cgfzvakx.js → tool-t0v30r21.js} +33 -33
- package/dist/chunks/{location-activity-x0b0awdg.js → tool-t6f3tx9e.js} +16 -16
- package/dist/chunks/{location-activity-e5642x4e.js → tool-t8fp8shj.js} +8 -8
- package/dist/chunks/{location-activity-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-activity-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-26k5cyqx.js → tool-tf5z8ds5.js} +85 -85
- package/dist/chunks/{location-activity-v4qfxnag.js → tool-tgcnk5sw.js} +12 -12
- package/dist/chunks/{location-activity-y3bb7t5e.js → tool-tped05vh.js} +8 -8
- package/dist/chunks/{location-activity-7gh5yy3z.js → tool-tscedkbb.js} +17 -17
- package/dist/chunks/{location-activity-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{location-activity-t6w37xe3.js → tool-tw1518mg.js} +21 -21
- package/dist/chunks/{location-activity-g1q0qwac.js → tool-tw8msnma.js} +31 -31
- package/dist/chunks/{location-activity-wbkyxrgf.js → tool-v5hpcsb0.js} +5 -5
- package/dist/chunks/{location-activity-vpvxm0qy.js → tool-v6wpha0s.js} +8 -8
- package/dist/chunks/{location-activity-a3c7ahw6.js → tool-v7z2bvyd.js} +4 -4
- package/dist/chunks/{location-activity-wsy9hj9j.js → tool-v9azycg2.js} +154 -154
- package/dist/chunks/{location-activity-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-55c57zs4.js → tool-vgc515rw.js} +6 -6
- package/dist/chunks/{location-activity-r9t00hsy.js → tool-vkt5fbj2.js} +8 -8
- package/dist/chunks/{location-activity-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-activity-543samen.js → tool-w0nekgnm.js} +16 -16
- package/dist/chunks/{location-activity-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-rpveba7r.js → tool-w9eep941.js} +12 -12
- package/dist/chunks/{location-activity-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-r12j57sn.js → tool-wegenthg.js} +5 -5
- package/dist/chunks/{location-activity-ys6jnmbc.js → tool-wnys78fq.js} +8 -8
- package/dist/chunks/{location-activity-zdbhsfnw.js → tool-wr45tetb.js} +13 -13
- package/dist/chunks/{location-activity-xjeq8bvs.js → tool-x0a0yekz.js} +28 -28
- package/dist/chunks/{location-activity-wex19r3q.js → tool-x0jb1jdp.js} +54 -54
- package/dist/chunks/{location-activity-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-v9xtk2pv.js → tool-x9k16b3s.js} +28 -28
- package/dist/chunks/{location-activity-cbnr75ht.js → tool-xb3vdrw4.js} +9 -9
- package/dist/chunks/{location-activity-drwq78ky.js → tool-xfkkasph.js} +4 -4
- package/dist/chunks/{location-activity-29m2xxjn.js → tool-xh1mjdjn.js} +7 -7
- package/dist/chunks/{location-activity-xkntkrq7.js → tool-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-activity-xa9wygja.js → tool-xsdq6bqp.js} +8 -8
- package/dist/chunks/{location-activity-xvp1j2dc.js → tool-xvp1j2dc.js} +2 -2
- package/dist/chunks/{location-activity-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-0cpfg001.js → tool-y42b8cv2.js} +41 -41
- package/dist/chunks/{location-activity-y71avatq.js → tool-y71avatq.js} +1 -1
- package/dist/chunks/{location-activity-d35a5v29.js → tool-ya67rv83.js} +9 -9
- package/dist/chunks/{location-activity-93r80qa9.js → tool-yde4rd9n.js} +27 -27
- package/dist/chunks/{location-activity-d56mnafw.js → tool-yhrvzzm5.js} +9 -9
- package/dist/chunks/{location-activity-e6gsh30d.js → tool-ymc24fzh.js} +4 -4
- package/dist/chunks/{location-activity-rh4j9zs2.js → tool-ymxbe15q.js} +9 -9
- package/dist/chunks/{location-activity-1acjjqhc.js → tool-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-activity-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-yrznvahk.js → tool-yrznvahk.js} +2 -2
- package/dist/chunks/{location-activity-7mbd7k1y.js → tool-yw2sxgfv.js} +4 -4
- package/dist/chunks/{location-activity-gv6a8nnw.js → tool-yyb7tjpc.js} +2 -2
- package/dist/chunks/{location-activity-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-hkfg6fzm.js → tool-z2zvggat.js} +5 -5
- package/dist/chunks/{location-activity-tjzmcvwf.js → tool-z35gvgt2.js} +18 -18
- package/dist/chunks/{location-activity-z63w68vq.js → tool-z63w68vq.js} +2 -2
- package/dist/chunks/{location-activity-3z59ka3t.js → tool-z6x8kbkg.js} +11 -11
- package/dist/chunks/{location-activity-yad8aem9.js → tool-z6zc42bw.js} +50 -50
- package/dist/chunks/{location-activity-z3nay82g.js → tool-zab19jja.js} +9 -9
- package/dist/chunks/{location-activity-0gjmdtxg.js → tool-zfn0z4x2.js} +13 -13
- package/dist/chunks/{location-activity-6pzy1a9a.js → tool-zh4jp52e.js} +16 -16
- package/dist/chunks/{location-activity-yarc8zna.js → tool-zppcctbg.js} +18 -18
- package/dist/chunks/{location-activity-4v89dqmj.js → tool-zq0me3ea.js} +9 -9
- package/dist/chunks/{location-activity-84t1kn2d.js → tool-zqvbpqdr.js} +9 -9
- package/dist/chunks/{location-activity-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-zxq2ej10.js → tool-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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +139 -139
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- 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 +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +114 -114
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +117 -117
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +4 -4
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-activity-3gtr08hr.js +0 -252
- package/dist/chunks/location-activity-ayng3qtk.js +0 -26
- package/dist/chunks/location-activity-pazdmjb1.js +0 -507
- /package/dist/chunks/{location-activity-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-922hggd3.js → tool-922hggd3.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-ymc24fzh.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service79,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node83,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service79 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer24 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service79.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node83 = makeLocationNode({ service: Service79, layer: layer25, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer25, node83, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node61
|
|
5
|
+
} from "./tool-vgc515rw.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-f29mbr7f.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service74,
|
|
12
|
+
node78
|
|
13
|
+
} from "./tool-at1kfnmk.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-z6zc42bw.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-xh1mjdjn.js";
|
|
20
20
|
import {
|
|
21
21
|
Error4
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./tool-hrrvjwek.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service34,
|
|
25
|
+
node37
|
|
26
|
+
} from "./tool-5g3whhj5.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make15
|
|
29
|
+
} from "./tool-xfkkasph.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-rk1r2hx8.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./tool-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service33,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer12,
|
|
45
|
+
node: () => node36,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -78,7 +78,7 @@ var baseTranscript2 = (input) => {
|
|
|
78
78
|
return {
|
|
79
79
|
providerMetadataKey,
|
|
80
80
|
system: [
|
|
81
|
-
input.agent.system ? input.agent.system :
|
|
81
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
82
82
|
input.initial
|
|
83
83
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
84
84
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -168,11 +168,11 @@ var boundImages2 = (messages) => {
|
|
|
168
168
|
}));
|
|
169
169
|
};
|
|
170
170
|
|
|
171
|
-
class
|
|
171
|
+
class Service33 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
172
172
|
}
|
|
173
|
-
var
|
|
174
|
-
const hooks = yield*
|
|
175
|
-
const transport = yield*
|
|
173
|
+
var layer12 = Layer.effect(Service33, Effect.gen(function* () {
|
|
174
|
+
const hooks = yield* Service74;
|
|
175
|
+
const transport = yield* Service34;
|
|
176
176
|
const app = yield* Metadata2;
|
|
177
177
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
178
178
|
const session = input.session;
|
|
@@ -203,12 +203,12 @@ var layer11 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
203
203
|
model: model.model,
|
|
204
204
|
http: {
|
|
205
205
|
headers: {
|
|
206
|
-
"x-session-affinity":
|
|
207
|
-
"X-Session-Id":
|
|
206
|
+
"x-session-affinity": affinity,
|
|
207
|
+
"X-Session-Id": affinity,
|
|
208
208
|
...session.parentID ? { "x-parent-session-id": session.parentID } : {},
|
|
209
209
|
"User-Agent": useragent2(app),
|
|
210
210
|
"x-opencode-project": session.projectID,
|
|
211
|
-
"x-opencode-session":
|
|
211
|
+
"x-opencode-session": affinity,
|
|
212
212
|
"x-opencode-client": app.name
|
|
213
213
|
}
|
|
214
214
|
},
|
|
@@ -276,17 +276,17 @@ var layer11 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
276
276
|
};
|
|
277
277
|
});
|
|
278
278
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
279
|
-
return
|
|
279
|
+
return Service33.of({
|
|
280
280
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
281
281
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
282
282
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
283
283
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
284
284
|
});
|
|
285
285
|
}));
|
|
286
|
-
var
|
|
287
|
-
service:
|
|
288
|
-
layer:
|
|
289
|
-
deps: [
|
|
286
|
+
var node36 = makeLocationNode({
|
|
287
|
+
service: Service33,
|
|
288
|
+
layer: layer12,
|
|
289
|
+
deps: [node78, node37, node61]
|
|
290
290
|
});
|
|
291
291
|
|
|
292
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
292
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service33, layer12, node36, exports_model_request };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-mdyteabe.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-ymc24fzh.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-xkntkrq7.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./tool-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-psazpmmj.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-bjtzbw4r.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./tool-bgyet4nh.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./tool-b0vhkd8y.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./tool-mbsehe5v.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./tool-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./tool-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node28
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
459
459
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
460
460
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
461
461
|
}));
|
|
462
|
-
var
|
|
462
|
+
var node28 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
|
|
463
463
|
|
|
464
|
-
export { SessionAlreadyProjected2,
|
|
464
|
+
export { SessionAlreadyProjected2, node28, exports_projector };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-2f56s268.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./tool-s6667w8r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin15,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,10 +23,10 @@ var direct = new Set([
|
|
|
23
23
|
"@opencode/ai/providers/azure/responses"
|
|
24
24
|
]);
|
|
25
25
|
var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
|
|
26
|
-
var
|
|
26
|
+
var Plugin15 = define({
|
|
27
27
|
id: "opencode.prompt.verbosity",
|
|
28
28
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
29
|
-
const models = yield*
|
|
29
|
+
const models = yield* Service58;
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
31
31
|
if (event.options.textVerbosity !== undefined)
|
|
32
32
|
return;
|
|
@@ -66,4 +66,4 @@ function openAIModelID(model) {
|
|
|
66
66
|
return id.slice("openai/".length);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Plugin15, exports_verbosity };
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-mdyteabe.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./tool-pj0sbgvb.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
+
Service58,
|
|
13
|
+
node62
|
|
14
|
+
} from "./tool-s6667w8r.js";
|
|
15
|
+
import {
|
|
16
|
+
ID11,
|
|
12
17
|
Service73,
|
|
13
18
|
node77
|
|
14
|
-
} from "./
|
|
15
|
-
import {
|
|
16
|
-
ID10,
|
|
17
|
-
Service69,
|
|
18
|
-
node71
|
|
19
|
-
} from "./location-activity-y79j09dr.js";
|
|
19
|
+
} from "./tool-st6ezctj.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./tool-rkg3eda0.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-s8d7rejh.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-f29mbr7f.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-azhaj76f.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service71,
|
|
34
|
+
node75
|
|
35
|
+
} from "./tool-g18xrwnx.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-z6zc42bw.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make14
|
|
41
|
+
} from "./tool-nap39a15.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service36,
|
|
44
|
+
node39
|
|
45
|
+
} from "./tool-339g4gdd.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service26,
|
|
48
|
+
node30
|
|
49
|
+
} from "./tool-w0nekgnm.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service66,
|
|
52
|
+
node70
|
|
53
|
+
} from "./tool-hrrvjwek.js";
|
|
54
|
+
import {
|
|
55
|
+
Service32,
|
|
56
|
+
node35
|
|
57
|
+
} from "./tool-0t6cxkbd.js";
|
|
58
|
+
import {
|
|
59
|
+
Service31,
|
|
60
|
+
node34
|
|
61
|
+
} from "./tool-zppcctbg.js";
|
|
54
62
|
import {
|
|
55
63
|
Service29,
|
|
56
64
|
node32
|
|
57
|
-
} from "./
|
|
65
|
+
} from "./tool-na49kjq7.js";
|
|
66
|
+
import {
|
|
67
|
+
Service30,
|
|
68
|
+
node33
|
|
69
|
+
} from "./tool-dejqpjjg.js";
|
|
58
70
|
import {
|
|
59
71
|
Service27,
|
|
60
72
|
node31
|
|
61
|
-
} from "./
|
|
73
|
+
} from "./tool-mbsehe5v.js";
|
|
62
74
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
75
|
+
Service33,
|
|
76
|
+
node36
|
|
77
|
+
} from "./tool-t0v30r21.js";
|
|
66
78
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
70
|
-
import {
|
|
71
|
-
Service24,
|
|
72
|
-
node28
|
|
73
|
-
} from "./location-activity-x2wb27pg.js";
|
|
74
|
-
import {
|
|
75
|
-
Service31,
|
|
76
|
-
node34
|
|
77
|
-
} from "./location-activity-cgfzvakx.js";
|
|
78
|
-
import {
|
|
79
|
-
Service60,
|
|
80
|
-
node62
|
|
81
|
-
} from "./location-activity-0gjmdtxg.js";
|
|
79
|
+
Service46,
|
|
80
|
+
node48
|
|
81
|
+
} from "./tool-zfn0z4x2.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./tool-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service25,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node29
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service25 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
97
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service73;
|
|
99
|
+
const builtins = yield* Service26;
|
|
100
|
+
const model = yield* Service58;
|
|
101
101
|
const db = (yield* Service84).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
102
|
+
const discovery = yield* Service36;
|
|
103
|
+
const entries = yield* Service27;
|
|
104
|
+
const location = yield* Service80;
|
|
105
|
+
const mcpInstructions = yield* Service31;
|
|
106
|
+
const mcpTools = yield* Service32;
|
|
107
|
+
const models = yield* Service46;
|
|
108
|
+
const request = yield* Service33;
|
|
109
|
+
const referenceInstructions = yield* Service29;
|
|
110
|
+
const skillInstructions = yield* Service30;
|
|
111
|
+
const store = yield* Service71;
|
|
112
|
+
const registry = yield* Service66;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID11.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -166,7 +166,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
168
|
loaded.builtins,
|
|
169
|
-
|
|
169
|
+
make14(loaded.tools.codeModeCatalog),
|
|
170
170
|
loaded.discovery,
|
|
171
171
|
loaded.skills,
|
|
172
172
|
loaded.references,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service25.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node29 = makeLocationNode({
|
|
195
|
+
service: Service25,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
node71,
|
|
199
198
|
node77,
|
|
199
|
+
node62,
|
|
200
200
|
node88,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
node28,
|
|
204
|
-
node81,
|
|
201
|
+
node30,
|
|
202
|
+
node39,
|
|
205
203
|
node31,
|
|
206
|
-
|
|
207
|
-
node29,
|
|
208
|
-
node62,
|
|
204
|
+
node84,
|
|
209
205
|
node34,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
206
|
+
node35,
|
|
207
|
+
node32,
|
|
208
|
+
node48,
|
|
209
|
+
node36,
|
|
210
|
+
node75,
|
|
211
|
+
node33,
|
|
212
|
+
node70
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service25, node29, exports_context };
|