@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,59 +1,59 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-2tv38tk1.js";
|
|
1
5
|
import {
|
|
2
6
|
Service79,
|
|
3
7
|
node84
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service77,
|
|
7
|
-
node81
|
|
8
|
-
} from "./model-resolver-csz4k5km.js";
|
|
8
|
+
} from "./file-hw2gt29t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service43,
|
|
11
|
+
node46
|
|
12
|
+
} from "./file-w645sbyz.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service41,
|
|
15
|
+
node44
|
|
16
|
+
} from "./file-3c1tgrea.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./file-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service39
|
|
26
|
+
} from "./file-06x8he3q.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-dsf3jx99.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service57,
|
|
32
|
+
node61
|
|
33
|
+
} from "./file-yca9gk6f.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-4x6ztkk5.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-shsgghb2.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./file-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service38,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer16,
|
|
50
|
+
node: () => node42,
|
|
51
|
+
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service38 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
73
|
-
const db = (yield*
|
|
68
|
+
var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service57;
|
|
70
|
+
const instances = yield* Service41;
|
|
71
|
+
const bus = yield* Service79;
|
|
72
|
+
const jobs = yield* Service43;
|
|
73
|
+
const db = (yield* Service80).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
76
76
|
commit: () => store.claim(sessionID)
|
|
@@ -82,13 +82,13 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service39.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable)
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
-
const coordinator = yield*
|
|
91
|
+
const coordinator = yield* make15({
|
|
92
92
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
93
93
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
94
94
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -109,7 +109,7 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
109
109
|
}, releaseOnCommit(sessionID));
|
|
110
110
|
}))
|
|
111
111
|
});
|
|
112
|
-
return
|
|
112
|
+
return Service38.of({
|
|
113
113
|
active: coordinator.active,
|
|
114
114
|
isActive: coordinator.isActive,
|
|
115
115
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -128,12 +128,12 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
128
128
|
awaitIdle: coordinator.awaitIdle
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
133
|
-
layer:
|
|
134
|
-
deps: [
|
|
131
|
+
var node42 = makeGlobalNode({
|
|
132
|
+
service: Service38,
|
|
133
|
+
layer: layer16,
|
|
134
|
+
deps: [node61, node44, node84, node85, node46]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
136
|
+
var noopLayer3 = Layer.succeed(Service38, Service38.of({
|
|
137
137
|
active: Effect.succeed(new Set),
|
|
138
138
|
isActive: () => Effect.succeed(false),
|
|
139
139
|
resume: () => Effect.void,
|
|
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service43, Service43.of({
|
|
|
142
142
|
awaitIdle: () => Effect.void
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Service38, terminal2, layer16, node42, noopLayer3, exports_execution };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-hw2gt29t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service72,
|
|
8
|
+
node77
|
|
9
|
+
} from "./file-1xzdp18p.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-ra8xed55.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event9,
|
|
34
34
|
ID: () => ID6,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info8,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service49,
|
|
43
|
+
node: () => node52
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event9 } from "@opencode/schema/integration";
|
|
65
65
|
var ID6 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info8 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,14 +87,14 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service49 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
97
|
-
const bus = yield*
|
|
95
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service72;
|
|
97
|
+
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
100
100
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info8.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service49.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key4.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node52 = makeLocationNode({
|
|
569
|
+
service: Service49,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node77, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2,
|
|
574
|
+
export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info8, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service49, node52, exports_integration, Event9 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-hw2gt29t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node78
|
|
8
|
+
} from "./file-zx86nq6m.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-kg06axw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event3,
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service13,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node17
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID3 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID3,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service13 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service79;
|
|
70
|
+
const kv = yield* Service73;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service13.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node17 = makeLocationNode({
|
|
188
|
+
service: Service13,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node84, node78]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service13, node17, exports_websearch3, Event3 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-84tssp1s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./file-bdbwpwhn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./file-1xb0henf.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service48;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service69);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info22
|
|
7
|
+
} from "./file-axmvebxj.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info20
|
|
10
|
+
} from "./file-2bdsn8gv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info26
|
|
13
|
+
} from "./file-gdrhyezn.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info27
|
|
16
|
+
} from "./file-zv0544jz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info19
|
|
19
|
+
} from "./file-pjedbq3k.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info23
|
|
25
|
+
} from "./file-qz49fwgp.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info24
|
|
28
|
+
} from "./file-3cz8rj72.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info21
|
|
34
|
+
} from "./file-vmq7ehpy.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./file-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info25
|
|
40
|
+
} from "./file-7atngb88.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info18,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info18 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info9 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info27)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info25).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info9 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info20), plan: Schema.optional(Info20) }), [Schema.Record(Schema.String, Info20)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info20),
|
|
119
|
+
build: Schema.optional(Info20),
|
|
120
|
+
general: Schema.optional(Info20),
|
|
121
|
+
explore: Schema.optional(Info20),
|
|
122
|
+
title: Schema.optional(Info20),
|
|
123
|
+
summary: Schema.optional(Info20),
|
|
124
|
+
compaction: Schema.optional(Info20)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info20)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info21)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info24, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info19).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info23).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info22),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info26).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info9 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info18, exports_config2 };
|