@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,71 +1,71 @@
|
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID15,
|
|
11
|
+
Service73,
|
|
12
|
+
node78
|
|
13
|
+
} from "./bus-hsargt6j.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./bus-qq0s42pd.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service72,
|
|
19
|
+
node77
|
|
20
|
+
} from "./bus-yf6xxqf2.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service71,
|
|
26
|
+
node76
|
|
27
|
+
} from "./bus-2p9tqta8.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service74,
|
|
30
|
+
node79
|
|
31
|
+
} from "./bus-t00n1yfv.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./bus-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
49
|
-
Reply: () =>
|
|
45
|
+
Event: () => Event18,
|
|
46
|
+
ID: () => ID13,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
52
|
-
Rule: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service70,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node75
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode-ai/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode-ai/schema/permission";
|
|
64
|
+
import { Event as Event18 } from "@opencode-ai/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID13 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID13.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID13,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID13,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID13
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service70 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
130
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service79;
|
|
132
132
|
const location = yield* Service76;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service73;
|
|
134
|
+
const sessions = yield* Service72;
|
|
135
|
+
const saved = yield* Service71;
|
|
136
|
+
const hooks = yield* Service74;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError9({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID13.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service70.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node75 = makeLocationNode({
|
|
289
|
+
service: Service70,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node84, node81, node78, node77, node76, node79]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service70, node75, exports_permission2, Rule3, Ruleset2, Event18 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./bus-h6dr5ctb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./bus-ktqm69e3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service53;
|
|
57
|
+
const permission = yield* Service70;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./bus-6wj0fw5p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./bus-w1s1ra18.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-ydckrtmx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service74
|
|
15
|
+
} from "./bus-t00n1yfv.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-qq0s42pd.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service51
|
|
23
|
+
} from "./bus-q1b8pcac.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service40;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service74;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service51;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service58;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service60,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node64
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service60 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service60, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service60.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service51, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node64 = makeGlobalNode({ service: Service60, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service60, node64, exports_environment };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node85
|
|
4
|
+
} from "./bus-xt2f3af4.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
22
|
-
configured: () =>
|
|
21
|
+
Service: () => Service79,
|
|
22
|
+
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node84,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service79 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service79,
|
|
84
|
+
deps: [node85],
|
|
85
|
+
layer: Layer.effect(Service79, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -525,7 +525,7 @@ function configured11(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service79.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured11(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node84 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured12, node84, exports_bus };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make4(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make4 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-3q0mzqr9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin35,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
13
|
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin35 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin5 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint5,
|
|
80
|
+
export { endpoint5, Plugin35, exports_tavily };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./bus-w1s1ra18.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-ydckrtmx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service59
|
|
9
|
+
} from "./bus-6gn07reb.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service40;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service59), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node15
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode-ai/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service12 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service12.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node15 = makeGlobalNode({ service: Service12, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service12, node15, exports_update };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-982e01ww.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-rxbdfnq0.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-qq0s42pd.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-75yf2d83.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-hrvm11jt.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-4b1mthq9.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/session/history.ts
|
|
26
26
|
var exports_history = {};
|
|
@@ -30,7 +30,7 @@ __export(exports_history, {
|
|
|
30
30
|
entriesForRunner: () => entriesForRunner2,
|
|
31
31
|
firstUserMessage: () => firstUserMessage2,
|
|
32
32
|
latestCompaction: () => latestCompaction2,
|
|
33
|
-
load: () =>
|
|
33
|
+
load: () => load3,
|
|
34
34
|
preview: () => preview2
|
|
35
35
|
});
|
|
36
36
|
import { and, asc, desc, eq, gte, sql } from "drizzle-orm";
|
|
@@ -48,7 +48,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID) {
|
|
|
48
48
|
const rows = yield* db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, sessionID), compaction ? gte(SessionMessageTable2.seq, compaction.seq) : undefined)).orderBy(asc(SessionMessageTable2.seq)).all().pipe(Effect.orDie);
|
|
49
49
|
return yield* Effect.forEach(rows, (row) => decodeMessageRow2(row).pipe(Effect.map((message) => ({ seq: row.seq, message }))));
|
|
50
50
|
});
|
|
51
|
-
var
|
|
51
|
+
var load3 = Effect.fn("SessionHistory.load")(function* (db, sessionID) {
|
|
52
52
|
return (yield* messageEntries(db, sessionID)).map((entry) => entry.message);
|
|
53
53
|
});
|
|
54
54
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions) {
|
|
@@ -84,4 +84,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
84
84
|
return message?.type === "user" ? message : undefined;
|
|
85
85
|
});
|
|
86
86
|
|
|
87
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
87
|
+
export { latestCompaction2, decodeMessageRow2, load3, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|