@opencode/core 0.0.0-beta-19500 → 0.0.0-dev-19274
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 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -74
- package/dist/catalog.js +83 -84
- package/dist/chunks/{model-resolver-6jcw83n3.js → file-008dah4r.js} +47 -51
- package/dist/chunks/{model-resolver-f8zs2stk.js → file-04bp4d3m.js} +11 -11
- package/dist/chunks/{model-resolver-t7n9q6bq.js → file-06x8he3q.js} +4 -4
- package/dist/chunks/{model-resolver-h3k867zz.js → file-0djf8xh9.js} +3 -3
- package/dist/chunks/{model-resolver-s1vvg2cq.js → file-0ea3rya4.js} +7 -7
- package/dist/chunks/{model-resolver-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-7z7az0f5.js → file-0rpg7gzc.js} +4 -4
- package/dist/chunks/{model-resolver-581kfnqp.js → file-0rvyveqe.js} +18 -18
- package/dist/chunks/{model-resolver-jwazx1ed.js → file-1ajj2c3r.js} +36 -36
- package/dist/chunks/{model-resolver-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-4y66k410.js → file-1dfhrqqs.js} +3 -11
- package/dist/chunks/{model-resolver-mhdwrqr0.js → file-1ndzzahp.js} +3 -3
- package/dist/chunks/{model-resolver-q87s0xy8.js → file-1q2nd9f6.js} +63 -63
- package/dist/chunks/{model-resolver-vxp3kcg3.js → file-1q5awywt.js} +5 -5
- package/dist/chunks/{model-resolver-g6fkknnq.js → file-1s5k653j.js} +29 -29
- package/dist/chunks/{model-resolver-bq4vzaks.js → file-1xb0henf.js} +46 -46
- package/dist/chunks/{model-resolver-mwnd972w.js → file-1xzdp18p.js} +35 -35
- package/dist/chunks/{model-resolver-1ygqh575.js → file-1ygqh575.js} +2 -2
- package/dist/chunks/{model-resolver-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → file-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-0jwvfzzp.js → file-25kqvm6v.js} +25 -27
- package/dist/chunks/{model-resolver-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{model-resolver-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-818pfwc9.js → file-2bdsn8gv.js} +11 -11
- package/dist/chunks/{model-resolver-qa6ytjmd.js → file-2bk70kd1.js} +13 -13
- package/dist/chunks/{model-resolver-p52p41ww.js → file-2cws46q3.js} +14 -14
- package/dist/chunks/{model-resolver-rj9a996t.js → file-2erbc7c4.js} +9 -9
- package/dist/chunks/{model-resolver-8p2zvf0d.js → file-2f1k6btd.js} +76 -107
- package/dist/chunks/{model-resolver-1gqabzhy.js → file-2j4ksk9q.js} +18 -19
- package/dist/chunks/{model-resolver-trk3y68z.js → file-2k29q1p2.js} +59 -59
- package/dist/chunks/{model-resolver-3tq8bdpm.js → file-2nck4hg8.js} +13 -13
- package/dist/chunks/{model-resolver-64at0fy0.js → file-2nhrma10.js} +8 -8
- package/dist/chunks/file-2nz9k5ke.js +247 -0
- package/dist/chunks/{model-resolver-g53r2hff.js → file-2qz021p1.js} +40 -40
- package/dist/chunks/{model-resolver-atny4vj3.js → file-2tv38tk1.js} +11 -11
- package/dist/chunks/{model-resolver-vvccsdf3.js → file-3c1tgrea.js} +6 -6
- package/dist/chunks/{model-resolver-d2aac7k2.js → file-3cz8rj72.js} +5 -5
- package/dist/chunks/{model-resolver-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3q1jyqhd.js → file-3jp54z3r.js} +1 -1
- package/dist/chunks/{model-resolver-a2cfvfg1.js → file-3m095h8d.js} +20 -20
- package/dist/chunks/{model-resolver-mb5a7wwz.js → file-3nj27wxf.js} +10 -10
- package/dist/chunks/{model-resolver-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-xdk7tsve.js → file-3trbxeqx.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-e86807kd.js → file-3wj4wm80.js} +83 -86
- package/dist/chunks/{model-resolver-ggj3dvvh.js → file-3x6z6rsx.js} +12 -12
- package/dist/chunks/{model-resolver-aztjpt51.js → file-4g3hne3q.js} +20 -23
- package/dist/chunks/{model-resolver-djqd3v5p.js → file-4hszn1mb.js} +43 -94
- package/dist/chunks/{model-resolver-0vvagabw.js → file-4qfh6hxk.js} +27 -27
- package/dist/chunks/file-4v7qdvcn.js +18 -0
- package/dist/chunks/{model-resolver-8abbabsk.js → file-4vf981v9.js} +24 -24
- package/dist/chunks/{model-resolver-70xr52zc.js → file-4w7x8wv5.js} +30 -30
- package/dist/chunks/{model-resolver-zpkbxaqd.js → file-4x6ztkk5.js} +5 -7
- package/dist/chunks/{model-resolver-9stj6zpb.js → file-4znd88gj.js} +32 -32
- package/dist/chunks/{model-resolver-q91t8a1k.js → file-51kk6f2e.js} +19 -19
- package/dist/chunks/{model-resolver-qn8ypmg1.js → file-58ax6zm2.js} +18 -18
- package/dist/chunks/{model-resolver-d880b0y6.js → file-5965tgm9.js} +30 -30
- package/dist/chunks/{model-resolver-a1bz86dw.js → file-5c4hm403.js} +3 -3
- package/dist/chunks/{model-resolver-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-s5wnyv46.js → file-5vc2whd9.js} +30 -30
- package/dist/chunks/{model-resolver-s72x8wcp.js → file-5vvax2qg.js} +23 -23
- package/dist/chunks/{model-resolver-prp52c5q.js → file-5xhpatkf.js} +11 -11
- package/dist/chunks/{model-resolver-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-5v85fpgj.js → file-67e9xs01.js} +25 -25
- package/dist/chunks/{model-resolver-07cx4w7f.js → file-6c7ejz51.js} +4 -4
- package/dist/chunks/{model-resolver-98a0b00a.js → file-6fdj6kdr.js} +4 -4
- package/dist/chunks/{model-resolver-k6556a45.js → file-6kgc56n8.js} +6 -6
- package/dist/chunks/{model-resolver-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-kx6yd4vg.js → file-79175vp8.js} +35 -35
- package/dist/chunks/{model-resolver-kbn8346a.js → file-79zsnxkc.js} +11 -11
- package/dist/chunks/{model-resolver-vncycja5.js → file-7atngb88.js} +4 -4
- package/dist/chunks/{model-resolver-bcbgj7m0.js → file-7be1f342.js} +18 -18
- package/dist/chunks/{model-resolver-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-2k8khapm.js → file-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-resolver-789bpvq4.js → file-7g79e5pr.js} +11 -11
- package/dist/chunks/{model-resolver-y3fea29m.js → file-7sgb7w3n.js} +32 -92
- package/dist/chunks/{model-resolver-z2kz5700.js → file-7xdgscg1.js} +17 -17
- package/dist/chunks/{model-resolver-0hf448nj.js → file-81pg61w1.js} +8 -25
- package/dist/chunks/{model-resolver-rsym84ch.js → file-81swgkk7.js} +7 -7
- package/dist/chunks/{model-resolver-vy514hgv.js → file-82594dam.js} +9 -9
- package/dist/chunks/{model-resolver-1ptmpf20.js → file-84tssp1s.js} +9 -14
- package/dist/chunks/{model-resolver-6fvs6bkh.js → file-8bpbp254.js} +43 -43
- package/dist/chunks/{model-resolver-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-f8xc4yre.js → file-8gbf9msb.js} +29 -29
- package/dist/chunks/{model-resolver-mg5mchpt.js → file-8gkhtxwv.js} +28 -28
- package/dist/chunks/{model-resolver-htk69tte.js → file-8ncz7km3.js} +7 -7
- package/dist/chunks/{model-resolver-ck6gmqc6.js → file-8tef8d4h.js} +43 -43
- package/dist/chunks/{model-resolver-h2fnsspk.js → file-94sf61n7.js} +19 -44
- package/dist/chunks/{model-resolver-75evgfh8.js → file-976ysedg.js} +15 -15
- package/dist/chunks/{model-resolver-26jcn8kh.js → file-9bey2zpa.js} +12 -12
- package/dist/chunks/{model-resolver-x1avke2d.js → file-9eqtwdne.js} +97 -92
- package/dist/chunks/{model-resolver-0334ef0p.js → file-9k2v62xn.js} +1 -1
- package/dist/chunks/file-9phvn7ns.js +71 -0
- package/dist/chunks/{model-resolver-4grgn5v0.js → file-a1d2hteq.js} +18 -18
- package/dist/chunks/{model-resolver-4vcrnpx2.js → file-a1tpkmh4.js} +3 -13
- package/dist/chunks/{model-resolver-hwap2x7x.js → file-a2zsx8ap.js} +25 -25
- package/dist/chunks/{model-resolver-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-fvf9sjjr.js → file-ab8td0yc.js} +49 -47
- package/dist/chunks/{model-resolver-03s1nxke.js → file-agg557zn.js} +8 -8
- package/dist/chunks/{model-resolver-r532bney.js → file-anvxjef4.js} +4 -4
- package/dist/chunks/{model-resolver-2verbhpp.js → file-arm49q9k.js} +35 -35
- package/dist/chunks/{model-resolver-gkv3re89.js → file-aw3yg1a6.js} +11 -11
- package/dist/chunks/{model-resolver-mz65vdgf.js → file-axh6m6j7.js} +18 -18
- package/dist/chunks/{model-resolver-g190xswt.js → file-axmvebxj.js} +21 -21
- package/dist/chunks/{model-resolver-b22gj5xn.js → file-b4n85fcv.js} +26 -26
- package/dist/chunks/{model-resolver-mz60zy6e.js → file-b4nrwvyj.js} +29 -28
- package/dist/chunks/{model-resolver-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-121k57vw.js → file-bby00dsd.js} +8 -8
- package/dist/chunks/{model-resolver-dktryzc1.js → file-bdbwpwhn.js} +26 -27
- package/dist/chunks/{model-resolver-xs8g0vg3.js → file-bdkz1q2y.js} +6 -6
- package/dist/chunks/{model-resolver-e6fygs6z.js → file-bge4fr1z.js} +25 -25
- package/dist/chunks/{model-resolver-1zkr721w.js → file-bjpmp57t.js} +13 -13
- package/dist/chunks/{model-resolver-87qnmf38.js → file-bkqrvamq.js} +36 -36
- package/dist/chunks/{model-resolver-zf0svfz5.js → file-c6jw9d6c.js} +16 -16
- package/dist/chunks/{model-resolver-csz41kxq.js → file-c7m8954m.js} +5 -5
- package/dist/chunks/{model-resolver-8y92rm17.js → file-c9kt1fwd.js} +7 -7
- package/dist/chunks/{model-resolver-kk8h1mek.js → file-cny5rd43.js} +8 -8
- package/dist/chunks/{model-resolver-z7dhx1kn.js → file-cp5f26bt.js} +24 -24
- package/dist/chunks/{model-resolver-1hc11dc4.js → file-csf2jhsg.js} +4 -4
- package/dist/chunks/{model-resolver-hwxt52gm.js → file-csyt93pz.js} +5 -5
- package/dist/chunks/{model-resolver-8yrnm0fa.js → file-cz12sndv.js} +29 -29
- package/dist/chunks/{model-resolver-j12k6d1r.js → file-d0chnedg.js} +29 -29
- package/dist/chunks/{model-resolver-0mywzg06.js → file-d8drewm4.js} +28 -28
- package/dist/chunks/{model-resolver-8p4f9s12.js → file-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-resolver-dpkg50ah.js → file-dpkg50ah.js} +1 -1
- package/dist/chunks/{model-resolver-qwkytnft.js → file-dsf3jx99.js} +30 -9
- package/dist/chunks/{model-resolver-j7wq2tw5.js → file-dv250zvr.js} +3 -3
- package/dist/chunks/{model-resolver-t6gatd88.js → file-dvmnmd5k.js} +50 -50
- package/dist/chunks/{model-resolver-942176fc.js → file-dw8dc0pw.js} +11 -11
- package/dist/chunks/{model-resolver-e82z9tr0.js → file-e82z9tr0.js} +1 -1
- package/dist/chunks/{model-resolver-rtkh6q4b.js → file-e9vyr379.js} +11 -11
- package/dist/chunks/{model-resolver-mrsqtdpn.js → file-ec2j1krk.js} +36 -36
- package/dist/chunks/file-eex81ar0.js +272 -0
- package/dist/chunks/{model-resolver-tp3xxvx5.js → file-em6n8dz9.js} +48 -48
- package/dist/chunks/{model-resolver-z2b5d6zb.js → file-endpbns8.js} +6 -6
- package/dist/chunks/{model-resolver-7fys8geh.js → file-enk99f8n.js} +16 -16
- package/dist/chunks/{model-resolver-9rzqjwaz.js → file-esdnemd6.js} +1 -1
- package/dist/chunks/{model-resolver-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-t9e5d74p.js → file-exww9xwg.js} +9 -9
- package/dist/chunks/{model-resolver-1acjjqhc.js → file-f2n192rq.js} +4 -4
- package/dist/chunks/{model-resolver-x6geafsy.js → file-fq1h1v14.js} +3 -3
- package/dist/chunks/{model-resolver-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-0wbgnjtz.js → file-g9ew5f51.js} +2 -2
- package/dist/chunks/{model-resolver-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-37s12vcn.js → file-gdrhyezn.js} +5 -5
- package/dist/chunks/{model-resolver-gdvy8fx6.js → file-gdvy8fx6.js} +1 -1
- package/dist/chunks/{model-resolver-h7ygw6q4.js → file-gsx0ryk4.js} +9 -9
- package/dist/chunks/{model-resolver-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-dqyg47hv.js → file-h2gyv3sg.js} +1 -1
- package/dist/chunks/{model-resolver-jbe1bvhn.js → file-h2wxq9m6.js} +27 -27
- package/dist/chunks/{model-resolver-yjv2keaj.js → file-h5pnkca0.js} +68 -42
- package/dist/chunks/file-h5wzpkcb.js +22 -0
- package/dist/chunks/{model-resolver-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-f828m53h.js → file-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-resolver-psjem9sa.js → file-hmtfd8e7.js} +11 -11
- package/dist/chunks/{model-resolver-csz4k5km.js → file-hw2gt29t.js} +18 -18
- package/dist/chunks/{model-resolver-8p8b376s.js → file-hznfad64.js} +25 -25
- package/dist/chunks/{model-resolver-erhkyex8.js → file-hzvfpvak.js} +4 -4
- package/dist/chunks/{model-resolver-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-0k7hqrra.js → file-j5e99w94.js} +24 -24
- package/dist/chunks/{model-resolver-rd8pgjwx.js → file-j8sknp13.js} +20 -20
- package/dist/chunks/{model-resolver-paphc93g.js → file-j935v87r.js} +2 -2
- package/dist/chunks/{model-resolver-z2qr9twd.js → file-jbax583q.js} +1 -1
- package/dist/chunks/{model-resolver-6wxzvafn.js → file-jqcaya3d.js} +11 -11
- package/dist/chunks/{model-resolver-pqg5898n.js → file-jqcc8e1d.js} +12 -12
- package/dist/chunks/{model-resolver-s534qmrw.js → file-jrrn2k62.js} +4 -4
- package/dist/chunks/{model-resolver-3nxeqbj3.js → file-jypsjmxy.js} +16 -17
- package/dist/chunks/{model-resolver-pvvs7m8f.js → file-kbqxyd6c.js} +13 -13
- package/dist/chunks/{model-resolver-27596drg.js → file-kd3m4z14.js} +28 -28
- package/dist/chunks/{model-resolver-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-m4hypjkm.js → file-kggrcpgh.js} +14 -14
- package/dist/chunks/{model-resolver-gwfcx2m0.js → file-knac466s.js} +50 -24
- package/dist/chunks/{model-resolver-x940zq77.js → file-kt5w8vxh.js} +10 -10
- package/dist/chunks/{model-resolver-cfpkc3c9.js → file-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-resolver-gw82nkc3.js → file-m2shdzh0.js} +41 -37
- package/dist/chunks/{model-resolver-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-mhkvc446.js → file-mhkvc446.js} +1 -1
- package/dist/chunks/file-mkcjrzeh.js +15 -0
- package/dist/chunks/{model-resolver-021ffpa0.js → file-mq2071pb.js} +19 -19
- package/dist/chunks/{model-resolver-g5rnekq0.js → file-mrw4weg4.js} +5 -5
- package/dist/chunks/{model-resolver-y94qkjj7.js → file-mvfjcd1q.js} +7 -7
- package/dist/chunks/{model-resolver-n37c4crj.js → file-n37c4crj.js} +2 -2
- package/dist/chunks/{model-resolver-rctyp4y4.js → file-n3wgj171.js} +28 -29
- package/dist/chunks/{model-resolver-shqnjwtb.js → file-n5qmychr.js} +19 -19
- package/dist/chunks/{model-resolver-ydgy0jv4.js → file-ne3jdqry.js} +4 -4
- package/dist/chunks/{model-resolver-3kafhsr8.js → file-nrzk1d2g.js} +22 -22
- package/dist/chunks/{model-resolver-cbg8bv93.js → file-nx4935gj.js} +10 -10
- package/dist/chunks/{model-resolver-k6h76ggr.js → file-nz54bs3w.js} +21 -21
- package/dist/chunks/{model-resolver-23sxaqwc.js → file-pjedbq3k.js} +6 -6
- package/dist/chunks/{model-resolver-5v1cn1j1.js → file-pjsmk15p.js} +5 -5
- package/dist/chunks/{model-resolver-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/file-pq4st5kv.js +341 -0
- package/dist/chunks/{model-resolver-drknmmyh.js → file-pzh16mkn.js} +9 -9
- package/dist/chunks/{model-resolver-dv1qgsyq.js → file-q26tgv94.js} +8 -8
- package/dist/chunks/{model-resolver-b77arecc.js → file-q73rq2bt.js} +28 -28
- package/dist/chunks/{model-resolver-74w3tna1.js → file-qf00j6dv.js} +20 -20
- package/dist/chunks/{model-resolver-7cwz0yjz.js → file-qrbavdvc.js} +15 -15
- package/dist/chunks/{model-resolver-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-kxpygcw9.js → file-qz49fwgp.js} +6 -6
- package/dist/chunks/{model-resolver-3gjfrb28.js → file-ra8xed55.js} +28 -28
- package/dist/chunks/{model-resolver-02nrjc1r.js → file-rhjbct0v.js} +6 -6
- package/dist/chunks/{model-resolver-0pm1m3w8.js → file-rkh7tb58.js} +10 -10
- package/dist/chunks/{model-resolver-wj9n5p3k.js → file-rq8fnevv.js} +5 -5
- package/dist/chunks/{model-resolver-98kgw1j6.js → file-rs226bz6.js} +30 -5
- package/dist/chunks/{model-resolver-fbf46f8y.js → file-rsz0a70p.js} +302 -302
- package/dist/chunks/{model-resolver-3hgg98pr.js → file-rt7tcdqd.js} +35 -35
- package/dist/chunks/{model-resolver-wgf958fy.js → file-s0vw0vjm.js} +30 -30
- package/dist/chunks/{model-resolver-pm4pe4yk.js → file-s2tycd90.js} +29 -29
- package/dist/chunks/{model-resolver-yrznvahk.js → file-s4enseaf.js} +2 -2
- package/dist/chunks/{model-resolver-0g6mfyfr.js → file-s4m5whm3.js} +50 -50
- package/dist/chunks/{model-resolver-s2whfhf8.js → file-s52qk724.js} +27 -27
- package/dist/chunks/{model-resolver-079cv0ze.js → file-shsgghb2.js} +24 -24
- package/dist/chunks/{model-resolver-6xt4p4wv.js → file-sq4v2gnf.js} +9 -9
- package/dist/chunks/{model-resolver-zceb237h.js → file-swasttjx.js} +12 -12
- package/dist/chunks/{model-resolver-t82489yp.js → file-sxhqw0xy.js} +37 -37
- package/dist/chunks/{model-resolver-twy35tz0.js → file-t0x5rdq8.js} +9 -9
- package/dist/chunks/{model-resolver-djmbsxn3.js → file-t1n4dhg9.js} +9 -13
- package/dist/chunks/{model-resolver-2cshb6bs.js → file-t3g2ccp6.js} +26 -26
- package/dist/chunks/{model-resolver-rq6dswfj.js → file-t5qb37t7.js} +7 -7
- package/dist/chunks/{model-resolver-6kyz0a76.js → file-t9sxjxdg.js} +14 -29
- package/dist/chunks/{model-resolver-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-am89cgs6.js → file-tegrjk77.js} +14 -21
- package/dist/chunks/{model-resolver-gv6a8nnw.js → file-th5km1p3.js} +5 -5
- package/dist/chunks/{model-resolver-htx7jtvk.js → file-tk6q6kp1.js} +19 -19
- package/dist/chunks/{model-resolver-qyxt0tsw.js → file-ttqfmzkf.js} +4 -4
- package/dist/chunks/{model-resolver-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-xg9t41r3.js → file-v4b36nj3.js} +2 -3
- package/dist/chunks/file-vabb23s0.js +35 -0
- package/dist/chunks/{model-resolver-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-ewbqqj16.js → file-vg6tfdkt.js} +16 -16
- package/dist/chunks/{model-resolver-hya8ywrc.js → file-vjknh09n.js} +72 -72
- package/dist/chunks/{model-resolver-qn4ba14w.js → file-vmq7ehpy.js} +5 -5
- package/dist/chunks/{model-resolver-6hzp91we.js → file-vr4b7vmt.js} +7 -7
- package/dist/chunks/{model-resolver-4kmhmgeg.js → file-vvxeqa35.js} +154 -157
- package/dist/chunks/{model-resolver-qdcfe15v.js → file-vypqtakx.js} +1 -1
- package/dist/chunks/{model-resolver-774n8a20.js → file-vyrr568v.js} +9 -9
- package/dist/chunks/{model-resolver-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wf4bebac.js → file-w44msefy.js} +16 -16
- package/dist/chunks/{model-resolver-sdcezsxk.js → file-w59r8svm.js} +11 -11
- package/dist/chunks/{model-resolver-r9ghxtsk.js → file-w5yv7xxz.js} +3 -3
- package/dist/chunks/{model-resolver-h4q9s1ny.js → file-w645sbyz.js} +17 -17
- package/dist/chunks/{model-resolver-gwnxf6ch.js → file-w6w0btqv.js} +6 -6
- package/dist/chunks/{model-resolver-epzffrx8.js → file-w85wdfaw.js} +25 -25
- package/dist/chunks/{model-resolver-fxqygnfa.js → file-wcge806m.js} +4 -4
- package/dist/chunks/{model-resolver-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-87mnny1s.js → file-wdatz8ry.js} +16 -16
- package/dist/chunks/{model-resolver-vnv2t9ht.js → file-wea26x67.js} +4 -4
- package/dist/chunks/{model-resolver-rav9e4bf.js → file-wfpsx1me.js} +8 -8
- package/dist/chunks/{model-resolver-sph8ksss.js → file-wkpvzz54.js} +9 -9
- package/dist/chunks/{model-resolver-aczsg4vg.js → file-wwegy27d.js} +27 -39
- package/dist/chunks/{model-resolver-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-r9mregkx.js → file-x43y2vfs.js} +3 -3
- package/dist/chunks/{model-resolver-0sp60s5d.js → file-x513e6jx.js} +20 -20
- package/dist/chunks/{model-resolver-9y7khav7.js → file-xbrgdg50.js} +15 -15
- package/dist/chunks/{model-resolver-fdc0z0c3.js → file-xcp573p8.js} +2 -2
- package/dist/chunks/{model-resolver-dkck3j8g.js → file-xed1dtdk.js} +8 -8
- package/dist/chunks/file-xrsqh21y.js +4 -0
- package/dist/chunks/{model-resolver-kvffe9p6.js → file-y0bkwhrp.js} +18 -19
- package/dist/chunks/{model-resolver-spr8pf2r.js → file-y0kn4hqx.js} +9 -9
- package/dist/chunks/{model-resolver-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-4bfepadc.js → file-y2800yn9.js} +4 -4
- package/dist/chunks/{model-resolver-a4vx34cq.js → file-y5cw24ds.js} +14 -14
- package/dist/chunks/file-y7egkzp6.js +55 -0
- package/dist/chunks/{model-resolver-vhj1rs6k.js → file-ya1b4y87.js} +22 -25
- package/dist/chunks/{model-resolver-nv6fkpt4.js → file-yca9gk6f.js} +21 -20
- package/dist/chunks/{model-resolver-xtzwr8pq.js → file-yckky8df.js} +8 -9
- package/dist/chunks/{model-resolver-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-me88hgte.js → file-z3syage6.js} +23 -23
- package/dist/chunks/{model-resolver-24e6cc3r.js → file-z9s268w6.js} +9 -12
- package/dist/chunks/{model-resolver-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-ryr25ayn.js → file-zv0544jz.js} +4 -4
- package/dist/chunks/{model-resolver-d2fv866c.js → file-zx86nq6m.js} +13 -13
- package/dist/chunks/{model-resolver-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -82
- package/dist/config/discovery.js +77 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -116
- package/dist/config/plugin/command.js +207 -208
- package/dist/config/plugin/compaction.js +155 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -118
- package/dist/config/plugin/image.js +115 -116
- package/dist/config/plugin/instruction.js +85 -86
- package/dist/config/plugin/location-watcher.js +117 -118
- package/dist/config/plugin/mcp.js +124 -125
- package/dist/config/plugin/policy.js +114 -115
- package/dist/config/plugin/provider.js +113 -114
- package/dist/config/plugin/reference.js +117 -118
- package/dist/config/plugin/shell.js +118 -119
- package/dist/config/plugin/skill-file.js +97 -98
- package/dist/config/plugin/skill.js +134 -135
- package/dist/config/plugin/snapshot.js +115 -116
- package/dist/config/plugin/source.js +115 -116
- package/dist/config/plugin/tool-output.js +117 -118
- package/dist/config/plugin/websearch.js +115 -116
- package/dist/config/plugin/worktree.js +118 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -84
- package/dist/database/database.js +68 -69
- 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 -48
- package/dist/database/migration.js +49 -50
- 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 +78 -79
- 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 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -91
- 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 -73
- package/dist/file-access.js +99 -100
- package/dist/file-mutation.js +89 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -101
- package/dist/form.js +82 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -83
- package/dist/generate.js +93 -94
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +83 -84
- package/dist/instructions/builtins.js +82 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -83
- package/dist/job.js +77 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -72
- package/dist/location-activity.js +133 -134
- package/dist/location-mutation.js +99 -100
- package/dist/location-service-map.js +83 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +82 -83
- package/dist/mcp/client.js +86 -87
- package/dist/mcp/index.js +103 -104
- package/dist/mcp/instructions.js +118 -119
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -93
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -74
- package/dist/plugin/agent.js +97 -98
- package/dist/plugin/command.js +94 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -214
- 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 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -6
- package/dist/plugin/plan.js +97 -98
- 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 +7 -0
- package/dist/plugin/provider/azure.js +118 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -115
- package/dist/plugin/provider/digitalocean.js +79 -80
- 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 -81
- 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 -77
- package/dist/plugin/provider/lmstudio.js +115 -116
- package/dist/plugin/provider/mistral.js +7 -0
- package/dist/plugin/provider/modal.js +79 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -81
- package/dist/plugin/provider/opencode.js +76 -80
- 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 +5 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -116
- package/dist/plugin/provider/xai.js +77 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -157
- package/dist/plugin/sdk.js +72 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +82 -83
- package/dist/plugin/vcs/hg.js +82 -83
- package/dist/plugin/warming.js +112 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -84
- package/dist/provider.js +7 -9
- 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 -95
- package/dist/reference/instructions.js +84 -85
- package/dist/reference.js +84 -85
- package/dist/repository-cache.js +76 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -94
- package/dist/rpc.js +81 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -73
- package/dist/session/compaction.js +127 -128
- package/dist/session/context.js +147 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +13 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -220
- package/dist/session/execution.js +124 -125
- package/dist/session/generate.js +148 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -127
- package/dist/session/projector.js +84 -85
- package/dist/session/prompt.js +100 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -91
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -111
- package/dist/session/runner/step.js +119 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -168
- package/dist/session/shell.js +131 -132
- package/dist/session/skill.js +98 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -74
- package/dist/session/store.js +85 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +145 -146
- package/dist/session/to-session-error.js +107 -108
- package/dist/session/transfer.js +219 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -214
- 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 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +96 -97
- package/dist/skill.js +107 -108
- package/dist/snapshot.js +86 -87
- 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 +117 -118
- package/dist/tool/plugin/edit.js +111 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -121
- package/dist/tool/plugin/grep.js +120 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -118
- package/dist/tool/plugin/question.js +100 -101
- package/dist/tool/plugin/read.js +121 -122
- package/dist/tool/plugin/shell.js +212 -213
- package/dist/tool/plugin/skill.js +108 -109
- package/dist/tool/plugin/subagent.js +208 -209
- package/dist/tool/plugin/webfetch.js +105 -106
- package/dist/tool/plugin/websearch.js +109 -110
- package/dist/tool/plugin/write.js +117 -118
- package/dist/tool/read-filesystem.js +96 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/aisdk-native.d.ts +2 -4
- package/dist/types/model-resolver.d.ts +3 -52
- package/dist/types/model.d.ts +0 -1
- package/dist/types/plugin/optimize.d.ts +1 -2
- package/dist/types/plugin/provider/anthropic.d.ts +1 -0
- package/dist/types/plugin/provider/mistral.d.ts +1 -0
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +4 -5
- package/dist/types/provider.d.ts +0 -2
- package/dist/types/rpc.d.ts +0 -1
- package/dist/types/session/compaction.d.ts +3 -3
- package/dist/types/session/context.d.ts +1 -1
- package/dist/types/session/error.d.ts +36 -0
- package/dist/types/session/history.d.ts +0 -80
- package/dist/types/session/model-request.d.ts +37 -18
- package/dist/types/session/runner/model.d.ts +0 -5
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/types/session/schema.d.ts +0 -9
- package/dist/types/session/session.d.ts +5 -5
- package/dist/types/session/sql.d.ts +3 -3
- package/dist/types/session/store.d.ts +0 -1
- package/dist/types/session/transfer.d.ts +0 -53
- package/dist/types/session.d.ts +5 -8
- package/dist/types/v1/config/migrate.d.ts +0 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -86
- package/dist/websearch.js +82 -83
- package/dist/wellknown/plugin.js +74 -75
- package/dist/wellknown.js +79 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -92
- package/package.json +8 -8
- package/dist/chunks/model-resolver-0wmmprtc.js +0 -260
- package/dist/chunks/model-resolver-532bqssk.js +0 -63
- package/dist/chunks/model-resolver-ghej9zy6.js +0 -228
- package/dist/chunks/model-resolver-hjw1g3kj.js +0 -247
- package/dist/chunks/model-resolver-j2k1bkn8.js +0 -22
- package/dist/chunks/model-resolver-qapv375x.js +0 -4
- package/dist/chunks/model-resolver-qdyb70sk.js +0 -18
- package/dist/chunks/model-resolver-wrjeysgp.js +0 -170
- package/dist/chunks/model-resolver-wwmx33bt.js +0 -123
- package/dist/chunks/model-resolver-y8f7s663.js +0 -13
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +0 -6
- package/dist/plugin/provider/poe.js +0 -82
- package/dist/types/database/migration/20260910120000_clear_v1_session_permission.d.ts +0 -3
- package/dist/types/plugin/provider/poe.d.ts +0 -2
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./file-enk99f8n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service29
|
|
7
|
+
} from "./file-4v7qdvcn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service50,
|
|
10
|
+
node53
|
|
11
|
+
} from "./file-ab8td0yc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node16
|
|
14
|
+
} from "./file-axh6m6j7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node3
|
|
17
|
+
} from "./file-arm49q9k.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
24
24
|
__export(exports_refresh, {
|
|
25
25
|
WorktreeRefresh: () => exports_refresh,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node2
|
|
27
27
|
});
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service76;
|
|
32
|
+
const plugins = yield* Service29;
|
|
33
|
+
const worktrees = yield* Service50;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
37
37
|
}));
|
|
38
|
-
var
|
|
38
|
+
var node2 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node53, node81, node16, node3]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { node2, exports_refresh };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-enk99f8n.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
13
|
-
canonical: () =>
|
|
14
|
-
node: () =>
|
|
12
|
+
Service: () => Service44,
|
|
13
|
+
canonical: () => canonical2,
|
|
14
|
+
node: () => node47
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service44 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service44, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
26
|
+
var node47 = LayerNode.unbound(Service44, Node.tags.values.global);
|
|
27
|
+
function canonical2(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service44, node47, canonical2, exports_location_service_map };
|
|
@@ -1,117 +1,114 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-2tv38tk1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
ID9,
|
|
7
|
+
Service58,
|
|
8
|
+
node62
|
|
9
|
+
} from "./file-4qfh6hxk.js";
|
|
9
10
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./model-resolver-0vvagabw.js";
|
|
14
|
-
import {
|
|
15
|
-
AgentNotFoundError2
|
|
16
|
-
} from "./model-resolver-qwkytnft.js";
|
|
11
|
+
Service48,
|
|
12
|
+
node51
|
|
13
|
+
} from "./file-bdbwpwhn.js";
|
|
17
14
|
import {
|
|
18
15
|
combine2
|
|
19
|
-
} from "./
|
|
16
|
+
} from "./file-rhjbct0v.js";
|
|
20
17
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
18
|
+
make14
|
|
19
|
+
} from "./file-pjsmk15p.js";
|
|
23
20
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
Service60,
|
|
22
|
+
node64
|
|
23
|
+
} from "./file-q73rq2bt.js";
|
|
26
24
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
25
|
+
Service76,
|
|
26
|
+
node81
|
|
27
|
+
} from "./file-enk99f8n.js";
|
|
30
28
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
Service30,
|
|
30
|
+
node34
|
|
31
|
+
} from "./file-wdatz8ry.js";
|
|
33
32
|
import {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./model-resolver-dktryzc1.js";
|
|
33
|
+
AgentNotFoundError2
|
|
34
|
+
} from "./file-dsf3jx99.js";
|
|
37
35
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
provenance2
|
|
37
|
+
} from "./file-csf2jhsg.js";
|
|
40
38
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./model-resolver-b77arecc.js";
|
|
39
|
+
entriesForRunner2
|
|
40
|
+
} from "./file-7g79e5pr.js";
|
|
44
41
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
42
|
+
Service57,
|
|
43
|
+
node61
|
|
44
|
+
} from "./file-yca9gk6f.js";
|
|
48
45
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
46
|
+
Service46,
|
|
47
|
+
node49
|
|
48
|
+
} from "./file-bge4fr1z.js";
|
|
52
49
|
import {
|
|
53
50
|
Service24,
|
|
54
51
|
node28
|
|
55
|
-
} from "./
|
|
52
|
+
} from "./file-wwegy27d.js";
|
|
56
53
|
import {
|
|
57
54
|
Service23,
|
|
58
55
|
node27
|
|
59
|
-
} from "./
|
|
56
|
+
} from "./file-n5qmychr.js";
|
|
60
57
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
58
|
+
Service25,
|
|
59
|
+
node29
|
|
60
|
+
} from "./file-0rvyveqe.js";
|
|
64
61
|
import {
|
|
65
62
|
Service26,
|
|
66
63
|
node30
|
|
67
|
-
} from "./
|
|
64
|
+
} from "./file-w59r8svm.js";
|
|
68
65
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
66
|
+
Service28,
|
|
67
|
+
node33
|
|
68
|
+
} from "./file-c6jw9d6c.js";
|
|
72
69
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
70
|
+
Service31,
|
|
71
|
+
node35
|
|
72
|
+
} from "./file-eex81ar0.js";
|
|
76
73
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
74
|
+
Service42,
|
|
75
|
+
node45
|
|
76
|
+
} from "./file-tegrjk77.js";
|
|
80
77
|
import {
|
|
81
78
|
__export
|
|
82
|
-
} from "./
|
|
79
|
+
} from "./file-9rqn6x4v.js";
|
|
83
80
|
|
|
84
81
|
// src/session/context.ts
|
|
85
82
|
var exports_context = {};
|
|
86
83
|
__export(exports_context, {
|
|
87
|
-
Service: () =>
|
|
84
|
+
Service: () => Service22,
|
|
88
85
|
SessionContext: () => exports_context,
|
|
89
|
-
node: () =>
|
|
86
|
+
node: () => node26
|
|
90
87
|
});
|
|
91
88
|
import { Model } from "@opencode/schema/model";
|
|
92
89
|
import { Context, Effect, Layer } from "effect";
|
|
93
90
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
|
-
class
|
|
91
|
+
class Service22 extends Context.Service()("@opencode/SessionContext") {
|
|
95
92
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
97
|
-
const agents = yield*
|
|
98
|
-
const builtins = yield*
|
|
99
|
-
const catalog = yield*
|
|
100
|
-
const db = (yield*
|
|
101
|
-
const discovery = yield*
|
|
102
|
-
const entries = yield*
|
|
103
|
-
const location = yield*
|
|
93
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
94
|
+
const agents = yield* Service58;
|
|
95
|
+
const builtins = yield* Service30;
|
|
96
|
+
const catalog = yield* Service48;
|
|
97
|
+
const db = (yield* Service80).db;
|
|
98
|
+
const discovery = yield* Service60;
|
|
99
|
+
const entries = yield* Service28;
|
|
100
|
+
const location = yield* Service76;
|
|
104
101
|
const mcpInstructions = yield* Service23;
|
|
105
102
|
const mcpTools = yield* Service24;
|
|
106
|
-
const models = yield*
|
|
107
|
-
const
|
|
108
|
-
const referenceInstructions = yield*
|
|
103
|
+
const models = yield* Service42;
|
|
104
|
+
const modelRequests = yield* Service31;
|
|
105
|
+
const referenceInstructions = yield* Service25;
|
|
109
106
|
const skillInstructions = yield* Service26;
|
|
110
|
-
const store = yield*
|
|
111
|
-
const registry = yield*
|
|
107
|
+
const store = yield* Service57;
|
|
108
|
+
const registry = yield* Service46;
|
|
112
109
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
113
110
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
114
|
-
const agent = yield* agents.get(
|
|
111
|
+
const agent = yield* agents.get(ID9.make("title"));
|
|
115
112
|
if (!agent)
|
|
116
113
|
return;
|
|
117
114
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -151,7 +148,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
151
148
|
if (!agent.info)
|
|
152
149
|
return yield* new AgentNotFoundError2({ sessionID: session.id, agent: session.agent ?? agent.id });
|
|
153
150
|
const loaded = yield* Effect.all({
|
|
154
|
-
tools: registry.snapshot(
|
|
151
|
+
tools: registry.snapshot(agent.info.permissions),
|
|
155
152
|
builtins: builtins.load(sessionID),
|
|
156
153
|
discovery: discovery.load(),
|
|
157
154
|
skills: skillInstructions.load(agent),
|
|
@@ -186,29 +183,29 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
186
183
|
tools: selection.tools
|
|
187
184
|
};
|
|
188
185
|
});
|
|
189
|
-
return
|
|
186
|
+
return Service22.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
|
|
190
187
|
}));
|
|
191
188
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
189
|
+
var node26 = makeLocationNode({
|
|
190
|
+
service: Service22,
|
|
194
191
|
layer,
|
|
195
192
|
deps: [
|
|
196
|
-
|
|
193
|
+
node62,
|
|
194
|
+
node51,
|
|
195
|
+
node85,
|
|
196
|
+
node34,
|
|
197
197
|
node64,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
node43,
|
|
201
|
-
node22,
|
|
202
|
-
node78,
|
|
198
|
+
node33,
|
|
199
|
+
node81,
|
|
203
200
|
node27,
|
|
204
201
|
node28,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
202
|
+
node29,
|
|
203
|
+
node45,
|
|
204
|
+
node35,
|
|
205
|
+
node61,
|
|
209
206
|
node30,
|
|
210
|
-
|
|
207
|
+
node49
|
|
211
208
|
]
|
|
212
209
|
});
|
|
213
210
|
|
|
214
|
-
export {
|
|
211
|
+
export { Service22, node26, exports_context };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-4qfh6hxk.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-1q2nd9f6.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent = {};
|
|
15
15
|
__export(exports_agent, {
|
|
16
16
|
AgentPlugin: () => exports_agent,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin12
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin12 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin7 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID9.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin7 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID9.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin7 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin12, exports_agent };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-hw2gt29t.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node81
|
|
13
|
+
} from "./file-enk99f8n.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-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: () => Service17,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node21
|
|
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
|
-
import { Context,
|
|
30
|
-
class
|
|
29
|
+
import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
+
class Service17 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,11 +39,10 @@ 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(Service17, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service79;
|
|
44
|
+
const location = yield* Service76;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
|
-
const closed = yield* Deferred.make();
|
|
47
46
|
const callContext = {
|
|
48
47
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
49
48
|
};
|
|
@@ -89,8 +88,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
89
88
|
};
|
|
90
89
|
});
|
|
91
90
|
const call = Effect.fn("Rpc.call")(function* (rpcID, name, input) {
|
|
92
|
-
if (yield* Deferred.isDone(closed))
|
|
93
|
-
return yield* Effect.fail(failure("rpc.unavailable", `RPC is unavailable: ${rpcID}`));
|
|
94
91
|
const entry = registrations.get(rpcID)?.at(-1);
|
|
95
92
|
if (!entry)
|
|
96
93
|
return yield* Effect.fail(failure("rpc.unavailable", `RPC is unavailable: ${rpcID}`));
|
|
@@ -102,7 +99,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
102
99
|
const result = yield* Effect.suspend(() => {
|
|
103
100
|
const execution = Reflect.apply(handler, undefined, [parsed, callContext]);
|
|
104
101
|
return execution;
|
|
105
|
-
}).pipe(Effect.catch((error) => encodeError(method, error)), Effect.catchDefect((defect) => Effect.logError("rpc handler failed", { rpc: rpcID, method: name, defect }).pipe(Effect.andThen(Effect.fail(failure("rpc.internal", "RPC call failed")))))
|
|
102
|
+
}).pipe(Effect.catch((error) => encodeError(method, error)), Effect.catchDefect((defect) => Effect.logError("rpc handler failed", { rpc: rpcID, method: name, defect }).pipe(Effect.andThen(Effect.fail(failure("rpc.internal", "RPC call failed"))))));
|
|
106
103
|
return yield* encode(method.output, result).pipe(Effect.mapError((error) => failure("rpc.invalid_output", errorMessage(error, "Invalid RPC output"))));
|
|
107
104
|
});
|
|
108
105
|
const client = (definition) => {
|
|
@@ -118,14 +115,14 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
118
115
|
const registered = events.get(name);
|
|
119
116
|
if (!registered)
|
|
120
117
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
118
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
119
|
}
|
|
123
120
|
}
|
|
124
121
|
};
|
|
125
122
|
};
|
|
126
|
-
return
|
|
123
|
+
return Service17.of({ register, call, client });
|
|
127
124
|
}));
|
|
128
|
-
var
|
|
125
|
+
var node21 = makeLocationNode({ service: Service17, layer, deps: [node84, node81] });
|
|
129
126
|
var fields = {
|
|
130
127
|
id: Event.ID,
|
|
131
128
|
created: Schema.Finite,
|
|
@@ -210,4 +207,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
207
|
};
|
|
211
208
|
});
|
|
212
209
|
|
|
213
|
-
export {
|
|
210
|
+
export { Service17, node21, exports_rpc, define2 };
|