@opencode-ai/core 0.0.0-dev-19202 → 0.0.0-dev-19205
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{model-resolver-fy6n5twb.js → workspace-03vfzkzq.js} +4 -4
- package/dist/chunks/{model-resolver-0e0xafbb.js → workspace-0e0xafbb.js} +2 -2
- package/dist/chunks/{model-resolver-ebpav8ht.js → workspace-0hmtqxr6.js} +33 -33
- package/dist/chunks/{model-resolver-xr5vwsd4.js → workspace-0myjdyv6.js} +9 -9
- package/dist/chunks/{model-resolver-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-0s9ayhjt.js → workspace-0s9ayhjt.js} +1 -1
- package/dist/chunks/{model-resolver-r8xr0va3.js → workspace-1acjjqhc.js} +4 -4
- package/dist/chunks/{model-resolver-mvfsc1pv.js → workspace-1bbkgx8g.js} +3 -3
- package/dist/chunks/{model-resolver-nj1fe1jb.js → workspace-1cngsnb6.js} +20 -20
- package/dist/chunks/{model-resolver-1ct4r87x.js → workspace-1ct4r87x.js} +1 -1
- package/dist/chunks/{model-resolver-qq0tkz6q.js → workspace-1nk2mnc0.js} +3 -3
- package/dist/chunks/{model-resolver-zhptab2p.js → workspace-1nn7y83w.js} +6 -6
- package/dist/chunks/{model-resolver-z3h7hm3n.js → workspace-1p8bnmch.js} +4 -4
- package/dist/chunks/{model-resolver-6tt6g98m.js → workspace-1vvbdqbr.js} +20 -20
- package/dist/chunks/{model-resolver-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → workspace-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-7x9n72sf.js → workspace-271bx2e5.js} +13 -13
- package/dist/chunks/{model-resolver-amhrny11.js → workspace-28rw05gp.js} +15 -15
- package/dist/chunks/{model-resolver-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-zajwd6at.js → workspace-2ady357n.js} +5 -5
- package/dist/chunks/{model-resolver-tcfdn8aw.js → workspace-2ahv2hha.js} +24 -24
- package/dist/chunks/{model-resolver-2ht70gj7.js → workspace-2ht70gj7.js} +1 -1
- package/dist/chunks/{model-resolver-2k8khapm.js → workspace-2k8khapm.js} +1 -1
- package/dist/chunks/{model-resolver-yj3e99fm.js → workspace-2rcaaecz.js} +1 -1
- package/dist/chunks/{model-resolver-d9hq9bdj.js → workspace-2t2kmzm4.js} +9 -9
- package/dist/chunks/{model-resolver-1mvksd4s.js → workspace-2x6b75ng.js} +4 -4
- package/dist/chunks/{model-resolver-cvvv77jg.js → workspace-35ddpz83.js} +27 -27
- package/dist/chunks/{model-resolver-36vsdr69.js → workspace-36vsdr69.js} +2 -2
- package/dist/chunks/{model-resolver-0q56w8vj.js → workspace-3ay2m3f4.js} +7 -7
- package/dist/chunks/{model-resolver-ka1d01ec.js → workspace-3cm4x8pz.js} +5 -5
- package/dist/chunks/{model-resolver-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-0xd2d7hb.js → workspace-3g2y1byn.js} +5 -5
- package/dist/chunks/{model-resolver-w5fe4zgf.js → workspace-3h4fnpgw.js} +19 -19
- package/dist/chunks/{model-resolver-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-9z09jxjk.js → workspace-3hszvgvz.js} +8 -8
- package/dist/chunks/{model-resolver-n7z8rwmy.js → workspace-3pmbcp29.js} +12 -12
- package/dist/chunks/{model-resolver-2gqx3cqb.js → workspace-3pxrk450.js} +7 -7
- package/dist/chunks/{model-resolver-3qzbfqsy.js → workspace-3qzbfqsy.js} +2 -2
- package/dist/chunks/{model-resolver-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-6yj45qfn.js → workspace-3tvaxgfx.js} +4 -4
- package/dist/chunks/{model-resolver-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-7fjq4tnf.js → workspace-3vc8p5k6.js} +15 -15
- package/dist/chunks/{model-resolver-trt9khgc.js → workspace-3yfazbhv.js} +24 -24
- package/dist/chunks/{model-resolver-pt7wq7x0.js → workspace-42my878b.js} +1 -1
- package/dist/chunks/{model-resolver-454k5vzh.js → workspace-454k5vzh.js} +1 -1
- package/dist/chunks/{model-resolver-p3a8ybaq.js → workspace-4fzx0x4v.js} +5 -5
- package/dist/chunks/{model-resolver-z79mad95.js → workspace-4m93txkv.js} +9 -9
- package/dist/chunks/{model-resolver-6rb05nrd.js → workspace-4ns6x4rf.js} +21 -21
- package/dist/chunks/{model-resolver-6bktjyyc.js → workspace-4p7rp1jt.js} +13 -13
- package/dist/chunks/{model-resolver-jq2p7hez.js → workspace-4pp1x3ye.js} +23 -23
- package/dist/chunks/{model-resolver-4r2nyarf.js → workspace-4r2nyarf.js} +1 -1
- package/dist/chunks/{model-resolver-jpwcqcav.js → workspace-4rpbkfyg.js} +1 -1
- package/dist/chunks/{model-resolver-a9c7wcwq.js → workspace-4w2mesf2.js} +12 -12
- package/dist/chunks/{model-resolver-gsfshahz.js → workspace-4wzn6ynj.js} +20 -20
- package/dist/chunks/{model-resolver-a75v1xyy.js → workspace-5359xvc8.js} +11 -11
- package/dist/chunks/{model-resolver-dhsttevq.js → workspace-55fasg25.js} +20 -20
- package/dist/chunks/{model-resolver-xd1gj6jr.js → workspace-5ckspze9.js} +9 -9
- package/dist/chunks/{model-resolver-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-5fmxt4p5.js → workspace-5fmxt4p5.js} +1 -1
- package/dist/chunks/{model-resolver-5jvc5tg2.js → workspace-5jvc5tg2.js} +1 -1
- package/dist/chunks/{model-resolver-c76spgvt.js → workspace-5meqwk0k.js} +4 -4
- package/dist/chunks/{model-resolver-52z9exmq.js → workspace-5pe0hmxx.js} +39 -39
- package/dist/chunks/{model-resolver-t35vvjm0.js → workspace-5sg91gv8.js} +11 -11
- package/dist/chunks/{model-resolver-vr2m7p38.js → workspace-5y7zc6aq.js} +30 -30
- package/dist/chunks/{model-resolver-wr9ysm64.js → workspace-60jjdk7y.js} +9 -9
- package/dist/chunks/{model-resolver-h8f15ghy.js → workspace-65crtejd.js} +35 -35
- package/dist/chunks/{model-resolver-daj0k9by.js → workspace-6btbfb8s.js} +38 -38
- package/dist/chunks/{model-resolver-fm2qvscf.js → workspace-6hh8tjw2.js} +4 -4
- package/dist/chunks/{model-resolver-6ks5kqks.js → workspace-6hnqpqne.js} +24 -24
- package/dist/chunks/{model-resolver-dd6t7n6p.js → workspace-6mj9xsav.js} +13 -13
- package/dist/chunks/{model-resolver-n0qm516r.js → workspace-6qwb5pya.js} +10 -10
- package/dist/chunks/{model-resolver-fepbnb8j.js → workspace-6vq97qmv.js} +5 -5
- package/dist/chunks/{model-resolver-xjfjd024.js → workspace-6zrzqgzk.js} +17 -17
- package/dist/chunks/{model-resolver-711hfp6y.js → workspace-711hfp6y.js} +2 -2
- package/dist/chunks/{model-resolver-72nftnjy.js → workspace-72nftnjy.js} +2 -2
- package/dist/chunks/{model-resolver-jnmmvqjs.js → workspace-79xc10f4.js} +1 -1
- package/dist/chunks/{model-resolver-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-cp47cn18.js → workspace-7dhzh695.js} +28 -28
- package/dist/chunks/{model-resolver-kwfjfb3x.js → workspace-7p5wxxxx.js} +24 -24
- package/dist/chunks/{model-resolver-g869pf5g.js → workspace-7p6a67hm.js} +8 -8
- package/dist/chunks/{model-resolver-d1a1bt21.js → workspace-7tfg2zmn.js} +5 -5
- package/dist/chunks/{model-resolver-2m5rhxa5.js → workspace-7vxh8h3h.js} +6 -6
- package/dist/chunks/{model-resolver-k22h4khz.js → workspace-7x9ad5fb.js} +12 -12
- package/dist/chunks/{model-resolver-pmt5dx08.js → workspace-81nm525f.js} +54 -54
- package/dist/chunks/{model-resolver-pzkjnmpb.js → workspace-85x8f8aa.js} +13 -13
- package/dist/chunks/{model-resolver-7cm3k2ba.js → workspace-85xbc70q.js} +16 -16
- package/dist/chunks/{model-resolver-xz4sbw44.js → workspace-883yd3e0.js} +59 -59
- package/dist/chunks/{model-resolver-04nrqb8q.js → workspace-8f46hmee.js} +20 -20
- package/dist/chunks/{model-resolver-1bwaarmf.js → workspace-8gq481r1.js} +4 -4
- package/dist/chunks/{model-resolver-5qdzg6f9.js → workspace-8rvhm2ed.js} +15 -15
- package/dist/chunks/{model-resolver-a12rb003.js → workspace-8tz2fejb.js} +24 -24
- package/dist/chunks/{model-resolver-45c840ky.js → workspace-8xd7p2c8.js} +46 -46
- package/dist/chunks/{model-resolver-4325r94x.js → workspace-8zy2gh99.js} +3 -3
- package/dist/chunks/{model-resolver-sb2pm13j.js → workspace-92rbr2mf.js} +32 -32
- package/dist/chunks/{model-resolver-93a8yfjt.js → workspace-93a8yfjt.js} +2 -2
- package/dist/chunks/{model-resolver-vhpw989j.js → workspace-94hfyg4q.js} +16 -16
- package/dist/chunks/{model-resolver-97f5v037.js → workspace-97f5v037.js} +1 -1
- package/dist/chunks/{model-resolver-z9pdm7mn.js → workspace-99xnga9r.js} +43 -43
- package/dist/chunks/{model-resolver-6926ty5t.js → workspace-9cnpj473.js} +8 -8
- package/dist/chunks/{model-resolver-f2t11rgb.js → workspace-9fhbt2be.js} +18 -18
- package/dist/chunks/{model-resolver-q5kb97vr.js → workspace-9hc93zyr.js} +11 -11
- package/dist/chunks/workspace-9m2n3md9.js +247 -0
- package/dist/chunks/{model-resolver-d44mvk5w.js → workspace-9ppnsynd.js} +6 -6
- package/dist/chunks/{model-resolver-9qm9egsn.js → workspace-9qm9egsn.js} +2 -2
- package/dist/chunks/workspace-9r1rwy3c.js +460 -0
- package/dist/chunks/{model-resolver-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-qqmc633y.js → workspace-afv5t5ae.js} +11 -11
- package/dist/chunks/{model-resolver-xaspcyx5.js → workspace-ahrrvtaa.js} +166 -166
- package/dist/chunks/{model-resolver-ajtjthsy.js → workspace-ajtjthsy.js} +2 -2
- package/dist/chunks/{model-resolver-vn39pvqa.js → workspace-amczc845.js} +37 -37
- package/dist/chunks/{model-resolver-xft3xkxh.js → workspace-axzt4st2.js} +11 -11
- package/dist/chunks/{model-resolver-2w6bfmvf.js → workspace-b0z70ywn.js} +1 -1
- package/dist/chunks/{model-resolver-wfwqxwhj.js → workspace-b6bbhee8.js} +9 -9
- package/dist/chunks/{model-resolver-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-b9wsbatv.js → workspace-b9wsbatv.js} +1 -1
- package/dist/chunks/{model-resolver-an7cqtb7.js → workspace-bct739vz.js} +4 -4
- package/dist/chunks/{model-resolver-z8jfykz0.js → workspace-bjppfg2a.js} +10 -10
- package/dist/chunks/{model-resolver-pae9v2p1.js → workspace-bjs50m4b.js} +8 -8
- package/dist/chunks/{model-resolver-bphmvjfp.js → workspace-bphmvjfp.js} +2 -2
- package/dist/chunks/{model-resolver-16hj88rm.js → workspace-bsg25x2z.js} +19 -19
- package/dist/chunks/{model-resolver-yvnsnb9v.js → workspace-bykg0h2w.js} +22 -22
- package/dist/chunks/{model-resolver-pjedbq3k.js → workspace-c576t1j6.js} +7 -7
- package/dist/chunks/{model-resolver-mrca8mn9.js → workspace-cmd5jf8k.js} +15 -15
- package/dist/chunks/{model-resolver-0ancwgef.js → workspace-cx0fx8se.js} +5 -5
- package/dist/chunks/{model-resolver-hm42kar1.js → workspace-d4tfyaan.js} +4 -4
- package/dist/chunks/{model-resolver-mj9y1f9w.js → workspace-d711ctq6.js} +25 -25
- package/dist/chunks/{model-resolver-d72308c8.js → workspace-d72308c8.js} +2 -2
- package/dist/chunks/{model-resolver-dhmh7aw6.js → workspace-ddt2bs9e.js} +4 -4
- package/dist/chunks/{model-resolver-1rm0drdm.js → workspace-de8s0qqs.js} +2 -2
- package/dist/chunks/{model-resolver-haqbnmr5.js → workspace-dhyjrgft.js} +4 -4
- package/dist/chunks/{model-resolver-whrpd8wj.js → workspace-dj748nyr.js} +5 -5
- package/dist/chunks/{model-resolver-bfenx2tw.js → workspace-drmgzmfy.js} +4 -4
- package/dist/chunks/{model-resolver-xb1yhede.js → workspace-dzqzmdsn.js} +15 -15
- package/dist/chunks/{model-resolver-2ejk6t2t.js → workspace-edvaqj4j.js} +17 -17
- package/dist/chunks/{model-resolver-eg4pr325.js → workspace-eg4pr325.js} +3 -3
- package/dist/chunks/{model-resolver-qvpg2584.js → workspace-emjf39gq.js} +11 -11
- package/dist/chunks/{model-resolver-n52wrphd.js → workspace-f0fy18t3.js} +20 -20
- package/dist/chunks/{model-resolver-3mrm2hwf.js → workspace-f4g7wt00.js} +10 -10
- package/dist/chunks/{model-resolver-yzxcxw3p.js → workspace-f5emzv0f.js} +11 -11
- package/dist/chunks/{model-resolver-kbfs3jn6.js → workspace-far2rsft.js} +16 -16
- package/dist/chunks/{model-resolver-hgwc40d2.js → workspace-fbvatgqx.js} +18 -18
- package/dist/chunks/{model-resolver-qs4avvkb.js → workspace-fhvjqr7f.js} +1 -1
- package/dist/chunks/{model-resolver-qz49fwgp.js → workspace-fvanntqq.js} +4 -4
- package/dist/chunks/{model-resolver-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-fxypknc8.js → workspace-fxypknc8.js} +1 -1
- package/dist/chunks/{model-resolver-rvb2zp0m.js → workspace-g19vc6v7.js} +6 -6
- package/dist/chunks/{model-resolver-7wxchhek.js → workspace-g2fmcnne.js} +26 -26
- package/dist/chunks/{model-resolver-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-2pgk7vty.js → workspace-gpkgrk3z.js} +2 -2
- package/dist/chunks/{model-resolver-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-heyhwy2w.js → workspace-heyhwy2w.js} +1 -1
- package/dist/chunks/workspace-hh05q5c4.js +22 -0
- package/dist/chunks/{model-resolver-nv1jjwpd.js → workspace-hr77wr0b.js} +4 -4
- package/dist/chunks/{model-resolver-hrvm11jt.js → workspace-hrvm11jt.js} +3 -3
- package/dist/chunks/{model-resolver-kvsjn1dr.js → workspace-hw4pv20g.js} +2 -2
- package/dist/chunks/{model-resolver-mh7ehz1v.js → workspace-hyd6a1dg.js} +21 -21
- package/dist/chunks/{model-resolver-c05z1hzq.js → workspace-j11eh89n.js} +7 -7
- package/dist/chunks/{model-resolver-25g0a3wm.js → workspace-j1hn46j4.js} +36 -36
- package/dist/chunks/{model-resolver-ymmafesq.js → workspace-jf5tw5w7.js} +5 -5
- package/dist/chunks/{model-resolver-768z0hjh.js → workspace-jp5dra8g.js} +1 -1
- package/dist/chunks/{model-resolver-k4bwy1x5.js → workspace-k4bwy1x5.js} +1 -1
- package/dist/chunks/{model-resolver-xgb46x83.js → workspace-k6rrywxw.js} +32 -32
- package/dist/chunks/{model-resolver-sjdwkfxd.js → workspace-k82d1k56.js} +32 -32
- package/dist/chunks/{model-resolver-kg06axw8.js → workspace-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-ypg1pkf2.js → workspace-kj9qd3t9.js} +6 -6
- package/dist/chunks/{model-resolver-pk1prh3n.js → workspace-kjj7vg4z.js} +11 -11
- package/dist/chunks/{model-resolver-rese3z7z.js → workspace-kn073nsz.js} +6 -6
- package/dist/chunks/{model-resolver-6eq76p0n.js → workspace-m27hrjtw.js} +9 -9
- package/dist/chunks/{model-resolver-0bhzd4d6.js → workspace-m44s4ae7.js} +8 -8
- package/dist/chunks/{model-resolver-c1pc5gy5.js → workspace-m8f081sj.js} +9 -9
- package/dist/chunks/{model-resolver-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-1wj6fe6f.js → workspace-ma1ffcb4.js} +32 -32
- package/dist/chunks/{model-resolver-zgza400y.js → workspace-ma1hsyqq.js} +7 -7
- package/dist/chunks/{model-resolver-tbhhj5cs.js → workspace-mah8zyxa.js} +15 -15
- package/dist/chunks/{model-resolver-x5da3ets.js → workspace-mcz55ydv.js} +15 -15
- package/dist/chunks/{model-resolver-wcav6c40.js → workspace-mebjn8ym.js} +13 -13
- package/dist/chunks/{model-resolver-mfqp6xfm.js → workspace-mfqp6xfm.js} +2 -2
- package/dist/chunks/{model-resolver-9tjsbxxt.js → workspace-mwb1rh8h.js} +4 -4
- package/dist/chunks/{model-resolver-8b66w0av.js → workspace-mzq59fwg.js} +27 -27
- package/dist/chunks/{model-resolver-jjv4cws2.js → workspace-n0pwvc8d.js} +7 -7
- package/dist/chunks/{model-resolver-n8qe30xq.js → workspace-n8qe30xq.js} +2 -2
- package/dist/chunks/{model-resolver-agpxhpem.js → workspace-ndbqskvj.js} +47 -47
- package/dist/chunks/{model-resolver-3g3bkchr.js → workspace-ngmekjny.js} +4 -4
- package/dist/chunks/{model-resolver-gfbnzf5x.js → workspace-nh4ndjrr.js} +20 -20
- package/dist/chunks/{model-resolver-nhy5jxhy.js → workspace-nhy5jxhy.js} +1 -1
- package/dist/chunks/{model-resolver-1ydgq2r4.js → workspace-nkd0m12v.js} +5 -5
- package/dist/chunks/{model-resolver-n9whx688.js → workspace-nsk2d1xz.js} +3 -3
- package/dist/chunks/{model-resolver-pbk0bgfv.js → workspace-nxj5ea3t.js} +2 -2
- package/dist/chunks/{model-resolver-zf2pwqth.js → workspace-nxqkj03p.js} +10 -10
- package/dist/chunks/{model-resolver-g1qbfqak.js → workspace-p28j91f1.js} +79 -79
- package/dist/chunks/{model-resolver-8na2q2w3.js → workspace-p2cy59ta.js} +32 -32
- package/dist/chunks/{model-resolver-9cnab95r.js → workspace-pa20sa4h.js} +22 -22
- package/dist/chunks/{model-resolver-j935v87r.js → workspace-paphc93g.js} +2 -2
- package/dist/chunks/{model-resolver-56293sgk.js → workspace-pfbznffx.js} +9 -9
- package/dist/chunks/{model-resolver-8bcbmssv.js → workspace-pfgzwmcs.js} +10 -10
- package/dist/chunks/{model-resolver-xf29bhrb.js → workspace-pjhc3vrw.js} +25 -25
- package/dist/chunks/{model-resolver-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-rz6a3sbe.js → workspace-pnpzjwqk.js} +22 -22
- package/dist/chunks/{model-resolver-1zsnv1c7.js → workspace-prf0khpv.js} +8 -8
- package/dist/chunks/{model-resolver-85mg7hhh.js → workspace-pw75w6wp.js} +27 -27
- package/dist/chunks/{model-resolver-pyj5p63s.js → workspace-pyfyb4h2.js} +10 -10
- package/dist/chunks/workspace-qdyb70sk.js +18 -0
- package/dist/chunks/{model-resolver-y86ghdgz.js → workspace-qgmahjq5.js} +3 -3
- package/dist/chunks/{model-resolver-8vfmqbrd.js → workspace-qqhry4hf.js} +25 -25
- package/dist/chunks/{model-resolver-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-ds7ysbcx.js → workspace-r5ef8gce.js} +48 -48
- package/dist/chunks/{model-resolver-4hdyv2zw.js → workspace-r82j2j5s.js} +9 -9
- package/dist/chunks/{model-resolver-r8dhm0tv.js → workspace-r8dhm0tv.js} +1 -1
- package/dist/chunks/{model-resolver-01q1wmsg.js → workspace-r8rw83k9.js} +15 -15
- package/dist/chunks/{model-resolver-3b41mhr3.js → workspace-radsv5bn.js} +11 -11
- package/dist/chunks/{model-resolver-rmgpg45v.js → workspace-rnaezqx7.js} +24 -24
- package/dist/chunks/{model-resolver-15pjntb5.js → workspace-s3wt6vds.js} +10 -10
- package/dist/chunks/{model-resolver-sba4qhjf.js → workspace-sba4qhjf.js} +1 -1
- package/dist/chunks/{model-resolver-jtb47g3a.js → workspace-sbrc3g05.js} +13 -13
- package/dist/chunks/{model-resolver-jrr570aw.js → workspace-sd6hqhqe.js} +9 -9
- package/dist/chunks/{model-resolver-t044qcb6.js → workspace-sj94kzgm.js} +8 -8
- package/dist/chunks/{model-resolver-smnvvzmt.js → workspace-sjedy0tv.js} +18 -18
- package/dist/chunks/{model-resolver-8arm59qw.js → workspace-sthbfsvd.js} +26 -26
- package/dist/chunks/{model-resolver-34rgtrgw.js → workspace-sw8m2hmk.js} +7 -7
- package/dist/chunks/{model-resolver-8rk7xmhz.js → workspace-t8c6dkjz.js} +30 -30
- package/dist/chunks/{model-resolver-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-r67ewn20.js → workspace-tcvwtwdv.js} +8 -8
- package/dist/chunks/{model-resolver-ybnqsmq7.js → workspace-tdv1x8ch.js} +11 -11
- package/dist/chunks/{model-resolver-tkb4f2r7.js → workspace-tf9n79be.js} +15 -15
- package/dist/chunks/{model-resolver-tjykrgmx.js → workspace-tjykrgmx.js} +1 -1
- package/dist/chunks/{model-resolver-0qr0cjqp.js → workspace-tp4ca0ax.js} +33 -33
- package/dist/chunks/{model-resolver-tppvcy65.js → workspace-tppvcy65.js} +2 -2
- package/dist/chunks/{model-resolver-vqebmn7g.js → workspace-tsvywdvc.js} +24 -24
- package/dist/chunks/{model-resolver-t6yc1zyn.js → workspace-tx5ymanw.js} +9 -9
- package/dist/chunks/{model-resolver-fz1pdqz4.js → workspace-tynz9yxk.js} +8 -8
- package/dist/chunks/{model-resolver-hdfh4kmr.js → workspace-v432x66a.js} +9 -9
- package/dist/chunks/{model-resolver-nvecvfg1.js → workspace-vwd9ve21.js} +31 -31
- package/dist/chunks/{model-resolver-1hy241bm.js → workspace-vwwkt776.js} +3 -3
- package/dist/chunks/{model-resolver-gxc2v2ks.js → workspace-vy6h5a2r.js} +11 -11
- package/dist/chunks/{model-resolver-smjktvs8.js → workspace-vz6qr5p1.js} +6 -6
- package/dist/chunks/{model-resolver-84vg3atq.js → workspace-w1ym465x.js} +10 -10
- package/dist/chunks/{model-resolver-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-w991kqb0.js → workspace-wckzh42d.js} +18 -18
- package/dist/chunks/{model-resolver-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-bc3eevve.js → workspace-wkm1m5t3.js} +16 -16
- package/dist/chunks/{model-resolver-29vm76e6.js → workspace-wp7kaye5.js} +25 -25
- package/dist/chunks/{model-resolver-gww66jkq.js → workspace-wpcfp9tf.js} +22 -22
- package/dist/chunks/{model-resolver-gt3w77ph.js → workspace-wpm9ga6w.js} +19 -19
- package/dist/chunks/{model-resolver-rd9dg6mx.js → workspace-x0dx6k02.js} +8 -8
- package/dist/chunks/{model-resolver-w7krw9hh.js → workspace-x154ebjh.js} +10 -10
- package/dist/chunks/{model-resolver-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-3cz2rdwz.js → workspace-x7m1j1fp.js} +11 -11
- package/dist/chunks/{model-resolver-57smdxt4.js → workspace-xcdna4jd.js} +15 -15
- package/dist/chunks/{model-resolver-wnhc2w01.js → workspace-xrryncgn.js} +24 -24
- package/dist/chunks/{model-resolver-0vcgwdj5.js → workspace-xsa9y6rb.js} +24 -24
- package/dist/chunks/{model-resolver-5mhvc9ws.js → workspace-y0v6q609.js} +11 -11
- package/dist/chunks/{model-resolver-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-y71avatq.js → workspace-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-h4ka1g8b.js → workspace-y7e6xj4q.js} +50 -50
- package/dist/chunks/{model-resolver-gpvbfbv1.js → workspace-y7qh7890.js} +19 -19
- package/dist/chunks/{model-resolver-4kbdx47m.js → workspace-yf54mt1p.js} +3 -3
- package/dist/chunks/{model-resolver-yfbd16n1.js → workspace-yfbd16n1.js} +2 -2
- package/dist/chunks/{model-resolver-q5pkwzxb.js → workspace-ygys01m5.js} +17 -17
- package/dist/chunks/{model-resolver-ve9vvn65.js → workspace-yhkdd2kz.js} +18 -18
- package/dist/chunks/{model-resolver-ye01600q.js → workspace-yk8npxfk.js} +20 -20
- package/dist/chunks/{model-resolver-vj55tknd.js → workspace-ytf4r5bp.js} +11 -11
- package/dist/chunks/{model-resolver-fzs22wv3.js → workspace-yvj5jp1z.js} +8 -8
- package/dist/chunks/{model-resolver-wgt7v56c.js → workspace-z0sbs2re.js} +12 -12
- package/dist/chunks/{model-resolver-bta0rsxr.js → workspace-z10vnmxm.js} +3 -3
- package/dist/chunks/{model-resolver-z1k01bn4.js → workspace-z1k01bn4.js} +2 -2
- package/dist/chunks/{model-resolver-29x78va6.js → workspace-z63w68vq.js} +6 -6
- package/dist/chunks/{model-resolver-rfwpvx00.js → workspace-z8vgejr7.js} +39 -39
- package/dist/chunks/{model-resolver-1nfczbs6.js → workspace-zarjf3s7.js} +24 -24
- package/dist/chunks/{model-resolver-dkbgd4kx.js → workspace-zgzs5n0b.js} +6 -6
- package/dist/chunks/{model-resolver-f2gse5fy.js → workspace-zkhm2pfg.js} +6 -6
- package/dist/chunks/{model-resolver-wkm999c9.js → workspace-zn8trsas.js} +16 -16
- package/dist/chunks/{model-resolver-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-0xvppt2q.js → workspace-zxsw3nsr.js} +17 -17
- package/dist/chunks/{model-resolver-6atxajng.js → workspace-zzd0j898.js} +85 -85
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +122 -122
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +133 -133
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -359
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +4 -4
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- package/dist/git.js +3 -3
- 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 +3 -3
- 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 +350 -350
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +127 -127
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +347 -347
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- 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 +107 -107
- 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 +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +336 -336
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +126 -126
- package/dist/session/context.js +146 -146
- 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 +215 -215
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +87 -87
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +118 -118
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +88 -88
- 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 +118 -118
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +203 -203
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +337 -337
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/model-resolver-1tymz7y1.js +0 -22
- package/dist/chunks/model-resolver-9ccst39j.js +0 -460
- package/dist/chunks/model-resolver-jqh9b0xq.js +0 -18
- package/dist/chunks/model-resolver-p6v8s9en.js +0 -247
- /package/dist/chunks/{model-resolver-0fabt78z.js → workspace-0fabt78z.js} +0 -0
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t738kvx.js → workspace-3t738kvx.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-41nvscxy.js → workspace-41nvscxy.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-982e01ww.js → workspace-982e01ww.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mntxs535.js → workspace-mntxs535.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-p8qxwesx.js → workspace-p8qxwesx.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-se0s1eqw.js → workspace-se0s1eqw.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w3vb4krt.js → workspace-w3vb4krt.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x1b8g1yb.js → workspace-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → workspace-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-resolver-zbjnn3ac.js → workspace-zbjnn3ac.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-8zy2gh99.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-z10vnmxm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-982e01ww.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./workspace-pfgzwmcs.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./workspace-z8vgejr7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service60
|
|
10
|
+
} from "./workspace-sjedy0tv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make7
|
|
13
|
+
} from "./workspace-1bbkgx8g.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin18
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode-ai/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode-ai/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin18 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service55;
|
|
37
|
+
const formatter = yield* Service60;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service76;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin3 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make7({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin3 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin18, exports_formatter };
|
|
@@ -4,29 +4,29 @@ import {
|
|
|
4
4
|
empty3,
|
|
5
5
|
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-97f5v037.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID6,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service61,
|
|
13
|
+
node65
|
|
14
|
+
} from "./workspace-6hnqpqne.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions2 = {};
|
|
21
|
+
__export(exports_instructions2, {
|
|
22
|
+
Service: () => Service20,
|
|
23
|
+
SkillInstructions: () => exports_instructions2,
|
|
24
|
+
node: () => node24
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID6,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,11 +60,11 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service20 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service61;
|
|
67
|
+
return Service20.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node24 = makeLocationNode({ service: Service20, layer, deps: [node65] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service20, node24, exports_instructions2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-d4tfyaan.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./workspace-pfgzwmcs.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info24,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service68,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node73
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info24, Mode as Mode2 } from "@opencode-ai/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode-ai/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service68 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info24));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service68.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node73 = makeLocationNode({
|
|
165
|
+
service: Service68,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node81, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info24, Mode2, DiffError2, Service68, node73, exports_vcs };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info14
|
|
6
|
+
} from "./workspace-1cngsnb6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info11
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info14)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info11 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info11, exports_agent3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-pfgzwmcs.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service73,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node78
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode-ai/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service73 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service73, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node78 = LayerNode.unbound(Service73, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service73, node78, canonical3, exports_location_service_map };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-d4tfyaan.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./workspace-pfgzwmcs.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-mntxs535.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service64,
|
|
14
|
+
node68
|
|
15
|
+
} from "./workspace-zn8trsas.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -37,8 +37,8 @@ class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
|
37
37
|
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service79;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service64;
|
|
41
|
+
const location = yield* Service76;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node14 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node84, FSUtil.node,
|
|
101
|
+
deps: [node84, FSUtil.node, node81, node68]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service11, node14, exports_instructions };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-8xd7p2c8.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error = {};
|
|
10
|
+
__export(exports_error, {
|
|
11
|
+
ConfigErrorV1: () => exports_error,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-d4tfyaan.js";
|
|
5
5
|
import {
|
|
6
6
|
Event19,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node77
|
|
9
|
+
} from "./workspace-4wzn6ynj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service56,
|
|
12
|
+
node59
|
|
13
|
+
} from "./workspace-wpcfp9tf.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-p8qxwesx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./workspace-pfgzwmcs.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-hw4pv20g.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-rnaezqx7.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-dj748nyr.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-0s9ayhjt.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service57,
|
|
36
|
+
Event11,
|
|
37
|
+
node60
|
|
38
|
+
} from "./workspace-8f46hmee.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./workspace-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
47
|
Options: () => Options7,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service55,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer21,
|
|
53
|
+
node: () => node58,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -78,7 +78,7 @@ var Options7 = Schema.Struct({
|
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service55 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service55, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
99
|
+
const location = yield* Service76;
|
|
100
|
+
const watcher = yield* Service56;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
102
|
+
const credentials = yield* Service72;
|
|
103
|
+
const wellknown = yield* Service57;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -224,7 +224,7 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service55.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured7(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service55,
|
|
248
|
+
layer: layer21(options),
|
|
249
|
+
deps: [node59, node84, FSUtil.node, Global.node, node81, node77, node60]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node58 = configured7();
|
|
253
253
|
|
|
254
|
-
export { latest2, Options7,
|
|
254
|
+
export { latest2, Options7, Service55, Test2, testLayer2, layer21, configured7, node58, exports_config };
|