@opencode/core 0.0.0-dev-19276 → 0.0.0-dev-19277
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 +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +81 -81
- package/dist/chunks/{bus-jy16bfac.js → file-mutation-00mqm9kf.js} +1 -1
- package/dist/chunks/{bus-seggh8xt.js → file-mutation-06jyfgyp.js} +9 -9
- package/dist/chunks/{bus-348phf0m.js → file-mutation-06z9ykg9.js} +4 -4
- package/dist/chunks/{bus-7wsvn7dg.js → file-mutation-0dvs85g7.js} +27 -27
- package/dist/chunks/{bus-d1r5081s.js → file-mutation-0gapa1rm.js} +5 -5
- package/dist/chunks/{bus-0hpxrkyb.js → file-mutation-0hpxrkyb.js} +2 -2
- package/dist/chunks/file-mutation-0mesazry.js +4 -0
- package/dist/chunks/{bus-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{bus-ybbm8fej.js → file-mutation-0rkmensh.js} +27 -27
- package/dist/chunks/{bus-vgedysxv.js → file-mutation-0wyskpwe.js} +13 -13
- package/dist/chunks/{bus-h1vg8afz.js → file-mutation-0zraj51v.js} +15 -15
- package/dist/chunks/{bus-n31fqgg2.js → file-mutation-10thcfkt.js} +11 -11
- package/dist/chunks/{bus-vzna85n7.js → file-mutation-16c289jz.js} +11 -11
- package/dist/chunks/{bus-yp2x3t23.js → file-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{bus-wg7k3gk9.js → file-mutation-1c43r3nd.js} +33 -33
- package/dist/chunks/{bus-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-kzvhg9hn.js → file-mutation-1gxa8pvp.js} +9 -9
- package/dist/chunks/{bus-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{bus-578j099y.js → file-mutation-222skj7k.js} +11 -11
- package/dist/chunks/{bus-2402vzrj.js → file-mutation-2402vzrj.js} +1 -1
- package/dist/chunks/{bus-0mv9cd5d.js → file-mutation-247w7exe.js} +22 -22
- package/dist/chunks/{bus-45kmc290.js → file-mutation-25j8zc8k.js} +10 -10
- package/dist/chunks/{bus-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-weeegdkk.js → file-mutation-2d2egxgf.js} +9 -9
- package/dist/chunks/{bus-a4exdnt3.js → file-mutation-2g1m3br9.js} +4 -4
- package/dist/chunks/{bus-c0bvtzp5.js → file-mutation-2gz38ge4.js} +26 -26
- package/dist/chunks/{bus-cq37gk0t.js → file-mutation-2tfmgkzg.js} +4 -4
- package/dist/chunks/{bus-scz5mjk7.js → file-mutation-2xjj231b.js} +4 -4
- package/dist/chunks/{bus-bwer0mcv.js → file-mutation-2y7rw762.js} +24 -24
- package/dist/chunks/{bus-91ahjgzv.js → file-mutation-3104awdf.js} +11 -11
- package/dist/chunks/{bus-rp6fyjtn.js → file-mutation-35v8zpsc.js} +10 -10
- package/dist/chunks/{bus-8dt4t099.js → file-mutation-367cq7nk.js} +4 -4
- package/dist/chunks/{bus-ex1tnahw.js → file-mutation-39d2pp1w.js} +35 -35
- package/dist/chunks/{bus-h74ge2a2.js → file-mutation-3atm5pec.js} +11 -11
- package/dist/chunks/{bus-refnp3pv.js → file-mutation-3az26vt0.js} +4 -4
- package/dist/chunks/{bus-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-hzc8qab0.js → file-mutation-3fz5m4fk.js} +25 -25
- package/dist/chunks/{bus-9stazftj.js → file-mutation-3g8y8pv7.js} +131 -131
- package/dist/chunks/{bus-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-caq2c48b.js → file-mutation-3r6p895e.js} +9 -9
- package/dist/chunks/{bus-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-wk2zc65r.js → file-mutation-3xgyx5eq.js} +11 -11
- package/dist/chunks/{bus-f9bavhm2.js → file-mutation-4066mr2m.js} +1 -1
- package/dist/chunks/{bus-wc7hea4z.js → file-mutation-42f597f5.js} +18 -18
- package/dist/chunks/{bus-08c8ha06.js → file-mutation-42sfbp1j.js} +18 -18
- package/dist/chunks/{bus-6e18hcte.js → file-mutation-48dbrct6.js} +50 -50
- package/dist/chunks/{bus-x1t6vezw.js → file-mutation-4a9jveby.js} +13 -13
- package/dist/chunks/{bus-g81r2fbr.js → file-mutation-4qwq4s91.js} +16 -16
- package/dist/chunks/{bus-xbrnje9f.js → file-mutation-4xhhjths.js} +8 -8
- package/dist/chunks/{bus-k6avkgtn.js → file-mutation-4zsgf4s5.js} +3 -3
- package/dist/chunks/{bus-9pqmfa27.js → file-mutation-51p8cq1d.js} +5 -5
- package/dist/chunks/{bus-ftezeqv3.js → file-mutation-5937bz6q.js} +17 -17
- package/dist/chunks/{bus-ddexhamb.js → file-mutation-5br4wbzw.js} +31 -31
- package/dist/chunks/{bus-a1bz86dw.js → file-mutation-5c4hm403.js} +3 -3
- package/dist/chunks/{bus-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-e0prvjnp.js → file-mutation-5gadzevc.js} +2 -2
- package/dist/chunks/{bus-8t1wrec1.js → file-mutation-5hk4b2g6.js} +8 -8
- package/dist/chunks/{bus-gtgj7jsd.js → file-mutation-5jrddqs7.js} +24 -24
- package/dist/chunks/{bus-1xeq3jts.js → file-mutation-5n93a29p.js} +6 -6
- package/dist/chunks/{bus-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-rac1zgpy.js → file-mutation-60258f1x.js} +30 -30
- package/dist/chunks/{bus-btekesqw.js → file-mutation-606feepv.js} +13 -13
- package/dist/chunks/{bus-kc6sgx3t.js → file-mutation-60kyphxy.js} +18 -18
- package/dist/chunks/{bus-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{bus-mm42hkcz.js → file-mutation-6bjqtyfe.js} +21 -21
- package/dist/chunks/{bus-h8507pfw.js → file-mutation-6cmsf6vb.js} +10 -10
- package/dist/chunks/{bus-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-4xdz4snq.js → file-mutation-6q1wcpsb.js} +11 -11
- package/dist/chunks/{bus-7c9jbg9y.js → file-mutation-6sv6dpsj.js} +17 -17
- package/dist/chunks/{bus-71q4at8m.js → file-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{bus-80e0yyk8.js → file-mutation-72tn9ghv.js} +10 -10
- package/dist/chunks/{bus-5jtdmvnp.js → file-mutation-79r1wrqa.js} +1 -1
- package/dist/chunks/{bus-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-ve6nm2s5.js → file-mutation-7bnzk546.js} +6 -6
- package/dist/chunks/{bus-esngagfe.js → file-mutation-7h5kkf6d.js} +8 -8
- package/dist/chunks/{bus-8ev9m3kr.js → file-mutation-7p10x1xf.js} +25 -25
- package/dist/chunks/{bus-mjncxbbh.js → file-mutation-7w3s9kd0.js} +6 -6
- package/dist/chunks/{bus-czkgr94f.js → file-mutation-7xb7fmfe.js} +4 -4
- package/dist/chunks/{bus-65d7re2p.js → file-mutation-7y01f8qv.js} +25 -25
- package/dist/chunks/{bus-gw1k03mf.js → file-mutation-7yae232w.js} +19 -19
- package/dist/chunks/{bus-qqtwvk4z.js → file-mutation-7yqjxrmz.js} +6 -6
- package/dist/chunks/{bus-vkrb956e.js → file-mutation-8133rf48.js} +276 -276
- package/dist/chunks/{bus-81swgkk7.js → file-mutation-81swgkk7.js} +2 -2
- package/dist/chunks/{bus-qx44h9xp.js → file-mutation-836726zz.js} +34 -34
- package/dist/chunks/{bus-3pf38fxc.js → file-mutation-8cta7abr.js} +27 -27
- package/dist/chunks/{bus-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-54c6103e.js → file-mutation-8dh3d31y.js} +23 -23
- package/dist/chunks/{bus-k0k8y9a7.js → file-mutation-8drta6s7.js} +3 -3
- package/dist/chunks/{bus-zfr0a75a.js → file-mutation-8ebjx6fe.js} +44 -44
- package/dist/chunks/{bus-9d775fyf.js → file-mutation-8ghb20vc.js} +32 -32
- package/dist/chunks/{bus-a87z9vq8.js → file-mutation-8j6q4g8w.js} +37 -37
- package/dist/chunks/{bus-c5as0yvq.js → file-mutation-8jbc784w.js} +5 -5
- package/dist/chunks/{bus-wa2dac04.js → file-mutation-8qyd7cwr.js} +13 -13
- package/dist/chunks/{bus-dc76j9wz.js → file-mutation-8sghyhzw.js} +8 -8
- package/dist/chunks/{bus-q1f45d8g.js → file-mutation-92gnze2z.js} +21 -21
- package/dist/chunks/{bus-2vdmvhdx.js → file-mutation-94akxnqj.js} +32 -32
- package/dist/chunks/{bus-xp5q11x6.js → file-mutation-9jpw5dy7.js} +20 -20
- package/dist/chunks/{bus-qpes22qe.js → file-mutation-9mc8gqcg.js} +17 -17
- package/dist/chunks/{bus-byaheska.js → file-mutation-9rd8ck05.js} +14 -14
- package/dist/chunks/file-mutation-9sh4wc5j.js +18 -0
- package/dist/chunks/{bus-prcjvqfg.js → file-mutation-a1pyxhvt.js} +8 -8
- package/dist/chunks/{bus-jfqtm2ew.js → file-mutation-a2ew8a62.js} +4 -4
- package/dist/chunks/{bus-wpcdczfe.js → file-mutation-a3nznhzv.js} +8 -8
- package/dist/chunks/{bus-evtq9ncg.js → file-mutation-a3x7agn0.js} +10 -10
- package/dist/chunks/{bus-d1dwjz3j.js → file-mutation-a8rhcpbw.js} +46 -46
- package/dist/chunks/{bus-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-mtft99cd.js → file-mutation-af04s6ss.js} +5 -5
- package/dist/chunks/{bus-07770t2t.js → file-mutation-axp4ehpq.js} +6 -6
- package/dist/chunks/file-mutation-b48n75y5.js +247 -0
- package/dist/chunks/{bus-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-92j3apgd.js → file-mutation-bb3vk36n.js} +45 -45
- package/dist/chunks/{bus-zkqxbvht.js → file-mutation-bn9crtcs.js} +15 -15
- package/dist/chunks/{bus-6bs0ze1e.js → file-mutation-bpestkwk.js} +12 -12
- package/dist/chunks/{bus-v8ch97zc.js → file-mutation-c3kepfq8.js} +1 -1
- package/dist/chunks/{bus-2wyjv582.js → file-mutation-cjsb4aez.js} +4 -4
- package/dist/chunks/{bus-bzke21cp.js → file-mutation-cnev1v43.js} +35 -35
- package/dist/chunks/{bus-zcer3j7s.js → file-mutation-cts2bt7k.js} +17 -17
- package/dist/chunks/{bus-gssc8jsq.js → file-mutation-d8w89wm7.js} +35 -35
- package/dist/chunks/{bus-6akyj57t.js → file-mutation-da1r5k86.js} +9 -9
- package/dist/chunks/{bus-31dz7cp4.js → file-mutation-dcj77ap2.js} +1 -1
- package/dist/chunks/{bus-swf6f7p9.js → file-mutation-dfjp71nt.js} +13 -13
- package/dist/chunks/{bus-8p4f9s12.js → file-mutation-dj2t23y0.js} +2 -2
- package/dist/chunks/{bus-8ja0m408.js → file-mutation-dmkr9q0x.js} +40 -40
- package/dist/chunks/{bus-6amate8q.js → file-mutation-dmvjy0zd.js} +18 -18
- package/dist/chunks/{bus-y71avatq.js → file-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{bus-wdnk5teh.js → file-mutation-dpkj867d.js} +22 -22
- package/dist/chunks/{bus-844ef7ks.js → file-mutation-dv1qgsyq.js} +8 -8
- package/dist/chunks/{bus-2gv1fy3f.js → file-mutation-dv81esc2.js} +22 -22
- package/dist/chunks/{bus-3hjtj8hn.js → file-mutation-dw27n1fr.js} +36 -36
- package/dist/chunks/{bus-rhjbct0v.js → file-mutation-eaj1djv9.js} +8 -8
- package/dist/chunks/{bus-6pfbz9y2.js → file-mutation-eg73htfk.js} +10 -10
- package/dist/chunks/{bus-dtj5a7tc.js → file-mutation-ehc12fd7.js} +60 -60
- package/dist/chunks/{bus-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-zt0w0vav.js → file-mutation-ex1n32br.js} +29 -29
- package/dist/chunks/{bus-9sg3cs2t.js → file-mutation-ext9pkk2.js} +17 -17
- package/dist/chunks/{bus-03tt90jk.js → file-mutation-ezt9sm97.js} +6 -6
- package/dist/chunks/{bus-gvphacjb.js → file-mutation-f8714f1t.js} +12 -12
- package/dist/chunks/{bus-psvegz14.js → file-mutation-fabdmt4z.js} +20 -20
- package/dist/chunks/{bus-2k8khapm.js → file-mutation-fcrkznn8.js} +5 -5
- package/dist/chunks/{bus-5cn90sgv.js → file-mutation-ftbctthd.js} +22 -22
- package/dist/chunks/{bus-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-njct8jvz.js → file-mutation-fxp7jvj2.js} +13 -13
- package/dist/chunks/{bus-39aa7p7s.js → file-mutation-g38wjbjk.js} +88 -88
- package/dist/chunks/{bus-7v401y1c.js → file-mutation-g52xpjny.js} +15 -15
- package/dist/chunks/{bus-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-p1wf2k30.js → file-mutation-gfqzzqy5.js} +9 -9
- package/dist/chunks/{bus-gv6a8nnw.js → file-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{bus-0czprt7a.js → file-mutation-gx7t6n5h.js} +6 -6
- package/dist/chunks/{bus-h03wrkyp.js → file-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{bus-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-f828m53h.js → file-mutation-hdnk95c8.js} +2 -2
- package/dist/chunks/{bus-z1b1h7dj.js → file-mutation-hh3rdgg0.js} +13 -13
- package/dist/chunks/{bus-bjt4k7v3.js → file-mutation-hjqx3p8t.js} +17 -17
- package/dist/chunks/{bus-hjt4xg1x.js → file-mutation-hjt4xg1x.js} +1 -1
- package/dist/chunks/{bus-bs0x6s8g.js → file-mutation-hmdpr2b6.js} +17 -17
- package/dist/chunks/{bus-z7a0szv5.js → file-mutation-hrd90x2a.js} +14 -14
- package/dist/chunks/{bus-zpsh6c0j.js → file-mutation-hxjrekng.js} +25 -25
- package/dist/chunks/{bus-vezrvrpz.js → file-mutation-hyb8y3ys.js} +17 -17
- package/dist/chunks/{bus-vfsjdgra.js → file-mutation-j1tv1ftq.js} +23 -23
- package/dist/chunks/{bus-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-gsx0ryk4.js → file-mutation-jjs74g98.js} +9 -9
- package/dist/chunks/{bus-sma03fcp.js → file-mutation-jxd5bzpm.js} +9 -9
- package/dist/chunks/{bus-t62yyj2t.js → file-mutation-jy4hnskt.js} +19 -19
- package/dist/chunks/{bus-7wh9hy1a.js → file-mutation-jyyxenps.js} +59 -59
- package/dist/chunks/{bus-kk00bynn.js → file-mutation-k2h4r4s0.js} +21 -21
- package/dist/chunks/{bus-aj64j3za.js → file-mutation-k7d0894y.js} +9 -9
- package/dist/chunks/{bus-trt64bkt.js → file-mutation-ke6fm163.js} +7 -7
- package/dist/chunks/{bus-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{bus-qmr73083.js → file-mutation-kmv022h3.js} +1 -1
- package/dist/chunks/{bus-2vs2nh1n.js → file-mutation-kne8f3cn.js} +4 -4
- package/dist/chunks/{bus-hj7jnvhr.js → file-mutation-kw005k4s.js} +14 -14
- package/dist/chunks/{bus-cfpkc3c9.js → file-mutation-m0jqrx5p.js} +2 -2
- package/dist/chunks/{bus-a4s3bgbq.js → file-mutation-m6yajhq8.js} +13 -13
- package/dist/chunks/{bus-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-c6591jrk.js → file-mutation-mejqjgjf.js} +37 -37
- package/dist/chunks/{bus-mfqp6xfm.js → file-mutation-mfqp6xfm.js} +2 -2
- package/dist/chunks/{bus-10761f79.js → file-mutation-mg72ab2k.js} +23 -23
- package/dist/chunks/{bus-73tb2d7t.js → file-mutation-mhkvc446.js} +3 -3
- package/dist/chunks/{bus-mkcjrzeh.js → file-mutation-mkcjrzeh.js} +1 -1
- package/dist/chunks/{bus-d9q0n3sf.js → file-mutation-mn56vmxg.js} +9 -9
- package/dist/chunks/{bus-kpvyk30t.js → file-mutation-n37c4crj.js} +9 -9
- package/dist/chunks/{bus-01797ny4.js → file-mutation-n3ehebhz.js} +12 -12
- package/dist/chunks/{bus-50wkfpjr.js → file-mutation-nf9faws4.js} +20 -20
- package/dist/chunks/{bus-apg01d9p.js → file-mutation-njwpmmd3.js} +12 -12
- package/dist/chunks/{bus-14adtvh1.js → file-mutation-nkz4n0yd.js} +14 -14
- package/dist/chunks/{bus-aypcqpwv.js → file-mutation-nkzsta8f.js} +32 -32
- package/dist/chunks/{bus-d931vq23.js → file-mutation-np31jw2q.js} +2 -2
- package/dist/chunks/{bus-qr27hz8v.js → file-mutation-p28nmw69.js} +4 -4
- package/dist/chunks/{bus-5rfvnrqe.js → file-mutation-p2xftarf.js} +71 -71
- package/dist/chunks/{bus-a1bwf94s.js → file-mutation-p39afa95.js} +8 -8
- package/dist/chunks/{bus-ngtvrv33.js → file-mutation-p5needny.js} +32 -32
- package/dist/chunks/{bus-p72z5xx6.js → file-mutation-p72z5xx6.js} +2 -2
- package/dist/chunks/{bus-6p3xbzsx.js → file-mutation-paegk39x.js} +4 -4
- package/dist/chunks/{bus-j935v87r.js → file-mutation-paphc93g.js} +2 -2
- package/dist/chunks/{bus-8ga2rbrz.js → file-mutation-pazvw4y1.js} +10 -10
- package/dist/chunks/{bus-wh639w33.js → file-mutation-pb9tbqa1.js} +37 -37
- package/dist/chunks/{bus-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{bus-0j044k52.js → file-mutation-ptzhgr5h.js} +8 -8
- package/dist/chunks/{bus-pzh16mkn.js → file-mutation-pzh16mkn.js} +2 -2
- package/dist/chunks/{bus-q1a91n7k.js → file-mutation-q1a91n7k.js} +2 -2
- package/dist/chunks/{bus-wnpr5qws.js → file-mutation-q2n4r9w0.js} +6 -6
- package/dist/chunks/{bus-1st7a56d.js → file-mutation-q6btqjeq.js} +24 -24
- package/dist/chunks/{bus-j24nh5aa.js → file-mutation-qcavarx3.js} +12 -12
- package/dist/chunks/{bus-1ah30sey.js → file-mutation-qcfsefxz.js} +5 -5
- package/dist/chunks/{bus-yywfy67y.js → file-mutation-qe9w01wa.js} +16 -16
- package/dist/chunks/{bus-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-wvzfgg4c.js → file-mutation-qtc2be4y.js} +19 -19
- package/dist/chunks/{bus-3b5bkbaw.js → file-mutation-qvpva3ng.js} +33 -33
- package/dist/chunks/{bus-v2ejn755.js → file-mutation-qzdhe1zn.js} +28 -28
- package/dist/chunks/{bus-h2gxeskk.js → file-mutation-r8kbebh4.js} +9 -9
- package/dist/chunks/{bus-76w1t1yj.js → file-mutation-r907z5k8.js} +1 -1
- package/dist/chunks/{bus-3j8sdtpz.js → file-mutation-r98e92ep.js} +4 -4
- package/dist/chunks/{bus-d8ksp3m6.js → file-mutation-rctxm0qc.js} +25 -25
- package/dist/chunks/{bus-nd285e9w.js → file-mutation-rqkamac7.js} +13 -13
- package/dist/chunks/{bus-e010nfwn.js → file-mutation-rsq2zz8k.js} +17 -17
- package/dist/chunks/{bus-sv9bpgvh.js → file-mutation-rz0qknjf.js} +5 -5
- package/dist/chunks/{bus-zj09a0ew.js → file-mutation-s0hza5ac.js} +4 -4
- package/dist/chunks/{bus-wh60pg5s.js → file-mutation-s28tf7nw.js} +8 -8
- package/dist/chunks/{bus-p287w59f.js → file-mutation-s2jbkb1q.js} +3 -3
- package/dist/chunks/{bus-jhtev1kt.js → file-mutation-s8bq04yk.js} +11 -11
- package/dist/chunks/{bus-t2g8y53t.js → file-mutation-smky3vmn.js} +11 -11
- package/dist/chunks/{bus-zn3tg85k.js → file-mutation-sp6dvf2v.js} +9 -9
- package/dist/chunks/{bus-kr6jnmgs.js → file-mutation-spm6zjyx.js} +15 -15
- package/dist/chunks/{bus-2d6j2h4j.js → file-mutation-t69nnh3p.js} +8 -8
- package/dist/chunks/{bus-s38pncdy.js → file-mutation-t8dsf4y4.js} +24 -24
- package/dist/chunks/{bus-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-fzhn4ra8.js → file-mutation-tcyfzrxp.js} +30 -30
- package/dist/chunks/{bus-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{bus-8pngxq2x.js → file-mutation-tdz9b6vr.js} +3 -3
- package/dist/chunks/{bus-5dcvxp1d.js → file-mutation-tdzs1sts.js} +22 -22
- package/dist/chunks/{bus-ty14kxfn.js → file-mutation-tjz4jb0t.js} +23 -23
- package/dist/chunks/{bus-2f0bjgcj.js → file-mutation-tn0aqsam.js} +5 -5
- package/dist/chunks/{bus-t1bk1a1z.js → file-mutation-tn6wbc2f.js} +35 -35
- package/dist/chunks/{bus-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-1rsjtwsx.js → file-mutation-tyjqv9hn.js} +83 -83
- package/dist/chunks/{bus-z8xaha1g.js → file-mutation-vbqfnkw5.js} +14 -14
- package/dist/chunks/{bus-ek27wd5s.js → file-mutation-veksjtca.js} +9 -9
- package/dist/chunks/{bus-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-3fathxbm.js → file-mutation-vhyew4fq.js} +13 -13
- package/dist/chunks/{bus-vmq7ehpy.js → file-mutation-vmq7ehpy.js} +2 -2
- package/dist/chunks/{bus-j3ewftxc.js → file-mutation-vvzkhv7j.js} +7 -7
- package/dist/chunks/{bus-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-kjcr15p7.js → file-mutation-w79zsp0s.js} +1 -1
- package/dist/chunks/{bus-1vqcz3hm.js → file-mutation-wbvqtf6x.js} +30 -30
- package/dist/chunks/{bus-dg9v98ve.js → file-mutation-wcwgv12t.js} +22 -22
- package/dist/chunks/{bus-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{bus-678ce1rn.js → file-mutation-whxd3enn.js} +7 -7
- package/dist/chunks/{bus-qrqp7107.js → file-mutation-wnmx9wgd.js} +14 -14
- package/dist/chunks/{bus-xg3sah7k.js → file-mutation-wz87yraf.js} +10 -10
- package/dist/chunks/{bus-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-x43y2vfs.js → file-mutation-x43y2vfs.js} +2 -2
- package/dist/chunks/{bus-t2zw4ehs.js → file-mutation-x4nm51dm.js} +5 -5
- package/dist/chunks/{bus-9ge5qtph.js → file-mutation-xb2ts2qy.js} +11 -11
- package/dist/chunks/{bus-e07fh9p3.js → file-mutation-xckwjtqa.js} +2 -2
- package/dist/chunks/{bus-xfpdx5t3.js → file-mutation-xgggc9mx.js} +7 -7
- package/dist/chunks/{bus-23t95pj9.js → file-mutation-xjy62hxy.js} +42 -42
- package/dist/chunks/{bus-jgy4w7ep.js → file-mutation-xx4rmm3g.js} +6 -6
- package/dist/chunks/{bus-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-pb7ssnfd.js → file-mutation-y29mgp2t.js} +11 -11
- package/dist/chunks/{bus-y4m39d6z.js → file-mutation-y3btstjn.js} +45 -45
- package/dist/chunks/{bus-kt9yxkkw.js → file-mutation-y6gtn0j7.js} +8 -8
- package/dist/chunks/{bus-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-4d5vyrnh.js → file-mutation-yrrr1c1d.js} +11 -11
- package/dist/chunks/{bus-s4enseaf.js → file-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{bus-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-vwwyt62p.js → file-mutation-z1rj0apg.js} +4 -4
- package/dist/chunks/{bus-29x78va6.js → file-mutation-z63w68vq.js} +6 -6
- package/dist/chunks/{bus-18cztcj7.js → file-mutation-z7xj2rat.js} +3 -3
- package/dist/chunks/{bus-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-1a592kp3.js → file-mutation-zfq492nr.js} +13 -13
- package/dist/chunks/{bus-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-x122gxrn.js → file-mutation-zsxc4c9d.js} +24 -24
- package/dist/chunks/{bus-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{bus-151sq2qz.js → file-mutation-zy5vpaje.js} +6 -6
- package/dist/chunks/{bus-cw1ehra3.js → file-mutation-zz8a5fkg.js} +41 -41
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- 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 +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- 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 +124 -124
- 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 +97 -97
- package/dist/config/plugin/skill.js +132 -132
- 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 +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 +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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-access.js +99 -99
- 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 +222 -222
- 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 +11 -11
- package/dist/filesystem.js +96 -96
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +85 -85
- 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 +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +78 -78
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +120 -120
- 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 +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- 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/digitalocean.js +79 -79
- 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 +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 +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- 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 +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +7 -7
- 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 +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +82 -82
- 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 +129 -129
- package/dist/session/context.js +147 -147
- 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 +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- 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 +225 -225
- 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 +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +102 -102
- package/dist/skill.js +103 -103
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- 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 +9 -9
- 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 +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 +2 -2
- 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 +76 -76
- 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 +74 -74
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/bus-05zf2dx1.js +0 -247
- package/dist/chunks/bus-0kwcw7fy.js +0 -4
- package/dist/chunks/bus-by5v678g.js +0 -18
- /package/dist/chunks/{bus-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-2f04pwep.js → file-mutation-2f04pwep.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → file-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a1tpkmh4.js → file-mutation-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-hrnqkpcd.js → file-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./file-mutation-16c289jz.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info28,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service72,
|
|
21
|
+
node: () => node77
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info28 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service72 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service78).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID14.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service72.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node77 = makeGlobalNode({ service: Service72, layer, deps: [node83] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID14, Info28, ListInput5, AddInput2, Service72, node77, exports_saved };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./bus-vzna85n7.js";
|
|
5
|
-
import {
|
|
6
|
-
reserveSequence2,
|
|
7
2
|
Service78,
|
|
8
3
|
node83
|
|
9
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-16c289jz.js";
|
|
5
|
+
import {
|
|
6
|
+
reserveSequence2,
|
|
7
|
+
Service77,
|
|
8
|
+
node82
|
|
9
|
+
} from "./file-mutation-qe9w01wa.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-0hpxrkyb.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-dj2t23y0.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-5c4hm403.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-mutation-2gz38ge4.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./file-mutation-2tfmgkzg.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./file-mutation-42sfbp1j.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./file-mutation-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node36
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -275,8 +275,8 @@ function projectIdle(db, event) {
|
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
277
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
278
|
-
const bus = yield*
|
|
279
|
-
const db = (yield*
|
|
278
|
+
const bus = yield* Service77;
|
|
279
|
+
const db = (yield* Service78).db;
|
|
280
280
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
281
281
|
const stored = yield* db.insert(SessionTable2).values({
|
|
282
282
|
id: event.data.sessionID,
|
|
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
455
455
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
456
456
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
457
457
|
}));
|
|
458
|
-
var
|
|
458
|
+
var node36 = makeGlobalNode({ name: "session-projector", layer, deps: [node82, node83] });
|
|
459
459
|
|
|
460
|
-
export { SessionAlreadyProjected2,
|
|
460
|
+
export { SessionAlreadyProjected2, node36, exports_projector };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node5, bound2, exports_instance2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service80,
|
|
6
|
-
node85
|
|
7
|
-
} from "./bus-vzna85n7.js";
|
|
3
|
+
} from "./file-mutation-922hggd3.js";
|
|
8
4
|
import {
|
|
9
5
|
Service78,
|
|
10
6
|
node83
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-16c289jz.js";
|
|
8
|
+
import {
|
|
9
|
+
Service77,
|
|
10
|
+
node82
|
|
11
|
+
} from "./file-mutation-qe9w01wa.js";
|
|
12
12
|
import {
|
|
13
13
|
Service79,
|
|
14
14
|
node84
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-tdz9b6vr.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-81swgkk7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-mutation-dj2t23y0.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-m0jqrx5p.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service76,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node81,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service76 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,12 +94,12 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const git = yield* Service79;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const db = (yield*
|
|
101
|
+
const bus = yield* Service77;
|
|
102
|
+
const db = (yield* Service78).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
105
105
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service76.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node81 = makeGlobalNode({
|
|
277
|
+
service: Service76,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node82, node83, FSUtil.node, node84, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2,
|
|
282
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service76, node81, exports_project };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./file-mutation-kw005k4s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service65
|
|
11
|
+
} from "./file-mutation-zsxc4c9d.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./file-mutation-spm6zjyx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service58,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-hh3rdgg0.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./file-mutation-jyyxenps.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service69,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-42f597f5.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-mutation-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output7,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin42,
|
|
42
|
+
name: () => name10,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name10 = "patch";
|
|
89
|
+
var Input10 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output7 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin42 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service65;
|
|
112
|
+
const access = yield* Service69;
|
|
113
|
+
const fileMutation = yield* Service58;
|
|
114
|
+
const formatter = yield* Service14;
|
|
115
|
+
const location = yield* Service75;
|
|
116
|
+
const permission = yield* Service70;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input10,
|
|
122
|
+
output: Output7,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin34 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name10, Input10, Applied2, Output7, toModelContent5, Plugin42, exports_patch };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key4 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key4
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-72tn9ghv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./file-mutation-8ebjx6fe.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-vvzkhv7j.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service62;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
catalog.model.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID10.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make5();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make5, OllamaPlugin2 };
|