@opencode-ai/core 0.0.0-dev-19181 → 0.0.0-dev-19183
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 +76 -76
- package/dist/chunks/{app-sv1sbqd5.js → integration-00v47x1e.js} +28 -28
- package/dist/chunks/{app-qrgjqevf.js → integration-029hz4z1.js} +13 -13
- package/dist/chunks/{app-trnhxq5y.js → integration-082zmtg6.js} +11 -11
- package/dist/chunks/{app-dfcf8dsh.js → integration-0bzn7x5n.js} +17 -17
- package/dist/chunks/{app-0e0xafbb.js → integration-0e0xafbb.js} +2 -2
- package/dist/chunks/{app-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-m21fe36q.js → integration-0pe3gf3s.js} +5 -5
- package/dist/chunks/{app-0s9ayhjt.js → integration-0s9ayhjt.js} +1 -1
- package/dist/chunks/{app-dhzp65aq.js → integration-0t8hhwgh.js} +5 -5
- package/dist/chunks/{app-zy9sz0a1.js → integration-0z4800pn.js} +9 -9
- package/dist/chunks/{app-53nd5drw.js → integration-13gt56f3.js} +3 -3
- package/dist/chunks/integration-15e969hj.js +22 -0
- package/dist/chunks/{app-hwemkwe8.js → integration-19chzbrm.js} +11 -11
- package/dist/chunks/{app-1ct4r87x.js → integration-1ct4r87x.js} +1 -1
- package/dist/chunks/{app-rpvck33q.js → integration-1ddsfqzv.js} +32 -32
- package/dist/chunks/{app-jcyemy94.js → integration-1f1wzhgc.js} +4 -4
- package/dist/chunks/{app-9cn7kp7k.js → integration-1jek20vj.js} +8 -8
- package/dist/chunks/{app-pt34y05q.js → integration-1n116cmy.js} +9 -9
- package/dist/chunks/{app-hajgtq0x.js → integration-1qrrvbyh.js} +46 -46
- package/dist/chunks/{app-npapp81d.js → integration-1s8ztpfy.js} +15 -15
- package/dist/chunks/{app-4prqn7xv.js → integration-1zv5y1gd.js} +29 -29
- package/dist/chunks/{app-21r38tys.js → integration-21r38tys.js} +1 -1
- package/dist/chunks/{app-yxqhfdf1.js → integration-26bs89kh.js} +11 -11
- package/dist/chunks/{app-kbjam7h1.js → integration-28n3apsg.js} +19 -19
- package/dist/chunks/{app-z63w68vq.js → integration-29x78va6.js} +6 -6
- package/dist/chunks/{app-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-4seer4n3.js → integration-2e0smsfx.js} +10 -10
- package/dist/chunks/{app-2ht70gj7.js → integration-2ht70gj7.js} +1 -1
- package/dist/chunks/{app-qgn6gcr1.js → integration-2k8khapm.js} +5 -5
- package/dist/chunks/{app-qev88vwh.js → integration-3a2re2wf.js} +11 -11
- package/dist/chunks/{app-gdvy8fx6.js → integration-3fc6dm20.js} +4 -4
- package/dist/chunks/{app-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-40scemma.js → integration-3krqs39v.js} +22 -22
- package/dist/chunks/{app-wf0xzsvt.js → integration-3mygrb37.js} +11 -11
- package/dist/chunks/{app-2vremtg6.js → integration-3pcfg1k3.js} +24 -24
- package/dist/chunks/{app-3qzbfqsy.js → integration-3qzbfqsy.js} +2 -2
- package/dist/chunks/{app-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-1cweq60h.js → integration-3taryhav.js} +17 -17
- package/dist/chunks/{app-x44q8c7y.js → integration-3tqssqdx.js} +15 -15
- package/dist/chunks/{app-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-de8cp1fg.js → integration-3vtxc0nj.js} +22 -22
- package/dist/chunks/{app-sygprj6n.js → integration-3yrmrd6r.js} +11 -11
- package/dist/chunks/{app-txct46nv.js → integration-44kf892n.js} +13 -13
- package/dist/chunks/{app-454k5vzh.js → integration-454k5vzh.js} +1 -1
- package/dist/chunks/{app-tx9pkam9.js → integration-4ck4bjxq.js} +39 -39
- package/dist/chunks/{app-msw86qcf.js → integration-4fgge01k.js} +4 -4
- package/dist/chunks/{app-a52x4gjk.js → integration-4h703e2n.js} +9 -9
- package/dist/chunks/{app-g0h3g2y6.js → integration-4jv2kp1d.js} +19 -19
- package/dist/chunks/{app-4r2nyarf.js → integration-4r2nyarf.js} +1 -1
- package/dist/chunks/{app-8ker6n7f.js → integration-4sxg11az.js} +5 -5
- package/dist/chunks/{app-9hhn40xk.js → integration-4txqqg0r.js} +4 -4
- package/dist/chunks/integration-4y7bcn0g.js +4 -0
- package/dist/chunks/{app-z8ha6r0g.js → integration-56nan9ps.js} +13 -13
- package/dist/chunks/{app-y18mx0w9.js → integration-572e70gx.js} +30 -30
- package/dist/chunks/{app-smkpzyj7.js → integration-5787aseb.js} +17 -17
- package/dist/chunks/integration-594z7tyx.js +247 -0
- package/dist/chunks/{app-5daktx2q.js → integration-5daktx2q.js} +1 -1
- package/dist/chunks/{app-m5w7j81k.js → integration-5fex8bb2.js} +7 -7
- package/dist/chunks/{app-5fmxt4p5.js → integration-5fmxt4p5.js} +1 -1
- package/dist/chunks/{app-qnfdxy2e.js → integration-5fq934vj.js} +5 -5
- package/dist/chunks/{app-456nf4bc.js → integration-5gkpy6h2.js} +8 -8
- package/dist/chunks/{app-5jvc5tg2.js → integration-5jvc5tg2.js} +1 -1
- package/dist/chunks/{app-9brvgznv.js → integration-5msmqgkp.js} +10 -10
- package/dist/chunks/{app-5d4cs7v3.js → integration-5vxncqj9.js} +9 -9
- package/dist/chunks/{app-1k4ws4ty.js → integration-62aq25ah.js} +5 -5
- package/dist/chunks/{app-8bk2zzjm.js → integration-67247g37.js} +8 -8
- package/dist/chunks/{app-17fx0k0q.js → integration-68d4cgwb.js} +18 -18
- package/dist/chunks/{app-6h73sxmp.js → integration-6h73sxmp.js} +1 -1
- package/dist/chunks/{app-pvsq6e0y.js → integration-6tv6bcvk.js} +35 -35
- package/dist/chunks/{app-w3jym6ha.js → integration-6z5bwd8g.js} +6 -6
- package/dist/chunks/{app-711hfp6y.js → integration-711hfp6y.js} +2 -2
- package/dist/chunks/{app-72nftnjy.js → integration-72nftnjy.js} +2 -2
- package/dist/chunks/{app-zm0v3se3.js → integration-72rbz3at.js} +12 -12
- package/dist/chunks/{app-73tb2d7t.js → integration-73tb2d7t.js} +1 -1
- package/dist/chunks/{app-68pyy3e5.js → integration-750a2xxn.js} +9 -9
- package/dist/chunks/{app-9nv1rt96.js → integration-754bw2w2.js} +9 -9
- package/dist/chunks/{app-456303rs.js → integration-792x03jk.js} +11 -11
- package/dist/chunks/{app-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-xq4mkaf1.js → integration-7zp0dc1g.js} +26 -26
- package/dist/chunks/{app-7myzn9fy.js → integration-81b8kvam.js} +8 -8
- package/dist/chunks/{app-kzcd834w.js → integration-83k7kjyf.js} +12 -12
- package/dist/chunks/{app-w6s4nrrc.js → integration-84m8dmka.js} +8 -8
- package/dist/chunks/{app-fj1ykrdy.js → integration-87epq991.js} +26 -26
- package/dist/chunks/{app-ryv3tfwp.js → integration-8dfnvz07.js} +16 -16
- package/dist/chunks/{app-syegws57.js → integration-8dxcby2a.js} +10 -10
- package/dist/chunks/{app-fvh8qddj.js → integration-8k0hjzhj.js} +35 -35
- package/dist/chunks/{app-93yhyjwm.js → integration-8tm69f6q.js} +49 -49
- package/dist/chunks/{app-w9gyfm2s.js → integration-8w6m0tk1.js} +21 -21
- package/dist/chunks/{app-93a8yfjt.js → integration-93a8yfjt.js} +2 -2
- package/dist/chunks/{app-w8xr7nv8.js → integration-96te9d4b.js} +5 -5
- package/dist/chunks/{app-04nymyew.js → integration-98xyt05b.js} +32 -32
- package/dist/chunks/{app-vs3g981p.js → integration-9cf39x6z.js} +11 -11
- package/dist/chunks/{app-9f52v7jd.js → integration-9cnpj473.js} +8 -8
- package/dist/chunks/{app-sc524drs.js → integration-9exd6xtw.js} +1 -1
- package/dist/chunks/{app-fks45ynx.js → integration-9p2yhpf5.js} +80 -80
- package/dist/chunks/{app-9qm9egsn.js → integration-9qm9egsn.js} +2 -2
- package/dist/chunks/{app-aqz4tv27.js → integration-9wk5k1v9.js} +23 -23
- package/dist/chunks/{app-b8gzedky.js → integration-a1w1fpj3.js} +3 -3
- package/dist/chunks/{app-gbanwdp8.js → integration-a1wa5wkg.js} +32 -32
- package/dist/chunks/{app-gb1rc5sc.js → integration-a91j8w2g.js} +17 -17
- package/dist/chunks/{app-aaet6srn.js → integration-aaet6srn.js} +2 -2
- package/dist/chunks/{app-6n7vs3qv.js → integration-aeysr3c7.js} +24 -24
- package/dist/chunks/{app-arbehxbm.js → integration-afp62h5k.js} +16 -16
- package/dist/chunks/{app-n3jkd22a.js → integration-ag4rn41e.js} +4 -4
- package/dist/chunks/{app-ajtjthsy.js → integration-ajtjthsy.js} +2 -2
- package/dist/chunks/{app-f1m8ygb3.js → integration-apstjsj8.js} +11 -11
- package/dist/chunks/{app-5904gm87.js → integration-b2cp5hap.js} +17 -17
- package/dist/chunks/{app-828he9z6.js → integration-b3n2eqtx.js} +5 -12
- package/dist/chunks/{app-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-mjfhjmk5.js → integration-b97n4k24.js} +23 -23
- package/dist/chunks/{app-b9wsbatv.js → integration-b9wsbatv.js} +1 -1
- package/dist/chunks/{app-wdgvf9wf.js → integration-bacej541.js} +15 -15
- package/dist/chunks/{app-s8w5cjx7.js → integration-bc8a5m6h.js} +28 -28
- package/dist/chunks/{app-3e147rt9.js → integration-bdqrk2vk.js} +9 -9
- package/dist/chunks/{app-je9hks3h.js → integration-bphmvjfp.js} +5 -5
- package/dist/chunks/{app-bqarnab4.js → integration-bpnz08mb.js} +2 -2
- package/dist/chunks/{app-3sd9qt72.js → integration-bwd9hhtf.js} +13 -13
- package/dist/chunks/{app-wthvqgek.js → integration-bzpbtns2.js} +17 -17
- package/dist/chunks/{app-g4fah38e.js → integration-c4tx9p0z.js} +9 -9
- package/dist/chunks/{app-c2v1zyg3.js → integration-cejxp29k.js} +6 -6
- package/dist/chunks/{app-szt7smwk.js → integration-chtrmnkp.js} +8 -8
- package/dist/chunks/{app-7cnkxtbd.js → integration-ct6ttrxz.js} +9 -9
- package/dist/chunks/{app-cc55107n.js → integration-cwmray7q.js} +4 -4
- package/dist/chunks/{app-8spbxhn4.js → integration-d1qjg7yf.js} +1 -1
- package/dist/chunks/{app-d72308c8.js → integration-d72308c8.js} +2 -2
- package/dist/chunks/{app-djtdz80w.js → integration-djtdz80w.js} +1 -1
- package/dist/chunks/{app-mekcq3pn.js → integration-dqq1y8bk.js} +18 -18
- package/dist/chunks/{app-y7xtxfz5.js → integration-drh5aenh.js} +29 -29
- package/dist/chunks/integration-dxj72tfx.js +18 -0
- package/dist/chunks/{app-zx51ac1r.js → integration-dxvw2y3n.js} +11 -11
- package/dist/chunks/{app-hyzy990m.js → integration-dywvj8k1.js} +6 -6
- package/dist/chunks/{app-67dbm4zp.js → integration-e1rfyyrx.js} +4 -4
- package/dist/chunks/{app-b3hfsjpn.js → integration-ecj1d35v.js} +8 -8
- package/dist/chunks/{app-gcqp0jtf.js → integration-edqq9k7w.js} +9 -9
- package/dist/chunks/{app-n48a5sdv.js → integration-ekm6zah0.js} +26 -26
- package/dist/chunks/{app-5wvgbp96.js → integration-erahty33.js} +36 -36
- package/dist/chunks/{app-22ytshyy.js → integration-ev9jfjwy.js} +4 -4
- package/dist/chunks/{app-3vpahets.js → integration-evyj72xz.js} +28 -28
- package/dist/chunks/{app-jp8chewc.js → integration-ey04d52n.js} +12 -12
- package/dist/chunks/{app-6cd6tdvt.js → integration-ezt9sm97.js} +6 -6
- package/dist/chunks/{app-n95nq84g.js → integration-f0v448q8.js} +5 -5
- package/dist/chunks/{app-emtwgvxj.js → integration-f45bjead.js} +24 -24
- package/dist/chunks/{app-6g1q2hdd.js → integration-f6tnmf0r.js} +14 -14
- package/dist/chunks/{app-teq0593w.js → integration-fajehsyw.js} +64 -64
- package/dist/chunks/{app-41mncz27.js → integration-famd3pv6.js} +5 -5
- package/dist/chunks/{app-b4b7p3j5.js → integration-fd9gvbrd.js} +13 -13
- package/dist/chunks/{app-tpqecd3t.js → integration-fn34x8gt.js} +4 -4
- package/dist/chunks/{app-fxbjtjnd.js → integration-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-fxypknc8.js → integration-fxypknc8.js} +1 -1
- package/dist/chunks/{app-h7tdc4p8.js → integration-g3afw5yt.js} +28 -28
- package/dist/chunks/{app-4b1mthq9.js → integration-g7csxrs7.js} +4 -4
- package/dist/chunks/{app-zk1c1bcq.js → integration-g8ay8k9b.js} +12 -12
- package/dist/chunks/{app-4x1g6k97.js → integration-ga2g4a2e.js} +1 -1
- package/dist/chunks/{app-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-dpqq4n8f.js → integration-gks1q0wj.js} +1 -1
- package/dist/chunks/{app-xvksmx2v.js → integration-gnndsqct.js} +21 -21
- package/dist/chunks/{app-w7z32673.js → integration-gvwgzmjs.js} +28 -28
- package/dist/chunks/{app-rykst88f.js → integration-gxamhekz.js} +15 -15
- package/dist/chunks/{app-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-wcwcztxs.js → integration-hdd17qa4.js} +11 -11
- package/dist/chunks/{app-heyhwy2w.js → integration-heyhwy2w.js} +1 -1
- package/dist/chunks/{app-z4yv9kjz.js → integration-hgd1ysgg.js} +32 -32
- package/dist/chunks/{app-yq9z8ydh.js → integration-hprgscy4.js} +36 -36
- package/dist/chunks/{app-hrvm11jt.js → integration-hrvm11jt.js} +3 -3
- package/dist/chunks/{app-g7ekdnc2.js → integration-hwexc6y2.js} +13 -13
- package/dist/chunks/{app-x28zqaf0.js → integration-hx4xtyj4.js} +28 -28
- package/dist/chunks/{app-er5cndkw.js → integration-hydkmr7z.js} +59 -59
- package/dist/chunks/{app-tnjwh1aj.js → integration-hzqp28w6.js} +20 -20
- package/dist/chunks/{app-11zfvzac.js → integration-j3pkw2j5.js} +24 -24
- package/dist/chunks/{app-59cz6q6x.js → integration-j6z63tth.js} +8 -8
- package/dist/chunks/{app-paphc93g.js → integration-j935v87r.js} +2 -2
- package/dist/chunks/{app-nh0kgycx.js → integration-jk1ageym.js} +27 -27
- package/dist/chunks/{app-dpkg50ah.js → integration-jwcy2c2z.js} +4 -4
- package/dist/chunks/{app-41f161pb.js → integration-jwzkj8fp.js} +16 -16
- package/dist/chunks/{app-p5cx4qq5.js → integration-k1x6xnzd.js} +34 -34
- package/dist/chunks/{app-k4bwy1x5.js → integration-k4bwy1x5.js} +1 -1
- package/dist/chunks/{app-kg06axw8.js → integration-kg06axw8.js} +1 -1
- package/dist/chunks/{app-2amsxbr2.js → integration-kk4d7wd3.js} +43 -43
- package/dist/chunks/{app-hw4pv20g.js → integration-kvsjn1dr.js} +2 -2
- package/dist/chunks/{app-jbkh0tb7.js → integration-kzzvpjj3.js} +12 -12
- package/dist/chunks/{app-nqk9406z.js → integration-m0m4b3vz.js} +5 -5
- package/dist/chunks/{app-w2gndftq.js → integration-m0q20d73.js} +46 -46
- package/dist/chunks/{app-5x14x66m.js → integration-m1rpt5yb.js} +2 -2
- package/dist/chunks/{app-fazyzkd8.js → integration-m2rb4t0p.js} +8 -8
- package/dist/chunks/{app-6rgwnj84.js → integration-m5zrz0fb.js} +16 -16
- package/dist/chunks/{app-g11w9hv4.js → integration-m7ex9x4h.js} +36 -36
- package/dist/chunks/{app-v0mw94ex.js → integration-m8cag8em.js} +25 -25
- package/dist/chunks/{app-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-kbznjata.js → integration-mjzw1bzx.js} +9 -9
- package/dist/chunks/{app-rxbdfnq0.js → integration-mq9r6drf.js} +3 -3
- package/dist/chunks/{app-75yf2d83.js → integration-mtcjf44p.js} +8 -8
- package/dist/chunks/{app-88rt85wd.js → integration-mwc26w7d.js} +25 -25
- package/dist/chunks/{app-ssg9qmrn.js → integration-n0tc3be6.js} +11 -11
- package/dist/chunks/{app-rz31k017.js → integration-n38qs1ar.js} +9 -9
- package/dist/chunks/{app-vzcgnjed.js → integration-n3zymk0x.js} +35 -35
- package/dist/chunks/{app-p9r5yxxa.js → integration-n4q030rw.js} +4 -4
- package/dist/chunks/{app-rzwcgm09.js → integration-n8295sxz.js} +4 -4
- package/dist/chunks/integration-n9mr47st.js +20 -0
- package/dist/chunks/{app-cz8be0q1.js → integration-nb76kee5.js} +22 -22
- package/dist/chunks/{app-xspqbexe.js → integration-nfptqm75.js} +16 -16
- package/dist/chunks/{app-0taz3mjc.js → integration-nghvs6yj.js} +18 -18
- package/dist/chunks/{app-0ft9cg2j.js → integration-p0b4ytnr.js} +6 -6
- package/dist/chunks/{app-bca4xk29.js → integration-p1mbbqbm.js} +15 -15
- package/dist/chunks/{app-acr0vn06.js → integration-p33re43j.js} +24 -24
- package/dist/chunks/{app-jg19dd05.js → integration-p4z4263z.js} +16 -16
- package/dist/chunks/{app-bmj3d0ka.js → integration-p6yzb5ay.js} +7 -7
- package/dist/chunks/{app-ajgsgqyb.js → integration-p9vx44pc.js} +1 -1
- package/dist/chunks/{app-r0msr716.js → integration-pah7pk43.js} +4 -4
- package/dist/chunks/{app-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{app-q2b1ymqp.js → integration-pmr4s4kc.js} +4 -4
- package/dist/chunks/{app-raf8wtnx.js → integration-prxfmcr4.js} +11 -11
- package/dist/chunks/{app-8e6swdk9.js → integration-pt2y317t.js} +296 -296
- package/dist/chunks/{app-h4cwhs5v.js → integration-pvg228j8.js} +1 -1
- package/dist/chunks/{app-40tvfwh5.js → integration-pxjsvhpz.js} +8 -8
- package/dist/chunks/{app-t8jjz1g4.js → integration-q2jffrft.js} +47 -47
- package/dist/chunks/{app-sj5n3trc.js → integration-q4x1ybx4.js} +34 -34
- package/dist/chunks/{app-dfns4ckt.js → integration-q9yh5vvh.js} +20 -20
- package/dist/chunks/{app-rjqxra3c.js → integration-qja7rspw.js} +8 -8
- package/dist/chunks/{app-hayfv2b5.js → integration-qq41xq3t.js} +164 -164
- package/dist/chunks/{app-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{app-b2a82tgj.js → integration-r3myhqa0.js} +27 -27
- package/dist/chunks/{app-gbqbc70j.js → integration-r4qxe6h4.js} +19 -19
- package/dist/chunks/{app-r8dhm0tv.js → integration-r8dhm0tv.js} +1 -1
- package/dist/chunks/{app-m08rz2n6.js → integration-rew5xft6.js} +6 -6
- package/dist/chunks/{app-10gpzbj0.js → integration-rke5v8gv.js} +2 -2
- package/dist/chunks/{app-72xb1avz.js → integration-rkj8rr3q.js} +15 -15
- package/dist/chunks/{app-241twxbq.js → integration-rkzs5vy1.js} +40 -40
- package/dist/chunks/{app-9x4j1p49.js → integration-sadd05d1.js} +24 -24
- package/dist/chunks/{app-sba4qhjf.js → integration-sba4qhjf.js} +1 -1
- package/dist/chunks/{app-nje80wxz.js → integration-sgesr4kp.js} +5 -5
- package/dist/chunks/{app-t5mvv7b6.js → integration-skb9nfw3.js} +85 -85
- package/dist/chunks/{app-83rp9aqa.js → integration-stxyg5sw.js} +17 -17
- package/dist/chunks/{app-kpn3khss.js → integration-t01161th.js} +9 -9
- package/dist/chunks/{app-vwg31drc.js → integration-t45px7ec.js} +3 -3
- package/dist/chunks/{app-qq0s42pd.js → integration-t5h4rs02.js} +9 -9
- package/dist/chunks/{app-yz9reb46.js → integration-t89cxbfz.js} +4 -4
- package/dist/chunks/{app-mya6twgv.js → integration-t9r1bwan.js} +37 -37
- package/dist/chunks/{app-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
- package/dist/chunks/{app-tjykrgmx.js → integration-tjykrgmx.js} +1 -1
- package/dist/chunks/{app-fg4eb5cw.js → integration-tnv1rg40.js} +46 -46
- package/dist/chunks/{app-tppvcy65.js → integration-tppvcy65.js} +2 -2
- package/dist/chunks/{app-ndjv4j8j.js → integration-trb5x967.js} +10 -10
- package/dist/chunks/{app-d216944b.js → integration-v5dkyp31.js} +7 -7
- package/dist/chunks/{app-sr1rc1g2.js → integration-vb74x0he.js} +9 -9
- package/dist/chunks/{app-84t6g51t.js → integration-venc2rs3.js} +16 -16
- package/dist/chunks/{app-me149q6c.js → integration-vgnfmg5d.js} +33 -33
- package/dist/chunks/{app-wsa4fayw.js → integration-w0968pv7.js} +3 -3
- package/dist/chunks/{app-a07sqv0b.js → integration-w0k1he6w.js} +5 -5
- package/dist/chunks/{app-ftcadk3w.js → integration-w19w1qkx.js} +1 -1
- package/dist/chunks/{app-hpr60q3x.js → integration-w2s7jr3f.js} +14 -14
- package/dist/chunks/{app-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{app-90x1n3bd.js → integration-wdfg1vjb.js} +67 -67
- package/dist/chunks/{app-bssf13fr.js → integration-whttz7sn.js} +29 -29
- package/dist/chunks/{app-xvx5ymr3.js → integration-wqa3gkgw.js} +20 -20
- package/dist/chunks/{app-13c094ja.js → integration-wr86h51b.js} +22 -22
- package/dist/chunks/{app-fqz8c7f9.js → integration-x1d412zs.js} +28 -28
- package/dist/chunks/{app-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-qrzxywk7.js → integration-x3qw5t49.js} +9 -9
- package/dist/chunks/{app-7mjejgxa.js → integration-x79x2n7a.js} +20 -20
- package/dist/chunks/{app-0n46b46t.js → integration-xfcjyfjf.js} +14 -14
- package/dist/chunks/{app-rw4nkp5j.js → integration-xxbz0p1r.js} +39 -39
- package/dist/chunks/{app-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-yfbd16n1.js → integration-yfbd16n1.js} +2 -2
- package/dist/chunks/{app-vhzvdfbz.js → integration-yfwze208.js} +27 -27
- package/dist/chunks/{app-9bqaxr83.js → integration-ygqh11pf.js} +14 -14
- package/dist/chunks/{app-z1k01bn4.js → integration-z1k01bn4.js} +2 -2
- package/dist/chunks/{app-y667m2fe.js → integration-zdfgkaf6.js} +21 -21
- package/dist/chunks/{app-4f62ejdk.js → integration-ze4dnq9c.js} +20 -20
- package/dist/chunks/{app-hjzzbmk8.js → integration-zhbaktmz.js} +31 -31
- package/dist/chunks/{app-61a3vjda.js → integration-zkn0w8ks.js} +3 -3
- package/dist/chunks/{app-nygk0pkd.js → integration-zme7t2a3.js} +7 -7
- package/dist/chunks/{app-k4zvwy7w.js → integration-zs2c7fj5.js} +18 -18
- package/dist/chunks/{app-fvn82d8v.js → integration-zxp8b8eb.js} +7 -7
- package/dist/chunks/{app-zxq2ej10.js → integration-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 +83 -83
- 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 +117 -117
- 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 +114 -114
- 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 +82 -82
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -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 +77 -77
- 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 +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- 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 +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- 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 +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +96 -96
- 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 +84 -84
- 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 +114 -114
- 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 +70 -70
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +78 -78
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- 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 +73 -73
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- 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 +215 -215
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- 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 +119 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- 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 +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +108 -108
- 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/types/plugin/optimize.d.ts +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- 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 +89 -89
- package/package.json +7 -7
- package/dist/chunks/app-7zk4hah4.js +0 -4
- package/dist/chunks/app-839ymwzf.js +0 -22
- package/dist/chunks/app-bwt7bpgq.js +0 -18
- package/dist/chunks/app-f3cn892e.js +0 -247
- package/dist/chunks/app-wgyqb6cs.js +0 -20
- /package/dist/chunks/{app-0fabt78z.js → integration-0fabt78z.js} +0 -0
- /package/dist/chunks/{app-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3t738kvx.js → integration-3t738kvx.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-41nvscxy.js → integration-41nvscxy.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-982e01ww.js → integration-982e01ww.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a1tpkmh4.js → integration-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mntxs535.js → integration-mntxs535.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-p8qxwesx.js → integration-p8qxwesx.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-se0s1eqw.js → integration-se0s1eqw.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → integration-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → integration-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x1b8g1yb.js → integration-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → integration-z9919s4g.js} +0 -0
- /package/dist/chunks/{app-zbjnn3ac.js → integration-zbjnn3ac.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-chtrmnkp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node63
|
|
12
|
+
} from "./integration-3mygrb37.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-m1rpt5yb.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID8,
|
|
18
18
|
VariantID2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Ref2
|
|
20
|
+
} from "./integration-ey04d52n.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service64,
|
|
24
|
+
node67
|
|
25
|
+
} from "./integration-vgnfmg5d.js";
|
|
26
26
|
import {
|
|
27
27
|
Service59,
|
|
28
28
|
node62
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./integration-x79x2n7a.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./integration-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service58,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
41
41
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
42
42
|
fromCatalogModel: () => fromCatalogModel2,
|
|
43
43
|
hasPackage: () => hasPackage2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer23,
|
|
45
|
+
node: () => node61,
|
|
46
46
|
resolveModel: () => resolveModel2,
|
|
47
47
|
withVariant: () => withVariant2
|
|
48
48
|
});
|
|
@@ -52,8 +52,8 @@ import { Auth } from "@opencode-ai/ai/route";
|
|
|
52
52
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
53
53
|
import { Npm } from "@opencode-ai/util/npm";
|
|
54
54
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
55
|
-
providerID:
|
|
56
|
-
modelID:
|
|
55
|
+
providerID: ID9,
|
|
56
|
+
modelID: ID8,
|
|
57
57
|
variant: VariantID2
|
|
58
58
|
}) {
|
|
59
59
|
get message() {
|
|
@@ -62,8 +62,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
65
|
-
providerID:
|
|
66
|
-
modelID:
|
|
65
|
+
providerID: ID9,
|
|
66
|
+
modelID: ID8,
|
|
67
67
|
package: Schema.String
|
|
68
68
|
}) {
|
|
69
69
|
get message() {
|
|
@@ -72,8 +72,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
75
|
-
providerID:
|
|
76
|
-
modelID:
|
|
75
|
+
providerID: ID9,
|
|
76
|
+
modelID: ID8,
|
|
77
77
|
variables: Schema.Array(Schema.String)
|
|
78
78
|
}) {
|
|
79
79
|
get message() {
|
|
@@ -81,7 +81,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service58 extends Context.Service()("@opencode/ModelResolver") {
|
|
85
85
|
}
|
|
86
86
|
var withVariant2 = (model, variantID) => {
|
|
87
87
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -203,14 +203,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
203
203
|
});
|
|
204
204
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
205
205
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
206
|
-
var
|
|
206
|
+
var layer23 = Layer.effect(Service58, Effect.gen(function* () {
|
|
207
207
|
const catalog = yield* Service59;
|
|
208
|
-
const integrations = yield*
|
|
208
|
+
const integrations = yield* Service64;
|
|
209
209
|
const npm = yield* Npm.Service;
|
|
210
|
-
const aisdk = yield*
|
|
210
|
+
const aisdk = yield* Service60;
|
|
211
211
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
212
212
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
213
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
213
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID11.make(selected.providerID));
|
|
214
214
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
215
215
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
216
216
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -220,7 +220,7 @@ var layer18 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
220
220
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
221
221
|
return {
|
|
222
222
|
model: runtime,
|
|
223
|
-
ref:
|
|
223
|
+
ref: Ref2.make({
|
|
224
224
|
id: selected.id,
|
|
225
225
|
providerID: selected.providerID,
|
|
226
226
|
...variant === undefined ? {} : { variant }
|
|
@@ -230,7 +230,7 @@ var layer18 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
230
230
|
limit: selected.limit
|
|
231
231
|
};
|
|
232
232
|
});
|
|
233
|
-
return
|
|
233
|
+
return Service58.of({
|
|
234
234
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
235
235
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
236
236
|
if (!selected)
|
|
@@ -247,10 +247,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
247
247
|
const name = packageName2(packageName);
|
|
248
248
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode-ai/ai/providers/openai" || name?.startsWith("@opencode-ai/ai/providers/openai/") === true || name === "@opencode-ai/ai/providers/anthropic" || name === "@opencode-ai/ai/providers/anthropic-compatible" || name === "@opencode-ai/ai/providers/cerebras" || name === "@opencode-ai/ai/providers/deepinfra" || name === "@opencode-ai/ai/providers/openai-compatible" || name === "@opencode-ai/ai/providers/google" || name === "@opencode-ai/ai/providers/groq" || name === "@opencode-ai/ai/providers/mistral" || name === "@opencode-ai/ai/providers/togetherai" || name === "@opencode-ai/ai/providers/xai" || name === "@opencode-ai/ai/providers/openrouter" || name === "@opencode-ai/ai/providers/azure" || name?.startsWith("@opencode-ai/ai/providers/azure/") === true;
|
|
249
249
|
}
|
|
250
|
-
var
|
|
251
|
-
service:
|
|
252
|
-
layer:
|
|
253
|
-
deps: [node62,
|
|
250
|
+
var node61 = makeLocationNode({
|
|
251
|
+
service: Service58,
|
|
252
|
+
layer: layer23,
|
|
253
|
+
deps: [node62, node67, Npm.node, node63]
|
|
254
254
|
});
|
|
255
255
|
|
|
256
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3,
|
|
256
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node61, exports_model_resolver };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-r8dhm0tv.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9qm9egsn.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./integration-xfcjyfjf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./integration-n9mr47st.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-dxj72tfx.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-trb5x967.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-drh5aenh.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service24
|
|
18
|
+
} from "./integration-9p2yhpf5.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./integration-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/generate.ts
|
|
24
24
|
var exports_generate2 = {};
|
|
@@ -29,12 +29,12 @@ __export(exports_generate2, {
|
|
|
29
29
|
import { LLMClient, Message } from "@opencode-ai/ai";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
31
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
32
|
-
const instances = yield*
|
|
33
|
-
const database = yield*
|
|
32
|
+
const instances = yield* Service32;
|
|
33
|
+
const database = yield* Service80;
|
|
34
34
|
const llm = yield* LLMClient.Service;
|
|
35
35
|
return yield* Effect.gen(function* () {
|
|
36
36
|
yield* awaitActivation2;
|
|
37
|
-
const context = yield*
|
|
37
|
+
const context = yield* Service24;
|
|
38
38
|
const selection = yield* context.select(input.session.id);
|
|
39
39
|
const model = yield* context.resolveModel(selection.session);
|
|
40
40
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./integration-afp62h5k.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event6,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Service: () => Service41,
|
|
21
|
+
layer: () => layer18,
|
|
22
|
+
node: () => node44
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode-ai/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event6 } from "@opencode-ai/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service41 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer18 = Layer.effect(Service41, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service78;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service41.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node44 = makeLocationNode({
|
|
75
|
+
service: Service41,
|
|
76
|
+
layer: layer18,
|
|
77
|
+
deps: [node82]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError4, ExecutionError2, Service41, layer18, node44, exports_command4, Event6 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-xfcjyfjf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./integration-afp62h5k.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service32,
|
|
11
|
+
node35
|
|
12
|
+
} from "./integration-n9mr47st.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-p8qxwesx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node81
|
|
20
|
+
} from "./integration-aeysr3c7.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-f6tnmf0r.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service62,
|
|
26
|
+
node65
|
|
27
|
+
} from "./integration-81b8kvam.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-982e01ww.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError6
|
|
33
|
+
} from "./integration-t5h4rs02.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./integration-mntxs535.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service29
|
|
39
|
+
} from "./integration-ag4rn41e.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service49,
|
|
42
|
+
node52
|
|
43
|
+
} from "./integration-nfptqm75.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service30,
|
|
48
|
+
node34,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./integration-b97n4k24.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service28,
|
|
53
|
+
node33
|
|
54
|
+
} from "./integration-rkzs5vy1.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node31
|
|
57
|
+
} from "./integration-gnndsqct.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./integration-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service26,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node30
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service26 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service77;
|
|
92
|
+
const locations = yield* Service62;
|
|
93
|
+
const store = yield* Service49;
|
|
94
|
+
const execution = yield* Service28;
|
|
95
|
+
const instances = yield* Service32;
|
|
96
|
+
const admission = yield* Service30;
|
|
97
|
+
const database = yield* Service80;
|
|
98
|
+
const bus = yield* Service78;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError6({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service29.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service26.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node30 = makeGlobalNode({
|
|
167
|
+
service: Service26,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
node31,
|
|
176
|
-
node34,
|
|
172
|
+
node81,
|
|
173
|
+
node65,
|
|
174
|
+
node52,
|
|
177
175
|
node33,
|
|
176
|
+
node35,
|
|
177
|
+
node34,
|
|
178
178
|
node84,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node82,
|
|
180
|
+
node31
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service26, node30, exports_move };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./integration-j3pkw2j5.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./integration-pxjsvhpz.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-t89cxbfz.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./integration-tnv1rg40.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./integration-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin44
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode-ai/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
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 Plugin44 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service52;
|
|
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 Plugin10 = 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(ID10.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 = ID10.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 { Plugin44, exports_agent2 };
|