@opencode-ai/core 0.0.0-dev-19202 → 0.0.0-dev-19203
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 +5 -5
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{model-resolver-rz6a3sbe.js → schema-07j42s1r.js} +27 -27
- package/dist/chunks/{model-resolver-zgza400y.js → schema-093fyv1k.js} +7 -7
- package/dist/chunks/{model-resolver-9tjsbxxt.js → schema-09ywgxwg.js} +4 -4
- package/dist/chunks/{model-resolver-0e0xafbb.js → schema-0e0xafbb.js} +2 -2
- package/dist/chunks/{model-resolver-qz49fwgp.js → schema-0ft9cg2j.js} +6 -6
- package/dist/chunks/{model-resolver-n8qe30xq.js → schema-0k45et74.js} +9 -9
- package/dist/chunks/{model-resolver-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-0s9ayhjt.js → schema-0s9ayhjt.js} +1 -1
- package/dist/chunks/{model-resolver-an7cqtb7.js → schema-0v53mg2y.js} +4 -4
- package/dist/chunks/{model-resolver-6tt6g98m.js → schema-0zwrqksf.js} +27 -27
- package/dist/chunks/{model-resolver-1hy241bm.js → schema-14hmenm3.js} +3 -3
- package/dist/chunks/{model-resolver-36vsdr69.js → schema-17hja9f4.js} +2 -2
- package/dist/chunks/{model-resolver-nj1fe1jb.js → schema-1cngsnb6.js} +20 -20
- package/dist/chunks/{model-resolver-1ct4r87x.js → schema-1ct4r87x.js} +1 -1
- package/dist/chunks/{model-resolver-z79mad95.js → schema-1gwd18eh.js} +15 -15
- package/dist/chunks/{model-resolver-fz1pdqz4.js → schema-1n116cmy.js} +9 -9
- package/dist/chunks/{model-resolver-rese3z7z.js → schema-1r3qjt1e.js} +6 -6
- package/dist/chunks/{model-resolver-mfqp6xfm.js → schema-1ygqh575.js} +6 -6
- package/dist/chunks/{model-resolver-0vcgwdj5.js → schema-21cmn8kp.js} +31 -31
- package/dist/chunks/{model-resolver-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-84vg3atq.js → schema-24m53bcx.js} +10 -10
- package/dist/chunks/{model-resolver-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-a12rb003.js → schema-2c3xm3da.js} +27 -27
- package/dist/chunks/{model-resolver-2ht70gj7.js → schema-2ht70gj7.js} +1 -1
- package/dist/chunks/{model-resolver-8na2q2w3.js → schema-2mx6efyd.js} +30 -30
- package/dist/chunks/{model-resolver-bfenx2tw.js → schema-37a01m6a.js} +4 -4
- package/dist/chunks/{model-resolver-4325r94x.js → schema-39ft7chd.js} +3 -3
- package/dist/chunks/{model-resolver-6ks5kqks.js → schema-3eb7wbw0.js} +16 -16
- package/dist/chunks/{model-resolver-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-ve9vvn65.js → schema-3pc61sa9.js} +16 -16
- package/dist/chunks/{model-resolver-3qzbfqsy.js → schema-3qzbfqsy.js} +2 -2
- package/dist/chunks/{model-resolver-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-vj55tknd.js → schema-3wgash5j.js} +11 -11
- package/dist/chunks/{model-resolver-n7z8rwmy.js → schema-3y49e5yw.js} +5 -5
- package/dist/chunks/{model-resolver-01q1wmsg.js → schema-40b1mf63.js} +24 -24
- package/dist/chunks/{model-resolver-nvecvfg1.js → schema-41wv91p8.js} +46 -46
- package/dist/chunks/{model-resolver-454k5vzh.js → schema-454k5vzh.js} +1 -1
- package/dist/chunks/{model-resolver-zhptab2p.js → schema-45m0rtr9.js} +4 -4
- package/dist/chunks/{model-resolver-c1pc5gy5.js → schema-4gpjzd3s.js} +7 -7
- package/dist/chunks/{model-resolver-pjedbq3k.js → schema-4jv7e9dq.js} +9 -9
- package/dist/chunks/{model-resolver-kbfs3jn6.js → schema-4m2jed3x.js} +21 -21
- package/dist/chunks/{model-resolver-4r2nyarf.js → schema-4r2nyarf.js} +1 -1
- package/dist/chunks/schema-4v7qdvcn.js +18 -0
- package/dist/chunks/{model-resolver-rvb2zp0m.js → schema-4z6b0fg6.js} +6 -6
- package/dist/chunks/{model-resolver-xz4sbw44.js → schema-556e61a8.js} +67 -67
- package/dist/chunks/{model-resolver-dhsttevq.js → schema-5a8v5aez.js} +23 -23
- package/dist/chunks/{model-resolver-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-5fmxt4p5.js → schema-5fmxt4p5.js} +1 -1
- package/dist/chunks/{model-resolver-5jvc5tg2.js → schema-5jvc5tg2.js} +1 -1
- package/dist/chunks/{model-resolver-yj3e99fm.js → schema-5k3f87xj.js} +1 -1
- package/dist/chunks/{model-resolver-haqbnmr5.js → schema-5mx1jh8x.js} +4 -4
- package/dist/chunks/{model-resolver-2gqx3cqb.js → schema-5zy72947.js} +12 -12
- package/dist/chunks/{model-resolver-rmgpg45v.js → schema-64zzwykz.js} +24 -24
- package/dist/chunks/{model-resolver-g869pf5g.js → schema-65ryvrbe.js} +8 -8
- package/dist/chunks/{model-resolver-04nrqb8q.js → schema-6h0kvyt4.js} +22 -22
- package/dist/chunks/{model-resolver-smnvvzmt.js → schema-6xwg1kq2.js} +14 -14
- package/dist/chunks/{model-resolver-1nfczbs6.js → schema-6zh5h8yb.js} +27 -27
- package/dist/chunks/{model-resolver-gsfshahz.js → schema-6zrja0ad.js} +15 -15
- package/dist/chunks/{model-resolver-711hfp6y.js → schema-711hfp6y.js} +2 -2
- package/dist/chunks/{model-resolver-72nftnjy.js → schema-72nftnjy.js} +2 -2
- package/dist/chunks/{model-resolver-q5pkwzxb.js → schema-73cq2v9r.js} +15 -15
- package/dist/chunks/{model-resolver-45c840ky.js → schema-7b8dx9px.js} +46 -46
- package/dist/chunks/{model-resolver-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-k22h4khz.js → schema-7d1ywxdq.js} +15 -15
- package/dist/chunks/{model-resolver-rfwpvx00.js → schema-7rncntgt.js} +41 -41
- package/dist/chunks/{model-resolver-0q56w8vj.js → schema-80h6nh5b.js} +13 -13
- package/dist/chunks/{model-resolver-qs4avvkb.js → schema-86s3977f.js} +1 -1
- package/dist/chunks/{model-resolver-gt3w77ph.js → schema-87rnt7vh.js} +23 -23
- package/dist/chunks/{model-resolver-ds7ysbcx.js → schema-8zpfkjy1.js} +45 -45
- package/dist/chunks/{model-resolver-jtb47g3a.js → schema-90m4gm2m.js} +11 -11
- package/dist/chunks/{model-resolver-93a8yfjt.js → schema-93a8yfjt.js} +2 -2
- package/dist/chunks/{model-resolver-f2t11rgb.js → schema-93cf1794.js} +20 -20
- package/dist/chunks/schema-961yp6je.js +247 -0
- package/dist/chunks/{model-resolver-97f5v037.js → schema-97f5v037.js} +1 -1
- package/dist/chunks/{model-resolver-hgwc40d2.js → schema-9d0vwzx2.js} +22 -22
- package/dist/chunks/{model-resolver-tbhhj5cs.js → schema-9d7a9gfd.js} +13 -13
- package/dist/chunks/{model-resolver-8vfmqbrd.js → schema-9djsb1x8.js} +26 -26
- package/dist/chunks/{model-resolver-1mvksd4s.js → schema-9efw28vt.js} +4 -4
- package/dist/chunks/{model-resolver-xft3xkxh.js → schema-9mqrsjz0.js} +7 -7
- package/dist/chunks/{model-resolver-9qm9egsn.js → schema-9qm9egsn.js} +2 -2
- package/dist/chunks/{model-resolver-hm42kar1.js → schema-9tphn1nx.js} +12 -12
- package/dist/chunks/{model-resolver-7fjq4tnf.js → schema-9wjcq4df.js} +20 -20
- package/dist/chunks/{model-resolver-z9pdm7mn.js → schema-a0szb7e4.js} +43 -43
- package/dist/chunks/{model-resolver-agpxhpem.js → schema-a844yy6x.js} +46 -46
- package/dist/chunks/{model-resolver-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-dhmh7aw6.js → schema-afdssyjb.js} +4 -4
- package/dist/chunks/{model-resolver-gfbnzf5x.js → schema-agx3smr6.js} +20 -20
- package/dist/chunks/{model-resolver-2pgk7vty.js → schema-ahxzhcff.js} +2 -2
- package/dist/chunks/{model-resolver-ajtjthsy.js → schema-ajtjthsy.js} +2 -2
- package/dist/chunks/{model-resolver-29vm76e6.js → schema-am18byef.js} +26 -26
- package/dist/chunks/{model-resolver-3mrm2hwf.js → schema-asb6ptdj.js} +4 -4
- package/dist/chunks/{model-resolver-n9whx688.js → schema-aw66b4d6.js} +3 -3
- package/dist/chunks/schema-b5q5y4vk.js +4 -0
- package/dist/chunks/{model-resolver-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-b9wsbatv.js → schema-b9wsbatv.js} +1 -1
- package/dist/chunks/{model-resolver-85mg7hhh.js → schema-bb44473r.js} +29 -29
- package/dist/chunks/{model-resolver-fy6n5twb.js → schema-bcv0c355.js} +4 -4
- package/dist/chunks/{model-resolver-ymmafesq.js → schema-bdc940rx.js} +5 -5
- package/dist/chunks/{model-resolver-8bcbmssv.js → schema-be2wa24j.js} +9 -9
- package/dist/chunks/{model-resolver-tcfdn8aw.js → schema-bewj0jz1.js} +27 -27
- package/dist/chunks/{model-resolver-smjktvs8.js → schema-bj23jw33.js} +6 -6
- package/dist/chunks/{model-resolver-g1qbfqak.js → schema-bjah300a.js} +89 -89
- package/dist/chunks/{model-resolver-bphmvjfp.js → schema-bsvvsrn1.js} +5 -5
- package/dist/chunks/{model-resolver-vn39pvqa.js → schema-c2wempx8.js} +33 -33
- package/dist/chunks/{model-resolver-c05z1hzq.js → schema-c4tn7jrr.js} +7 -7
- package/dist/chunks/{model-resolver-cvvv77jg.js → schema-ckw34yqz.js} +25 -25
- package/dist/chunks/{model-resolver-wkm999c9.js → schema-cmw5d376.js} +16 -16
- package/dist/chunks/{model-resolver-d72308c8.js → schema-d72308c8.js} +2 -2
- package/dist/chunks/{model-resolver-25g0a3wm.js → schema-d7xgky4f.js} +34 -34
- package/dist/chunks/{model-resolver-a75v1xyy.js → schema-dajxm5h5.js} +11 -11
- package/dist/chunks/{model-resolver-5mhvc9ws.js → schema-dezmnm3g.js} +6 -6
- package/dist/chunks/{model-resolver-0qr0cjqp.js → schema-dgmxpyc7.js} +35 -35
- package/dist/chunks/{model-resolver-dkbgd4kx.js → schema-dm7yrpwm.js} +5 -5
- package/dist/chunks/{model-resolver-amhrny11.js → schema-dq7298b6.js} +14 -14
- package/dist/chunks/{model-resolver-768z0hjh.js → schema-e5b0qn1c.js} +1 -1
- package/dist/chunks/{model-resolver-3b41mhr3.js → schema-e676a0th.js} +11 -11
- package/dist/chunks/{model-resolver-zf2pwqth.js → schema-e7bn8q6v.js} +8 -8
- package/dist/chunks/{model-resolver-x5da3ets.js → schema-e9099wq5.js} +13 -13
- package/dist/chunks/{model-resolver-rd9dg6mx.js → schema-egcppv5e.js} +11 -11
- package/dist/chunks/{model-resolver-6yj45qfn.js → schema-ehpz93s6.js} +4 -4
- package/dist/chunks/{model-resolver-z8jfykz0.js → schema-em6aehv4.js} +12 -12
- package/dist/chunks/{model-resolver-pyj5p63s.js → schema-emhpd4sz.js} +12 -12
- package/dist/chunks/{model-resolver-cp47cn18.js → schema-ezapnas2.js} +31 -31
- package/dist/chunks/{model-resolver-1ydgq2r4.js → schema-f0v448q8.js} +5 -5
- package/dist/chunks/{model-resolver-6bktjyyc.js → schema-f4v2r7ec.js} +15 -15
- package/dist/chunks/{model-resolver-qqmc633y.js → schema-f8nrn9y4.js} +11 -11
- package/dist/chunks/{model-resolver-wnhc2w01.js → schema-fc4enxm7.js} +29 -29
- package/dist/chunks/{model-resolver-2k8khapm.js → schema-fcrkznn8.js} +5 -5
- package/dist/chunks/{model-resolver-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-fxypknc8.js → schema-fxypknc8.js} +1 -1
- package/dist/chunks/{model-resolver-d9hq9bdj.js → schema-fztp1wx9.js} +9 -9
- package/dist/chunks/{model-resolver-d1a1bt21.js → schema-g41n1fn3.js} +5 -5
- package/dist/chunks/{model-resolver-daj0k9by.js → schema-g7bszxvd.js} +39 -39
- package/dist/chunks/{model-resolver-52z9exmq.js → schema-gamrqs60.js} +41 -41
- package/dist/chunks/{model-resolver-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-0ancwgef.js → schema-gvsnbjhz.js} +5 -5
- package/dist/chunks/{model-resolver-6926ty5t.js → schema-h58xcwpy.js} +8 -8
- package/dist/chunks/{model-resolver-z3h7hm3n.js → schema-h6h1436v.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-9cnab95r.js → schema-h9wz0788.js} +21 -21
- package/dist/chunks/{model-resolver-xaspcyx5.js → schema-hd4qf47t.js} +159 -159
- package/dist/chunks/{model-resolver-hdfh4kmr.js → schema-hdt077bk.js} +9 -9
- package/dist/chunks/{model-resolver-heyhwy2w.js → schema-heyhwy2w.js} +1 -1
- package/dist/chunks/{model-resolver-2m5rhxa5.js → schema-hgbw4ehz.js} +6 -6
- package/dist/chunks/{model-resolver-8arm59qw.js → schema-hhnn4c8b.js} +26 -26
- package/dist/chunks/{model-resolver-ka1d01ec.js → schema-hjrjbgez.js} +5 -5
- package/dist/chunks/{model-resolver-nhy5jxhy.js → schema-hjt4xg1x.js} +4 -4
- package/dist/chunks/{model-resolver-nv1jjwpd.js → schema-hr77wr0b.js} +4 -4
- package/dist/chunks/{model-resolver-hrvm11jt.js → schema-hrvm11jt.js} +3 -3
- package/dist/chunks/{model-resolver-kvsjn1dr.js → schema-hw4pv20g.js} +2 -2
- package/dist/chunks/{model-resolver-56293sgk.js → schema-j4c6y7xz.js} +7 -7
- package/dist/chunks/{model-resolver-bc3eevve.js → schema-j871vxfc.js} +13 -13
- package/dist/chunks/{model-resolver-eg4pr325.js → schema-jasnfvjs.js} +10 -10
- package/dist/chunks/{model-resolver-h4ka1g8b.js → schema-jb2p1s8w.js} +58 -58
- package/dist/chunks/{model-resolver-0xvppt2q.js → schema-je3yzz2v.js} +17 -17
- package/dist/chunks/{model-resolver-ebpav8ht.js → schema-jqjtaz5x.js} +32 -32
- package/dist/chunks/{model-resolver-c76spgvt.js → schema-js8gy4m8.js} +6 -6
- package/dist/chunks/{model-resolver-n52wrphd.js → schema-jspp3pq5.js} +20 -20
- package/dist/chunks/{model-resolver-vqebmn7g.js → schema-k19yg70y.js} +18 -18
- package/dist/chunks/{model-resolver-k4bwy1x5.js → schema-k4bwy1x5.js} +1 -1
- package/dist/chunks/{model-resolver-6atxajng.js → schema-k85a8qr7.js} +83 -83
- package/dist/chunks/{model-resolver-yzxcxw3p.js → schema-kapgq2fk.js} +11 -11
- package/dist/chunks/{model-resolver-kg06axw8.js → schema-kg06axw8.js} +1 -1
- package/dist/chunks/schema-kjmp7mkn.js +22 -0
- package/dist/chunks/{model-resolver-yfbd16n1.js → schema-kk3rr3qh.js} +5 -5
- package/dist/chunks/{model-resolver-mrca8mn9.js → schema-kqh0jhv7.js} +16 -16
- package/dist/chunks/{model-resolver-ybnqsmq7.js → schema-m0ca63zf.js} +11 -11
- package/dist/chunks/{model-resolver-8rk7xmhz.js → schema-m0w27dsq.js} +12 -12
- package/dist/chunks/{model-resolver-16hj88rm.js → schema-m3w37zzb.js} +25 -25
- package/dist/chunks/{model-resolver-34rgtrgw.js → schema-m4z6zt1h.js} +8 -8
- package/dist/chunks/{model-resolver-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-ypg1pkf2.js → schema-mb3vb89x.js} +8 -8
- package/dist/chunks/{model-resolver-2w6bfmvf.js → schema-mcxg6pmm.js} +1 -1
- package/dist/chunks/{model-resolver-tkb4f2r7.js → schema-mdjcfwcf.js} +15 -15
- package/dist/chunks/{model-resolver-mvfsc1pv.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{model-resolver-w991kqb0.js → schema-mkq4xp6j.js} +14 -14
- package/dist/chunks/{model-resolver-t35vvjm0.js → schema-mmk8z8vw.js} +14 -14
- package/dist/chunks/{model-resolver-5qdzg6f9.js → schema-msqd9fka.js} +15 -15
- package/dist/chunks/{model-resolver-n0qm516r.js → schema-n6n197mn.js} +5 -5
- package/dist/chunks/{model-resolver-jjv4cws2.js → schema-n6yd8jz8.js} +7 -7
- package/dist/chunks/{model-resolver-xf29bhrb.js → schema-n8fetsyk.js} +28 -28
- package/dist/chunks/{model-resolver-pbk0bgfv.js → schema-nd2v0w3y.js} +2 -2
- package/dist/chunks/{model-resolver-whrpd8wj.js → schema-nrfbs8zx.js} +3 -3
- package/dist/chunks/{model-resolver-4hdyv2zw.js → schema-nrsmc0cn.js} +9 -9
- package/dist/chunks/{model-resolver-trt9khgc.js → schema-nzvt3fe2.js} +21 -21
- package/dist/chunks/{model-resolver-3cz2rdwz.js → schema-p0h7e0yr.js} +11 -11
- package/dist/chunks/{model-resolver-pmt5dx08.js → schema-p234zevy.js} +54 -54
- package/dist/chunks/{model-resolver-r67ewn20.js → schema-p6j5rthq.js} +8 -8
- package/dist/chunks/{model-resolver-8b66w0av.js → schema-p6k3nzjq.js} +29 -29
- package/dist/chunks/{model-resolver-pae9v2p1.js → schema-pae9v2p1.js} +1 -1
- package/dist/chunks/{model-resolver-j935v87r.js → schema-paphc93g.js} +2 -2
- package/dist/chunks/{model-resolver-gpvbfbv1.js → schema-pgwnkrgp.js} +21 -21
- package/dist/chunks/{model-resolver-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-1bwaarmf.js → schema-pv06p42z.js} +2 -2
- package/dist/chunks/{model-resolver-6eq76p0n.js → schema-q31jhj7h.js} +9 -9
- package/dist/chunks/{model-resolver-15pjntb5.js → schema-qfnhs0ay.js} +10 -10
- package/dist/chunks/{model-resolver-p3a8ybaq.js → schema-qgpvk72g.js} +5 -5
- package/dist/chunks/{model-resolver-vr2m7p38.js → schema-qrs68m7n.js} +22 -22
- package/dist/chunks/{model-resolver-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-qvpg2584.js → schema-qt162p81.js} +7 -7
- package/dist/chunks/{model-resolver-wr9ysm64.js → schema-qwb6v2g5.js} +13 -13
- package/dist/chunks/{model-resolver-gww66jkq.js → schema-r5rd45ey.js} +22 -22
- package/dist/chunks/{model-resolver-qq0tkz6q.js → schema-r6xmjf87.js} +3 -3
- package/dist/chunks/{model-resolver-r8dhm0tv.js → schema-r8dhm0tv.js} +1 -1
- package/dist/chunks/{model-resolver-r8xr0va3.js → schema-r8xr0va3.js} +1 -1
- package/dist/chunks/{model-resolver-1wj6fe6f.js → schema-rd9hzhgp.js} +35 -35
- package/dist/chunks/{model-resolver-sjdwkfxd.js → schema-re10kf0s.js} +32 -32
- package/dist/chunks/{model-resolver-fepbnb8j.js → schema-rmm45jmv.js} +5 -5
- package/dist/chunks/{model-resolver-xd1gj6jr.js → schema-rrfj1sgp.js} +9 -9
- package/dist/chunks/{model-resolver-h8f15ghy.js → schema-rt5n18n0.js} +33 -33
- package/dist/chunks/{model-resolver-yvnsnb9v.js → schema-rtjpxz0x.js} +22 -22
- package/dist/chunks/{model-resolver-d44mvk5w.js → schema-s28f0v1e.js} +6 -6
- package/dist/chunks/{model-resolver-3g3bkchr.js → schema-s2x6mz9s.js} +4 -4
- package/dist/chunks/{model-resolver-pt7wq7x0.js → schema-s3eqpch7.js} +1 -1
- package/dist/chunks/{model-resolver-sba4qhjf.js → schema-sba4qhjf.js} +1 -1
- package/dist/chunks/{model-resolver-4kbdx47m.js → schema-sj2kvqyv.js} +3 -3
- package/dist/chunks/{model-resolver-mj9y1f9w.js → schema-skkjy97b.js} +25 -25
- package/dist/chunks/{model-resolver-7cm3k2ba.js → schema-sx5gpndv.js} +16 -16
- package/dist/chunks/{model-resolver-xb1yhede.js → schema-sxmdy6vf.js} +12 -12
- package/dist/chunks/{model-resolver-7x9n72sf.js → schema-t2a6e5ew.js} +13 -13
- package/dist/chunks/{model-resolver-gxc2v2ks.js → schema-t663bhz3.js} +14 -14
- package/dist/chunks/{model-resolver-f2gse5fy.js → schema-t6f921pt.js} +6 -6
- package/dist/chunks/{model-resolver-w5fe4zgf.js → schema-t8v72xqj.js} +16 -16
- package/dist/chunks/{model-resolver-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/schema-tdp3srjd.js +460 -0
- package/dist/chunks/{model-resolver-jrr570aw.js → schema-tgfk7sdg.js} +9 -9
- package/dist/chunks/{model-resolver-tjykrgmx.js → schema-tjykrgmx.js} +1 -1
- package/dist/chunks/{model-resolver-jpwcqcav.js → schema-tk66q7qw.js} +1 -1
- package/dist/chunks/{model-resolver-wcav6c40.js → schema-v0mbc4ay.js} +13 -13
- package/dist/chunks/{model-resolver-pzkjnmpb.js → schema-v48vyps0.js} +11 -11
- package/dist/chunks/{model-resolver-fm2qvscf.js → schema-v5dkyp31.js} +4 -4
- package/dist/chunks/{model-resolver-tppvcy65.js → schema-v60ecprk.js} +7 -7
- package/dist/chunks/{model-resolver-57smdxt4.js → schema-v66dqm9c.js} +20 -20
- package/dist/chunks/{model-resolver-mh7ehz1v.js → schema-veeef9vx.js} +23 -23
- package/dist/chunks/{model-resolver-w7krw9hh.js → schema-vg7tvm5c.js} +10 -10
- package/dist/chunks/{model-resolver-t044qcb6.js → schema-vhtv5nbw.js} +5 -5
- package/dist/chunks/{model-resolver-jq2p7hez.js → schema-vy1vc40s.js} +26 -26
- package/dist/chunks/{model-resolver-kwfjfb3x.js → schema-w0tfa8j9.js} +32 -32
- package/dist/chunks/{model-resolver-wgt7v56c.js → schema-w0w53vng.js} +19 -19
- package/dist/chunks/{model-resolver-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-dd6t7n6p.js → schema-w4t3ack1.js} +10 -10
- package/dist/chunks/{model-resolver-ye01600q.js → schema-w4trmh71.js} +20 -20
- package/dist/chunks/{model-resolver-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-sb2pm13j.js → schema-wjngnjtk.js} +30 -30
- package/dist/chunks/{model-resolver-xjfjd024.js → schema-wm2krekn.js} +20 -20
- package/dist/chunks/{model-resolver-a9c7wcwq.js → schema-wv7fyv62.js} +12 -12
- package/dist/chunks/{model-resolver-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-1zsnv1c7.js → schema-x4m3pksr.js} +11 -11
- package/dist/chunks/{model-resolver-t6yc1zyn.js → schema-xdrkt8m2.js} +9 -9
- package/dist/chunks/{model-resolver-7wxchhek.js → schema-xh9ptvna.js} +29 -29
- package/dist/chunks/{model-resolver-wfwqxwhj.js → schema-xqrwg3rf.js} +9 -9
- package/dist/chunks/{model-resolver-jnmmvqjs.js → schema-xqsy6kp0.js} +1 -1
- package/dist/chunks/{model-resolver-xr5vwsd4.js → schema-xr5vwsd4.js} +2 -2
- package/dist/chunks/{model-resolver-vhpw989j.js → schema-xy04q38t.js} +12 -12
- package/dist/chunks/{model-resolver-y86ghdgz.js → schema-y18qbtn0.js} +3 -3
- package/dist/chunks/{model-resolver-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-0xd2d7hb.js → schema-y4nzzd5t.js} +5 -5
- package/dist/chunks/{model-resolver-1rm0drdm.js → schema-y6nt3k22.js} +2 -2
- package/dist/chunks/{model-resolver-y71avatq.js → schema-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-fzs22wv3.js → schema-yjf09y7w.js} +8 -8
- package/dist/chunks/{model-resolver-bta0rsxr.js → schema-yv168y4t.js} +3 -3
- package/dist/chunks/{model-resolver-0bhzd4d6.js → schema-yvgzfjz2.js} +37 -37
- package/dist/chunks/{model-resolver-z1k01bn4.js → schema-z1k01bn4.js} +2 -2
- package/dist/chunks/{model-resolver-6rb05nrd.js → schema-z26gprdf.js} +9 -9
- package/dist/chunks/{model-resolver-pk1prh3n.js → schema-z5bqgj44.js} +11 -11
- package/dist/chunks/{model-resolver-29x78va6.js → schema-z63w68vq.js} +6 -6
- package/dist/chunks/{model-resolver-xgb46x83.js → schema-z7ghswzh.js} +32 -32
- package/dist/chunks/{model-resolver-9z09jxjk.js → schema-zfqme3r2.js} +8 -8
- package/dist/chunks/{model-resolver-q5kb97vr.js → schema-zmjd9hv4.js} +14 -14
- package/dist/chunks/{model-resolver-zajwd6at.js → schema-zn2pq4p8.js} +5 -5
- package/dist/chunks/{model-resolver-2ejk6t2t.js → schema-zs90bmkf.js} +17 -17
- package/dist/chunks/{model-resolver-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +117 -117
- package/dist/config/plugin/command.js +208 -208
- 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 +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +75 -75
- 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 +72 -72
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +91 -91
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +92 -92
- 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 +7 -7
- 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 +79 -79
- 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 +130 -130
- 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 +78 -78
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +119 -119
- 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 +2 -2
- 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 +98 -98
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +1 -1
- 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 +115 -115
- 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 +117 -117
- 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 +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +336 -336
- package/dist/plugin/update.js +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- 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 +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +128 -128
- 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 +218 -218
- 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 +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- 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 +1 -1
- 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 +4 -4
- package/dist/session/runner/step.js +120 -120
- 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 +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +214 -214
- 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 +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +98 -98
- package/dist/snapshot.js +86 -86
- 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 +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- 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 +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- 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 +5 -5
- package/dist/worktree/refresh.js +337 -337
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- 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-w3vb4krt.js +0 -4
- /package/dist/chunks/{model-resolver-0fabt78z.js → schema-0fabt78z.js} +0 -0
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t738kvx.js → schema-3t738kvx.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-41nvscxy.js → schema-41nvscxy.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-982e01ww.js → schema-982e01ww.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a1tpkmh4.js → schema-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mntxs535.js → schema-mntxs535.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-p8qxwesx.js → schema-p8qxwesx.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-se0s1eqw.js → schema-se0s1eqw.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x1b8g1yb.js → schema-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → schema-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-resolver-zbjnn3ac.js → schema-zbjnn3ac.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-sj2kvqyv.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node62
|
|
12
|
+
} from "./schema-js8gy4m8.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID7,
|
|
25
|
+
Info: () => Info20,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service56,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured11,
|
|
30
|
+
node: () => node61
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode-ai/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID7 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info20 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID7,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info25 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID7,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service56 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service56,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node62]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info20({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service56.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID7.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node61 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID7, Info20, NotFound3, CreateConflict2, Service56, configured11, node61, exports_workspace };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info16,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info16 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info24 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info16, exports_provider2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make15(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-97f5v037.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-mntxs535.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-hrvm11jt.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-r8dhm0tv.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9qm9egsn.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service75
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-be2wa24j.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
DiffError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-w4trmh71.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/vcs/git.ts
|
|
19
19
|
var exports_git = {};
|
|
20
20
|
__export(exports_git, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin5,
|
|
22
22
|
VcsGitPlugin: () => exports_git
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
25
25
|
import { Effect } from "effect";
|
|
26
26
|
import { ChildProcess } from "effect/unstable/process";
|
|
27
27
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
28
|
-
var
|
|
28
|
+
var Plugin5 = define({
|
|
29
29
|
id: "opencode.vcs.git",
|
|
30
30
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
31
31
|
const location = yield* Service75;
|
|
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
467
467
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
468
468
|
});
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { Plugin5, exports_git };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service75,
|
|
3
3
|
node80
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-be2wa24j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service29
|
|
7
|
+
} from "./schema-4v7qdvcn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service20,
|
|
10
|
+
node24
|
|
11
|
+
} from "./schema-rd9hzhgp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node17
|
|
14
|
+
} from "./schema-93cf1794.js";
|
|
15
15
|
import {
|
|
16
16
|
node3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-21cmn8kp.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
@@ -29,8 +29,8 @@ import { Effect, Layer } from "effect";
|
|
|
29
29
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
31
|
const location = yield* Service75;
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
32
|
+
const plugins = yield* Service29;
|
|
33
|
+
const worktrees = yield* Service20;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
@@ -38,7 +38,7 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
38
38
|
var node2 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node24, node80, node17, node3]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
export { node2, exports_refresh };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service77,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node82
|
|
23
23
|
});
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service77 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service77.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var
|
|
428
|
+
var node82 = makeGlobalNode({ service: Service77, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service77, node82, exports_git3 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-sj2kvqyv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./schema-9tphn1nx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node65
|
|
12
|
+
} from "./schema-bj23jw33.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-p8qxwesx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./schema-yvgzfjz2.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-be2wa24j.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service62,
|
|
26
|
+
node67
|
|
27
|
+
} from "./schema-yjf09y7w.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-982e01ww.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError8
|
|
33
|
+
} from "./schema-nrsmc0cn.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./schema-mntxs535.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service58
|
|
39
|
+
} from "./schema-afdssyjb.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service65,
|
|
42
|
+
node70
|
|
43
|
+
} from "./schema-cmw5d376.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service59,
|
|
48
|
+
node64,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./schema-0zwrqksf.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service57,
|
|
53
|
+
node63
|
|
54
|
+
} from "./schema-g7bszxvd.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node29
|
|
57
|
+
} from "./schema-4m2jed3x.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./schema-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service24,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node28
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service24 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service76;
|
|
92
|
+
const locations = yield* Service62;
|
|
93
|
+
const store = yield* Service65;
|
|
94
|
+
const execution = yield* Service57;
|
|
95
|
+
const instances = yield* Service60;
|
|
96
|
+
const admission = yield* Service59;
|
|
97
97
|
const database = yield* Service80;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service78;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError8({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service58.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service24.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node28 = makeGlobalNode({
|
|
167
|
+
service: Service24,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node81,
|
|
173
|
+
node67,
|
|
174
|
+
node70,
|
|
175
|
+
node63,
|
|
176
|
+
node65,
|
|
177
|
+
node64,
|
|
178
178
|
node85,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node83,
|
|
180
|
+
node29
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service24, node28, exports_move };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-k4bwy1x5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node84
|
|
7
|
+
} from "./schema-vg7tvm5c.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-982e01ww.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-r6xmjf87.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service68,
|
|
23
|
+
make: () => make21,
|
|
24
|
+
node: () => node73
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service68 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
|
|
|
77
77
|
next.set(sessionID, count - 1);
|
|
78
78
|
return next;
|
|
79
79
|
}
|
|
80
|
-
var
|
|
81
|
-
const kv = yield*
|
|
80
|
+
var make21 = Effect.gen(function* () {
|
|
81
|
+
const kv = yield* Service79;
|
|
82
82
|
const state = {
|
|
83
83
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
84
84
|
scope: yield* Scope.Scope
|
|
@@ -307,7 +307,7 @@ var make19 = Effect.gen(function* () {
|
|
|
307
307
|
return recovered;
|
|
308
308
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
309
309
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
310
|
-
return
|
|
310
|
+
return Service68.of({
|
|
311
311
|
get,
|
|
312
312
|
start,
|
|
313
313
|
wait,
|
|
@@ -319,7 +319,7 @@ var make19 = Effect.gen(function* () {
|
|
|
319
319
|
completeBackground
|
|
320
320
|
});
|
|
321
321
|
});
|
|
322
|
-
var layer = Layer.effect(
|
|
323
|
-
var
|
|
322
|
+
var layer = Layer.effect(Service68, make21);
|
|
323
|
+
var node73 = makeGlobalNode({ service: Service68, layer, deps: [node84] });
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { Service68, make21, node73, exports_job };
|