@opencode/core 0.0.0-beta-19507 → 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 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -68
- package/dist/catalog.js +83 -84
- package/dist/chunks/{file-access-16hg2h50.js → bus-01797ny4.js} +4 -4
- package/dist/chunks/{file-access-954vm9zf.js → bus-03tt90jk.js} +6 -6
- package/dist/chunks/bus-05zf2dx1.js +247 -0
- package/dist/chunks/{file-access-07770t2t.js → bus-07770t2t.js} +1 -1
- package/dist/chunks/{file-access-hgyq9xg3.js → bus-08c8ha06.js} +13 -13
- package/dist/chunks/{file-access-2w1d5hqx.js → bus-0czprt7a.js} +6 -6
- package/dist/chunks/{file-access-4y66k410.js → bus-0hpxrkyb.js} +6 -14
- package/dist/chunks/{file-access-n747g3fh.js → bus-0j044k52.js} +8 -8
- package/dist/chunks/bus-0kwcw7fy.js +4 -0
- package/dist/chunks/{file-access-etca44vv.js → bus-0mv9cd5d.js} +25 -25
- package/dist/chunks/{file-access-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-access-9998dwsd.js → bus-10761f79.js} +24 -25
- package/dist/chunks/{file-access-0f9s97z0.js → bus-14adtvh1.js} +23 -23
- package/dist/chunks/{file-access-wqg2ybf7.js → bus-151sq2qz.js} +7 -7
- package/dist/chunks/{file-access-tgqjfyja.js → bus-18cztcj7.js} +3 -3
- package/dist/chunks/{file-access-p49w4vfv.js → bus-1a592kp3.js} +14 -15
- package/dist/chunks/{file-access-2ve45fd6.js → bus-1ah30sey.js} +5 -5
- package/dist/chunks/{file-access-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-1ve8gnt4.js → bus-1rsjtwsx.js} +86 -81
- package/dist/chunks/{file-access-ehknnwyx.js → bus-1st7a56d.js} +24 -24
- package/dist/chunks/{file-access-6hjqy50w.js → bus-1vqcz3hm.js} +25 -25
- package/dist/chunks/{file-access-3p9gq7xw.js → bus-1xeq3jts.js} +6 -6
- package/dist/chunks/{file-access-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-x175c4wg.js → bus-23t95pj9.js} +37 -37
- package/dist/chunks/{file-access-2402vzrj.js → bus-2402vzrj.js} +1 -1
- package/dist/chunks/{file-access-29x78va6.js → bus-29x78va6.js} +2 -2
- package/dist/chunks/{file-access-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-g14zqp48.js → bus-2d6j2h4j.js} +7 -12
- package/dist/chunks/{file-access-93hpb89x.js → bus-2f04pwep.js} +3 -3
- package/dist/chunks/{file-access-ag9w8cw1.js → bus-2f0bjgcj.js} +5 -5
- package/dist/chunks/{file-access-zttfg7sr.js → bus-2gv1fy3f.js} +20 -20
- package/dist/chunks/{file-access-2k8khapm.js → bus-2k8khapm.js} +1 -1
- package/dist/chunks/{file-access-7hbsyrtj.js → bus-2vdmvhdx.js} +70 -101
- package/dist/chunks/{file-access-dhmh7aw6.js → bus-2vs2nh1n.js} +4 -4
- package/dist/chunks/{file-access-2wyjv582.js → bus-2wyjv582.js} +1 -1
- package/dist/chunks/{file-access-e17bkqjz.js → bus-31dz7cp4.js} +1 -1
- package/dist/chunks/{file-access-mtegq6tq.js → bus-348phf0m.js} +2 -2
- package/dist/chunks/{file-access-6b41461m.js → bus-39aa7p7s.js} +84 -87
- package/dist/chunks/{file-access-c1fhravq.js → bus-3b5bkbaw.js} +39 -35
- package/dist/chunks/{file-access-sqb2tzxk.js → bus-3fathxbm.js} +8 -8
- package/dist/chunks/{file-access-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-29ypnx2x.js → bus-3hjtj8hn.js} +34 -34
- package/dist/chunks/{file-access-3j8sdtpz.js → bus-3j8sdtpz.js} +1 -1
- package/dist/chunks/{file-access-8v86gz5j.js → bus-3pf38fxc.js} +21 -21
- package/dist/chunks/{file-access-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-rhqq9sj2.js → bus-45kmc290.js} +17 -25
- package/dist/chunks/{file-access-1bagj3va.js → bus-4d5vyrnh.js} +8 -8
- package/dist/chunks/{file-access-6ymtkfzb.js → bus-4xdz4snq.js} +19 -44
- package/dist/chunks/{file-access-50wkfpjr.js → bus-50wkfpjr.js} +3 -3
- package/dist/chunks/{file-access-d6ppqdhn.js → bus-54c6103e.js} +48 -22
- package/dist/chunks/bus-578j099y.js +22 -0
- package/dist/chunks/{file-access-zrk6752y.js → bus-5cn90sgv.js} +18 -18
- package/dist/chunks/{file-access-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-55nxwdxq.js → bus-5dcvxp1d.js} +15 -15
- package/dist/chunks/bus-5jtdmvnp.js +35 -0
- package/dist/chunks/{file-access-1yag4scb.js → bus-5rfvnrqe.js} +72 -72
- package/dist/chunks/{file-access-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-rvpq5vnx.js → bus-65d7re2p.js} +18 -18
- package/dist/chunks/{file-access-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{file-access-f4mxeny4.js → bus-678ce1rn.js} +7 -7
- package/dist/chunks/{file-access-fx94a4xa.js → bus-6akyj57t.js} +9 -9
- package/dist/chunks/{file-access-a82vvkn3.js → bus-6amate8q.js} +15 -15
- package/dist/chunks/{file-access-dyw6ca8r.js → bus-6bs0ze1e.js} +27 -26
- package/dist/chunks/{file-access-rq0v4azk.js → bus-6e18hcte.js} +23 -23
- package/dist/chunks/{file-access-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-csf2jhsg.js → bus-6p3xbzsx.js} +4 -4
- package/dist/chunks/{file-access-qs55kqfs.js → bus-6pfbz9y2.js} +8 -8
- package/dist/chunks/{file-access-71q4at8m.js → bus-71q4at8m.js} +1 -1
- package/dist/chunks/{file-access-mvfsc1pv.js → bus-73tb2d7t.js} +3 -3
- package/dist/chunks/{file-access-hzmns3wg.js → bus-76w1t1yj.js} +1 -1
- package/dist/chunks/{file-access-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-vcp78m62.js → bus-7c9jbg9y.js} +20 -20
- package/dist/chunks/{file-access-057tqkc7.js → bus-7v401y1c.js} +12 -12
- package/dist/chunks/{file-access-x1cybn0h.js → bus-7wh9hy1a.js} +53 -53
- package/dist/chunks/{file-access-drbmzzp6.js → bus-7wsvn7dg.js} +15 -15
- package/dist/chunks/{file-access-9d8v8ke2.js → bus-80e0yyk8.js} +10 -10
- package/dist/chunks/{file-access-81swgkk7.js → bus-81swgkk7.js} +2 -2
- package/dist/chunks/{file-access-cmwkp3r5.js → bus-844ef7ks.js} +4 -4
- package/dist/chunks/{file-access-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-6s8fgxzr.js → bus-8dt4t099.js} +4 -4
- package/dist/chunks/{file-access-d2nsem9c.js → bus-8ev9m3kr.js} +24 -24
- package/dist/chunks/{file-access-833eac0h.js → bus-8ga2rbrz.js} +8 -8
- package/dist/chunks/{file-access-3h3mykw7.js → bus-8ja0m408.js} +36 -36
- package/dist/chunks/{file-access-8p4f9s12.js → bus-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-access-nbddwgy7.js → bus-8pngxq2x.js} +10 -10
- package/dist/chunks/{file-access-8t1wrec1.js → bus-8t1wrec1.js} +1 -1
- package/dist/chunks/{file-access-m9wxyjft.js → bus-91ahjgzv.js} +9 -9
- package/dist/chunks/{file-access-092yf68v.js → bus-92j3apgd.js} +38 -38
- package/dist/chunks/{file-access-c6npeh2h.js → bus-9d775fyf.js} +30 -30
- package/dist/chunks/{file-access-0wqa8qs0.js → bus-9ge5qtph.js} +9 -9
- package/dist/chunks/{file-access-ad0pt644.js → bus-9pqmfa27.js} +5 -5
- package/dist/chunks/{file-access-85b01qar.js → bus-9sg3cs2t.js} +11 -11
- package/dist/chunks/{file-access-074en4ea.js → bus-9stazftj.js} +160 -163
- package/dist/chunks/{file-access-rzxs471t.js → bus-a1bwf94s.js} +6 -6
- package/dist/chunks/{file-access-a1bz86dw.js → bus-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-access-4vcrnpx2.js → bus-a1tpkmh4.js} +3 -13
- package/dist/chunks/{file-access-8a0b7fze.js → bus-a4exdnt3.js} +4 -4
- package/dist/chunks/{file-access-pkpqbj6e.js → bus-a4s3bgbq.js} +14 -21
- package/dist/chunks/{file-access-wbqd4jb4.js → bus-a87z9vq8.js} +32 -32
- package/dist/chunks/{file-access-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-qd8wwfxt.js → bus-aj64j3za.js} +27 -6
- package/dist/chunks/{file-access-tn359hwq.js → bus-apg01d9p.js} +6 -6
- package/dist/chunks/{file-access-bh9xqmdb.js → bus-aypcqpwv.js} +34 -34
- package/dist/chunks/{file-access-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-0qnveg08.js → bus-bjt4k7v3.js} +16 -17
- package/dist/chunks/{file-access-2wgyfjx6.js → bus-bs0x6s8g.js} +17 -17
- package/dist/chunks/{file-access-h9wq4q8z.js → bus-btekesqw.js} +10 -10
- package/dist/chunks/{file-access-tb22s7pw.js → bus-bwer0mcv.js} +25 -26
- package/dist/chunks/bus-by5v678g.js +18 -0
- package/dist/chunks/{file-access-e2tvng7c.js → bus-byaheska.js} +24 -24
- package/dist/chunks/{file-access-sthbbwkd.js → bus-bzke21cp.js} +30 -30
- package/dist/chunks/{file-access-2eywq100.js → bus-c0bvtzp5.js} +18 -18
- package/dist/chunks/{file-access-r4k1wyhr.js → bus-c5as0yvq.js} +3 -3
- package/dist/chunks/{file-access-xjcerejp.js → bus-c6591jrk.js} +43 -94
- package/dist/chunks/{file-access-qxj3mjt1.js → bus-caq2c48b.js} +7 -7
- package/dist/chunks/{file-access-cfpkc3c9.js → bus-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-access-hc7n3jk5.js → bus-cq37gk0t.js} +4 -4
- package/dist/chunks/{file-access-1p1yz3k5.js → bus-cw1ehra3.js} +36 -36
- package/dist/chunks/{file-access-k1yeadxq.js → bus-czkgr94f.js} +4 -4
- package/dist/chunks/{file-access-avdg492x.js → bus-d1dwjz3j.js} +47 -51
- package/dist/chunks/{file-access-ykczf8eq.js → bus-d1r5081s.js} +5 -5
- package/dist/chunks/{file-access-8cw6nfrt.js → bus-d8ksp3m6.js} +26 -26
- package/dist/chunks/{file-access-mce70z9k.js → bus-d931vq23.js} +2 -2
- package/dist/chunks/{file-access-7k68m5b6.js → bus-d9q0n3sf.js} +9 -9
- package/dist/chunks/{file-access-jj63jgrn.js → bus-dc76j9wz.js} +8 -8
- package/dist/chunks/{file-access-fxtmjajv.js → bus-ddexhamb.js} +19 -19
- package/dist/chunks/{file-access-jhcd8dwt.js → bus-dg9v98ve.js} +18 -18
- package/dist/chunks/{file-access-q6jpwyt1.js → bus-dtj5a7tc.js} +54 -54
- package/dist/chunks/{file-access-weg980m4.js → bus-e010nfwn.js} +20 -20
- package/dist/chunks/{file-access-ccxygkss.js → bus-e07fh9p3.js} +5 -5
- package/dist/chunks/bus-e0prvjnp.js +341 -0
- package/dist/chunks/{file-access-g6ech2dm.js → bus-ek27wd5s.js} +9 -9
- package/dist/chunks/{file-access-n990e9jc.js → bus-esngagfe.js} +4 -21
- package/dist/chunks/{file-access-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-vkg1qcnj.js → bus-evtq9ncg.js} +32 -92
- package/dist/chunks/{file-access-0sxmdcx0.js → bus-ex1tnahw.js} +20 -20
- package/dist/chunks/{file-access-f828m53h.js → bus-f828m53h.js} +2 -2
- package/dist/chunks/{file-access-4786se8r.js → bus-f9bavhm2.js} +1 -1
- package/dist/chunks/{file-access-rd8fjvyy.js → bus-ftezeqv3.js} +15 -15
- package/dist/chunks/{file-access-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-access-hgsea5z3.js → bus-fzhn4ra8.js} +30 -30
- package/dist/chunks/{file-access-k5rs1z8v.js → bus-g81r2fbr.js} +20 -20
- package/dist/chunks/{file-access-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-x95hc271.js → bus-gssc8jsq.js} +33 -31
- package/dist/chunks/{file-access-6jnybvqn.js → bus-gsx0ryk4.js} +9 -9
- package/dist/chunks/{file-access-px5bqy57.js → bus-gtgj7jsd.js} +22 -22
- package/dist/chunks/{file-access-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-9pf502c0.js → bus-gvphacjb.js} +18 -18
- package/dist/chunks/{file-access-3m9xbvw6.js → bus-gw1k03mf.js} +11 -11
- package/dist/chunks/{file-access-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-access-fpkam962.js → bus-h1vg8afz.js} +13 -13
- package/dist/chunks/{file-access-54r5fgfq.js → bus-h2gxeskk.js} +9 -9
- package/dist/chunks/{file-access-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-ndzempgb.js → bus-h74ge2a2.js} +6 -6
- package/dist/chunks/{file-access-2hhnmqep.js → bus-h8507pfw.js} +8 -8
- package/dist/chunks/{file-access-bap3gy1s.js → bus-hj7jnvhr.js} +14 -14
- package/dist/chunks/{file-access-nhy5jxhy.js → bus-hjt4xg1x.js} +4 -4
- package/dist/chunks/{file-access-m0bw0e4m.js → bus-hzc8qab0.js} +24 -36
- package/dist/chunks/{file-access-50m2c0q3.js → bus-j24nh5aa.js} +12 -12
- package/dist/chunks/{file-access-29qf8dn7.js → bus-j3ewftxc.js} +5 -5
- package/dist/chunks/{file-access-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-806j49yq.js → bus-jfqtm2ew.js} +4 -4
- package/dist/chunks/{file-access-c3jkddnq.js → bus-jgy4w7ep.js} +3 -3
- package/dist/chunks/{file-access-awx7v7h5.js → bus-jhtev1kt.js} +7 -7
- package/dist/chunks/{file-access-jeanpfns.js → bus-jy16bfac.js} +1 -1
- package/dist/chunks/bus-k0k8y9a7.js +71 -0
- package/dist/chunks/{file-access-nfvsp598.js → bus-k6avkgtn.js} +3 -3
- package/dist/chunks/{file-access-7w5qhqhs.js → bus-kc6sgx3t.js} +17 -20
- package/dist/chunks/{file-access-kg06axw8.js → bus-kg06axw8.js} +1 -1
- package/dist/chunks/{file-access-3jp54z3r.js → bus-kjcr15p7.js} +1 -1
- package/dist/chunks/{file-access-kk00bynn.js → bus-kk00bynn.js} +1 -1
- package/dist/chunks/{file-access-depwzj9d.js → bus-kpvyk30t.js} +9 -9
- package/dist/chunks/{file-access-ayfrx99c.js → bus-kr6jnmgs.js} +15 -15
- package/dist/chunks/{file-access-vv3eqyfe.js → bus-kt9yxkkw.js} +6 -6
- package/dist/chunks/{file-access-a9h2vqbk.js → bus-kzvhg9hn.js} +7 -7
- package/dist/chunks/{file-access-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-mfqp6xfm.js → bus-mfqp6xfm.js} +2 -2
- package/dist/chunks/{file-access-fjvydvzm.js → bus-mjncxbbh.js} +6 -6
- package/dist/chunks/bus-mkcjrzeh.js +15 -0
- package/dist/chunks/{file-access-6ybvw0w7.js → bus-mm42hkcz.js} +21 -21
- package/dist/chunks/{file-access-d2aac7k2.js → bus-mtft99cd.js} +5 -5
- package/dist/chunks/{file-access-4r4fb002.js → bus-n31fqgg2.js} +11 -11
- package/dist/chunks/{file-access-cmrf6j2e.js → bus-nd285e9w.js} +11 -11
- package/dist/chunks/{file-access-ca64vat9.js → bus-ngtvrv33.js} +30 -30
- package/dist/chunks/{file-access-reqevd7p.js → bus-njct8jvz.js} +10 -10
- package/dist/chunks/{file-access-a5gt7g2r.js → bus-p1wf2k30.js} +9 -9
- package/dist/chunks/{file-access-fpv6qd1b.js → bus-p287w59f.js} +5 -5
- package/dist/chunks/{file-access-be40ghdv.js → bus-p72z5xx6.js} +2 -3
- package/dist/chunks/{file-access-qny2rjqg.js → bus-pb7ssnfd.js} +9 -9
- package/dist/chunks/{file-access-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-wk64ntyb.js → bus-prcjvqfg.js} +8 -8
- package/dist/chunks/{file-access-mqt7ckw4.js → bus-psvegz14.js} +19 -19
- package/dist/chunks/{file-access-n7qjkrfm.js → bus-pzh16mkn.js} +9 -9
- package/dist/chunks/{file-access-nv5vn7qx.js → bus-q1a91n7k.js} +12 -27
- package/dist/chunks/{file-access-zmvq2rqz.js → bus-q1f45d8g.js} +22 -22
- package/dist/chunks/{file-access-qmy7xtej.js → bus-qmr73083.js} +1 -1
- package/dist/chunks/{file-access-c7q2zwp5.js → bus-qpes22qe.js} +17 -17
- package/dist/chunks/{file-access-1tq060df.js → bus-qqtwvk4z.js} +6 -6
- package/dist/chunks/{file-access-m7y3f53v.js → bus-qr27hz8v.js} +4 -4
- package/dist/chunks/{file-access-2a9f2qq7.js → bus-qrqp7107.js} +16 -16
- package/dist/chunks/{file-access-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-ct0crnq6.js → bus-qx44h9xp.js} +37 -37
- package/dist/chunks/bus-rac1zgpy.js +272 -0
- package/dist/chunks/{file-access-e3nd4ayr.js → bus-refnp3pv.js} +4 -4
- package/dist/chunks/{file-access-rhjbct0v.js → bus-rhjbct0v.js} +1 -1
- package/dist/chunks/{file-access-y5g8bess.js → bus-rp6fyjtn.js} +8 -8
- package/dist/chunks/{file-access-1ct3cw4h.js → bus-s38pncdy.js} +24 -24
- package/dist/chunks/{file-access-s4enseaf.js → bus-s4enseaf.js} +2 -2
- package/dist/chunks/{file-access-5bjhkrjj.js → bus-scz5mjk7.js} +6 -6
- package/dist/chunks/{file-access-gbhfcamq.js → bus-seggh8xt.js} +12 -12
- package/dist/chunks/{file-access-99yaft7y.js → bus-sma03fcp.js} +7 -11
- package/dist/chunks/{file-access-dw1fjyb0.js → bus-sv9bpgvh.js} +30 -5
- package/dist/chunks/{file-access-h83x8fry.js → bus-swf6f7p9.js} +11 -11
- package/dist/chunks/{file-access-g3r1njd0.js → bus-t1bk1a1z.js} +30 -30
- package/dist/chunks/{file-access-xrs7w8df.js → bus-t2g8y53t.js} +11 -11
- package/dist/chunks/{file-access-q1yd4tcg.js → bus-t2zw4ehs.js} +5 -5
- package/dist/chunks/{file-access-162fttv1.js → bus-t62yyj2t.js} +13 -13
- package/dist/chunks/{file-access-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-6zwbw4we.js → bus-trt64bkt.js} +7 -7
- package/dist/chunks/{file-access-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-dpnaqgym.js → bus-ty14kxfn.js} +20 -20
- package/dist/chunks/{file-access-nsva66p3.js → bus-v2ejn755.js} +29 -29
- package/dist/chunks/{file-access-cza9j1er.js → bus-v8ch97zc.js} +1 -1
- package/dist/chunks/{file-access-0bps82y7.js → bus-ve6nm2s5.js} +6 -6
- package/dist/chunks/{file-access-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-8p576cyw.js → bus-vezrvrpz.js} +14 -13
- package/dist/chunks/{file-access-zbgzbq8q.js → bus-vfsjdgra.js} +7 -7
- package/dist/chunks/{file-access-5kn1j1nt.js → bus-vgedysxv.js} +17 -19
- package/dist/chunks/{file-access-zka7qpah.js → bus-vkrb956e.js} +262 -262
- package/dist/chunks/{file-access-qte5z7bc.js → bus-vmq7ehpy.js} +5 -5
- package/dist/chunks/{file-access-r1hceb3x.js → bus-vwwyt62p.js} +5 -7
- package/dist/chunks/{file-access-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-t9jk0gx5.js → bus-vzna85n7.js} +3 -3
- package/dist/chunks/{file-access-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-19kp6pf8.js → bus-wa2dac04.js} +25 -25
- package/dist/chunks/{file-access-q1gv8zwg.js → bus-wc7hea4z.js} +18 -18
- package/dist/chunks/{file-access-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-e0wvz8qy.js → bus-wdnk5teh.js} +18 -21
- package/dist/chunks/{file-access-s8aab4ga.js → bus-weeegdkk.js} +9 -9
- package/dist/chunks/{file-access-92a7scs5.js → bus-wg7k3gk9.js} +30 -30
- package/dist/chunks/{file-access-epa61trx.js → bus-wh60pg5s.js} +8 -8
- package/dist/chunks/{file-access-98yekt2h.js → bus-wh639w33.js} +67 -41
- package/dist/chunks/{file-access-798sgk8w.js → bus-wk2zc65r.js} +18 -18
- package/dist/chunks/{file-access-eqpk83eg.js → bus-wnpr5qws.js} +6 -6
- package/dist/chunks/{file-access-7vczhnf2.js → bus-wpcdczfe.js} +11 -12
- package/dist/chunks/{file-access-d09g07f5.js → bus-wvzfgg4c.js} +8 -8
- package/dist/chunks/{file-access-36d0e9rd.js → bus-x122gxrn.js} +11 -11
- package/dist/chunks/{file-access-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-z2qkwvnb.js → bus-x1t6vezw.js} +10 -10
- package/dist/chunks/{file-access-r9mregkx.js → bus-x43y2vfs.js} +3 -3
- package/dist/chunks/{file-access-wh3mwy9y.js → bus-xbrnje9f.js} +8 -8
- package/dist/chunks/{file-access-we88g5cm.js → bus-xfpdx5t3.js} +7 -10
- package/dist/chunks/{file-access-rvyy05ds.js → bus-xg3sah7k.js} +10 -10
- package/dist/chunks/{file-access-wh2r9z7p.js → bus-xp5q11x6.js} +5 -5
- package/dist/chunks/{file-access-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-jgwtszpa.js → bus-y4m39d6z.js} +35 -35
- package/dist/chunks/{file-access-y71avatq.js → bus-y71avatq.js} +1 -1
- package/dist/chunks/{file-access-zsmcd3bd.js → bus-ybbm8fej.js} +21 -21
- package/dist/chunks/{file-access-r8xr0va3.js → bus-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-access-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-kntbkpw6.js → bus-yywfy67y.js} +4 -4
- package/dist/chunks/{file-access-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-8wccq5jz.js → bus-z1b1h7dj.js} +10 -10
- package/dist/chunks/{file-access-ebz469zm.js → bus-z7a0szv5.js} +11 -12
- package/dist/chunks/{file-access-9b1t164c.js → bus-z8xaha1g.js} +12 -12
- package/dist/chunks/{file-access-eh8n39qf.js → bus-zcer3j7s.js} +17 -17
- package/dist/chunks/{file-access-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-9655radm.js → bus-zfr0a75a.js} +18 -18
- package/dist/chunks/{file-access-7j92jdde.js → bus-zj09a0ew.js} +4 -4
- package/dist/chunks/{file-access-289rv1w6.js → bus-zkqxbvht.js} +14 -14
- package/dist/chunks/{file-access-pgyeg8d2.js → bus-zn3tg85k.js} +9 -9
- package/dist/chunks/{file-access-8mc8s27z.js → bus-zpsh6c0j.js} +20 -20
- package/dist/chunks/{file-access-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-6fywv4en.js → bus-zt0w0vav.js} +32 -32
- package/dist/chunks/{file-access-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -80
- 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 +116 -117
- 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 +117 -118
- package/dist/config/plugin/tool-output.js +117 -118
- package/dist/config/plugin/websearch.js +113 -114
- 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 +109 -110
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -80
- package/dist/database/database.js +64 -65
- 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 +75 -76
- 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 +84 -85
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +84 -85
- 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 +68 -69
- 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 +1 -1
- package/dist/filesystem/watcher.js +3 -3
- package/dist/filesystem.js +96 -97
- package/dist/form.js +82 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -83
- package/dist/generate.js +89 -90
- 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 +77 -78
- package/dist/instructions/builtins.js +82 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -85
- package/dist/job.js +77 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -72
- package/dist/location-activity.js +128 -129
- package/dist/location-mutation.js +99 -100
- package/dist/location-service-map.js +81 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +80 -81
- package/dist/mcp/client.js +86 -87
- package/dist/mcp/index.js +97 -98
- package/dist/mcp/instructions.js +122 -123
- 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 +84 -91
- package/dist/model.js +6 -6
- package/dist/models-dev.js +78 -79
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -107
- 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 +92 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -214
- package/dist/plugin/instance.js +3 -3
- 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 +7 -7
- package/dist/plugin/optimize.js +2 -4
- 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 +117 -118
- 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 +117 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -79
- 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 +117 -118
- 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 +74 -75
- 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 +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- 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 +220 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -80
- package/dist/provider.js +5 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -93
- package/dist/reference/instructions.js +80 -81
- package/dist/reference.js +86 -87
- package/dist/repository-cache.js +76 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -92
- package/dist/rpc.js +81 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -73
- package/dist/session/compaction.js +129 -130
- package/dist/session/context.js +147 -148
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +11 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -217
- package/dist/session/execution.js +122 -123
- package/dist/session/generate.js +146 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -89
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +109 -110
- 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 +225 -226
- 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 +121 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -170
- 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 +71 -72
- package/dist/session/store.js +83 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -152
- package/dist/session/to-session-error.js +107 -108
- package/dist/session/transfer.js +213 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -212
- 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 +127 -128
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -101
- 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 +115 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -119
- package/dist/tool/plugin/grep.js +118 -119
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +117 -118
- package/dist/tool/plugin/question.js +96 -97
- package/dist/tool/plugin/read.js +119 -120
- package/dist/tool/plugin/shell.js +210 -211
- package/dist/tool/plugin/skill.js +106 -107
- package/dist/tool/plugin/subagent.js +212 -213
- package/dist/tool/plugin/webfetch.js +105 -106
- package/dist/tool/plugin/websearch.js +107 -108
- 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 +4 -4
- package/dist/tool.js +13 -13
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +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 +1 -1
- package/dist/v1/config/plugin.js +1 -1
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -86
- package/dist/websearch.js +72 -73
- package/dist/wellknown/plugin.js +74 -75
- package/dist/wellknown.js +71 -72
- package/dist/workspace/driver.js +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +68 -69
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -90
- package/package.json +8 -8
- package/dist/chunks/file-access-05fbhmag.js +0 -22
- package/dist/chunks/file-access-64h6ppck.js +0 -247
- package/dist/chunks/file-access-6kdq0pjd.js +0 -4
- package/dist/chunks/file-access-7jrfegz8.js +0 -260
- package/dist/chunks/file-access-ea8nv0r7.js +0 -170
- package/dist/chunks/file-access-h8sjebh6.js +0 -123
- package/dist/chunks/file-access-jqh9b0xq.js +0 -18
- package/dist/chunks/file-access-rs20ccms.js +0 -228
- package/dist/chunks/file-access-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/{file-access-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-j935v87r.js → bus-j935v87r.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./bus-hj7jnvhr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service24,
|
|
10
|
+
node28
|
|
11
|
+
} from "./bus-z7a0szv5.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options4,
|
|
25
|
+
Service: () => Service23,
|
|
26
|
+
configured: () => configured4,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer11,
|
|
29
|
+
node: () => node27,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service23 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const ripgrep = yield* Service24;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service23.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service76;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service23.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service23.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service76;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured4(options) {
|
|
186
|
+
return makeLocationNode({ service: Service23, layer: layer11(options), deps: [node81, node28] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node27 = configured4();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options4, Service23, ripgrepLayer2, fffLayer2, layer11, configured4, node27, exports_search };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service68
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-50wkfpjr.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./bus-hj7jnvhr.js";
|
|
10
10
|
import {
|
|
11
11
|
Service67
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-zfr0a75a.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./bus-s38pncdy.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./bus-gsx0ryk4.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-1xeq3jts.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill = {};
|
|
30
30
|
__export(exports_skill, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin2
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin2 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
42
|
const config = yield* Service67;
|
|
43
|
-
const discovery = yield*
|
|
43
|
+
const discovery = yield* Service8;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
46
|
+
const location = yield* Service76;
|
|
47
47
|
const watcher = yield* Service68;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
@@ -87,7 +87,7 @@ var Plugin8 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -117,7 +117,7 @@ var Plugin8 = define({
|
|
|
117
117
|
};
|
|
118
118
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
119
119
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
120
|
-
source:
|
|
120
|
+
source: Source3.key(source),
|
|
121
121
|
cause
|
|
122
122
|
}).pipe(Effect.as([]))));
|
|
123
123
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -146,7 +146,7 @@ var Plugin8 = define({
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
yield* Effect.logDebug("skill source loaded", {
|
|
149
|
-
source:
|
|
149
|
+
source: Source3.key(source),
|
|
150
150
|
type: source.type,
|
|
151
151
|
directories,
|
|
152
152
|
skills: skills.map((skill) => skill.id)
|
|
@@ -165,7 +165,7 @@ var Plugin8 = define({
|
|
|
165
165
|
if (file) {
|
|
166
166
|
yield* Effect.logInfo("skills rescanned", {
|
|
167
167
|
file,
|
|
168
|
-
sources: current.map(
|
|
168
|
+
sources: current.map(Source3.key),
|
|
169
169
|
skills: loaded.skills.map((skill) => skill.id)
|
|
170
170
|
});
|
|
171
171
|
}
|
|
@@ -181,4 +181,4 @@ var Plugin8 = define({
|
|
|
181
181
|
})
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Plugin2, exports_skill };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node84
|
|
7
|
+
} from "./bus-8pngxq2x.js";
|
|
8
8
|
import {
|
|
9
9
|
ID18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-81swgkk7.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-vzna85n7.js";
|
|
18
18
|
import {
|
|
19
19
|
Service78,
|
|
20
20
|
node83
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-yywfy67y.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./bus-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service76,
|
|
30
|
+
node81
|
|
31
|
+
} from "./bus-hj7jnvhr.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./bus-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
37
|
make12
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./bus-p287w59f.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./bus-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./bus-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event4,
|
|
53
|
+
Info: () => Info4,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service19,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node23
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,7 +82,7 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info4 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
@@ -100,17 +100,17 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event4 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service19 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
111
|
const bus = yield* Service78;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service76;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event4.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -194,6 +194,8 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
194
194
|
branch: input.branch
|
|
195
195
|
}).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
|
|
196
196
|
const result = { directory: yield* canonical2(fs, created.directory) };
|
|
197
|
+
if (result.directory !== (yield* canonical2(fs, worktreeDirectory)))
|
|
198
|
+
return yield* new InvalidDirectoryError2({ directory: result.directory });
|
|
197
199
|
yield* changed(yield* ops.create({
|
|
198
200
|
directory: result.directory,
|
|
199
201
|
strategy: selected.id,
|
|
@@ -257,7 +259,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
257
259
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
260
|
return changes;
|
|
259
261
|
});
|
|
260
|
-
return
|
|
262
|
+
return Service19.of({
|
|
261
263
|
transform: state.transform,
|
|
262
264
|
reload: state.reload,
|
|
263
265
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +271,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
269
271
|
refresh
|
|
270
272
|
});
|
|
271
273
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
274
|
+
var node23 = makeLocationNode({
|
|
275
|
+
service: Service19,
|
|
274
276
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
277
|
+
deps: [FSUtil.node, node84, node83, node85, AppProcess.node, node81, Global.node]
|
|
276
278
|
});
|
|
277
279
|
function operationError(strategy, operation, error) {
|
|
278
280
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +284,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
284
|
});
|
|
283
285
|
}
|
|
284
286
|
|
|
285
|
-
export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2,
|
|
287
|
+
export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event4, Service19, node23, exports_worktree2, OperationError2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service8.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node11 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service8, node11, exports_discovery };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./bus-wa2dac04.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./bus-7wh9hy1a.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3,
|
|
9
9
|
Result2,
|
|
@@ -11,56 +11,56 @@ import {
|
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
13
|
Service20
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-wvzfgg4c.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input11,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin42,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name11 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input11 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin42 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
52
|
+
const permission = yield* Service59;
|
|
53
|
+
const forms = yield* Service56;
|
|
54
54
|
const websearch = yield* Service20;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name11,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input11,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name11,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name11];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name11, NO_RESULTS2, description5, Input11, Plugin42, exports_websearch2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-2d6j2h4j.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID14,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info28,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-80e0yyk8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
ModalModels: () => exports_models2,
|
|
20
|
+
get: () => get3
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID15.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get3(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID14.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID14.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info28.make({
|
|
92
|
+
...Info28.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID14.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get3, exports_models2 };
|