@opencode/core 0.0.0-dev-20180 → 0.0.0-dev-20183
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{git-tjaz3ert.js → app-04mwcks8.js} +16 -16
- package/dist/chunks/{git-baaqp4zd.js → app-06x8he3q.js} +4 -4
- package/dist/chunks/{git-qzx88zny.js → app-07m27n2f.js} +31 -31
- package/dist/chunks/{git-ny5pcte9.js → app-0bncb0zr.js} +154 -154
- package/dist/chunks/{git-e252jyjm.js → app-0k7rzmkv.js} +26 -26
- package/dist/chunks/app-0mesazry.js +4 -0
- package/dist/chunks/{git-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-gng5hxs7.js → app-0t3s8gwj.js} +12 -12
- package/dist/chunks/{git-z97943y0.js → app-0y8j0jwb.js} +32 -32
- package/dist/chunks/{git-ynctgny0.js → app-0zs2jmpx.js} +38 -38
- package/dist/chunks/{git-1a08kc09.js → app-17j7xjjx.js} +19 -19
- package/dist/chunks/{git-49w8mb30.js → app-17j9h1rv.js} +8 -8
- package/dist/chunks/{git-73tb2d7t.js → app-1bbkgx8g.js} +3 -3
- package/dist/chunks/{git-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-ss0awb04.js → app-1tq060df.js} +4 -4
- package/dist/chunks/{git-1m9mvz04.js → app-1wapx8hq.js} +14 -14
- package/dist/chunks/{git-q35enfgt.js → app-21qee8pd.js} +3 -3
- package/dist/chunks/{git-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{git-29x78va6.js → app-29x78va6.js} +2 -2
- package/dist/chunks/{git-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-c0ze6azg.js → app-2ewsd7dz.js} +15 -15
- package/dist/chunks/{git-5m30x6et.js → app-2krf6z0f.js} +17 -17
- package/dist/chunks/{git-2w73900m.js → app-2q7knkvv.js} +50 -50
- package/dist/chunks/{git-0v6jwyy3.js → app-2rqb0n2e.js} +18 -18
- package/dist/chunks/{git-vkg4cfmh.js → app-2sfcmm48.js} +13 -13
- package/dist/chunks/{git-gppf410q.js → app-30dn86p1.js} +21 -21
- package/dist/chunks/{git-pnqe9gv0.js → app-37mwd34b.js} +1 -1
- package/dist/chunks/{git-369htbx8.js → app-381tf59s.js} +18 -18
- package/dist/chunks/{git-vq9f2bt3.js → app-3bwzg9n3.js} +88 -88
- package/dist/chunks/{git-62600c50.js → app-3cc30kq4.js} +15 -15
- package/dist/chunks/{git-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-an7cqtb7.js → app-3j8sdtpz.js} +4 -4
- package/dist/chunks/{git-gs4tkc79.js → app-3ms0g86c.js} +8 -8
- package/dist/chunks/{git-666kj367.js → app-3rmaeae4.js} +3 -3
- package/dist/chunks/{git-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-3zsf4n22.js → app-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-xf3b7ak0.js → app-41wzkj33.js} +12 -12
- package/dist/chunks/{git-860rnwef.js → app-4bjnnp4e.js} +15 -15
- package/dist/chunks/{git-kpk8zhaq.js → app-4gvbb2mg.js} +32 -32
- package/dist/chunks/{git-jmarqnvm.js → app-4nmwwe2n.js} +11 -11
- package/dist/chunks/{git-may19ace.js → app-4s9c1cby.js} +36 -36
- package/dist/chunks/{git-8x95hpt8.js → app-4w6pnabk.js} +54 -54
- package/dist/chunks/{git-xh2n1tx9.js → app-4y1a8kv7.js} +38 -38
- package/dist/chunks/{git-56gdpj1q.js → app-56gdpj1q.js} +2 -2
- package/dist/chunks/{git-57ez7d0k.js → app-57ez7d0k.js} +2 -2
- package/dist/chunks/{git-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{git-bkynabhq.js → app-5ha5de5a.js} +36 -36
- package/dist/chunks/{git-n19t397f.js → app-5kr47n8m.js} +17 -17
- package/dist/chunks/{git-swp2mva0.js → app-5n4zza11.js} +31 -31
- package/dist/chunks/{git-e66q86e2.js → app-5nr495b5.js} +41 -41
- package/dist/chunks/{git-60at6cp5.js → app-5qtwg0c9.js} +21 -21
- package/dist/chunks/{git-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-n1ka8r9d.js → app-5xpznt2d.js} +4 -4
- package/dist/chunks/{git-wtwjc2y3.js → app-60z9p1zw.js} +22 -22
- package/dist/chunks/{git-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{git-4xxchepr.js → app-6df1s2zp.js} +15 -15
- package/dist/chunks/{git-91995yx2.js → app-6e60b89z.js} +20 -20
- package/dist/chunks/{git-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/{git-g9ch0q6b.js → app-6kzbhvf9.js} +28 -28
- package/dist/chunks/{git-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{git-cycs76hc.js → app-6r17xzga.js} +5 -5
- package/dist/chunks/{git-t51qk8jz.js → app-6sr3ve8g.js} +4 -4
- package/dist/chunks/{git-y906m0ew.js → app-6vq97qmv.js} +5 -5
- package/dist/chunks/{git-wy9kf037.js → app-762k0108.js} +7 -7
- package/dist/chunks/{git-ehrxfcx9.js → app-772x3yj2.js} +12 -12
- package/dist/chunks/{git-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-xe0rw7pk.js → app-7t177gfd.js} +25 -25
- package/dist/chunks/{git-a2ew8a62.js → app-806j49yq.js} +4 -4
- package/dist/chunks/{git-mkegk1gd.js → app-81vvm6at.js} +45 -45
- package/dist/chunks/app-82yqp303.js +252 -0
- package/dist/chunks/{git-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-c0nbb22r.js → app-8hr617rk.js} +13 -13
- package/dist/chunks/{git-xtqytmaw.js → app-8nz49acp.js} +36 -36
- package/dist/chunks/{git-ch4sbhb0.js → app-8prskhzj.js} +9 -9
- package/dist/chunks/{git-s7s657b9.js → app-8vmhfmbz.js} +11 -11
- package/dist/chunks/{git-94ek1h2f.js → app-94ek1h2f.js} +2 -2
- package/dist/chunks/{git-ytzyys1x.js → app-9jcr10np.js} +1 -1
- package/dist/chunks/{git-8fhj4thy.js → app-9n26hfc3.js} +33 -33
- package/dist/chunks/{git-vk04hqkj.js → app-9skm3yw2.js} +7 -7
- package/dist/chunks/{git-s2n17b9m.js → app-a26qxgdt.js} +16 -16
- package/dist/chunks/{git-xyqxxema.js → app-a2xk245q.js} +48 -48
- package/dist/chunks/{git-x79d2r0k.js → app-a5gqm4c9.js} +6 -6
- package/dist/chunks/{git-k96br1zw.js → app-a72gbv29.js} +12 -12
- package/dist/chunks/{git-3z8etzyw.js → app-a76g130h.js} +46 -46
- package/dist/chunks/{git-h8r7rjgh.js → app-a7cargxb.js} +35 -35
- package/dist/chunks/{git-hymttjhr.js → app-a9rzk6y3.js} +9 -9
- package/dist/chunks/{git-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{git-afed7ext.js → app-adk9my66.js} +12 -12
- package/dist/chunks/{git-mscdvfrd.js → app-ahsg504y.js} +4 -4
- package/dist/chunks/{git-mr3aysrj.js → app-am9m0s2t.js} +29 -29
- package/dist/chunks/{git-q95ya1jw.js → app-ax56929r.js} +22 -22
- package/dist/chunks/{git-xgdt0b3g.js → app-azmax92t.js} +6 -6
- package/dist/chunks/{git-rx7w6kha.js → app-b4nhm8bs.js} +48 -48
- package/dist/chunks/{git-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-cyk2d3fq.js → app-b7b9y31v.js} +25 -25
- package/dist/chunks/{git-3wcq71ej.js → app-bd9pgsph.js} +3 -3
- package/dist/chunks/{git-x9zytbhm.js → app-bh8ke73z.js} +6 -6
- package/dist/chunks/{git-vkc0skh6.js → app-bjd689ev.js} +8 -8
- package/dist/chunks/{git-cvcxksr2.js → app-bwd0y37m.js} +14 -14
- package/dist/chunks/{git-83h78zw0.js → app-c9e7vqn3.js} +6 -6
- package/dist/chunks/{git-7gp0zx07.js → app-cbtv2dmn.js} +9 -9
- package/dist/chunks/{git-6z9mwsmt.js → app-ccs41bz9.js} +22 -22
- package/dist/chunks/{git-ckecvw8r.js → app-ckecvw8r.js} +2 -2
- package/dist/chunks/{git-gb4zbcp8.js → app-ckj0j7na.js} +11 -11
- package/dist/chunks/{git-f2r29xz8.js → app-cqh4n8r9.js} +34 -34
- package/dist/chunks/{git-rr6984r4.js → app-cvgzt2jg.js} +12 -12
- package/dist/chunks/{git-g0mmemcf.js → app-cw2mjhhm.js} +12 -12
- package/dist/chunks/{git-2sejkfem.js → app-cwa6csj7.js} +9 -9
- package/dist/chunks/{git-rny04ytj.js → app-d1v55qp5.js} +10 -10
- package/dist/chunks/{git-zv3zq7g4.js → app-d3ybp0kx.js} +5 -5
- package/dist/chunks/{git-kjwmhxpf.js → app-d60vjyrj.js} +12 -12
- package/dist/chunks/{git-fpmq6gma.js → app-d87ppnb3.js} +5 -5
- package/dist/chunks/{git-sr6b03ft.js → app-dcngajy7.js} +23 -23
- package/dist/chunks/{git-30m7dzgk.js → app-dn5wevn0.js} +15 -15
- package/dist/chunks/{git-cytt16d4.js → app-dppfft2v.js} +13 -13
- package/dist/chunks/{git-xfkkasph.js → app-drwq78ky.js} +4 -4
- package/dist/chunks/{git-mx3acdr1.js → app-dwae9e5x.js} +3 -3
- package/dist/chunks/{git-v2qc2ynm.js → app-dy5f8vtz.js} +23 -23
- package/dist/chunks/{git-7gvwkz6m.js → app-ead3g9p8.js} +5 -5
- package/dist/chunks/{git-4yeg4r3m.js → app-eb1vd11r.js} +15 -15
- package/dist/chunks/{git-ecfe7b91.js → app-ecfe7b91.js} +2 -2
- package/dist/chunks/{git-6sjtj90m.js → app-ed0vge4d.js} +6 -6
- package/dist/chunks/{git-w7y24cr5.js → app-een8gttx.js} +30 -30
- package/dist/chunks/{git-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-4h80zy7w.js → app-f11fm5rt.js} +8 -8
- package/dist/chunks/{git-5rqt673j.js → app-f4821swv.js} +58 -58
- package/dist/chunks/{git-bh499fqr.js → app-f6fxmw8k.js} +9 -9
- package/dist/chunks/{git-d3mxekym.js → app-f7a7fxkf.js} +14 -14
- package/dist/chunks/{git-g1sxm558.js → app-fgktf29t.js} +8 -8
- package/dist/chunks/{git-fjvydvzm.js → app-fjvydvzm.js} +1 -1
- package/dist/chunks/{git-5frpgbe6.js → app-fp8f3fwd.js} +24 -24
- package/dist/chunks/{git-94tqfv3g.js → app-fvvvn3xt.js} +12 -12
- package/dist/chunks/{git-fm5zmhxr.js → app-fx7nf9wq.js} +17 -17
- package/dist/chunks/{git-pa8pe2x7.js → app-g0445xdp.js} +8 -8
- package/dist/chunks/{git-t9kh7ffs.js → app-g0mqs9ke.js} +11 -11
- package/dist/chunks/{git-rgs1nxgt.js → app-g3fwpptv.js} +21 -21
- package/dist/chunks/{git-kenzbab6.js → app-g6kd9wnb.js} +27 -27
- package/dist/chunks/{git-tej6vbjz.js → app-g6y5eke2.js} +16 -16
- package/dist/chunks/{git-thnfwydy.js → app-g751tqet.js} +46 -46
- package/dist/chunks/{git-nqpk6sgc.js → app-g9k4z160.js} +7 -7
- package/dist/chunks/{git-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{git-80qyyxzp.js → app-gwtnskww.js} +21 -21
- package/dist/chunks/app-gyce5qg1.js +18 -0
- package/dist/chunks/{git-m4gdtjrg.js → app-h3beccv2.js} +20 -20
- package/dist/chunks/{git-h6r3nrb9.js → app-h6r3nrb9.js} +1 -1
- package/dist/chunks/{git-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-xnxs98wq.js → app-hbaf146g.js} +32 -32
- package/dist/chunks/{git-d93m8bwv.js → app-hsfpjhe3.js} +22 -22
- package/dist/chunks/{git-0n6mwmv5.js → app-j34tctwe.js} +6 -6
- package/dist/chunks/{git-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{git-dcb4ftaw.js → app-j6c2947d.js} +1 -1
- package/dist/chunks/{git-bgc5ggmx.js → app-j8m1p4p1.js} +4 -4
- package/dist/chunks/{git-tbmac1c7.js → app-jewzahs7.js} +4 -4
- package/dist/chunks/{git-g92xzkhq.js → app-jfgzrkfd.js} +3 -3
- package/dist/chunks/{git-mmwan2gk.js → app-jjh1kqak.js} +15 -15
- package/dist/chunks/{git-m9mm3axp.js → app-jmafhyzf.js} +23 -23
- package/dist/chunks/{git-8p4z7qek.js → app-jnjzrgfb.js} +4 -4
- package/dist/chunks/{git-e89z02f5.js → app-jpn3snb8.js} +42 -42
- package/dist/chunks/{git-30pwp36g.js → app-jq4a9y4s.js} +10 -10
- package/dist/chunks/{git-8awf735n.js → app-jvhw5feb.js} +9 -9
- package/dist/chunks/{git-6zpczexw.js → app-jwmy08gh.js} +10 -10
- package/dist/chunks/{git-e4mdbxmf.js → app-jzm3dw47.js} +3 -3
- package/dist/chunks/{git-mt57nh0v.js → app-k0vfxb4k.js} +23 -23
- package/dist/chunks/{git-qk0gpxf2.js → app-k18ytf7m.js} +8 -8
- package/dist/chunks/{git-k3c624dm.js → app-k3c624dm.js} +3 -3
- package/dist/chunks/{git-wk5z6jzv.js → app-kp8q1t60.js} +9 -9
- package/dist/chunks/{git-cyhp5vj1.js → app-kpz2hpxg.js} +3 -3
- package/dist/chunks/{git-thq55e10.js → app-ktc86f7m.js} +23 -23
- package/dist/chunks/{git-2h9n59sv.js → app-ktmxpr9b.js} +6 -6
- package/dist/chunks/{git-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-4q3nzy60.js → app-m8e7ztd5.js} +3 -3
- package/dist/chunks/{git-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-e21mpqmm.js → app-msede844.js} +16 -16
- package/dist/chunks/{git-hehaxqkv.js → app-mwwxnxty.js} +4 -4
- package/dist/chunks/{git-zw6dw17q.js → app-myd3b094.js} +17 -17
- package/dist/chunks/{git-qg0jgkcp.js → app-n35d2xk4.js} +9 -9
- package/dist/chunks/{git-8ehf9qx8.js → app-nc7x9c24.js} +2 -2
- package/dist/chunks/{git-92a4ap4w.js → app-p1nm93x7.js} +5 -5
- package/dist/chunks/{git-84073t5h.js → app-p6m2jw0c.js} +31 -31
- package/dist/chunks/{git-j67w5na4.js → app-pa5fajgc.js} +10 -10
- package/dist/chunks/{git-zw786g3k.js → app-pa6tn4dn.js} +24 -24
- package/dist/chunks/{git-hh3jtzcy.js → app-pany3nnr.js} +14 -14
- package/dist/chunks/{git-s0d28j9p.js → app-pax4wwbn.js} +26 -26
- package/dist/chunks/{git-09d8031r.js → app-pb4k0zyb.js} +32 -32
- package/dist/chunks/{git-0pr3hkd7.js → app-pf9pgydg.js} +4 -4
- package/dist/chunks/{git-2wj8n25z.js → app-phjaars8.js} +6 -6
- package/dist/chunks/{git-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{git-ets61prm.js → app-q132mq55.js} +22 -22
- package/dist/chunks/{git-3vrh6sd1.js → app-q20b9c35.js} +11 -11
- package/dist/chunks/{git-11nfjzd7.js → app-q7ar3ry6.js} +18 -18
- package/dist/chunks/{git-rd143bxj.js → app-qatg2v12.js} +3 -3
- package/dist/chunks/{git-tbv16z2n.js → app-qersht4q.js} +4 -4
- package/dist/chunks/{git-7dqw4kz8.js → app-qgn6gcr1.js} +5 -5
- package/dist/chunks/{git-mgmaefw5.js → app-qhfx9m4p.js} +8 -8
- package/dist/chunks/{git-qf43y6bq.js → app-qj0e4t2j.js} +13 -13
- package/dist/chunks/{git-fcbfm0sn.js → app-qjkadte7.js} +18 -18
- package/dist/chunks/{git-yw133b83.js → app-qk25y3ed.js} +10 -10
- package/dist/chunks/{git-rtathh62.js → app-qpbc7zwf.js} +8 -8
- package/dist/chunks/{git-h4z1mxff.js → app-qrds72pd.js} +5 -5
- package/dist/chunks/{git-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{git-3jt824p6.js → app-qz2fsytq.js} +21 -21
- package/dist/chunks/{git-bemvq2t2.js → app-r2bcgb1d.js} +35 -35
- package/dist/chunks/{git-ff2gveh4.js → app-r7qvzhps.js} +16 -16
- package/dist/chunks/{git-end0w5gf.js → app-r8wf6j98.js} +13 -13
- package/dist/chunks/{git-d9v0jgcb.js → app-rczr7grn.js} +24 -24
- package/dist/chunks/{git-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-8sze2n9a.js → app-rkprpv83.js} +6 -6
- package/dist/chunks/{git-4d3460jv.js → app-rks7y0xb.js} +11 -11
- package/dist/chunks/{git-ss7d1vek.js → app-rqr024yb.js} +11 -11
- package/dist/chunks/{git-nkbv9bpr.js → app-rs4pcg3z.js} +334 -334
- package/dist/chunks/{git-2hd68st2.js → app-rxmg1584.js} +73 -73
- package/dist/chunks/{git-3heg1ssy.js → app-rzs3gq0x.js} +8 -8
- package/dist/chunks/{git-s4enseaf.js → app-s4enseaf.js} +2 -2
- package/dist/chunks/{git-gjc5er36.js → app-s7y4804s.js} +9 -9
- package/dist/chunks/{git-t550f9t1.js → app-s8d7rejh.js} +4 -4
- package/dist/chunks/{git-frtx2nz8.js → app-spgs379g.js} +13 -13
- package/dist/chunks/{git-n9esk63t.js → app-ss7gbv6r.js} +20 -20
- package/dist/chunks/{git-nhf6180g.js → app-t2w908bg.js} +11 -11
- package/dist/chunks/{git-hazy572e.js → app-t9tb71he.js} +14 -14
- package/dist/chunks/{git-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-xy26ekgv.js → app-tb3b9sw6.js} +12 -12
- package/dist/chunks/{git-vjmtwjf8.js → app-tbcsea09.js} +94 -94
- package/dist/chunks/{git-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-n7d88tpn.js → app-tdhfktd2.js} +3 -3
- package/dist/chunks/{git-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{git-j5cwm3bm.js → app-tmg40ghk.js} +1 -1
- package/dist/chunks/{git-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{git-0jw0xscs.js → app-v1gkvhxg.js} +21 -21
- package/dist/chunks/{git-y9ddfctt.js → app-v4tbcz23.js} +35 -35
- package/dist/chunks/{git-z4eg18an.js → app-v96s264c.js} +18 -18
- package/dist/chunks/{git-h7fdnx8v.js → app-vb4g9dae.js} +4 -4
- package/dist/chunks/{git-aamttb2x.js → app-vbxncmzn.js} +10 -10
- package/dist/chunks/{git-114q0qvg.js → app-vc7vckp8.js} +14 -14
- package/dist/chunks/{git-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{git-wtznwfdr.js → app-vhe5gjfh.js} +1 -1
- package/dist/chunks/{git-cy9wafaf.js → app-vnqd9frj.js} +21 -21
- package/dist/chunks/{git-hdab2k61.js → app-vqfzq50h.js} +6 -6
- package/dist/chunks/{git-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-zvwz45r0.js → app-w3nq1sqw.js} +9 -9
- package/dist/chunks/{git-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-brpwvc6v.js → app-w97pdczc.js} +9 -9
- package/dist/chunks/{git-zmn0srxy.js → app-wcda6taw.js} +18 -18
- package/dist/chunks/{git-wd3x2cqz.js → app-wd3x2cqz.js} +2 -2
- package/dist/chunks/{git-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{git-99x4at9v.js → app-wd8qy4jf.js} +11 -11
- package/dist/chunks/{git-5ab0pca5.js → app-ws59qfe7.js} +15 -15
- package/dist/chunks/{git-1q898j1r.js → app-wsvzkehx.js} +17 -17
- package/dist/chunks/{git-89dkfx8j.js → app-wx4a3jh4.js} +28 -28
- package/dist/chunks/{git-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-4atcys8t.js → app-x2cmdckx.js} +27 -27
- package/dist/chunks/{git-p7e63y9d.js → app-x37dysgs.js} +28 -28
- package/dist/chunks/{git-b8kjk650.js → app-x5vahk43.js} +8 -8
- package/dist/chunks/{git-dmqcgk4z.js → app-xkntkrq7.js} +5 -5
- package/dist/chunks/{git-1ydncxvh.js → app-xq5ct9qr.js} +4 -4
- package/dist/chunks/{git-nth02yt4.js → app-xtnpp68a.js} +12 -12
- package/dist/chunks/{git-dtnr7rkm.js → app-xw0zhdsg.js} +22 -22
- package/dist/chunks/{git-sj9kkzcn.js → app-xy4s0ftx.js} +28 -28
- package/dist/chunks/{git-e9sbwmmk.js → app-y0sv1x8h.js} +33 -33
- package/dist/chunks/{git-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-4cey7m6q.js → app-y4egsfsk.js} +7 -7
- package/dist/chunks/{git-cvjw7wsr.js → app-y4jwevgg.js} +8 -8
- package/dist/chunks/{git-y71avatq.js → app-y71avatq.js} +1 -1
- package/dist/chunks/{git-rke4besn.js → app-ya9fx2vp.js} +6 -6
- package/dist/chunks/{git-cy4fed9j.js → app-yb8taw9s.js} +26 -26
- package/dist/chunks/{git-yp2x3t23.js → app-yp2x3t23.js} +1 -1
- package/dist/chunks/{git-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-pd1ntcfr.js → app-yxwncw5d.js} +29 -29
- package/dist/chunks/{git-z07pqspn.js → app-z07pqspn.js} +3 -3
- package/dist/chunks/{git-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-f80p04w6.js → app-z5a3g3fm.js} +8 -8
- package/dist/chunks/{git-pb6cen25.js → app-z895wpav.js} +7 -7
- package/dist/chunks/{git-smrz51yc.js → app-zbc4823q.js} +2 -2
- package/dist/chunks/{git-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{git-fss1wqpp.js → app-zfeqee33.js} +13 -13
- package/dist/chunks/{git-77ev5h06.js → app-zgq7793f.js} +22 -22
- package/dist/chunks/{git-kbegyq1c.js → app-zjx5ttkw.js} +2 -2
- package/dist/chunks/{git-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-67str9pe.js → app-zsv6wfhn.js} +25 -25
- package/dist/chunks/{git-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{git-pfm9gbeb.js → app-zy8mqy84.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- 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 +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- 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/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +93 -93
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +1 -1
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/git-6kdq0pjd.js +0 -4
- package/dist/chunks/git-ctefx7dc.js +0 -18
- package/dist/chunks/git-d62r6e8r.js +0 -252
- /package/dist/chunks/{git-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-34c7v6d4.js → app-34c7v6d4.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e3qxr5gk.js → app-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-hsfpjhe3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-wx4a3jh4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID11.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -97,7 +97,7 @@ function build(id, remote, baseURL, previous) {
|
|
|
97
97
|
return Info26.make({
|
|
98
98
|
...Info26.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-21qee8pd.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-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: () => Service82,
|
|
17
|
+
node: () => node86
|
|
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 Service82 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service82.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 node86 = makeGlobalNode({ service: Service82, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service82, node86, exports_kv };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin40,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin40 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin34 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin40, exports_exa };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin50,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin50 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin50, exports_tool_input_repair };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-21qee8pd.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-y71avatq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service80,
|
|
10
|
+
node84
|
|
11
|
+
} from "./app-d60vjyrj.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-tdhfktd2.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-z07pqspn.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info7,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service40,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer15,
|
|
49
49
|
list: () => list3,
|
|
50
50
|
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node42,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info7,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service40 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service80;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info7.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer15 = Layer.effect(Service40, make17());
|
|
231
|
+
var node42 = makeGlobalNode({ service: Service40, layer: layer15, deps: [node88, node84] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service40, make17, layer15, node42, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./app-f7a7fxkf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./app-rczr7grn.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service58
|
|
16
|
+
} from "./app-q7ar3ry6.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-6kzbhvf9.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service44
|
|
26
|
+
} from "./app-4w6pnabk.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service30
|
|
29
|
+
} from "./app-381tf59s.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./app-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output6,
|
|
40
|
+
Plugin: () => Plugin26,
|
|
41
|
+
name: () => name6,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name6 = "grep";
|
|
48
|
+
var Input6 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input11 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output6 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin26 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service59;
|
|
90
|
+
const ripgrep = yield* Service58;
|
|
91
|
+
const location = yield* Service78;
|
|
92
|
+
const access = yield* Service30;
|
|
93
|
+
const permission = yield* Service44;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name6,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input6,
|
|
99
|
+
output: Output6,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name6,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin14 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin14 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name6, Input6, Output6, toModelContent5, Plugin26, exports_grep };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./app-d60vjyrj.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-h6r3nrb9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./app-5n4zza11.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-6e60b89z.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./app-hsfpjhe3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./app-qjkadte7.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,8 +26,8 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service74;
|
|
30
|
+
const bus = yield* Service80;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service65,
|
|
9
|
+
node69
|
|
10
|
+
} from "./app-y0sv1x8h.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-tdhfktd2.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service42,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node44,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service42 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service65;
|
|
77
|
+
return Service42.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node44 = makeLocationNode({ service: Service42, layer, deps: [node69] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service42, resolved2, node44, exports_model };
|