@opencode/core 0.0.0-dev-20725 → 0.0.0-dev-20731
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +7 -7
- package/dist/bus.js +74 -74
- package/dist/chunks/{instruction-discovery-fy6pbx2f.js → state-08jsyhgk.js} +24 -24
- package/dist/chunks/{instruction-discovery-4ed0x5yc.js → state-09sqteag.js} +1 -1
- package/dist/chunks/{instruction-discovery-m47cqq2j.js → state-0j8txdm0.js} +3 -3
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-0r3c1bmw.js → state-0r3c1bmw.js} +2 -2
- package/dist/chunks/{instruction-discovery-ahqb0ma5.js → state-0s32db7e.js} +15 -15
- package/dist/chunks/{instruction-discovery-0vbcp93d.js → state-0vbcp93d.js} +2 -2
- package/dist/chunks/{instruction-discovery-kdpmtwd0.js → state-0zaydvkv.js} +32 -32
- package/dist/chunks/{instruction-discovery-rmnkmmsy.js → state-101fvt1n.js} +94 -94
- package/dist/chunks/{instruction-discovery-tvwj13n0.js → state-10rnhjad.js} +11 -11
- package/dist/chunks/{instruction-discovery-sz2337zw.js → state-138h01qe.js} +7 -7
- package/dist/chunks/{instruction-discovery-tyzzbzqn.js → state-1a37t69z.js} +10 -10
- package/dist/chunks/{instruction-discovery-2h6dd64w.js → state-1b60b23y.js} +18 -18
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-1dvck2a7.js → state-1dvck2a7.js} +2 -2
- package/dist/chunks/{instruction-discovery-g60p7p49.js → state-1epzdntc.js} +11 -11
- package/dist/chunks/{instruction-discovery-cvwz8r7d.js → state-1h0krj6g.js} +36 -36
- package/dist/chunks/{instruction-discovery-57myy5jh.js → state-1pxz8ven.js} +5 -5
- package/dist/chunks/{instruction-discovery-fjve5t31.js → state-1q8nfdb4.js} +3 -3
- package/dist/chunks/{instruction-discovery-3ye70ha2.js → state-1qbad211.js} +8 -8
- package/dist/chunks/{instruction-discovery-56gdpj1q.js → state-1ygqh575.js} +9 -9
- package/dist/chunks/{instruction-discovery-kfgkevm8.js → state-21qrczcf.js} +23 -23
- package/dist/chunks/{instruction-discovery-jsfxrkh5.js → state-24dsd3mh.js} +36 -36
- package/dist/chunks/{instruction-discovery-dv7jc8dx.js → state-25qfk6yg.js} +18 -18
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-vqfzq50h.js → state-2a6rn6yr.js} +6 -6
- package/dist/chunks/{instruction-discovery-1z87ab07.js → state-2kngz1a4.js} +11 -11
- package/dist/chunks/{instruction-discovery-trykadmf.js → state-2rc505e3.js} +21 -21
- package/dist/chunks/{instruction-discovery-6xcvjy28.js → state-2rnwhwfa.js} +14 -14
- package/dist/chunks/{instruction-discovery-j5e03z9p.js → state-2s897vgp.js} +13 -13
- package/dist/chunks/{instruction-discovery-a13vbfft.js → state-2t7sqs4y.js} +9 -9
- package/dist/chunks/{instruction-discovery-gqwek975.js → state-2z3n0s1m.js} +11 -11
- package/dist/chunks/{instruction-discovery-spa4s1dn.js → state-3eb2wybh.js} +11 -11
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-x1ns2rmk.js → state-3gccgfaf.js} +4 -4
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-gvnbcx9f.js → state-3jms3t4n.js} +79 -79
- package/dist/chunks/{instruction-discovery-jv5qmp9w.js → state-3nz0bd4c.js} +2 -2
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-kn5t47nc.js → state-3w2eqbz4.js} +13 -13
- package/dist/chunks/{instruction-discovery-ycvydahw.js → state-3yjxx9cb.js} +13 -13
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-8v7xd1wr.js → state-40rcjy03.js} +36 -36
- package/dist/chunks/{instruction-discovery-6gy81bm0.js → state-41kmeemt.js} +6 -6
- package/dist/chunks/{instruction-discovery-rzhagf9y.js → state-427fgkyx.js} +20 -20
- package/dist/chunks/{instruction-discovery-k9gzbdyr.js → state-4dy7nfnb.js} +34 -34
- package/dist/chunks/{instruction-discovery-1rn5pcm9.js → state-4j4tgtq5.js} +4 -4
- package/dist/chunks/{instruction-discovery-shxd18c6.js → state-4m5yfwrs.js} +13 -13
- package/dist/chunks/{instruction-discovery-axs6pdy0.js → state-4n607a2z.js} +5 -5
- package/dist/chunks/{instruction-discovery-vtgxp655.js → state-4pa8nav4.js} +3 -3
- package/dist/chunks/{instruction-discovery-2ccvkpx1.js → state-4ts7tf6z.js} +2 -2
- package/dist/chunks/{instruction-discovery-v4p3p0ps.js → state-4xpke3ff.js} +15 -15
- package/dist/chunks/{instruction-discovery-v0jnr6tg.js → state-4yhfmhtq.js} +37 -37
- package/dist/chunks/{instruction-discovery-2f3mhj6p.js → state-52gbbbb2.js} +36 -36
- package/dist/chunks/{instruction-discovery-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{instruction-discovery-rhz3ppas.js → state-54z56z4r.js} +8 -8
- package/dist/chunks/{instruction-discovery-fdteztds.js → state-551azpvx.js} +22 -22
- package/dist/chunks/{instruction-discovery-6azxvrpq.js → state-55ehdx5d.js} +23 -23
- package/dist/chunks/{instruction-discovery-5cq1fbn9.js → state-5gt3f0n7.js} +35 -35
- package/dist/chunks/{instruction-discovery-3vnr3awt.js → state-5h69wz8x.js} +4 -4
- package/dist/chunks/{instruction-discovery-7ynwestw.js → state-5k5r4c8x.js} +11 -11
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-e3qxr5gk.js → state-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-1j3k7k9d.js → state-5w4b35rv.js} +9 -9
- package/dist/chunks/{instruction-discovery-kcy9dg9d.js → state-5y60f30r.js} +29 -29
- package/dist/chunks/{instruction-discovery-p37cw4rj.js → state-5yzzbxa7.js} +8 -8
- package/dist/chunks/{instruction-discovery-wvvb86qc.js → state-5zqdgy8b.js} +27 -27
- package/dist/chunks/{instruction-discovery-v8dws5ha.js → state-611ehfjv.js} +3 -3
- package/dist/chunks/{instruction-discovery-tneyjf48.js → state-62k0yxbf.js} +16 -16
- package/dist/chunks/{instruction-discovery-shd3tjfd.js → state-67yqhhje.js} +23 -23
- package/dist/chunks/{instruction-discovery-z8713354.js → state-686nxd57.js} +6 -6
- package/dist/chunks/{instruction-discovery-k3tvypcp.js → state-6bjn4za1.js} +28 -28
- package/dist/chunks/{instruction-discovery-d2y2z992.js → state-6cpepfj3.js} +18 -18
- package/dist/chunks/{instruction-discovery-0y6tdt34.js → state-6fhb81wd.js} +27 -27
- package/dist/chunks/{instruction-discovery-ked90xm8.js → state-6pygarpm.js} +5 -5
- package/dist/chunks/{instruction-discovery-n0hrvkpe.js → state-6rhevr55.js} +43 -43
- package/dist/chunks/{instruction-discovery-6xb47vfp.js → state-6xb47vfp.js} +1 -1
- package/dist/chunks/{instruction-discovery-71az546q.js → state-71az546q.js} +2 -2
- package/dist/chunks/{instruction-discovery-xspa99bm.js → state-77f8qgj3.js} +13 -13
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-qgn6gcr1.js → state-7dqw4kz8.js} +5 -5
- package/dist/chunks/{instruction-discovery-ej7r9z0m.js → state-7j27yge6.js} +21 -21
- package/dist/chunks/state-7jy1nsxc.js +26 -0
- package/dist/chunks/{instruction-discovery-3dhqmxsn.js → state-7pg6bb3s.js} +31 -31
- package/dist/chunks/{instruction-discovery-d6n2rq0s.js → state-7q0e42ms.js} +6 -6
- package/dist/chunks/{instruction-discovery-gybq0q5b.js → state-7rghpwat.js} +32 -32
- package/dist/chunks/{instruction-discovery-qdpn0p3b.js → state-7st03jgk.js} +19 -19
- package/dist/chunks/{instruction-discovery-8qhmnsmm.js → state-7x6rk6r1.js} +12 -12
- package/dist/chunks/{instruction-discovery-c85sm9p4.js → state-80jhpvy9.js} +30 -30
- package/dist/chunks/{instruction-discovery-w1eejvng.js → state-84txncab.js} +5 -5
- package/dist/chunks/{instruction-discovery-m2cgbxd0.js → state-89zyxthc.js} +27 -22
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-y2jstp7y.js → state-8hrcrd79.js} +29 -29
- package/dist/chunks/{instruction-discovery-d5x8dsx5.js → state-8hts1srz.js} +11 -11
- package/dist/chunks/{instruction-discovery-8m6m0r52.js → state-8m6m0r52.js} +1 -1
- package/dist/chunks/{instruction-discovery-1kk0y7r1.js → state-8mps3fwf.js} +19 -19
- package/dist/chunks/{instruction-discovery-mkamd2cf.js → state-9031p0b2.js} +5 -5
- package/dist/chunks/{instruction-discovery-tn29v157.js → state-918mtgee.js} +5 -5
- package/dist/chunks/{instruction-discovery-ra8aazcz.js → state-9dgxaq8y.js} +17 -17
- package/dist/chunks/{instruction-discovery-9e5bzkjp.js → state-9e5bzkjp.js} +3 -3
- package/dist/chunks/{instruction-discovery-g8x52gsw.js → state-9kg8hsmm.js} +11 -11
- package/dist/chunks/{instruction-discovery-wm42kgen.js → state-9n6qg2a9.js} +29 -29
- package/dist/chunks/{instruction-discovery-krrp65g5.js → state-9qk2kwmb.js} +16 -16
- package/dist/chunks/{instruction-discovery-gzf0jey7.js → state-9ywvhnd6.js} +20 -20
- package/dist/chunks/{instruction-discovery-eq1pz5kg.js → state-a1gpj94z.js} +3 -3
- package/dist/chunks/{instruction-discovery-6m42r3np.js → state-a8bn8zg0.js} +21 -21
- package/dist/chunks/{instruction-discovery-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-4wnp65at.js → state-ad6fy242.js} +7 -7
- package/dist/chunks/{instruction-discovery-8ryk0bb9.js → state-aeb4sny1.js} +5 -5
- package/dist/chunks/{instruction-discovery-ebxy8v40.js → state-aeggwfyx.js} +7 -7
- package/dist/chunks/{instruction-discovery-wyt7mtfs.js → state-ajhnm1zb.js} +21 -21
- package/dist/chunks/{instruction-discovery-wzbah92y.js → state-b0rb4zb4.js} +32 -32
- package/dist/chunks/{instruction-discovery-nfw5wevp.js → state-b434f0z0.js} +9 -9
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-f2mw6jyj.js → state-bdpzzc2x.js} +11 -11
- package/dist/chunks/{instruction-discovery-0mk7ebd2.js → state-bgecxp98.js} +4 -4
- package/dist/chunks/{instruction-discovery-3a83a0n4.js → state-bnmr3cva.js} +8 -8
- package/dist/chunks/{instruction-discovery-eqbd9z3m.js → state-bx25mqzy.js} +27 -27
- package/dist/chunks/state-by5v678g.js +18 -0
- package/dist/chunks/{instruction-discovery-d1ccpy7q.js → state-c6b7y4z0.js} +3 -3
- package/dist/chunks/{instruction-discovery-vrxrx1v5.js → state-c6dd62wt.js} +4 -4
- package/dist/chunks/{instruction-discovery-qyx604d0.js → state-cb71px6m.js} +14 -14
- package/dist/chunks/{instruction-discovery-mxvb5adp.js → state-cfcvtgjj.js} +24 -24
- package/dist/chunks/{instruction-discovery-v48grkq5.js → state-cs141p16.js} +28 -28
- package/dist/chunks/{instruction-discovery-esnyhwy5.js → state-d7gb4geb.js} +8 -8
- package/dist/chunks/{instruction-discovery-xb50yt4b.js → state-d9sgy5v4.js} +4 -4
- package/dist/chunks/{instruction-discovery-q08m6yqc.js → state-dabehbb6.js} +9 -9
- package/dist/chunks/{instruction-discovery-pmm1qj4p.js → state-dmw4vz70.js} +19 -19
- package/dist/chunks/{instruction-discovery-chqzd9wq.js → state-dn6t15nt.js} +11 -11
- package/dist/chunks/{instruction-discovery-nxm207yx.js → state-dpkg50ah.js} +4 -4
- package/dist/chunks/{instruction-discovery-w96th336.js → state-dqv4y3rf.js} +44 -44
- package/dist/chunks/{instruction-discovery-qm7jrdpz.js → state-dy8qh9xy.js} +5 -5
- package/dist/chunks/{instruction-discovery-02xbtx70.js → state-e4atdt0t.js} +50 -50
- package/dist/chunks/{instruction-discovery-38vxzh90.js → state-edpay1ac.js} +31 -31
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-xy7nxqqh.js → state-ejxk0zy2.js} +30 -30
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-aavbrgwt.js → state-f42t7e33.js} +28 -28
- package/dist/chunks/{instruction-discovery-84xdhjgb.js → state-f7ge0a8n.js} +45 -45
- package/dist/chunks/{instruction-discovery-ryr25ayn.js → state-fdv30zvt.js} +7 -7
- package/dist/chunks/{instruction-discovery-z1ectzgg.js → state-fhb2dsjj.js} +28 -28
- package/dist/chunks/{instruction-discovery-pnkbpv6t.js → state-fmcqyzhx.js} +9 -9
- package/dist/chunks/{instruction-discovery-6qbsjcxz.js → state-ft8vrdb0.js} +28 -28
- package/dist/chunks/{instruction-discovery-f2trvhwb.js → state-fw6msab2.js} +13 -13
- package/dist/chunks/{instruction-discovery-sq5cmb50.js → state-fzm7tejx.js} +17 -17
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-c01nkytp.js → state-gh5z95q3.js} +9 -9
- package/dist/chunks/{instruction-discovery-addxnjmp.js → state-gqtdsdt7.js} +4 -4
- package/dist/chunks/{instruction-discovery-b7nzkckh.js → state-gs1dqwms.js} +22 -22
- package/dist/chunks/{instruction-discovery-h2b79v29.js → state-h2b79v29.js} +2 -2
- package/dist/chunks/{instruction-discovery-m1y5ga02.js → state-h3pfkhmz.js} +13 -13
- package/dist/chunks/{instruction-discovery-ygwzgsmj.js → state-h4ckqw4f.js} +11 -11
- package/dist/chunks/{instruction-discovery-a5jrsvab.js → state-h6h410qg.js} +61 -61
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-24ptn3c0.js → state-h78379q5.js} +48 -52
- package/dist/chunks/{instruction-discovery-d19zb9v6.js → state-hs3zg9hx.js} +36 -36
- package/dist/chunks/{instruction-discovery-qmvs021c.js → state-hv684ge7.js} +189 -189
- package/dist/chunks/{instruction-discovery-dmd82ryh.js → state-hw2pxhp3.js} +96 -96
- package/dist/chunks/{instruction-discovery-knevfgda.js → state-j34bs4nz.js} +4 -4
- package/dist/chunks/{instruction-discovery-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-1cb25qpm.js → state-jf701akp.js} +5 -5
- package/dist/chunks/{instruction-discovery-w49382pb.js → state-jn0tk1mz.js} +8 -8
- package/dist/chunks/{instruction-discovery-gag4gr43.js → state-jnz95558.js} +17 -17
- package/dist/chunks/{instruction-discovery-1a777xbb.js → state-jwpv483e.js} +18 -18
- package/dist/chunks/{instruction-discovery-sr2dv6dj.js → state-jwygkmfq.js} +9 -9
- package/dist/chunks/{instruction-discovery-095fq8r9.js → state-k1qsfy5p.js} +43 -43
- package/dist/chunks/{instruction-discovery-feny6ayn.js → state-k99mds86.js} +36 -36
- package/dist/chunks/{instruction-discovery-qv8c18b1.js → state-k9t3kwqs.js} +12 -12
- package/dist/chunks/{instruction-discovery-hvy0zjq9.js → state-kaywwrt1.js} +5 -5
- package/dist/chunks/{instruction-discovery-h4y5xjrc.js → state-kkqpbp86.js} +328 -319
- package/dist/chunks/{instruction-discovery-my0mhq6c.js → state-kmb6d1dy.js} +30 -30
- package/dist/chunks/{instruction-discovery-7ks1423n.js → state-kss966qf.js} +24 -24
- package/dist/chunks/{instruction-discovery-99xfcv7k.js → state-ktay9hq4.js} +10 -10
- package/dist/chunks/{instruction-discovery-js6dfb5w.js → state-m2pfdawv.js} +4 -4
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-xkyz97qj.js → state-m4g7grr3.js} +24 -24
- package/dist/chunks/{instruction-discovery-k54318qp.js → state-m8b1hsph.js} +13 -13
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-zsqm7vff.js → state-mak85ys1.js} +15 -15
- package/dist/chunks/{instruction-discovery-knd4nc5f.js → state-maw79xe3.js} +11 -11
- package/dist/chunks/{instruction-discovery-q8c3pb1q.js → state-mcqz5t5c.js} +20 -20
- package/dist/chunks/{instruction-discovery-0tec47cr.js → state-mhrgq2e3.js} +8 -8
- package/dist/chunks/{instruction-discovery-a1xkz11p.js → state-mhz4gg3p.js} +21 -21
- package/dist/chunks/{instruction-discovery-p056yhxs.js → state-ms5r0hkh.js} +48 -48
- package/dist/chunks/{instruction-discovery-m45m4ven.js → state-mthfcyeq.js} +11 -11
- package/dist/chunks/{instruction-discovery-jah1syx0.js → state-mwh5sg7p.js} +40 -40
- package/dist/chunks/{instruction-discovery-cna82en0.js → state-mwnn09ds.js} +18 -18
- package/dist/chunks/{instruction-discovery-273h6293.js → state-myr8fe9c.js} +6 -6
- package/dist/chunks/{instruction-discovery-dz9417ry.js → state-mzc2a39c.js} +9 -9
- package/dist/chunks/{instruction-discovery-e116hgz1.js → state-mzwaxmr6.js} +3 -3
- package/dist/chunks/{instruction-discovery-4sfcqppx.js → state-n3ky4ns8.js} +2 -2
- package/dist/chunks/{instruction-discovery-nn1ppfgc.js → state-nb795v0v.js} +5 -5
- package/dist/chunks/{instruction-discovery-fqhagtyc.js → state-nc7he5v1.js} +27 -27
- package/dist/chunks/{instruction-discovery-f94nwnzd.js → state-nv5wzee9.js} +14 -14
- package/dist/chunks/state-nvdmc63m.js +507 -0
- package/dist/chunks/{instruction-discovery-xtrrk7k3.js → state-p66jwzje.js} +12 -12
- package/dist/chunks/{instruction-discovery-60m87ftc.js → state-pb9tkzd3.js} +24 -24
- package/dist/chunks/{instruction-discovery-8ghbvaa0.js → state-pgz7mtdk.js} +10 -10
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-zfs8ae4p.js → state-pkqb68ka.js} +4 -4
- package/dist/chunks/{instruction-discovery-e3q4ya86.js → state-prq7hedt.js} +9 -9
- package/dist/chunks/{instruction-discovery-0j77ygfz.js → state-q0xm7vwc.js} +6 -6
- package/dist/chunks/{instruction-discovery-mwgcj3fx.js → state-q41dffrp.js} +11 -11
- package/dist/chunks/{instruction-discovery-d815wfjk.js → state-q5gkxxjb.js} +33 -33
- package/dist/chunks/{instruction-discovery-9grbqn9y.js → state-q8bdncf5.js} +9 -9
- package/dist/chunks/{instruction-discovery-y8c3vgnd.js → state-qcq5ks5d.js} +21 -21
- package/dist/chunks/{instruction-discovery-ht7r5zjn.js → state-qf4tt5n8.js} +5 -5
- package/dist/chunks/{instruction-discovery-zbdjk1jq.js → state-qfqe7b7s.js} +11 -11
- package/dist/chunks/{instruction-discovery-xgks750j.js → state-qh28zxsx.js} +32 -32
- package/dist/chunks/state-qk8sy7r3.js +253 -0
- package/dist/chunks/{instruction-discovery-5d607bsg.js → state-qmqgtz8f.js} +9 -9
- package/dist/chunks/{instruction-discovery-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{instruction-discovery-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-qxjc9qry.js → state-qxjc9qry.js} +3 -3
- package/dist/chunks/{instruction-discovery-pr8kmtqq.js → state-r3v0c7hy.js} +5 -5
- package/dist/chunks/{instruction-discovery-m5qzdqgg.js → state-r8wc69dc.js} +38 -25
- package/dist/chunks/{instruction-discovery-yp2x3t23.js → state-r8xr0va3.js} +4 -4
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-8xyg3w2m.js → state-rg29w5sg.js} +15 -15
- package/dist/chunks/{instruction-discovery-14fppf3b.js → state-rhgq3aa6.js} +22 -22
- package/dist/chunks/{instruction-discovery-vt3fyw5y.js → state-rkkgxmw8.js} +5 -5
- package/dist/chunks/{instruction-discovery-94mc2ky6.js → state-ryg7eh2t.js} +18 -18
- package/dist/chunks/{instruction-discovery-v93t099t.js → state-s4e19jsk.js} +43 -43
- package/dist/chunks/{instruction-discovery-qygbw77c.js → state-scgrse2b.js} +5 -5
- package/dist/chunks/{instruction-discovery-c6s977gm.js → state-sny9w75j.js} +30 -30
- package/dist/chunks/{instruction-discovery-5bpbs3y8.js → state-srp51ndr.js} +20 -20
- package/dist/chunks/{instruction-discovery-9408e2ey.js → state-t2t1t50a.js} +16 -16
- package/dist/chunks/{instruction-discovery-cr5fdqpw.js → state-t5131vnj.js} +45 -45
- package/dist/chunks/{instruction-discovery-gse2418f.js → state-t7v34wze.js} +8 -8
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-k4jm2qx2.js → state-tb07zrhn.js} +4 -4
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-b41jq38g.js → state-tf2qcnq5.js} +8 -8
- package/dist/chunks/{instruction-discovery-v0es1rhs.js → state-tg7bkhef.js} +7 -7
- package/dist/chunks/{instruction-discovery-r66xghd9.js → state-tjedn1bk.js} +4 -4
- package/dist/chunks/{instruction-discovery-hj5bkg0c.js → state-tprb9ykm.js} +8 -8
- package/dist/chunks/{instruction-discovery-8sze2n9a.js → state-ts23464c.js} +8 -8
- package/dist/chunks/{instruction-discovery-3ja7vgc7.js → state-vccqm5x4.js} +28 -28
- package/dist/chunks/{instruction-discovery-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-fdjyeynq.js → state-vfnexndp.js} +6 -6
- package/dist/chunks/{instruction-discovery-qzka7dgq.js → state-vjps42b3.js} +40 -40
- package/dist/chunks/{instruction-discovery-a1sz969t.js → state-vyb30c2y.js} +15 -15
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-xfkkasph.js → state-w19d8598.js} +5 -5
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-chrxq3ex.js → state-w9f5rn9p.js} +20 -20
- package/dist/chunks/{instruction-discovery-7hnnfp9c.js → state-wcnv1p8x.js} +11 -11
- package/dist/chunks/{instruction-discovery-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-6rs83x58.js → state-wm8vp7b3.js} +16 -16
- package/dist/chunks/{instruction-discovery-zgtek2y9.js → state-wrvjmzy4.js} +54 -54
- package/dist/chunks/{instruction-discovery-s8d7rejh.js → state-wv396vej.js} +8 -8
- package/dist/chunks/{instruction-discovery-5zezd1p9.js → state-wxgmpaes.js} +11 -11
- package/dist/chunks/{instruction-discovery-hcx8qsr8.js → state-x62cppxn.js} +20 -20
- package/dist/chunks/{instruction-discovery-fghrj984.js → state-x944hqgj.js} +27 -27
- package/dist/chunks/{instruction-discovery-3nkhjpbq.js → state-xg26vyyk.js} +4 -4
- package/dist/chunks/{instruction-discovery-dmqcgk4z.js → state-xkntkrq7.js} +5 -5
- package/dist/chunks/{instruction-discovery-68wqtz75.js → state-xt4njr3s.js} +1 -1
- package/dist/chunks/{instruction-discovery-6gkym5fp.js → state-y0rd6mpg.js} +4 -4
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-w35vncqw.js → state-y7hh2tp0.js} +26 -26
- package/dist/chunks/{instruction-discovery-4bh92p7n.js → state-y88q4kk1.js} +49 -49
- package/dist/chunks/{instruction-discovery-fba5j9yy.js → state-y9v55n8z.js} +10 -10
- package/dist/chunks/{instruction-discovery-2seb41mk.js → state-yfng7xhx.js} +64 -64
- package/dist/chunks/{instruction-discovery-f17728fj.js → state-ykd4jxva.js} +29 -29
- package/dist/chunks/{instruction-discovery-52zfrmt1.js → state-yndsvvt3.js} +1 -1
- package/dist/chunks/{instruction-discovery-b4b58vta.js → state-yss3y4q1.js} +16 -16
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-ybpa7sx2.js → state-z2btvd3q.js} +9 -9
- package/dist/chunks/{instruction-discovery-wtbb01vz.js → state-zh56ev1t.js} +15 -15
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-2vs2nh1n.js → state-zvt5dnpc.js} +4 -4
- package/dist/chunks/{instruction-discovery-qqm50ya3.js → state-zw11p4sz.js} +5 -5
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{instruction-discovery-fzbgn245.js → state-zz0gef9f.js} +20 -20
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +86 -86
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- 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 +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 -80
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -103
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +92 -92
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +120 -120
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- 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 +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
- package/dist/types/wellknown.d.ts +3 -0
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- 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 +2 -2
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- 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 +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-02n47b9r.js +0 -507
- package/dist/chunks/instruction-discovery-d507n1ar.js +0 -253
- package/dist/chunks/instruction-discovery-gyce5qg1.js +0 -18
- package/dist/chunks/instruction-discovery-r54jadsm.js +0 -26
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./state-9qk2kwmb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./state-m4g7grr3.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service19
|
|
16
|
+
} from "./state-ryg7eh2t.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-ykd4jxva.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service72
|
|
26
|
+
} from "./state-yfng7xhx.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service71
|
|
29
|
+
} from "./state-1b60b23y.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./state-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin46,
|
|
41
|
+
name: () => name10,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name10 = "grep";
|
|
48
|
+
var Input10 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input12 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin46 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service59;
|
|
90
|
+
const ripgrep = yield* Service19;
|
|
91
|
+
const location = yield* Service76;
|
|
92
|
+
const access = yield* Service71;
|
|
93
|
+
const permission = yield* Service72;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name10,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input10,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name10,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin32 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin32 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name10, Input10, Output7, toModelContent5, Plugin46, exports_grep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./state-m4g7grr3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service59;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./state-5y60f30r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./state-yfng7xhx.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service68;
|
|
57
|
+
const permission = yield* Service72;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export { name13, description6,
|
|
120
|
+
export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load4() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./state-62k0yxbf.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-24dsd3mh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service14,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./state-vjps42b3.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,8 +32,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
36
|
-
const bus = yield*
|
|
35
|
+
const modelsDev = yield* Service14;
|
|
36
|
+
const bus = yield* Service80;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
39
39
|
for (const provider of loaded.data) {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./state-62k0yxbf.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event16,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID11,
|
|
20
|
+
Info: () => Info20,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError7,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service68,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node72,
|
|
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 Event16 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID11 = Form.ID;
|
|
39
|
+
var Info20 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID11
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID11
|
|
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: ID11
|
|
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: ID11,
|
|
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 Service68 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service68, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service80;
|
|
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 NotFoundError7({ 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 ?? ID11.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer26 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).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 })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service68.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node72 = makeLocationNode({ service: Service68, layer: layer25, deps: [node84] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID11, Info20, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service68, layer25, node72, validateAnswer2, validateFields2, exports_form, Event16 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service2,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node3
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service2 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node3 = makeLocationNode({
|
|
19
|
+
service: Service2,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service2, Service2.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service2, node3, bound2, exports_instance2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./state-9qk2kwmb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service71
|
|
9
|
+
} from "./state-1b60b23y.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./state-qcq5ks5d.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./state-zh56ev1t.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input9,
|
|
36
|
+
Plugin: () => Plugin45,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name9,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name9 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input9 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin45 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service71;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name9,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input9,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin30 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent4 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name9, Input9, Plugin45, toModelContent4, exports_read };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-kkqpbp86.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-24dsd3mh.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|