@opencode/core 0.0.0-dev-19274 → 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 +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +81 -81
- package/dist/chunks/{file-vypqtakx.js → file-mutation-00mqm9kf.js} +1 -1
- package/dist/chunks/{file-7xdgscg1.js → file-mutation-06jyfgyp.js} +15 -15
- package/dist/chunks/{file-anvxjef4.js → file-mutation-06z9ykg9.js} +4 -4
- package/dist/chunks/{file-q73rq2bt.js → file-mutation-0dvs85g7.js} +30 -30
- package/dist/chunks/{file-1q5awywt.js → file-mutation-0gapa1rm.js} +5 -5
- package/dist/chunks/{file-1dfhrqqs.js → file-mutation-0hpxrkyb.js} +5 -5
- package/dist/chunks/file-mutation-0mesazry.js +4 -0
- package/dist/chunks/{file-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-4qfh6hxk.js → file-mutation-0rkmensh.js} +27 -27
- package/dist/chunks/{file-25kqvm6v.js → file-mutation-0wyskpwe.js} +18 -18
- package/dist/chunks/{file-xbrgdg50.js → file-mutation-0zraj51v.js} +15 -15
- package/dist/chunks/{file-aw3yg1a6.js → file-mutation-10thcfkt.js} +11 -11
- package/dist/chunks/{file-2tv38tk1.js → file-mutation-16c289jz.js} +11 -11
- package/dist/chunks/{file-f2n192rq.js → file-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-bkqrvamq.js → file-mutation-1c43r3nd.js} +32 -32
- package/dist/chunks/{file-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-wkpvzz54.js → file-mutation-1gxa8pvp.js} +9 -9
- package/dist/chunks/{file-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/file-mutation-222skj7k.js +22 -0
- package/dist/chunks/{file-2402vzrj.js → file-mutation-2402vzrj.js} +1 -1
- package/dist/chunks/{file-d8drewm4.js → file-mutation-247w7exe.js} +28 -28
- package/dist/chunks/{file-y7egkzp6.js → file-mutation-25j8zc8k.js} +15 -15
- package/dist/chunks/{file-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-exww9xwg.js → file-mutation-2d2egxgf.js} +6 -6
- package/dist/chunks/{file-dv250zvr.js → file-mutation-2f04pwep.js} +3 -3
- package/dist/chunks/{file-ttqfmzkf.js → file-mutation-2g1m3br9.js} +4 -4
- package/dist/chunks/{file-shsgghb2.js → file-mutation-2gz38ge4.js} +26 -26
- package/dist/chunks/{file-wcge806m.js → file-mutation-2tfmgkzg.js} +4 -4
- package/dist/chunks/{file-6c7ejz51.js → file-mutation-2xjj231b.js} +2 -2
- package/dist/chunks/{file-bdbwpwhn.js → file-mutation-2y7rw762.js} +20 -20
- package/dist/chunks/{file-y5cw24ds.js → file-mutation-3104awdf.js} +14 -14
- package/dist/chunks/{file-vr4b7vmt.js → file-mutation-35v8zpsc.js} +10 -10
- package/dist/chunks/{file-wea26x67.js → file-mutation-367cq7nk.js} +4 -4
- package/dist/chunks/{file-1xzdp18p.js → file-mutation-39d2pp1w.js} +36 -36
- package/dist/chunks/{file-2bdsn8gv.js → file-mutation-3atm5pec.js} +11 -11
- package/dist/chunks/{file-hzvfpvak.js → file-mutation-3az26vt0.js} +4 -4
- package/dist/chunks/{file-gdvy8fx6.js → file-mutation-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-wwegy27d.js → file-mutation-3fz5m4fk.js} +32 -32
- package/dist/chunks/{file-vvxeqa35.js → file-mutation-3g8y8pv7.js} +141 -141
- package/dist/chunks/{file-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-sq4v2gnf.js → file-mutation-3r6p895e.js} +9 -9
- package/dist/chunks/{file-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-a1d2hteq.js → file-mutation-3xgyx5eq.js} +11 -11
- package/dist/chunks/{file-h2gyv3sg.js → file-mutation-4066mr2m.js} +1 -1
- package/dist/chunks/{file-7be1f342.js → file-mutation-42f597f5.js} +18 -18
- package/dist/chunks/{file-c6jw9d6c.js → file-mutation-42sfbp1j.js} +20 -20
- package/dist/chunks/{file-dvmnmd5k.js → file-mutation-48dbrct6.js} +50 -50
- package/dist/chunks/{file-swasttjx.js → file-mutation-4a9jveby.js} +13 -13
- package/dist/chunks/{file-a2zsx8ap.js → file-mutation-4qwq4s91.js} +22 -22
- package/dist/chunks/{file-wfpsx1me.js → file-mutation-4xhhjths.js} +8 -8
- package/dist/chunks/{file-1ndzzahp.js → file-mutation-4zsgf4s5.js} +3 -3
- package/dist/chunks/{file-rq8fnevv.js → file-mutation-51p8cq1d.js} +5 -5
- package/dist/chunks/{file-qrbavdvc.js → file-mutation-5937bz6q.js} +15 -15
- package/dist/chunks/{file-h2wxq9m6.js → file-mutation-5br4wbzw.js} +31 -31
- package/dist/chunks/{file-5c4hm403.js → file-mutation-5c4hm403.js} +3 -3
- package/dist/chunks/{file-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{file-pq4st5kv.js → file-mutation-5gadzevc.js} +2 -2
- package/dist/chunks/{file-cny5rd43.js → file-mutation-5hk4b2g6.js} +8 -8
- package/dist/chunks/{file-1s5k653j.js → file-mutation-5jrddqs7.js} +29 -29
- package/dist/chunks/{file-endpbns8.js → file-mutation-5n93a29p.js} +6 -6
- package/dist/chunks/{file-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-eex81ar0.js → file-mutation-60258f1x.js} +32 -32
- package/dist/chunks/{file-zx86nq6m.js → file-mutation-606feepv.js} +13 -13
- package/dist/chunks/{file-4g3hne3q.js → file-mutation-60kyphxy.js} +18 -18
- package/dist/chunks/{file-669tq793.js → file-mutation-669tq793.js} +1 -1
- package/dist/chunks/{file-w85wdfaw.js → file-mutation-6bjqtyfe.js} +19 -19
- package/dist/chunks/{file-rkh7tb58.js → file-mutation-6cmsf6vb.js} +13 -13
- package/dist/chunks/{file-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-94sf61n7.js → file-mutation-6q1wcpsb.js} +11 -11
- package/dist/chunks/{file-j8sknp13.js → file-mutation-6sv6dpsj.js} +20 -20
- package/dist/chunks/{file-71q4at8m.js → file-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{file-nx4935gj.js → file-mutation-72tn9ghv.js} +10 -10
- package/dist/chunks/{file-vabb23s0.js → file-mutation-79r1wrqa.js} +1 -1
- package/dist/chunks/{file-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-3c1tgrea.js → file-mutation-7bnzk546.js} +6 -6
- package/dist/chunks/{file-81pg61w1.js → file-mutation-7h5kkf6d.js} +8 -8
- package/dist/chunks/{file-t3g2ccp6.js → file-mutation-7p10x1xf.js} +28 -28
- package/dist/chunks/{file-pjedbq3k.js → file-mutation-7w3s9kd0.js} +4 -4
- package/dist/chunks/{file-y2800yn9.js → file-mutation-7xb7fmfe.js} +4 -4
- package/dist/chunks/{file-67e9xs01.js → file-mutation-7y01f8qv.js} +25 -25
- package/dist/chunks/{file-mq2071pb.js → file-mutation-7yae232w.js} +19 -19
- package/dist/chunks/{file-qz49fwgp.js → file-mutation-7yqjxrmz.js} +4 -4
- package/dist/chunks/file-mutation-8133rf48.js +462 -0
- package/dist/chunks/{file-81swgkk7.js → file-mutation-81swgkk7.js} +2 -2
- package/dist/chunks/{file-em6n8dz9.js → file-mutation-836726zz.js} +46 -46
- package/dist/chunks/{file-hznfad64.js → file-mutation-8cta7abr.js} +27 -27
- package/dist/chunks/{file-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-knac466s.js → file-mutation-8dh3d31y.js} +23 -23
- package/dist/chunks/{file-9phvn7ns.js → file-mutation-8drta6s7.js} +3 -3
- package/dist/chunks/{file-1xb0henf.js → file-mutation-8ebjx6fe.js} +42 -42
- package/dist/chunks/{file-b4n85fcv.js → file-mutation-8ghb20vc.js} +32 -32
- package/dist/chunks/{file-sxhqw0xy.js → file-mutation-8j6q4g8w.js} +37 -37
- package/dist/chunks/{file-0djf8xh9.js → file-mutation-8jbc784w.js} +3 -3
- package/dist/chunks/{file-ra8xed55.js → file-mutation-8qyd7cwr.js} +29 -29
- package/dist/chunks/{file-bby00dsd.js → file-mutation-8sghyhzw.js} +8 -8
- package/dist/chunks/{file-j5e99w94.js → file-mutation-92gnze2z.js} +22 -22
- package/dist/chunks/{file-2f1k6btd.js → file-mutation-94akxnqj.js} +23 -23
- package/dist/chunks/{file-s2tycd90.js → file-mutation-9jpw5dy7.js} +23 -23
- package/dist/chunks/{file-3m095h8d.js → file-mutation-9mc8gqcg.js} +16 -16
- package/dist/chunks/{file-bge4fr1z.js → file-mutation-9rd8ck05.js} +21 -21
- package/dist/chunks/file-mutation-9sh4wc5j.js +18 -0
- package/dist/chunks/{file-2nhrma10.js → file-mutation-a1pyxhvt.js} +8 -8
- package/dist/chunks/{file-zv0544jz.js → file-mutation-a2ew8a62.js} +4 -4
- package/dist/chunks/{file-yckky8df.js → file-mutation-a3nznhzv.js} +8 -8
- package/dist/chunks/{file-7sgb7w3n.js → file-mutation-a3x7agn0.js} +10 -10
- package/dist/chunks/{file-008dah4r.js → file-mutation-a8rhcpbw.js} +46 -46
- package/dist/chunks/{file-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{file-3cz8rj72.js → file-mutation-af04s6ss.js} +5 -5
- package/dist/chunks/{file-ne3jdqry.js → file-mutation-axp4ehpq.js} +6 -6
- package/dist/chunks/file-mutation-b48n75y5.js +247 -0
- package/dist/chunks/{file-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-s4m5whm3.js → file-mutation-bb3vk36n.js} +42 -42
- package/dist/chunks/{file-vg6tfdkt.js → file-mutation-bn9crtcs.js} +15 -15
- package/dist/chunks/{file-b4nrwvyj.js → file-mutation-bpestkwk.js} +18 -18
- package/dist/chunks/{file-9k2v62xn.js → file-mutation-c3kepfq8.js} +1 -1
- package/dist/chunks/{file-jrrn2k62.js → file-mutation-cjsb4aez.js} +4 -4
- package/dist/chunks/{file-79175vp8.js → file-mutation-cnev1v43.js} +35 -35
- package/dist/chunks/{file-51kk6f2e.js → file-mutation-cts2bt7k.js} +15 -15
- package/dist/chunks/{file-ab8td0yc.js → file-mutation-d8w89wm7.js} +47 -47
- package/dist/chunks/{file-y0kn4hqx.js → file-mutation-da1r5k86.js} +6 -6
- package/dist/chunks/{file-esdnemd6.js → file-mutation-dcj77ap2.js} +1 -1
- package/dist/chunks/{file-kbqxyd6c.js → file-mutation-dfjp71nt.js} +13 -13
- package/dist/chunks/{file-dj2t23y0.js → file-mutation-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-8tef8d4h.js → file-mutation-dmkr9q0x.js} +41 -41
- package/dist/chunks/{file-qf00j6dv.js → file-mutation-dmvjy0zd.js} +20 -20
- package/dist/chunks/{file-dpkg50ah.js → file-mutation-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-ya1b4y87.js → file-mutation-dpkj867d.js} +24 -24
- package/dist/chunks/{file-q26tgv94.js → file-mutation-dv1qgsyq.js} +8 -8
- package/dist/chunks/{file-2qz021p1.js → file-mutation-dv81esc2.js} +25 -25
- package/dist/chunks/{file-ec2j1krk.js → file-mutation-dw27n1fr.js} +36 -36
- package/dist/chunks/{file-rhjbct0v.js → file-mutation-eaj1djv9.js} +8 -8
- package/dist/chunks/{file-mvfjcd1q.js → file-mutation-eg73htfk.js} +10 -10
- package/dist/chunks/{file-2k29q1p2.js → file-mutation-ehc12fd7.js} +61 -61
- package/dist/chunks/{file-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-4w7x8wv5.js → file-mutation-ex1n32br.js} +33 -33
- package/dist/chunks/{file-0rvyveqe.js → file-mutation-ext9pkk2.js} +20 -20
- package/dist/chunks/{file-6kgc56n8.js → file-mutation-ezt9sm97.js} +6 -6
- package/dist/chunks/{file-58ax6zm2.js → file-mutation-f8714f1t.js} +12 -12
- package/dist/chunks/{file-n5qmychr.js → file-mutation-fabdmt4z.js} +21 -21
- package/dist/chunks/{file-7dqw4kz8.js → file-mutation-fcrkznn8.js} +5 -5
- package/dist/chunks/{file-tk6q6kp1.js → file-mutation-ftbctthd.js} +19 -19
- package/dist/chunks/{file-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-pjsmk15p.js → file-mutation-fxp7jvj2.js} +18 -18
- package/dist/chunks/{file-3wj4wm80.js → file-mutation-g38wjbjk.js} +83 -83
- package/dist/chunks/{file-nrzk1d2g.js → file-mutation-g52xpjny.js} +22 -22
- package/dist/chunks/{file-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-t0x5rdq8.js → file-mutation-gfqzzqy5.js} +9 -9
- package/dist/chunks/{file-th5km1p3.js → file-mutation-gv6a8nnw.js} +5 -5
- package/dist/chunks/{file-bdkz1q2y.js → file-mutation-gx7t6n5h.js} +6 -6
- package/dist/chunks/{file-h03wrkyp.js → file-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-hdnk95c8.js → file-mutation-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-2nck4hg8.js → file-mutation-hh3rdgg0.js} +13 -13
- package/dist/chunks/{file-y0bkwhrp.js → file-mutation-hjqx3p8t.js} +20 -20
- package/dist/chunks/{file-e82z9tr0.js → file-mutation-hjt4xg1x.js} +7 -7
- package/dist/chunks/{file-w645sbyz.js → file-mutation-hmdpr2b6.js} +17 -17
- package/dist/chunks/{file-2j4ksk9q.js → file-mutation-hrd90x2a.js} +14 -14
- package/dist/chunks/{file-nz54bs3w.js → file-mutation-hxjrekng.js} +25 -25
- package/dist/chunks/{file-yca9gk6f.js → file-mutation-hyb8y3ys.js} +19 -19
- package/dist/chunks/{file-5vvax2qg.js → file-mutation-j1tv1ftq.js} +23 -23
- package/dist/chunks/{file-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{file-gsx0ryk4.js → file-mutation-jjs74g98.js} +9 -9
- package/dist/chunks/{file-t1n4dhg9.js → file-mutation-jxd5bzpm.js} +9 -9
- package/dist/chunks/{file-wdatz8ry.js → file-mutation-jy4hnskt.js} +19 -19
- package/dist/chunks/{file-1q2nd9f6.js → file-mutation-jyyxenps.js} +62 -62
- package/dist/chunks/{file-axmvebxj.js → file-mutation-k2h4r4s0.js} +21 -21
- package/dist/chunks/{file-dsf3jx99.js → file-mutation-k7d0894y.js} +9 -9
- package/dist/chunks/{file-kggrcpgh.js → file-mutation-ke6fm163.js} +11 -11
- package/dist/chunks/{file-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{file-3trbxeqx.js → file-mutation-kmv022h3.js} +1 -1
- package/dist/chunks/{file-06x8he3q.js → file-mutation-kne8f3cn.js} +4 -4
- package/dist/chunks/{file-enk99f8n.js → file-mutation-kw005k4s.js} +14 -14
- package/dist/chunks/{file-m0jqrx5p.js → file-mutation-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-tegrjk77.js → file-mutation-m6yajhq8.js} +11 -11
- package/dist/chunks/{file-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-4hszn1mb.js → file-mutation-mejqjgjf.js} +29 -29
- package/dist/chunks/{file-1ygqh575.js → file-mutation-mfqp6xfm.js} +6 -6
- package/dist/chunks/{file-n3wgj171.js → file-mutation-mg72ab2k.js} +27 -27
- package/dist/chunks/{file-mhkvc446.js → file-mutation-mhkvc446.js} +1 -1
- package/dist/chunks/{file-mkcjrzeh.js → file-mutation-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-e9vyr379.js → file-mutation-mn56vmxg.js} +9 -9
- package/dist/chunks/{file-n37c4crj.js → file-mutation-n37c4crj.js} +2 -2
- package/dist/chunks/{file-9bey2zpa.js → file-mutation-n3ehebhz.js} +12 -12
- package/dist/chunks/{file-4vf981v9.js → file-mutation-nf9faws4.js} +20 -20
- package/dist/chunks/{file-jqcc8e1d.js → file-mutation-njwpmmd3.js} +12 -12
- package/dist/chunks/{file-cz12sndv.js → file-mutation-nkz4n0yd.js} +14 -14
- package/dist/chunks/{file-5vc2whd9.js → file-mutation-nkzsta8f.js} +32 -32
- package/dist/chunks/{file-xcp573p8.js → file-mutation-np31jw2q.js} +2 -2
- package/dist/chunks/{file-6fdj6kdr.js → file-mutation-p28nmw69.js} +4 -4
- package/dist/chunks/{file-vjknh09n.js → file-mutation-p2xftarf.js} +67 -67
- package/dist/chunks/{file-dw8dc0pw.js → file-mutation-p39afa95.js} +11 -11
- package/dist/chunks/{file-4znd88gj.js → file-mutation-p5needny.js} +32 -32
- package/dist/chunks/{file-v4b36nj3.js → file-mutation-p72z5xx6.js} +2 -2
- package/dist/chunks/{file-csf2jhsg.js → file-mutation-paegk39x.js} +4 -4
- package/dist/chunks/{file-j935v87r.js → file-mutation-paphc93g.js} +2 -2
- package/dist/chunks/{file-t5qb37t7.js → file-mutation-pazvw4y1.js} +10 -10
- package/dist/chunks/{file-h5pnkca0.js → file-mutation-pb9tbqa1.js} +37 -37
- package/dist/chunks/{file-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{file-xed1dtdk.js → file-mutation-ptzhgr5h.js} +8 -8
- package/dist/chunks/{file-pzh16mkn.js → file-mutation-pzh16mkn.js} +2 -2
- package/dist/chunks/{file-t9sxjxdg.js → file-mutation-q1a91n7k.js} +8 -8
- package/dist/chunks/{file-w6w0btqv.js → file-mutation-q2n4r9w0.js} +6 -6
- package/dist/chunks/{file-8gbf9msb.js → file-mutation-q6btqjeq.js} +24 -24
- package/dist/chunks/{file-3x6z6rsx.js → file-mutation-qcavarx3.js} +15 -15
- package/dist/chunks/{file-mrw4weg4.js → file-mutation-qcfsefxz.js} +5 -5
- package/dist/chunks/{file-hw2gt29t.js → file-mutation-qe9w01wa.js} +16 -16
- package/dist/chunks/{file-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{file-8gkhtxwv.js → file-mutation-qtc2be4y.js} +26 -26
- package/dist/chunks/{file-m2shdzh0.js → file-mutation-qvpva3ng.js} +35 -35
- package/dist/chunks/{file-s0vw0vjm.js → file-mutation-qzdhe1zn.js} +26 -26
- package/dist/chunks/{file-2erbc7c4.js → file-mutation-r8kbebh4.js} +9 -9
- package/dist/chunks/{file-jbax583q.js → file-mutation-r907z5k8.js} +1 -1
- package/dist/chunks/{file-7atngb88.js → file-mutation-r98e92ep.js} +4 -4
- package/dist/chunks/{file-s52qk724.js → file-mutation-rctxm0qc.js} +27 -27
- package/dist/chunks/{file-2bk70kd1.js → file-mutation-rqkamac7.js} +13 -13
- package/dist/chunks/{file-x513e6jx.js → file-mutation-rsq2zz8k.js} +20 -20
- package/dist/chunks/{file-rs226bz6.js → file-mutation-rz0qknjf.js} +5 -5
- package/dist/chunks/{file-0rpg7gzc.js → file-mutation-s0hza5ac.js} +4 -4
- package/dist/chunks/{file-3nj27wxf.js → file-mutation-s28tf7nw.js} +10 -10
- package/dist/chunks/{file-04bp4d3m.js → file-mutation-s2jbkb1q.js} +11 -11
- package/dist/chunks/{file-79zsnxkc.js → file-mutation-s8bq04yk.js} +11 -11
- package/dist/chunks/{file-hmtfd8e7.js → file-mutation-smky3vmn.js} +11 -11
- package/dist/chunks/{file-82594dam.js → file-mutation-sp6dvf2v.js} +9 -9
- package/dist/chunks/{file-976ysedg.js → file-mutation-spm6zjyx.js} +15 -15
- package/dist/chunks/{file-84tssp1s.js → file-mutation-t69nnh3p.js} +8 -8
- package/dist/chunks/{file-kd3m4z14.js → file-mutation-t8dsf4y4.js} +26 -26
- package/dist/chunks/{file-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-5965tgm9.js → file-mutation-tcyfzrxp.js} +30 -30
- package/dist/chunks/{file-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{file-kt5w8vxh.js → file-mutation-tdz9b6vr.js} +10 -10
- package/dist/chunks/{file-w59r8svm.js → file-mutation-tdzs1sts.js} +17 -17
- package/dist/chunks/{file-z3syage6.js → file-mutation-tjz4jb0t.js} +23 -23
- package/dist/chunks/{file-gdrhyezn.js → file-mutation-tn0aqsam.js} +5 -5
- package/dist/chunks/{file-rt7tcdqd.js → file-mutation-tn6wbc2f.js} +35 -35
- package/dist/chunks/{file-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{file-9eqtwdne.js → file-mutation-tyjqv9hn.js} +91 -91
- package/dist/chunks/{file-2cws46q3.js → file-mutation-vbqfnkw5.js} +11 -11
- package/dist/chunks/{file-vyrr568v.js → file-mutation-veksjtca.js} +9 -9
- package/dist/chunks/{file-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{file-bjpmp57t.js → file-mutation-vhyew4fq.js} +16 -16
- package/dist/chunks/{file-vmq7ehpy.js → file-mutation-vmq7ehpy.js} +2 -2
- package/dist/chunks/{file-8ncz7km3.js → file-mutation-vvzkhv7j.js} +5 -5
- package/dist/chunks/{file-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-3jp54z3r.js → file-mutation-w79zsp0s.js} +1 -1
- package/dist/chunks/{file-1ajj2c3r.js → file-mutation-wbvqtf6x.js} +36 -36
- package/dist/chunks/{file-axh6m6j7.js → file-mutation-wcwgv12t.js} +22 -22
- package/dist/chunks/{file-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{file-0ea3rya4.js → file-mutation-whxd3enn.js} +7 -7
- package/dist/chunks/{file-w44msefy.js → file-mutation-wnmx9wgd.js} +14 -14
- package/dist/chunks/{file-agg557zn.js → file-mutation-wz87yraf.js} +11 -11
- package/dist/chunks/{file-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-x43y2vfs.js → file-mutation-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-c7m8954m.js → file-mutation-x4nm51dm.js} +5 -5
- package/dist/chunks/{file-5xhpatkf.js → file-mutation-xb2ts2qy.js} +9 -9
- package/dist/chunks/{file-g9ew5f51.js → file-mutation-xckwjtqa.js} +5 -5
- package/dist/chunks/{file-z9s268w6.js → file-mutation-xgggc9mx.js} +7 -7
- package/dist/chunks/{file-8bpbp254.js → file-mutation-xjy62hxy.js} +44 -44
- package/dist/chunks/{file-w5yv7xxz.js → file-mutation-xx4rmm3g.js} +3 -3
- package/dist/chunks/{file-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-jqcaya3d.js → file-mutation-y29mgp2t.js} +11 -11
- package/dist/chunks/{file-arm49q9k.js → file-mutation-y3btstjn.js} +35 -35
- package/dist/chunks/{file-csyt93pz.js → file-mutation-y6gtn0j7.js} +8 -8
- package/dist/chunks/{file-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-7g79e5pr.js → file-mutation-yrrr1c1d.js} +11 -11
- package/dist/chunks/{file-s4enseaf.js → file-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{file-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-4x6ztkk5.js → file-mutation-z1rj0apg.js} +4 -4
- package/dist/chunks/{file-29x78va6.js → file-mutation-z63w68vq.js} +6 -6
- package/dist/chunks/{file-fq1h1v14.js → file-mutation-z7xj2rat.js} +3 -3
- package/dist/chunks/{file-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-jypsjmxy.js → file-mutation-zfq492nr.js} +15 -15
- package/dist/chunks/{file-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-cp5f26bt.js → file-mutation-zsxc4c9d.js} +24 -24
- package/dist/chunks/{file-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-c9kt1fwd.js → file-mutation-zy5vpaje.js} +6 -6
- package/dist/chunks/{file-d0chnedg.js → file-mutation-zz8a5fkg.js} +41 -41
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- 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 +117 -117
- package/dist/config/plugin/command.js +209 -209
- 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 +115 -115
- 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 +97 -97
- package/dist/config/plugin/skill.js +136 -136
- 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 +115 -115
- 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 +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 +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 +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-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 +220 -220
- 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 +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- 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 +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- 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 +80 -80
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- 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 +97 -97
- package/dist/mcp/instructions.js +118 -118
- 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 +84 -84
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- 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 +99 -99
- package/dist/plugin/command.js +96 -96
- 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 +4 -4
- 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 +80 -80
- 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 +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- 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 +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 +123 -123
- 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 +124 -124
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- 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 +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +98 -98
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- 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 +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- 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 +13 -13
- 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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +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 +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 +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/file-2nz9k5ke.js +0 -247
- package/dist/chunks/file-4v7qdvcn.js +0 -18
- package/dist/chunks/file-h5wzpkcb.js +0 -22
- package/dist/chunks/file-rsz0a70p.js +0 -462
- package/dist/chunks/file-xrsqh21y.js +0 -4
- /package/dist/chunks/{file-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → file-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a1tpkmh4.js → file-mutation-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → file-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./file-
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./file-mutation-qe9w01wa.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./file-
|
|
7
|
+
} from "./file-mutation-7yae232w.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./file-sk3qaz4a.js";
|
|
10
|
+
} from "./file-mutation-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./file-9rqn6x4v.js";
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Options: () => Options6,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service38,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured6,
|
|
25
|
+
layer: () => layer17,
|
|
26
|
+
node: () => node42
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options6 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service38 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service38, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service77;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service38.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer17 = makeLayer();
|
|
259
|
+
var configured6 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service38,
|
|
261
|
+
layer: options === undefined ? layer17 : makeLayer(options),
|
|
262
|
+
deps: [node82, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node42 = configured6();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options6, UnavailableError3, NotFoundError4, Service38, layer17, configured6, node42, exports_persistent_pty, Handoff2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./file-6msgmcgs.js";
|
|
4
|
+
} from "./file-mutation-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./file-qfa1cgps.js";
|
|
7
|
+
} from "./file-mutation-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./file-dj2t23y0.js";
|
|
10
|
+
} from "./file-mutation-dj2t23y0.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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./file-
|
|
4
|
+
} from "./file-mutation-t69nnh3p.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./file-9rqn6x4v.js";
|
|
7
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./file-9rqn6x4v.js";
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service60,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node64
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service60 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service60, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service60.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service64, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node64 = makeGlobalNode({ service: Service60, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service60, node64, exports_environment };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./file-
|
|
2
|
+
Service50
|
|
3
|
+
} from "./file-mutation-8qyd7cwr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./file-
|
|
5
|
+
Service70
|
|
6
|
+
} from "./file-mutation-jyyxenps.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./file-
|
|
13
|
+
Service20
|
|
14
|
+
} from "./file-mutation-qtc2be4y.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./file-9rqn6x4v.js";
|
|
17
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input2,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin33,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name2
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name2 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input2 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin33 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service70;
|
|
53
|
+
const forms = yield* Service50;
|
|
54
|
+
const websearch = yield* Service20;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name2,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input2,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name2,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name2];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name2, NO_RESULTS2, description2, Input2, Plugin33, exports_websearch2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./file-5daktx2q.js";
|
|
3
|
+
} from "./file-mutation-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./file-922hggd3.js";
|
|
6
|
+
} from "./file-mutation-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./file-
|
|
10
|
+
} from "./file-mutation-t8dsf4y4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./file-9rqn6x4v.js";
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
|
|
|
57
57
|
return {
|
|
58
58
|
_tag: "Parsed",
|
|
59
59
|
skill: {
|
|
60
|
-
id:
|
|
60
|
+
id: ID5.make(id),
|
|
61
61
|
name: Name2.make(frontmatter.name ?? id),
|
|
62
62
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
63
63
|
...slash === undefined ? {} : { slash },
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./file-y8cydn3q.js";
|
|
3
|
+
} from "./file-mutation-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./file-9rqn6x4v.js";
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./file-
|
|
4
|
+
node46
|
|
5
|
+
} from "./file-mutation-wz87yraf.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./file-
|
|
9
|
+
} from "./file-mutation-paegk39x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./file-
|
|
11
|
+
Service74,
|
|
12
|
+
node79
|
|
13
|
+
} from "./file-mutation-8sghyhzw.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./file-
|
|
16
|
+
} from "./file-mutation-jyyxenps.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./file-
|
|
19
|
+
} from "./file-mutation-ke6fm163.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./file-
|
|
21
|
+
Error3
|
|
22
|
+
} from "./file-mutation-9rd8ck05.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./file-
|
|
24
|
+
Service30,
|
|
25
|
+
node34
|
|
26
|
+
} from "./file-mutation-6q1wcpsb.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./file-
|
|
28
|
+
make15
|
|
29
|
+
} from "./file-mutation-hjt4xg1x.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./file-
|
|
32
|
+
} from "./file-mutation-w79zsp0s.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./file-9rqn6x4v.js";
|
|
35
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service29,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer12,
|
|
45
|
+
node: () => node33,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
|
|
@@ -62,7 +62,7 @@ var baseTranscript2 = (input) => {
|
|
|
62
62
|
return {
|
|
63
63
|
providerMetadataKey,
|
|
64
64
|
system: [
|
|
65
|
-
input.agent.system ? input.agent.system :
|
|
65
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
66
66
|
input.initial
|
|
67
67
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
68
68
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -189,11 +189,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
|
|
|
189
189
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
190
190
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
|
|
191
191
|
|
|
192
|
-
class
|
|
192
|
+
class Service29 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
const hooks = yield*
|
|
196
|
-
const transport = yield*
|
|
194
|
+
var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
195
|
+
const hooks = yield* Service74;
|
|
196
|
+
const transport = yield* Service30;
|
|
197
197
|
const app = yield* Metadata2;
|
|
198
198
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
199
199
|
const session = input.scope.session;
|
|
@@ -201,7 +201,7 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
201
201
|
const model = resolved.model;
|
|
202
202
|
const tools = input.scope.tools ?? {
|
|
203
203
|
definitions: [],
|
|
204
|
-
execute: () => new
|
|
204
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
205
205
|
};
|
|
206
206
|
const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
|
|
207
207
|
const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
|
|
@@ -261,12 +261,12 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
261
261
|
executeTool
|
|
262
262
|
};
|
|
263
263
|
});
|
|
264
|
-
return
|
|
264
|
+
return Service29.of({ prepare });
|
|
265
265
|
}));
|
|
266
|
-
var
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
266
|
+
var node33 = makeLocationNode({
|
|
267
|
+
service: Service29,
|
|
268
|
+
layer: layer12,
|
|
269
|
+
deps: [node79, node34, node46]
|
|
270
270
|
});
|
|
271
271
|
|
|
272
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
272
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service29, layer12, node33, exports_model_request };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./file-
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./file-mutation-16c289jz.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./file-3hepkmqq.js";
|
|
7
|
+
} from "./file-mutation-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./file-9rqn6x4v.js";
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service68,
|
|
17
|
+
node: () => node73
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service68 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service78).db;
|
|
26
|
+
return Service68.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node73 = makeGlobalNode({ service: Service68, layer, deps: [node83] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service68, node73, exports_kv };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./file-
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./file-mutation-qe9w01wa.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./file-922hggd3.js";
|
|
8
|
+
} from "./file-mutation-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./file-
|
|
11
|
+
Service75,
|
|
12
|
+
node80
|
|
13
|
+
} from "./file-mutation-kw005k4s.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./file-9rqn6x4v.js";
|
|
16
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service19,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node23
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service19 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service77;
|
|
44
|
+
const location = yield* Service75;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const callContext = {
|
|
47
47
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -115,14 +115,14 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
115
115
|
const registered = events.get(name);
|
|
116
116
|
if (!registered)
|
|
117
117
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
118
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
118
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service75, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
|
-
return
|
|
123
|
+
return Service19.of({ register, call, client });
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
125
|
+
var node23 = makeLocationNode({ service: Service19, layer, deps: [node82, node80] });
|
|
126
126
|
var fields = {
|
|
127
127
|
id: Event.ID,
|
|
128
128
|
created: Schema.Finite,
|
|
@@ -207,4 +207,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
207
207
|
};
|
|
208
208
|
});
|
|
209
209
|
|
|
210
|
-
export {
|
|
210
|
+
export { Service19, node23, exports_rpc, define2 };
|