@opencode-ai/core 0.0.0-dev-19183 → 0.0.0-dev-19186
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 +9 -9
- package/dist/bus.js +73 -73
- package/dist/catalog.js +82 -82
- package/dist/chunks/{integration-m5zrz0fb.js → bus-0ccrtq8e.js} +14 -14
- package/dist/chunks/{integration-0e0xafbb.js → bus-0e0xafbb.js} +2 -2
- package/dist/chunks/{integration-0t8hhwgh.js → bus-0evdvf3m.js} +5 -5
- package/dist/chunks/{integration-13gt56f3.js → bus-0gsy4sqt.js} +6 -6
- package/dist/chunks/{integration-hgd1ysgg.js → bus-0kbdxtg6.js} +30 -30
- package/dist/chunks/{integration-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-0s9ayhjt.js → bus-0s9ayhjt.js} +1 -1
- package/dist/chunks/{integration-p4z4263z.js → bus-0xwtr52f.js} +17 -17
- package/dist/chunks/{integration-prxfmcr4.js → bus-0xz3dzbq.js} +20 -20
- package/dist/chunks/{integration-edqq9k7w.js → bus-0y4twpwd.js} +9 -9
- package/dist/chunks/{integration-1ct4r87x.js → bus-1ct4r87x.js} +1 -1
- package/dist/chunks/{integration-zdfgkaf6.js → bus-1d2yf5yg.js} +22 -22
- package/dist/chunks/{integration-wdfg1vjb.js → bus-1jfdb1er.js} +68 -68
- package/dist/chunks/{integration-dywvj8k1.js → bus-1s8x6ddd.js} +6 -6
- package/dist/chunks/{integration-b97n4k24.js → bus-1vbp5j7a.js} +22 -22
- package/dist/chunks/{integration-56nan9ps.js → bus-1xf0k5sv.js} +13 -13
- package/dist/chunks/{integration-3pcfg1k3.js → bus-20ebpt2n.js} +21 -21
- package/dist/chunks/{integration-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{integration-r4qxe6h4.js → bus-23wvan8x.js} +17 -17
- package/dist/chunks/{integration-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-p0b4ytnr.js → bus-2d57kztd.js} +6 -6
- package/dist/chunks/{integration-2ht70gj7.js → bus-2ht70gj7.js} +1 -1
- package/dist/chunks/{integration-a91j8w2g.js → bus-2p9tqta8.js} +16 -16
- package/dist/chunks/{integration-q2jffrft.js → bus-2rhspc98.js} +52 -52
- package/dist/chunks/{integration-sgesr4kp.js → bus-35ymyeta.js} +3 -3
- package/dist/chunks/{integration-x79x2n7a.js → bus-3bsrcfpb.js} +28 -28
- package/dist/chunks/{integration-4jv2kp1d.js → bus-3etffxf1.js} +17 -17
- package/dist/chunks/{integration-ga2g4a2e.js → bus-3fwrn7pg.js} +1 -1
- package/dist/chunks/{integration-w0k1he6w.js → bus-3g2y1byn.js} +5 -5
- package/dist/chunks/{integration-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-44kf892n.js → bus-3jsg4rse.js} +13 -13
- package/dist/chunks/{integration-ecj1d35v.js → bus-3nepss8s.js} +5 -5
- package/dist/chunks/{integration-26bs89kh.js → bus-3q0mzqr9.js} +11 -11
- package/dist/chunks/{integration-3qzbfqsy.js → bus-3qzbfqsy.js} +2 -2
- package/dist/chunks/{integration-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-p9vx44pc.js → bus-3yq82pb2.js} +1 -1
- package/dist/chunks/{integration-venc2rs3.js → bus-3zyads7b.js} +14 -14
- package/dist/chunks/{integration-bacej541.js → bus-41t7h6jd.js} +15 -15
- package/dist/chunks/{integration-xxbz0p1r.js → bus-434pnv9v.js} +42 -42
- package/dist/chunks/{integration-454k5vzh.js → bus-454k5vzh.js} +1 -1
- package/dist/chunks/{integration-k1x6xnzd.js → bus-48e7jqbg.js} +32 -32
- package/dist/chunks/{integration-g7csxrs7.js → bus-4b1mthq9.js} +4 -4
- package/dist/chunks/{integration-4r2nyarf.js → bus-4r2nyarf.js} +1 -1
- package/dist/chunks/{integration-3taryhav.js → bus-4rh36sjt.js} +23 -23
- package/dist/chunks/{integration-t9r1bwan.js → bus-4rqnb94f.js} +35 -35
- package/dist/chunks/{integration-hzqp28w6.js → bus-54sc1s1k.js} +18 -18
- package/dist/chunks/{integration-pxjsvhpz.js → bus-56531erc.js} +5 -5
- package/dist/chunks/{integration-q9yh5vvh.js → bus-57j0ygqm.js} +32 -32
- package/dist/chunks/{integration-pvg228j8.js → bus-5aephga1.js} +1 -1
- package/dist/chunks/{integration-drh5aenh.js → bus-5azxvc7x.js} +29 -29
- package/dist/chunks/{integration-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-5fmxt4p5.js → bus-5fmxt4p5.js} +1 -1
- package/dist/chunks/{integration-tnv1rg40.js → bus-5gyhz2nn.js} +42 -42
- package/dist/chunks/{integration-5jvc5tg2.js → bus-5jvc5tg2.js} +1 -1
- package/dist/chunks/{integration-5fex8bb2.js → bus-5v4d9t1w.js} +7 -7
- package/dist/chunks/{integration-4h703e2n.js → bus-5wkefnsp.js} +7 -7
- package/dist/chunks/{integration-1qrrvbyh.js → bus-63f9ebx5.js} +32 -32
- package/dist/chunks/{integration-t45px7ec.js → bus-64z1dcvr.js} +3 -3
- package/dist/chunks/{integration-6z5bwd8g.js → bus-6abnk40k.js} +9 -9
- package/dist/chunks/{integration-d1qjg7yf.js → bus-6bb2rddz.js} +1 -1
- package/dist/chunks/{integration-8tm69f6q.js → bus-6gn07reb.js} +44 -44
- package/dist/chunks/{integration-6h73sxmp.js → bus-6h73sxmp.js} +1 -1
- package/dist/chunks/{integration-f6tnmf0r.js → bus-6t49dzs3.js} +7 -7
- package/dist/chunks/{integration-skb9nfw3.js → bus-6t8k13pe.js} +82 -82
- package/dist/chunks/{integration-ct6ttrxz.js → bus-6wj0fw5p.js} +9 -9
- package/dist/chunks/{integration-711hfp6y.js → bus-711hfp6y.js} +2 -2
- package/dist/chunks/{integration-72nftnjy.js → bus-72nftnjy.js} +2 -2
- package/dist/chunks/{integration-hydkmr7z.js → bus-73gvfjg4.js} +57 -57
- package/dist/chunks/{integration-mtcjf44p.js → bus-75yf2d83.js} +8 -8
- package/dist/chunks/{integration-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-3yrmrd6r.js → bus-7bn4vab1.js} +11 -11
- package/dist/chunks/{integration-2k8khapm.js → bus-7dqw4kz8.js} +5 -5
- package/dist/chunks/{integration-bzpbtns2.js → bus-7rr5f4gz.js} +14 -14
- package/dist/chunks/bus-7zk4hah4.js +4 -0
- package/dist/chunks/{integration-0pe3gf3s.js → bus-804r97dm.js} +7 -7
- package/dist/chunks/{integration-stxyg5sw.js → bus-83rp9aqa.js} +17 -17
- package/dist/chunks/{integration-c4tx9p0z.js → bus-849kvxk3.js} +13 -13
- package/dist/chunks/{integration-r3myhqa0.js → bus-84vjrsce.js} +26 -26
- package/dist/chunks/{integration-apstjsj8.js → bus-85m33w8k.js} +11 -11
- package/dist/chunks/{integration-1zv5y1gd.js → bus-89bfeqfq.js} +28 -28
- package/dist/chunks/{integration-hx4xtyj4.js → bus-8arghjyt.js} +25 -25
- package/dist/chunks/{integration-9cf39x6z.js → bus-8h9b3wfc.js} +11 -11
- package/dist/chunks/{integration-a1wa5wkg.js → bus-8hksdbz1.js} +28 -28
- package/dist/chunks/{integration-pah7pk43.js → bus-8vb85d8j.js} +4 -4
- package/dist/chunks/{integration-4ck4bjxq.js → bus-8w14596t.js} +41 -41
- package/dist/chunks/{integration-93a8yfjt.js → bus-93a8yfjt.js} +2 -2
- package/dist/chunks/{integration-5gkpy6h2.js → bus-96kjkgmk.js} +8 -8
- package/dist/chunks/{integration-3a2re2wf.js → bus-9czjfc66.js} +11 -11
- package/dist/chunks/{integration-9p2yhpf5.js → bus-9gmnkn1a.js} +84 -84
- package/dist/chunks/{integration-9qm9egsn.js → bus-9qm9egsn.js} +2 -2
- package/dist/chunks/{integration-67247g37.js → bus-9qw5sf44.js} +11 -11
- package/dist/chunks/{integration-v5dkyp31.js → bus-a2ew8a62.js} +4 -4
- package/dist/chunks/{integration-f45bjead.js → bus-a4p546v5.js} +22 -22
- package/dist/chunks/bus-a7csy0p6.js +22 -0
- package/dist/chunks/{integration-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-fd9gvbrd.js → bus-aj7dyy80.js} +11 -11
- package/dist/chunks/{integration-ajtjthsy.js → bus-ajtjthsy.js} +2 -2
- package/dist/chunks/{integration-wqa3gkgw.js → bus-ap0e00cv.js} +18 -18
- package/dist/chunks/{integration-3vtxc0nj.js → bus-ap2t8vcq.js} +22 -22
- package/dist/chunks/{integration-68d4cgwb.js → bus-av3gzsdm.js} +13 -13
- package/dist/chunks/{integration-fn34x8gt.js → bus-b270hrwc.js} +4 -4
- package/dist/chunks/{integration-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-8dxcby2a.js → bus-b6rw464e.js} +10 -10
- package/dist/chunks/{integration-b9wsbatv.js → bus-b9wsbatv.js} +1 -1
- package/dist/chunks/{integration-4sxg11az.js → bus-bd7er6gs.js} +5 -5
- package/dist/chunks/{integration-pmr4s4kc.js → bus-bf0ztrs3.js} +4 -4
- package/dist/chunks/{integration-gks1q0wj.js → bus-bf3qrb3j.js} +1 -1
- package/dist/chunks/{integration-p6yzb5ay.js → bus-bmj3d0ka.js} +7 -7
- package/dist/chunks/{integration-62aq25ah.js → bus-bndd36kw.js} +5 -5
- package/dist/chunks/{integration-ey04d52n.js → bus-bpxe412r.js} +12 -12
- package/dist/chunks/{integration-bpnz08mb.js → bus-bqarnab4.js} +2 -2
- package/dist/chunks/{integration-p33re43j.js → bus-bvxnc9g4.js} +23 -23
- package/dist/chunks/{integration-mwc26w7d.js → bus-byjqrnh7.js} +23 -23
- package/dist/chunks/{integration-n8295sxz.js → bus-cbjj75jx.js} +4 -4
- package/dist/chunks/{integration-bdqrk2vk.js → bus-cmbqfntm.js} +6 -6
- package/dist/chunks/{integration-m1rpt5yb.js → bus-cmy5y5dg.js} +2 -2
- package/dist/chunks/{integration-6tv6bcvk.js → bus-cphw1rrq.js} +29 -29
- package/dist/chunks/{integration-4txqqg0r.js → bus-d2q1a9h5.js} +4 -4
- package/dist/chunks/{integration-ekm6zah0.js → bus-d2rtq077.js} +28 -28
- package/dist/chunks/{integration-hdd17qa4.js → bus-d6v5jdzg.js} +19 -19
- package/dist/chunks/{integration-d72308c8.js → bus-d72308c8.js} +2 -2
- package/dist/chunks/{integration-3krqs39v.js → bus-dad8bk2q.js} +22 -22
- package/dist/chunks/{integration-00v47x1e.js → bus-dha1rfzn.js} +21 -21
- package/dist/chunks/{integration-djtdz80w.js → bus-djtdz80w.js} +1 -1
- package/dist/chunks/{integration-rkzs5vy1.js → bus-dpm05p3t.js} +39 -39
- package/dist/chunks/{integration-jk1ageym.js → bus-dq884360.js} +20 -20
- package/dist/chunks/{integration-gnndsqct.js → bus-e07bfndv.js} +20 -20
- package/dist/chunks/{integration-83k7kjyf.js → bus-e3qsaezh.js} +12 -12
- package/dist/chunks/{integration-qq41xq3t.js → bus-e832z393.js} +162 -162
- package/dist/chunks/{integration-2e0smsfx.js → bus-e8ecwan1.js} +10 -10
- package/dist/chunks/{integration-19chzbrm.js → bus-e9r133th.js} +11 -11
- package/dist/chunks/{integration-9exd6xtw.js → bus-edq94eaw.js} +1 -1
- package/dist/chunks/{integration-m8cag8em.js → bus-ejbvb9q0.js} +23 -23
- package/dist/chunks/{integration-evyj72xz.js → bus-f25wfmnz.js} +25 -25
- package/dist/chunks/{integration-4fgge01k.js → bus-f3bqzcfa.js} +4 -4
- package/dist/chunks/{integration-g3afw5yt.js → bus-f4b47wcg.js} +27 -27
- package/dist/chunks/{integration-zhbaktmz.js → bus-f4e8jj35.js} +26 -26
- package/dist/chunks/{integration-1jek20vj.js → bus-fphv0de3.js} +8 -8
- package/dist/chunks/{integration-hwexc6y2.js → bus-fv4q91yr.js} +11 -11
- package/dist/chunks/{integration-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{integration-fxypknc8.js → bus-fxypknc8.js} +1 -1
- package/dist/chunks/{integration-erahty33.js → bus-fy69wkfh.js} +34 -34
- package/dist/chunks/{integration-p1mbbqbm.js → bus-fyjt0avv.js} +13 -13
- package/dist/chunks/{integration-m0m4b3vz.js → bus-ga1h0m9y.js} +5 -5
- package/dist/chunks/{integration-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-3fc6dm20.js → bus-gdvy8fx6.js} +4 -4
- package/dist/chunks/{integration-w19w1qkx.js → bus-ggfsjf2v.js} +1 -1
- package/dist/chunks/{integration-5msmqgkp.js → bus-gk020jjx.js} +10 -10
- package/dist/chunks/{integration-kzzvpjj3.js → bus-gnqaz2e7.js} +12 -12
- package/dist/chunks/{integration-w2s7jr3f.js → bus-gqqnkh8v.js} +11 -11
- package/dist/chunks/{integration-1ddsfqzv.js → bus-grcfym27.js} +32 -32
- package/dist/chunks/{integration-029hz4z1.js → bus-gsnpnfh8.js} +12 -12
- package/dist/chunks/{integration-ag4rn41e.js → bus-gst7axd9.js} +4 -4
- package/dist/chunks/{integration-zxp8b8eb.js → bus-gzaq63kr.js} +7 -7
- package/dist/chunks/{integration-t89cxbfz.js → bus-gzkr61q0.js} +4 -4
- package/dist/chunks/{integration-x1d412zs.js → bus-h6dr5ctb.js} +29 -29
- package/dist/chunks/{integration-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-heyhwy2w.js → bus-heyhwy2w.js} +1 -1
- package/dist/chunks/{integration-x3qw5t49.js → bus-hgsh7sdh.js} +6 -6
- package/dist/chunks/{integration-ze4dnq9c.js → bus-hha4zry8.js} +20 -20
- package/dist/chunks/{integration-8w6m0tk1.js → bus-hhxmypn0.js} +23 -23
- package/dist/chunks/{integration-bphmvjfp.js → bus-hnyf01b0.js} +5 -5
- package/dist/chunks/{integration-hrvm11jt.js → bus-hrvm11jt.js} +3 -3
- package/dist/chunks/{integration-j3pkw2j5.js → bus-hsargt6j.js} +24 -24
- package/dist/chunks/{integration-zs2c7fj5.js → bus-hsg1hj1w.js} +19 -19
- package/dist/chunks/{integration-kvsjn1dr.js → bus-hw4pv20g.js} +2 -2
- package/dist/chunks/{integration-zkn0w8ks.js → bus-hwyf1vhw.js} +3 -3
- package/dist/chunks/{integration-m0q20d73.js → bus-j56e7md4.js} +46 -46
- package/dist/chunks/{integration-dxvw2y3n.js → bus-j6nhct4h.js} +8 -8
- package/dist/chunks/{integration-wr86h51b.js → bus-jfqycs0z.js} +20 -20
- package/dist/chunks/{integration-k4bwy1x5.js → bus-k4bwy1x5.js} +1 -1
- package/dist/chunks/{integration-754bw2w2.js → bus-k97nqm59.js} +7 -7
- package/dist/chunks/{integration-96te9d4b.js → bus-kerhshr9.js} +5 -5
- package/dist/chunks/{integration-3mygrb37.js → bus-kf6gbfrb.js} +11 -11
- package/dist/chunks/{integration-kg06axw8.js → bus-kg06axw8.js} +1 -1
- package/dist/chunks/{integration-g8ay8k9b.js → bus-khfm06dd.js} +12 -12
- package/dist/chunks/{integration-28n3apsg.js → bus-kr1vvnwz.js} +18 -18
- package/dist/chunks/{integration-fajehsyw.js → bus-ktqm69e3.js} +62 -62
- package/dist/chunks/{integration-ygqh11pf.js → bus-kxw3z6ex.js} +7 -7
- package/dist/chunks/{integration-jwzkj8fp.js → bus-m2vxpjnv.js} +16 -16
- package/dist/chunks/{integration-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-9cnpj473.js → bus-mckf4h7b.js} +8 -8
- package/dist/chunks/{integration-afp62h5k.js → bus-mcvs2zbw.js} +16 -16
- package/dist/chunks/{integration-73tb2d7t.js → bus-mvfsc1pv.js} +3 -3
- package/dist/chunks/{integration-m2rb4t0p.js → bus-myyr5eq0.js} +5 -5
- package/dist/chunks/{integration-t01161th.js → bus-n0cxab0r.js} +9 -9
- package/dist/chunks/{integration-mjzw1bzx.js → bus-n5f15nnr.js} +9 -9
- package/dist/chunks/{integration-trb5x967.js → bus-ndjv4j8j.js} +10 -10
- package/dist/chunks/{integration-ev9jfjwy.js → bus-nh1jkfpr.js} +6 -6
- package/dist/chunks/{integration-ezt9sm97.js → bus-p386207z.js} +6 -6
- package/dist/chunks/{integration-n0tc3be6.js → bus-p9xxfsxh.js} +11 -11
- package/dist/chunks/{integration-j935v87r.js → bus-paphc93g.js} +2 -2
- package/dist/chunks/{integration-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{integration-b2cp5hap.js → bus-pm8mksm9.js} +22 -22
- package/dist/chunks/{integration-1n116cmy.js → bus-pt34y05q.js} +9 -9
- package/dist/chunks/{integration-dqq1y8bk.js → bus-pxrsnsv2.js} +15 -15
- package/dist/chunks/{integration-bwd9hhtf.js → bus-pxzs1q6p.js} +13 -13
- package/dist/chunks/{integration-pt2y317t.js → bus-q089jhzf.js} +305 -305
- package/dist/chunks/{integration-nb76kee5.js → bus-q1b8pcac.js} +26 -26
- package/dist/chunks/{integration-nghvs6yj.js → bus-qas6r648.js} +14 -14
- package/dist/chunks/{integration-bc8a5m6h.js → bus-qkawf4bj.js} +29 -29
- package/dist/chunks/{integration-aeysr3c7.js → bus-qnwfs6wy.js} +17 -17
- package/dist/chunks/{integration-t5h4rs02.js → bus-qq0s42pd.js} +9 -9
- package/dist/chunks/{integration-kk4d7wd3.js → bus-qrz5apad.js} +33 -33
- package/dist/chunks/{integration-j6z63tth.js → bus-qs5gpaa7.js} +8 -8
- package/dist/chunks/{integration-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-87epq991.js → bus-r0h1m8yn.js} +19 -19
- package/dist/chunks/{integration-rke5v8gv.js → bus-r14a846e.js} +2 -2
- package/dist/chunks/{integration-q4x1ybx4.js → bus-r1tc6yem.js} +25 -25
- package/dist/chunks/{integration-72rbz3at.js → bus-r73hqwej.js} +10 -10
- package/dist/chunks/{integration-chtrmnkp.js → bus-r7kgbqwf.js} +8 -8
- package/dist/chunks/{integration-r8dhm0tv.js → bus-r8dhm0tv.js} +1 -1
- package/dist/chunks/{integration-famd3pv6.js → bus-rhjckj9y.js} +5 -5
- package/dist/chunks/{integration-m7ex9x4h.js → bus-rmc74c4t.js} +35 -35
- package/dist/chunks/{integration-cwmray7q.js → bus-rpthx8hq.js} +4 -4
- package/dist/chunks/{integration-sadd05d1.js → bus-rrhrq44h.js} +24 -24
- package/dist/chunks/{integration-082zmtg6.js → bus-rrzvz4w9.js} +11 -11
- package/dist/chunks/{integration-mq9r6drf.js → bus-rxbdfnq0.js} +3 -3
- package/dist/chunks/{integration-n38qs1ar.js → bus-rz31k017.js} +9 -9
- package/dist/chunks/{integration-vb74x0he.js → bus-s6a5z1ry.js} +6 -6
- package/dist/chunks/{integration-w0968pv7.js → bus-saphkdfh.js} +5 -5
- package/dist/chunks/{integration-sba4qhjf.js → bus-sba4qhjf.js} +1 -1
- package/dist/chunks/{integration-5fq934vj.js → bus-sfxm1h0s.js} +5 -5
- package/dist/chunks/{integration-yfwze208.js → bus-sk616wp9.js} +25 -25
- package/dist/chunks/{integration-zme7t2a3.js → bus-ss1kepxy.js} +10 -10
- package/dist/chunks/{integration-750a2xxn.js → bus-svtn6ftc.js} +9 -9
- package/dist/chunks/{integration-84m8dmka.js → bus-t00n1yfv.js} +8 -8
- package/dist/chunks/{integration-8k0hjzhj.js → bus-t8wv8e2h.js} +23 -23
- package/dist/chunks/{integration-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-tjykrgmx.js → bus-tjykrgmx.js} +1 -1
- package/dist/chunks/{integration-rew5xft6.js → bus-tpc2xyw9.js} +6 -6
- package/dist/chunks/{integration-tppvcy65.js → bus-tppvcy65.js} +2 -2
- package/dist/chunks/{integration-hprgscy4.js → bus-tssjvmgn.js} +39 -39
- package/dist/chunks/{integration-qja7rspw.js → bus-v2pza5zk.js} +8 -8
- package/dist/chunks/{integration-gvwgzmjs.js → bus-v33gch5h.js} +20 -20
- package/dist/chunks/{integration-whttz7sn.js → bus-vjmsffxn.js} +27 -27
- package/dist/chunks/{integration-5787aseb.js → bus-w071yvmc.js} +17 -17
- package/dist/chunks/{integration-gxamhekz.js → bus-w1jbs0y4.js} +15 -15
- package/dist/chunks/bus-w1s1ra18.js +20 -0
- package/dist/chunks/{integration-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{integration-7zp0dc1g.js → bus-wkq0emgv.js} +26 -26
- package/dist/chunks/{integration-5vxncqj9.js → bus-wppt2sme.js} +9 -9
- package/dist/chunks/{integration-cejxp29k.js → bus-wpts28dx.js} +6 -6
- package/dist/chunks/{integration-rkj8rr3q.js → bus-wv36qkf9.js} +15 -15
- package/dist/chunks/{integration-f0v448q8.js → bus-ww8c32hp.js} +5 -5
- package/dist/chunks/{integration-e1rfyyrx.js → bus-wxwbjexe.js} +4 -4
- package/dist/chunks/{integration-81b8kvam.js → bus-wycvtbqt.js} +8 -8
- package/dist/chunks/{integration-vgnfmg5d.js → bus-wyvwzpgp.js} +33 -33
- package/dist/chunks/{integration-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-3tqssqdx.js → bus-x8za3qqf.js} +18 -18
- package/dist/chunks/{integration-1s8ztpfy.js → bus-xevys2wm.js} +13 -13
- package/dist/chunks/{integration-a1w1fpj3.js → bus-xjyr936n.js} +3 -3
- package/dist/chunks/{integration-xfcjyfjf.js → bus-xt2f3af4.js} +11 -11
- package/dist/chunks/{integration-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-0bzn7x5n.js → bus-y2ktbrjm.js} +17 -17
- package/dist/chunks/{integration-jwcy2c2z.js → bus-y71avatq.js} +4 -4
- package/dist/chunks/bus-ybsh6ht0.js +247 -0
- package/dist/chunks/{integration-9wk5k1v9.js → bus-ycn7ay9t.js} +21 -21
- package/dist/chunks/bus-ydckrtmx.js +18 -0
- package/dist/chunks/{integration-nfptqm75.js → bus-yf6xxqf2.js} +15 -15
- package/dist/chunks/{integration-yfbd16n1.js → bus-yfbd16n1.js} +2 -2
- package/dist/chunks/{integration-8dfnvz07.js → bus-ytyw8mcv.js} +15 -15
- package/dist/chunks/{integration-1f1wzhgc.js → bus-yw9364ag.js} +4 -4
- package/dist/chunks/{integration-98xyt05b.js → bus-z0f88jgc.js} +30 -30
- package/dist/chunks/{integration-z1k01bn4.js → bus-z1k01bn4.js} +2 -2
- package/dist/chunks/{integration-792x03jk.js → bus-z5n63056.js} +11 -11
- package/dist/chunks/{integration-29x78va6.js → bus-z63w68vq.js} +6 -6
- package/dist/chunks/{integration-572e70gx.js → bus-z91dmd0w.js} +30 -30
- package/dist/chunks/{integration-n3zymk0x.js → bus-ze67etev.js} +33 -33
- package/dist/chunks/{integration-b3n2eqtx.js → bus-zf97vnn4.js} +4 -4
- package/dist/chunks/{integration-n4q030rw.js → bus-zp9ajhcp.js} +4 -4
- package/dist/chunks/{integration-0z4800pn.js → bus-ztherss1.js} +9 -9
- package/dist/chunks/{integration-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- 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 +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +70 -70
- 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 +358 -358
- 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-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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +88 -88
- package/dist/git.js +5 -5
- 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 +6 -6
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +78 -78
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- 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 +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- 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 +2 -2
- package/dist/plugin/plan.js +96 -96
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- 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 +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +337 -337
- 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 +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +77 -77
- package/dist/provider.js +7 -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 +94 -94
- 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 +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +84 -84
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +113 -113
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +204 -204
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +102 -102
- package/dist/tool/plugin/write.js +116 -116
- 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.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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +7 -7
- package/dist/chunks/integration-15e969hj.js +0 -22
- package/dist/chunks/integration-4y7bcn0g.js +0 -4
- package/dist/chunks/integration-594z7tyx.js +0 -247
- package/dist/chunks/integration-dxj72tfx.js +0 -18
- package/dist/chunks/integration-n9mr47st.js +0 -20
- /package/dist/chunks/{integration-0fabt78z.js → bus-0fabt78z.js} +0 -0
- /package/dist/chunks/{integration-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3t738kvx.js → bus-3t738kvx.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-41nvscxy.js → bus-41nvscxy.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-982e01ww.js → bus-982e01ww.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a1tpkmh4.js → bus-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mntxs535.js → bus-mntxs535.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-p8qxwesx.js → bus-p8qxwesx.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-se0s1eqw.js → bus-se0s1eqw.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x1b8g1yb.js → bus-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → bus-z9919s4g.js} +0 -0
- /package/dist/chunks/{integration-zbjnn3ac.js → bus-zbjnn3ac.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./bus-mcvs2zbw.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node81
|
|
8
|
+
} from "./bus-6t49dzs3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./bus-7zk4hah4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service62,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node66
|
|
16
|
+
} from "./bus-d6v5jdzg.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event2,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service14,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node17
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode-ai/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event2 } from "@opencode-ai/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service14 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
60
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service79;
|
|
62
62
|
const location = yield* Service76;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service62;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service14.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node17 = makeLocationNode({
|
|
274
|
+
service: Service14,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node84, node81, node66]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node17, exports_pty, Event2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./bus-hsargt6j.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
8
|
Info14
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-56531erc.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-gzkr61q0.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service63
|
|
16
|
+
} from "./bus-5gyhz2nn.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin19
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode-ai/schema/config";
|
|
@@ -44,10 +44,10 @@ var decodeLegacyAgent = Schema.decodeUnknownOption(Info14);
|
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin19 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service63;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin44 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID15.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID15.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -160,4 +160,4 @@ function decode(file, content) {
|
|
|
160
160
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
export {
|
|
163
|
+
export { Plugin19, exports_agent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info16
|
|
6
|
+
} from "./bus-hha4zry8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info16)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./bus-a4p546v5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-3jsg4rse.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service16
|
|
11
|
+
} from "./bus-av3gzsdm.js";
|
|
12
12
|
import {
|
|
13
13
|
externalDirectoryPermission2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service75
|
|
15
|
+
} from "./bus-3zyads7b.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service70
|
|
18
|
+
} from "./bus-ktqm69e3.js";
|
|
19
19
|
import {
|
|
20
20
|
fileDiff2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-6prwharc.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./bus-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/write.ts
|
|
27
27
|
var exports_write = {};
|
|
28
28
|
__export(exports_write, {
|
|
29
|
-
Input: () =>
|
|
30
|
-
Output: () =>
|
|
31
|
-
Plugin: () =>
|
|
29
|
+
Input: () => Input6,
|
|
30
|
+
Output: () => Output5,
|
|
31
|
+
Plugin: () => Plugin7,
|
|
32
32
|
WriteTool: () => exports_write,
|
|
33
|
-
name: () =>
|
|
34
|
-
toModelContent: () =>
|
|
33
|
+
name: () => name6,
|
|
34
|
+
toModelContent: () => toModelContent4
|
|
35
35
|
});
|
|
36
36
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
37
37
|
import { Effect, Schema } from "effect";
|
|
38
38
|
import { Bom } from "@opencode-ai/util/bom";
|
|
39
|
-
var
|
|
40
|
-
var
|
|
39
|
+
var name6 = "write";
|
|
40
|
+
var Input6 = Schema.Struct({
|
|
41
41
|
path: Schema.String.annotate({
|
|
42
42
|
description: "Path to the file to write to"
|
|
43
43
|
}),
|
|
44
44
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
45
45
|
});
|
|
46
|
-
var
|
|
46
|
+
var Output5 = Schema.Struct({
|
|
47
47
|
operation: Schema.Literal("write"),
|
|
48
48
|
target: Schema.String,
|
|
49
49
|
resource: Schema.String,
|
|
50
50
|
existed: Schema.Boolean
|
|
51
51
|
});
|
|
52
|
-
var
|
|
53
|
-
var
|
|
52
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
53
|
+
var Plugin7 = {
|
|
54
54
|
id: "opencode.tool.write",
|
|
55
55
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
56
|
-
const mutation = yield*
|
|
57
|
-
const fileMutation = yield*
|
|
58
|
-
const environment = yield*
|
|
59
|
-
const formatter = yield*
|
|
60
|
-
const permission = yield*
|
|
56
|
+
const mutation = yield* Service75;
|
|
57
|
+
const fileMutation = yield* Service13;
|
|
58
|
+
const environment = yield* Service67;
|
|
59
|
+
const formatter = yield* Service16;
|
|
60
|
+
const permission = yield* Service70;
|
|
61
61
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
62
|
-
name:
|
|
62
|
+
name: name6,
|
|
63
63
|
options: { codemode: false, permission: "edit" },
|
|
64
64
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
65
65
|
|
|
66
66
|
Missing parent directories are created automatically.
|
|
67
67
|
|
|
68
68
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
69
|
-
input:
|
|
70
|
-
output:
|
|
69
|
+
input: Input6,
|
|
70
|
+
output: Output5,
|
|
71
71
|
execute: (input, context) => Effect.gen(function* () {
|
|
72
72
|
const source = {
|
|
73
73
|
type: "tool",
|
|
@@ -101,9 +101,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
101
101
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
102
102
|
}
|
|
103
103
|
return result;
|
|
104
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
104
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
105
105
|
})).pipe(Effect.orDie);
|
|
106
106
|
})
|
|
107
107
|
};
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { name6, Input6, Output5, toModelContent4, Plugin7, exports_write };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node55
|
|
5
|
+
} from "./bus-3q0mzqr9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node79
|
|
9
|
+
} from "./bus-t00n1yfv.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-ktqm69e3.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-kxw3z6ex.js";
|
|
16
16
|
import {
|
|
17
17
|
Error3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-ap2t8vcq.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service35,
|
|
21
|
+
node40
|
|
22
|
+
} from "./bus-rrzvz4w9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
make16
|
|
25
|
+
} from "./bus-bmj3d0ka.js";
|
|
26
26
|
import {
|
|
27
27
|
toLLMMessages2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./bus-zbjnn3ac.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/model-request.ts
|
|
34
34
|
var exports_model_request = {};
|
|
35
35
|
__export(exports_model_request, {
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service34,
|
|
37
37
|
SessionModelRequest: () => exports_model_request,
|
|
38
38
|
baseTranscript: () => baseTranscript2,
|
|
39
39
|
boundImages: () => boundImages2,
|
|
40
|
-
layer: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
layer: () => layer14,
|
|
41
|
+
node: () => node39,
|
|
42
42
|
unsupportedParts: () => unsupportedParts2
|
|
43
43
|
});
|
|
44
44
|
import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
|
|
@@ -58,7 +58,7 @@ var baseTranscript2 = (input) => {
|
|
|
58
58
|
return {
|
|
59
59
|
providerMetadataKey,
|
|
60
60
|
system: [
|
|
61
|
-
input.agent.system ? input.agent.system :
|
|
61
|
+
input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
|
|
62
62
|
input.initial
|
|
63
63
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
64
64
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -185,11 +185,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
|
|
|
185
185
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
186
186
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
|
|
187
187
|
|
|
188
|
-
class
|
|
188
|
+
class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
189
189
|
}
|
|
190
|
-
var
|
|
191
|
-
const hooks = yield*
|
|
192
|
-
const transport = yield*
|
|
190
|
+
var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
191
|
+
const hooks = yield* Service74;
|
|
192
|
+
const transport = yield* Service35;
|
|
193
193
|
const app = yield* Metadata2;
|
|
194
194
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
195
195
|
const session = input.scope.session;
|
|
@@ -254,12 +254,12 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
254
254
|
executeTool
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
|
-
return
|
|
257
|
+
return Service34.of({ prepare });
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer:
|
|
262
|
-
deps: [
|
|
259
|
+
var node39 = makeLocationNode({
|
|
260
|
+
service: Service34,
|
|
261
|
+
layer: layer14,
|
|
262
|
+
deps: [node79, node40, node55]
|
|
263
263
|
});
|
|
264
264
|
|
|
265
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
265
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer14, node39, exports_model_request };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./bus-mcvs2zbw.js";
|
|
5
5
|
import {
|
|
6
6
|
Event17,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node70
|
|
9
|
+
} from "./bus-r1tc6yem.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service64,
|
|
12
|
+
node68
|
|
13
|
+
} from "./bus-rrhrq44h.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-p8qxwesx.js";
|
|
17
17
|
import {
|
|
18
18
|
Service76,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node81
|
|
20
|
+
} from "./bus-6t49dzs3.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-hw4pv20g.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-20ebpt2n.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-35ymyeta.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-0s9ayhjt.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service65,
|
|
36
|
+
Event16,
|
|
37
|
+
node69
|
|
38
|
+
} from "./bus-1d2yf5yg.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./bus-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options8,
|
|
48
|
+
Service: () => Service63,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured9,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer24,
|
|
53
|
+
node: () => node67,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode-ai/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options8 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service63 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service63, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer24 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const location = yield* Service76;
|
|
100
|
-
const watcher = yield*
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
100
|
+
const watcher = yield* Service64;
|
|
101
|
+
const bus = yield* Service79;
|
|
102
|
+
const credentials = yield* Service66;
|
|
103
|
+
const wellknown = yield* Service65;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -224,7 +224,7 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service63.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured9(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service63,
|
|
248
|
+
layer: layer24(options),
|
|
249
|
+
deps: [node68, node84, FSUtil.node, Global.node, node81, node70, node69]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node67 = configured9();
|
|
253
253
|
|
|
254
|
-
export { latest2,
|
|
254
|
+
export { latest2, Options8, Service63, Test2, testLayer2, layer24, configured9, node67, exports_config };
|