@opencode/core 0.0.0-dev-19274 → 0.0.0-dev-19276
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-9bey2zpa.js → bus-01797ny4.js} +12 -12
- package/dist/chunks/{file-6kgc56n8.js → bus-03tt90jk.js} +6 -6
- package/dist/chunks/bus-05zf2dx1.js +247 -0
- package/dist/chunks/{file-ne3jdqry.js → bus-07770t2t.js} +4 -4
- package/dist/chunks/{file-c6jw9d6c.js → bus-08c8ha06.js} +13 -13
- package/dist/chunks/{file-bdkz1q2y.js → bus-0czprt7a.js} +6 -6
- package/dist/chunks/{file-1dfhrqqs.js → bus-0hpxrkyb.js} +5 -5
- package/dist/chunks/{file-xed1dtdk.js → bus-0j044k52.js} +8 -8
- package/dist/chunks/bus-0kwcw7fy.js +4 -0
- package/dist/chunks/{file-d8drewm4.js → bus-0mv9cd5d.js} +26 -26
- package/dist/chunks/{file-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-n3wgj171.js → bus-10761f79.js} +25 -25
- package/dist/chunks/{file-cz12sndv.js → bus-14adtvh1.js} +12 -12
- package/dist/chunks/{file-c9kt1fwd.js → bus-151sq2qz.js} +6 -6
- package/dist/chunks/{file-fq1h1v14.js → bus-18cztcj7.js} +3 -3
- package/dist/chunks/{file-jypsjmxy.js → bus-1a592kp3.js} +13 -13
- package/dist/chunks/{file-mrw4weg4.js → bus-1ah30sey.js} +5 -5
- package/dist/chunks/{file-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-9eqtwdne.js → bus-1rsjtwsx.js} +83 -83
- package/dist/chunks/{file-8gbf9msb.js → bus-1st7a56d.js} +22 -22
- package/dist/chunks/{file-1ajj2c3r.js → bus-1vqcz3hm.js} +36 -36
- package/dist/chunks/{file-endpbns8.js → bus-1xeq3jts.js} +4 -4
- package/dist/chunks/{file-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{file-8bpbp254.js → bus-23t95pj9.js} +40 -40
- package/dist/chunks/{file-2402vzrj.js → bus-2402vzrj.js} +1 -1
- package/dist/chunks/{file-29x78va6.js → bus-29x78va6.js} +2 -2
- package/dist/chunks/{file-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-84tssp1s.js → bus-2d6j2h4j.js} +6 -6
- package/dist/chunks/{file-dv250zvr.js → bus-2f04pwep.js} +3 -3
- package/dist/chunks/{file-gdrhyezn.js → bus-2f0bjgcj.js} +5 -5
- package/dist/chunks/{file-2qz021p1.js → bus-2gv1fy3f.js} +14 -14
- package/dist/chunks/{file-7dqw4kz8.js → bus-2k8khapm.js} +5 -5
- package/dist/chunks/{file-2f1k6btd.js → bus-2vdmvhdx.js} +28 -28
- package/dist/chunks/{file-06x8he3q.js → bus-2vs2nh1n.js} +4 -4
- package/dist/chunks/{file-jrrn2k62.js → bus-2wyjv582.js} +4 -4
- package/dist/chunks/{file-esdnemd6.js → bus-31dz7cp4.js} +1 -1
- package/dist/chunks/{file-anvxjef4.js → bus-348phf0m.js} +4 -4
- package/dist/chunks/{file-3wj4wm80.js → bus-39aa7p7s.js} +81 -81
- package/dist/chunks/{file-m2shdzh0.js → bus-3b5bkbaw.js} +35 -35
- package/dist/chunks/{file-bjpmp57t.js → bus-3fathxbm.js} +14 -14
- package/dist/chunks/{file-gdvy8fx6.js → bus-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-ec2j1krk.js → bus-3hjtj8hn.js} +34 -34
- package/dist/chunks/{file-7atngb88.js → bus-3j8sdtpz.js} +4 -4
- package/dist/chunks/{file-hznfad64.js → bus-3pf38fxc.js} +24 -24
- package/dist/chunks/{file-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-y7egkzp6.js → bus-45kmc290.js} +15 -15
- package/dist/chunks/{file-7g79e5pr.js → bus-4d5vyrnh.js} +8 -8
- package/dist/chunks/{file-94sf61n7.js → bus-4xdz4snq.js} +9 -9
- package/dist/chunks/{file-4vf981v9.js → bus-50wkfpjr.js} +18 -18
- package/dist/chunks/{file-knac466s.js → bus-54c6103e.js} +21 -21
- package/dist/chunks/bus-578j099y.js +22 -0
- package/dist/chunks/{file-tk6q6kp1.js → bus-5cn90sgv.js} +20 -20
- package/dist/chunks/{file-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{file-w59r8svm.js → bus-5dcvxp1d.js} +13 -13
- package/dist/chunks/{file-vabb23s0.js → bus-5jtdmvnp.js} +1 -1
- package/dist/chunks/{file-vjknh09n.js → bus-5rfvnrqe.js} +69 -69
- package/dist/chunks/{file-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-67e9xs01.js → bus-65d7re2p.js} +22 -22
- package/dist/chunks/{file-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{file-0ea3rya4.js → bus-678ce1rn.js} +7 -7
- package/dist/chunks/{file-y0kn4hqx.js → bus-6akyj57t.js} +9 -9
- package/dist/chunks/{file-qf00j6dv.js → bus-6amate8q.js} +17 -17
- package/dist/chunks/{file-b4nrwvyj.js → bus-6bs0ze1e.js} +15 -15
- package/dist/chunks/{file-dvmnmd5k.js → bus-6e18hcte.js} +42 -42
- package/dist/chunks/{file-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-csf2jhsg.js → bus-6p3xbzsx.js} +4 -4
- package/dist/chunks/{file-mvfjcd1q.js → bus-6pfbz9y2.js} +10 -10
- package/dist/chunks/{file-71q4at8m.js → bus-71q4at8m.js} +1 -1
- package/dist/chunks/{file-mhkvc446.js → bus-73tb2d7t.js} +3 -3
- package/dist/chunks/{file-jbax583q.js → bus-76w1t1yj.js} +1 -1
- package/dist/chunks/{file-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-j8sknp13.js → bus-7c9jbg9y.js} +20 -20
- package/dist/chunks/{file-nrzk1d2g.js → bus-7v401y1c.js} +19 -19
- package/dist/chunks/{file-1q2nd9f6.js → bus-7wh9hy1a.js} +52 -52
- package/dist/chunks/{file-q73rq2bt.js → bus-7wsvn7dg.js} +24 -24
- package/dist/chunks/{file-nx4935gj.js → bus-80e0yyk8.js} +10 -10
- package/dist/chunks/{file-81swgkk7.js → bus-81swgkk7.js} +2 -2
- package/dist/chunks/{file-q26tgv94.js → bus-844ef7ks.js} +8 -8
- package/dist/chunks/{file-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-wea26x67.js → bus-8dt4t099.js} +4 -4
- package/dist/chunks/{file-t3g2ccp6.js → bus-8ev9m3kr.js} +26 -26
- package/dist/chunks/{file-t5qb37t7.js → bus-8ga2rbrz.js} +10 -10
- package/dist/chunks/{file-8tef8d4h.js → bus-8ja0m408.js} +41 -41
- package/dist/chunks/{file-dj2t23y0.js → bus-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-kt5w8vxh.js → bus-8pngxq2x.js} +10 -10
- package/dist/chunks/{file-cny5rd43.js → bus-8t1wrec1.js} +8 -8
- package/dist/chunks/{file-y5cw24ds.js → bus-91ahjgzv.js} +14 -14
- package/dist/chunks/{file-s4m5whm3.js → bus-92j3apgd.js} +42 -42
- package/dist/chunks/{file-b4n85fcv.js → bus-9d775fyf.js} +30 -30
- package/dist/chunks/{file-5xhpatkf.js → bus-9ge5qtph.js} +11 -11
- package/dist/chunks/{file-rq8fnevv.js → bus-9pqmfa27.js} +3 -3
- package/dist/chunks/{file-0rvyveqe.js → bus-9sg3cs2t.js} +16 -16
- package/dist/chunks/{file-vvxeqa35.js → bus-9stazftj.js} +134 -134
- package/dist/chunks/{file-dw8dc0pw.js → bus-a1bwf94s.js} +11 -11
- package/dist/chunks/{file-5c4hm403.js → bus-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-ttqfmzkf.js → bus-a4exdnt3.js} +4 -4
- package/dist/chunks/{file-tegrjk77.js → bus-a4s3bgbq.js} +7 -7
- package/dist/chunks/{file-sxhqw0xy.js → bus-a87z9vq8.js} +30 -30
- package/dist/chunks/{file-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{file-dsf3jx99.js → bus-aj64j3za.js} +6 -6
- package/dist/chunks/{file-jqcc8e1d.js → bus-apg01d9p.js} +10 -10
- package/dist/chunks/{file-5vc2whd9.js → bus-aypcqpwv.js} +29 -29
- package/dist/chunks/{file-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-y0bkwhrp.js → bus-bjt4k7v3.js} +20 -20
- package/dist/chunks/{file-w645sbyz.js → bus-bs0x6s8g.js} +17 -17
- package/dist/chunks/{file-zx86nq6m.js → bus-btekesqw.js} +10 -10
- package/dist/chunks/{file-bdbwpwhn.js → bus-bwer0mcv.js} +26 -26
- package/dist/chunks/bus-by5v678g.js +18 -0
- package/dist/chunks/{file-bge4fr1z.js → bus-byaheska.js} +19 -19
- package/dist/chunks/{file-79175vp8.js → bus-bzke21cp.js} +33 -33
- package/dist/chunks/{file-shsgghb2.js → bus-c0bvtzp5.js} +23 -23
- package/dist/chunks/{file-0djf8xh9.js → bus-c5as0yvq.js} +5 -5
- package/dist/chunks/{file-4hszn1mb.js → bus-c6591jrk.js} +37 -37
- package/dist/chunks/{file-sq4v2gnf.js → bus-caq2c48b.js} +9 -9
- package/dist/chunks/{file-m0jqrx5p.js → bus-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-wcge806m.js → bus-cq37gk0t.js} +4 -4
- package/dist/chunks/{file-d0chnedg.js → bus-cw1ehra3.js} +41 -41
- package/dist/chunks/{file-y2800yn9.js → bus-czkgr94f.js} +4 -4
- package/dist/chunks/{file-008dah4r.js → bus-d1dwjz3j.js} +46 -46
- package/dist/chunks/{file-1q5awywt.js → bus-d1r5081s.js} +5 -5
- package/dist/chunks/{file-s52qk724.js → bus-d8ksp3m6.js} +27 -27
- package/dist/chunks/{file-xcp573p8.js → bus-d931vq23.js} +2 -2
- package/dist/chunks/{file-e9vyr379.js → bus-d9q0n3sf.js} +9 -9
- package/dist/chunks/{file-bby00dsd.js → bus-dc76j9wz.js} +8 -8
- package/dist/chunks/{file-h2wxq9m6.js → bus-ddexhamb.js} +16 -16
- package/dist/chunks/{file-axh6m6j7.js → bus-dg9v98ve.js} +20 -20
- package/dist/chunks/{file-2k29q1p2.js → bus-dtj5a7tc.js} +53 -53
- package/dist/chunks/{file-x513e6jx.js → bus-e010nfwn.js} +20 -20
- package/dist/chunks/{file-g9ew5f51.js → bus-e07fh9p3.js} +5 -5
- package/dist/chunks/{file-pq4st5kv.js → bus-e0prvjnp.js} +2 -2
- package/dist/chunks/{file-vyrr568v.js → bus-ek27wd5s.js} +9 -9
- package/dist/chunks/{file-81pg61w1.js → bus-esngagfe.js} +8 -8
- package/dist/chunks/{file-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-7sgb7w3n.js → bus-evtq9ncg.js} +8 -8
- package/dist/chunks/{file-1xzdp18p.js → bus-ex1tnahw.js} +18 -18
- package/dist/chunks/{file-hdnk95c8.js → bus-f828m53h.js} +2 -2
- package/dist/chunks/{file-h2gyv3sg.js → bus-f9bavhm2.js} +1 -1
- package/dist/chunks/{file-qrbavdvc.js → bus-ftezeqv3.js} +15 -15
- package/dist/chunks/{file-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-5965tgm9.js → bus-fzhn4ra8.js} +25 -25
- package/dist/chunks/{file-a2zsx8ap.js → bus-g81r2fbr.js} +18 -18
- package/dist/chunks/{file-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-ab8td0yc.js → bus-gssc8jsq.js} +39 -39
- package/dist/chunks/{file-gsx0ryk4.js → bus-gsx0ryk4.js} +2 -2
- package/dist/chunks/{file-1s5k653j.js → bus-gtgj7jsd.js} +27 -27
- package/dist/chunks/{file-th5km1p3.js → bus-gv6a8nnw.js} +5 -5
- package/dist/chunks/{file-58ax6zm2.js → bus-gvphacjb.js} +12 -12
- package/dist/chunks/{file-mq2071pb.js → bus-gw1k03mf.js} +11 -11
- package/dist/chunks/{file-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-xbrgdg50.js → bus-h1vg8afz.js} +13 -13
- package/dist/chunks/{file-2erbc7c4.js → bus-h2gxeskk.js} +7 -7
- package/dist/chunks/{file-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-2bdsn8gv.js → bus-h74ge2a2.js} +8 -8
- package/dist/chunks/{file-rkh7tb58.js → bus-h8507pfw.js} +13 -13
- package/dist/chunks/{file-enk99f8n.js → bus-hj7jnvhr.js} +2 -2
- package/dist/chunks/{file-e82z9tr0.js → bus-hjt4xg1x.js} +7 -7
- package/dist/chunks/{file-wwegy27d.js → bus-hzc8qab0.js} +32 -32
- package/dist/chunks/{file-3x6z6rsx.js → bus-j24nh5aa.js} +15 -15
- package/dist/chunks/{file-8ncz7km3.js → bus-j3ewftxc.js} +7 -7
- package/dist/chunks/{file-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{file-zv0544jz.js → bus-jfqtm2ew.js} +4 -4
- package/dist/chunks/{file-w5yv7xxz.js → bus-jgy4w7ep.js} +6 -6
- package/dist/chunks/{file-79zsnxkc.js → bus-jhtev1kt.js} +11 -11
- package/dist/chunks/{file-vypqtakx.js → bus-jy16bfac.js} +1 -1
- package/dist/chunks/{file-9phvn7ns.js → bus-k0k8y9a7.js} +3 -3
- package/dist/chunks/{file-1ndzzahp.js → bus-k6avkgtn.js} +3 -3
- package/dist/chunks/{file-4g3hne3q.js → bus-kc6sgx3t.js} +14 -14
- package/dist/chunks/{file-kg06axw8.js → bus-kg06axw8.js} +1 -1
- package/dist/chunks/{file-3jp54z3r.js → bus-kjcr15p7.js} +1 -1
- package/dist/chunks/{file-axmvebxj.js → bus-kk00bynn.js} +4 -4
- package/dist/chunks/{file-n37c4crj.js → bus-kpvyk30t.js} +9 -9
- package/dist/chunks/{file-976ysedg.js → bus-kr6jnmgs.js} +11 -11
- package/dist/chunks/{file-csyt93pz.js → bus-kt9yxkkw.js} +8 -8
- package/dist/chunks/{file-wkpvzz54.js → bus-kzvhg9hn.js} +9 -9
- package/dist/chunks/{file-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-1ygqh575.js → bus-mfqp6xfm.js} +6 -6
- package/dist/chunks/{file-pjedbq3k.js → bus-mjncxbbh.js} +6 -6
- package/dist/chunks/{file-mkcjrzeh.js → bus-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-w85wdfaw.js → bus-mm42hkcz.js} +18 -18
- package/dist/chunks/{file-3cz8rj72.js → bus-mtft99cd.js} +5 -5
- package/dist/chunks/{file-aw3yg1a6.js → bus-n31fqgg2.js} +11 -11
- package/dist/chunks/{file-2bk70kd1.js → bus-nd285e9w.js} +11 -11
- package/dist/chunks/{file-4znd88gj.js → bus-ngtvrv33.js} +32 -32
- package/dist/chunks/{file-pjsmk15p.js → bus-njct8jvz.js} +16 -16
- package/dist/chunks/{file-t0x5rdq8.js → bus-p1wf2k30.js} +9 -9
- package/dist/chunks/{file-04bp4d3m.js → bus-p287w59f.js} +11 -11
- package/dist/chunks/{file-v4b36nj3.js → bus-p72z5xx6.js} +2 -2
- package/dist/chunks/{file-jqcaya3d.js → bus-pb7ssnfd.js} +11 -11
- package/dist/chunks/{file-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{file-2nhrma10.js → bus-prcjvqfg.js} +8 -8
- package/dist/chunks/{file-n5qmychr.js → bus-psvegz14.js} +18 -18
- package/dist/chunks/{file-pzh16mkn.js → bus-pzh16mkn.js} +2 -2
- package/dist/chunks/{file-t9sxjxdg.js → bus-q1a91n7k.js} +8 -8
- package/dist/chunks/{file-j5e99w94.js → bus-q1f45d8g.js} +22 -22
- package/dist/chunks/{file-3trbxeqx.js → bus-qmr73083.js} +1 -1
- package/dist/chunks/{file-3m095h8d.js → bus-qpes22qe.js} +14 -14
- package/dist/chunks/{file-qz49fwgp.js → bus-qqtwvk4z.js} +6 -6
- package/dist/chunks/{file-6fdj6kdr.js → bus-qr27hz8v.js} +4 -4
- package/dist/chunks/{file-w44msefy.js → bus-qrqp7107.js} +14 -14
- package/dist/chunks/{file-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{file-em6n8dz9.js → bus-qx44h9xp.js} +44 -44
- package/dist/chunks/{file-eex81ar0.js → bus-rac1zgpy.js} +28 -28
- package/dist/chunks/{file-hzvfpvak.js → bus-refnp3pv.js} +4 -4
- package/dist/chunks/{file-rhjbct0v.js → bus-rhjbct0v.js} +1 -1
- package/dist/chunks/{file-vr4b7vmt.js → bus-rp6fyjtn.js} +10 -10
- package/dist/chunks/{file-kd3m4z14.js → bus-s38pncdy.js} +20 -20
- package/dist/chunks/{file-s4enseaf.js → bus-s4enseaf.js} +2 -2
- package/dist/chunks/{file-6c7ejz51.js → bus-scz5mjk7.js} +4 -4
- package/dist/chunks/{file-7xdgscg1.js → bus-seggh8xt.js} +15 -15
- package/dist/chunks/{file-t1n4dhg9.js → bus-sma03fcp.js} +9 -9
- package/dist/chunks/{file-rs226bz6.js → bus-sv9bpgvh.js} +5 -5
- package/dist/chunks/{file-kbqxyd6c.js → bus-swf6f7p9.js} +11 -11
- package/dist/chunks/{file-rt7tcdqd.js → bus-t1bk1a1z.js} +33 -33
- package/dist/chunks/{file-hmtfd8e7.js → bus-t2g8y53t.js} +11 -11
- package/dist/chunks/{file-c7m8954m.js → bus-t2zw4ehs.js} +5 -5
- package/dist/chunks/{file-wdatz8ry.js → bus-t62yyj2t.js} +10 -10
- package/dist/chunks/{file-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{file-kggrcpgh.js → bus-trt64bkt.js} +11 -11
- package/dist/chunks/{file-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{file-z3syage6.js → bus-ty14kxfn.js} +20 -20
- package/dist/chunks/{file-s0vw0vjm.js → bus-v2ejn755.js} +26 -26
- package/dist/chunks/{file-9k2v62xn.js → bus-v8ch97zc.js} +1 -1
- package/dist/chunks/{file-3c1tgrea.js → bus-ve6nm2s5.js} +6 -6
- package/dist/chunks/{file-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{file-yca9gk6f.js → bus-vezrvrpz.js} +14 -14
- package/dist/chunks/{file-5vvax2qg.js → bus-vfsjdgra.js} +16 -16
- package/dist/chunks/{file-25kqvm6v.js → bus-vgedysxv.js} +15 -15
- package/dist/chunks/{file-rsz0a70p.js → bus-vkrb956e.js} +298 -298
- package/dist/chunks/{file-vmq7ehpy.js → bus-vmq7ehpy.js} +2 -2
- package/dist/chunks/{file-4x6ztkk5.js → bus-vwwyt62p.js} +4 -4
- package/dist/chunks/{file-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-2tv38tk1.js → bus-vzna85n7.js} +3 -3
- package/dist/chunks/{file-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-ra8xed55.js → bus-wa2dac04.js} +28 -28
- package/dist/chunks/{file-7be1f342.js → bus-wc7hea4z.js} +15 -15
- package/dist/chunks/{file-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{file-ya1b4y87.js → bus-wdnk5teh.js} +21 -21
- package/dist/chunks/{file-exww9xwg.js → bus-weeegdkk.js} +9 -9
- package/dist/chunks/{file-bkqrvamq.js → bus-wg7k3gk9.js} +32 -32
- package/dist/chunks/{file-3nj27wxf.js → bus-wh60pg5s.js} +10 -10
- package/dist/chunks/{file-h5pnkca0.js → bus-wh639w33.js} +35 -35
- package/dist/chunks/{file-a1d2hteq.js → bus-wk2zc65r.js} +11 -11
- package/dist/chunks/{file-w6w0btqv.js → bus-wnpr5qws.js} +6 -6
- package/dist/chunks/{file-yckky8df.js → bus-wpcdczfe.js} +6 -6
- package/dist/chunks/{file-8gkhtxwv.js → bus-wvzfgg4c.js} +21 -21
- package/dist/chunks/{file-cp5f26bt.js → bus-x122gxrn.js} +21 -21
- package/dist/chunks/{file-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-swasttjx.js → bus-x1t6vezw.js} +13 -13
- package/dist/chunks/{file-x43y2vfs.js → bus-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-wfpsx1me.js → bus-xbrnje9f.js} +8 -8
- package/dist/chunks/{file-z9s268w6.js → bus-xfpdx5t3.js} +7 -7
- package/dist/chunks/{file-agg557zn.js → bus-xg3sah7k.js} +6 -6
- package/dist/chunks/{file-s2tycd90.js → bus-xp5q11x6.js} +20 -20
- package/dist/chunks/{file-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-arm49q9k.js → bus-y4m39d6z.js} +44 -44
- package/dist/chunks/{file-dpkg50ah.js → bus-y71avatq.js} +4 -4
- package/dist/chunks/{file-4qfh6hxk.js → bus-ybbm8fej.js} +24 -24
- package/dist/chunks/{file-f2n192rq.js → bus-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-hw2gt29t.js → bus-yywfy67y.js} +12 -12
- package/dist/chunks/{file-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-2nck4hg8.js → bus-z1b1h7dj.js} +13 -13
- package/dist/chunks/{file-2j4ksk9q.js → bus-z7a0szv5.js} +14 -14
- package/dist/chunks/{file-2cws46q3.js → bus-z8xaha1g.js} +14 -14
- package/dist/chunks/{file-51kk6f2e.js → bus-zcer3j7s.js} +15 -15
- package/dist/chunks/{file-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-1xb0henf.js → bus-zfr0a75a.js} +32 -32
- package/dist/chunks/{file-0rpg7gzc.js → bus-zj09a0ew.js} +4 -4
- package/dist/chunks/{file-vg6tfdkt.js → bus-zkqxbvht.js} +13 -13
- package/dist/chunks/{file-82594dam.js → bus-zn3tg85k.js} +7 -7
- package/dist/chunks/{file-nz54bs3w.js → bus-zpsh6c0j.js} +19 -19
- package/dist/chunks/{file-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-4w7x8wv5.js → bus-zt0w0vav.js} +19 -19
- package/dist/chunks/{file-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +75 -75
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +87 -87
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +76 -76
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +5 -5
- 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 +90 -90
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +82 -82
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +84 -84
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +5 -5
- 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 +2 -2
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/file-2nz9k5ke.js +0 -247
- package/dist/chunks/file-4v7qdvcn.js +0 -18
- package/dist/chunks/file-h5wzpkcb.js +0 -22
- package/dist/chunks/file-xrsqh21y.js +0 -4
- /package/dist/chunks/{file-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a1tpkmh4.js → bus-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-j935v87r.js → bus-j935v87r.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./bus-yywfy67y.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-hj7jnvhr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node74
|
|
12
|
+
} from "./bus-x122gxrn.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service73,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node78
|
|
20
|
+
} from "./bus-gw1k03mf.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service75,
|
|
23
|
+
node80
|
|
24
|
+
} from "./bus-dc76j9wz.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service65,
|
|
27
|
+
node69
|
|
28
|
+
} from "./bus-8t1wrec1.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-2f04pwep.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service67,
|
|
35
|
+
node71
|
|
36
|
+
} from "./bus-zfr0a75a.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./bus-01797ny4.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
@@ -48,10 +48,10 @@ __export(exports_shell4, {
|
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
49
|
NotFoundError: () => NotFoundError9,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service64,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node68
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service64 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service64, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service78;
|
|
91
91
|
const location = yield* Service76;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service73;
|
|
94
|
+
const environment = yield* Service70;
|
|
95
|
+
const hooks = yield* Service75;
|
|
96
|
+
const environments = yield* Service65;
|
|
97
|
+
const config = yield* Service67;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service64.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node68 = makeLocationNode({
|
|
320
|
+
service: Service64,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
323
|
+
node83,
|
|
324
324
|
node81,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
node70,
|
|
328
|
-
node73,
|
|
329
|
-
node68,
|
|
326
|
+
node78,
|
|
330
327
|
node74,
|
|
328
|
+
node80,
|
|
329
|
+
node69,
|
|
330
|
+
node71,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { NotFoundError9, RETENTION2, DIRECTORY2,
|
|
335
|
+
export { NotFoundError9, RETENTION2, DIRECTORY2, Service64, cleanup2, node68, exports_shell4 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info13,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info13 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
52
52
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
53
53
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Info13, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-80e0yyk8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./bus-zfr0a75a.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-j3ewftxc.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service67;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
catalog.model.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID14.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make7();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make7, OllamaPlugin2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make10(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make10 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./bus-7wh9hy1a.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-a1tpkmh4.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input7,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin38,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name7 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input7 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input7.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin38 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service59;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name7,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input7,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin23 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name7,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input7, Plugin38, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./bus-yywfy67y.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-hj7jnvhr.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service60,
|
|
14
|
+
node64
|
|
15
|
+
} from "./bus-vezrvrpz.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service11,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node14
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service78;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service60;
|
|
41
41
|
const location = yield* Service76;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service11.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node14 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node83, FSUtil.node, node81, node64]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service11, node14, exports_instructions };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./bus-yywfy67y.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-hj7jnvhr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID11,
|
|
11
|
+
Service62,
|
|
12
|
+
node66
|
|
13
|
+
} from "./bus-ybbm8fej.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError8
|
|
16
|
+
} from "./bus-aj64j3za.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service60,
|
|
19
|
+
node64
|
|
20
|
+
} from "./bus-vezrvrpz.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service61,
|
|
26
|
+
node65
|
|
27
|
+
} from "./bus-6amate8q.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service75,
|
|
30
|
+
node80
|
|
31
|
+
} from "./bus-dc76j9wz.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./bus-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event15,
|
|
46
|
+
ID: () => ID9,
|
|
47
|
+
NotFoundError: () => NotFoundError7,
|
|
48
48
|
Permission: () => exports_permission,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service59,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node63
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID9 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -75,19 +75,19 @@ var RequestFields = {
|
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
|
-
var
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID9.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID11.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID9,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID9,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID9
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service59 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
130
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service78;
|
|
132
132
|
const location = yield* Service76;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service62;
|
|
134
|
+
const sessions = yield* Service60;
|
|
135
|
+
const saved = yield* Service61;
|
|
136
|
+
const hooks = yield* Service75;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError8({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID9.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service59.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node63 = makeLocationNode({
|
|
289
|
+
service: Service59,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node83, node81, node66, node64, node65, node80]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID9, Source5, Request2, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service59, node63, exports_permission, Rule2, Ruleset2, Event15 };
|