@opencode-ai/core 0.0.0-dev-19182 → 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 +81 -81
- 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/{location-nm29mynh.js → integration-00v47x1e.js} +32 -32
- package/dist/chunks/{location-g92whbrj.js → integration-029hz4z1.js} +13 -13
- package/dist/chunks/{location-40myj96f.js → integration-082zmtg6.js} +11 -11
- package/dist/chunks/{location-0qnr3fek.js → integration-0bzn7x5n.js} +19 -19
- package/dist/chunks/{location-0e0xafbb.js → integration-0e0xafbb.js} +2 -2
- package/dist/chunks/{location-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-qz1nk4mn.js → integration-0pe3gf3s.js} +7 -7
- package/dist/chunks/{location-0s9ayhjt.js → integration-0s9ayhjt.js} +1 -1
- package/dist/chunks/{location-099yzkay.js → integration-0t8hhwgh.js} +5 -5
- package/dist/chunks/{location-639gdf4d.js → integration-0z4800pn.js} +9 -9
- package/dist/chunks/{location-bmr95yyq.js → integration-13gt56f3.js} +6 -6
- package/dist/chunks/integration-15e969hj.js +22 -0
- package/dist/chunks/{location-g3v2a77t.js → integration-19chzbrm.js} +11 -11
- package/dist/chunks/{location-1ct4r87x.js → integration-1ct4r87x.js} +1 -1
- package/dist/chunks/{location-q11djy6h.js → integration-1ddsfqzv.js} +32 -32
- package/dist/chunks/{location-7grmgsg7.js → integration-1f1wzhgc.js} +4 -4
- package/dist/chunks/{location-ew6k544p.js → integration-1jek20vj.js} +8 -8
- package/dist/chunks/{location-637qq8n2.js → integration-1n116cmy.js} +9 -9
- package/dist/chunks/{location-sa86hhh4.js → integration-1qrrvbyh.js} +44 -44
- package/dist/chunks/{location-sx35gfrx.js → integration-1s8ztpfy.js} +15 -15
- package/dist/chunks/{location-dqpp7xtx.js → integration-1zv5y1gd.js} +23 -23
- package/dist/chunks/{location-21r38tys.js → integration-21r38tys.js} +1 -1
- package/dist/chunks/{location-s97jcm3f.js → integration-26bs89kh.js} +11 -11
- package/dist/chunks/{location-dnwnzy9r.js → integration-28n3apsg.js} +16 -16
- package/dist/chunks/{location-29x78va6.js → integration-29x78va6.js} +2 -2
- package/dist/chunks/{location-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-xnxd0px6.js → integration-2e0smsfx.js} +10 -10
- package/dist/chunks/{location-2ht70gj7.js → integration-2ht70gj7.js} +1 -1
- package/dist/chunks/{location-qgn6gcr1.js → integration-2k8khapm.js} +5 -5
- package/dist/chunks/{location-0y9gq4bp.js → integration-3a2re2wf.js} +11 -11
- package/dist/chunks/{location-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-9te76ggx.js → integration-3krqs39v.js} +18 -18
- package/dist/chunks/{location-rxwhsv4j.js → integration-3mygrb37.js} +11 -11
- package/dist/chunks/{location-79x7mafq.js → integration-3pcfg1k3.js} +24 -24
- package/dist/chunks/{location-3qzbfqsy.js → integration-3qzbfqsy.js} +2 -2
- package/dist/chunks/{location-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-xk03nspc.js → integration-3taryhav.js} +23 -23
- package/dist/chunks/{location-fd8bdhp3.js → integration-3tqssqdx.js} +12 -12
- package/dist/chunks/{location-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-m538xkc9.js → integration-3vtxc0nj.js} +24 -24
- package/dist/chunks/{location-c77qvs9x.js → integration-3yrmrd6r.js} +11 -11
- package/dist/chunks/{location-ghsrwkmd.js → integration-44kf892n.js} +13 -13
- package/dist/chunks/{location-454k5vzh.js → integration-454k5vzh.js} +1 -1
- package/dist/chunks/{location-h60nam6t.js → integration-4ck4bjxq.js} +41 -41
- package/dist/chunks/{location-madcmxva.js → integration-4fgge01k.js} +4 -4
- package/dist/chunks/{location-ztyxqxtg.js → integration-4h703e2n.js} +9 -9
- package/dist/chunks/{location-6mxvj815.js → integration-4jv2kp1d.js} +16 -16
- package/dist/chunks/{location-4r2nyarf.js → integration-4r2nyarf.js} +1 -1
- package/dist/chunks/{location-j7a4wd22.js → integration-4sxg11az.js} +5 -5
- package/dist/chunks/{location-fdhdqrxd.js → integration-4txqqg0r.js} +4 -4
- package/dist/chunks/integration-4y7bcn0g.js +4 -0
- package/dist/chunks/{location-henbvbzz.js → integration-56nan9ps.js} +13 -13
- package/dist/chunks/{location-1ayrcz9m.js → integration-572e70gx.js} +28 -28
- package/dist/chunks/{location-qf24q2gc.js → integration-5787aseb.js} +25 -25
- package/dist/chunks/integration-594z7tyx.js +247 -0
- package/dist/chunks/{location-5daktx2q.js → integration-5daktx2q.js} +1 -1
- package/dist/chunks/{location-16s6chgv.js → integration-5fex8bb2.js} +7 -7
- package/dist/chunks/{location-5fmxt4p5.js → integration-5fmxt4p5.js} +1 -1
- package/dist/chunks/{location-z3jc06sm.js → integration-5fq934vj.js} +5 -5
- package/dist/chunks/{location-0v2z2dt2.js → integration-5gkpy6h2.js} +8 -8
- package/dist/chunks/{location-5jvc5tg2.js → integration-5jvc5tg2.js} +1 -1
- package/dist/chunks/{location-0xf4rbjv.js → integration-5msmqgkp.js} +10 -10
- package/dist/chunks/{location-9y5wqfte.js → integration-5vxncqj9.js} +10 -10
- package/dist/chunks/{location-4222c8h2.js → integration-62aq25ah.js} +5 -5
- package/dist/chunks/{location-ttxh07c1.js → integration-67247g37.js} +11 -11
- package/dist/chunks/{location-jpcaj8m5.js → integration-68d4cgwb.js} +15 -15
- package/dist/chunks/{location-2402vzrj.js → integration-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-0r82rn0f.js → integration-6tv6bcvk.js} +32 -32
- package/dist/chunks/{location-6abnk40k.js → integration-6z5bwd8g.js} +9 -9
- package/dist/chunks/{location-711hfp6y.js → integration-711hfp6y.js} +2 -2
- package/dist/chunks/{location-72nftnjy.js → integration-72nftnjy.js} +2 -2
- package/dist/chunks/{location-4tppse3b.js → integration-72rbz3at.js} +7 -7
- package/dist/chunks/{location-7yh4e7ss.js → integration-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-k9rndcxy.js → integration-750a2xxn.js} +9 -9
- package/dist/chunks/{location-2zwygsj0.js → integration-754bw2w2.js} +9 -9
- package/dist/chunks/{location-maje4ax4.js → integration-792x03jk.js} +11 -11
- package/dist/chunks/{location-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-dyg53c9h.js → integration-7zp0dc1g.js} +28 -28
- package/dist/chunks/{location-6mmthzyr.js → integration-81b8kvam.js} +10 -10
- package/dist/chunks/{location-6hws6qdh.js → integration-83k7kjyf.js} +12 -12
- package/dist/chunks/{location-wvgh3gdf.js → integration-84m8dmka.js} +8 -8
- package/dist/chunks/{location-g6z4jyvm.js → integration-87epq991.js} +28 -28
- package/dist/chunks/{location-8rzkd790.js → integration-8dfnvz07.js} +16 -16
- package/dist/chunks/{location-fc48qkc5.js → integration-8dxcby2a.js} +10 -10
- package/dist/chunks/{location-qypgck77.js → integration-8k0hjzhj.js} +35 -35
- package/dist/chunks/{location-hfwwmt6p.js → integration-8tm69f6q.js} +45 -45
- package/dist/chunks/{location-nbwyzmjh.js → integration-8w6m0tk1.js} +23 -23
- package/dist/chunks/{location-93a8yfjt.js → integration-93a8yfjt.js} +2 -2
- package/dist/chunks/{location-v6ghzfeb.js → integration-96te9d4b.js} +5 -5
- package/dist/chunks/{location-mkvjn4ta.js → integration-98xyt05b.js} +23 -23
- package/dist/chunks/{location-hx11aksh.js → integration-9cf39x6z.js} +11 -11
- package/dist/chunks/{location-24hkfxm1.js → integration-9cnpj473.js} +8 -8
- package/dist/chunks/{location-305k387t.js → integration-9exd6xtw.js} +1 -1
- package/dist/chunks/{location-g376t9v5.js → integration-9p2yhpf5.js} +87 -87
- package/dist/chunks/{location-9qm9egsn.js → integration-9qm9egsn.js} +2 -2
- package/dist/chunks/{location-rvfzszgw.js → integration-9wk5k1v9.js} +20 -20
- package/dist/chunks/{location-fy8q56jn.js → integration-a1w1fpj3.js} +3 -3
- package/dist/chunks/{location-c3w06mmk.js → integration-a1wa5wkg.js} +32 -32
- package/dist/chunks/{location-r6mjjjfn.js → integration-a91j8w2g.js} +14 -14
- package/dist/chunks/{location-aaet6srn.js → integration-aaet6srn.js} +2 -2
- package/dist/chunks/{location-25thvgnz.js → integration-aeysr3c7.js} +45 -45
- package/dist/chunks/{location-5wca7bce.js → integration-afp62h5k.js} +16 -16
- package/dist/chunks/{location-ag4rn41e.js → integration-ag4rn41e.js} +1 -1
- package/dist/chunks/{location-ajtjthsy.js → integration-ajtjthsy.js} +2 -2
- package/dist/chunks/{location-m6zh5m6k.js → integration-apstjsj8.js} +11 -11
- package/dist/chunks/{location-yj4j1qeh.js → integration-b2cp5hap.js} +18 -18
- package/dist/chunks/{location-ms52v0md.js → integration-b3n2eqtx.js} +3 -10
- package/dist/chunks/{location-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mh0wjfxe.js → integration-b97n4k24.js} +21 -21
- package/dist/chunks/{location-b9wsbatv.js → integration-b9wsbatv.js} +1 -1
- package/dist/chunks/{location-y04krdpn.js → integration-bacej541.js} +15 -15
- package/dist/chunks/{location-3g5pjnhh.js → integration-bc8a5m6h.js} +32 -32
- package/dist/chunks/{location-j5208yae.js → integration-bdqrk2vk.js} +4 -4
- package/dist/chunks/{location-je9hks3h.js → integration-bphmvjfp.js} +5 -5
- package/dist/chunks/{location-gpkgrk3z.js → integration-bpnz08mb.js} +2 -2
- package/dist/chunks/{location-xwm8he1j.js → integration-bwd9hhtf.js} +13 -13
- package/dist/chunks/{location-zxkvh7j1.js → integration-bzpbtns2.js} +13 -13
- package/dist/chunks/{location-26n7px8t.js → integration-c4tx9p0z.js} +13 -13
- package/dist/chunks/{location-thpc82ks.js → integration-cejxp29k.js} +6 -6
- package/dist/chunks/{location-bve5bdy4.js → integration-chtrmnkp.js} +6 -6
- package/dist/chunks/{location-56s0b4tg.js → integration-ct6ttrxz.js} +9 -9
- package/dist/chunks/{location-1hs7c9vy.js → integration-cwmray7q.js} +4 -4
- package/dist/chunks/{location-gq0p26s4.js → integration-d1qjg7yf.js} +1 -1
- package/dist/chunks/{location-d72308c8.js → integration-d72308c8.js} +2 -2
- package/dist/chunks/{location-djtdz80w.js → integration-djtdz80w.js} +1 -1
- package/dist/chunks/{location-w1bqf0dm.js → integration-dqq1y8bk.js} +23 -23
- package/dist/chunks/{location-sjtc86f5.js → integration-drh5aenh.js} +29 -29
- package/dist/chunks/integration-dxj72tfx.js +18 -0
- package/dist/chunks/{location-nphz3sty.js → integration-dxvw2y3n.js} +11 -11
- package/dist/chunks/{location-kt2yjrhz.js → integration-dywvj8k1.js} +6 -6
- package/dist/chunks/{location-bp916t1p.js → integration-e1rfyyrx.js} +4 -4
- package/dist/chunks/{location-7vhmdqap.js → integration-ecj1d35v.js} +8 -8
- package/dist/chunks/{location-4henhw4d.js → integration-edqq9k7w.js} +9 -9
- package/dist/chunks/{location-a3pcjqte.js → integration-ekm6zah0.js} +23 -23
- package/dist/chunks/{location-nrha7cz6.js → integration-erahty33.js} +36 -36
- package/dist/chunks/{location-810ayxav.js → integration-ev9jfjwy.js} +4 -4
- package/dist/chunks/{location-8491r7tk.js → integration-evyj72xz.js} +24 -24
- package/dist/chunks/{location-f9anq697.js → integration-ey04d52n.js} +14 -14
- package/dist/chunks/{location-jd00bmkr.js → integration-ezt9sm97.js} +6 -6
- package/dist/chunks/{location-r9hy8h05.js → integration-f0v448q8.js} +5 -5
- package/dist/chunks/{location-p04155vs.js → integration-f45bjead.js} +24 -24
- package/dist/chunks/{location-5ktyes22.js → integration-f6tnmf0r.js} +17 -17
- package/dist/chunks/{location-682nnvw5.js → integration-fajehsyw.js} +45 -45
- package/dist/chunks/{location-41mncz27.js → integration-famd3pv6.js} +5 -5
- package/dist/chunks/{location-yfnsbj1e.js → integration-fd9gvbrd.js} +13 -13
- package/dist/chunks/{location-qwnjk9y7.js → integration-fn34x8gt.js} +4 -4
- package/dist/chunks/{location-fxbjtjnd.js → integration-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-fxypknc8.js → integration-fxypknc8.js} +1 -1
- package/dist/chunks/{location-ftbb7tdg.js → integration-g3afw5yt.js} +27 -27
- package/dist/chunks/{location-69wcn9zj.js → integration-g7csxrs7.js} +4 -4
- package/dist/chunks/{location-vke5y7t4.js → integration-g8ay8k9b.js} +12 -12
- package/dist/chunks/{location-bwt96rmt.js → integration-ga2g4a2e.js} +1 -1
- package/dist/chunks/{location-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-4ex15pvw.js → integration-gks1q0wj.js} +1 -1
- package/dist/chunks/{location-fty3fzgh.js → integration-gnndsqct.js} +22 -22
- package/dist/chunks/{location-4zwh31cg.js → integration-gvwgzmjs.js} +31 -31
- package/dist/chunks/{location-g21wvy94.js → integration-gxamhekz.js} +15 -15
- package/dist/chunks/{location-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-h2r6zf7a.js → integration-hdd17qa4.js} +14 -14
- package/dist/chunks/{location-heyhwy2w.js → integration-heyhwy2w.js} +1 -1
- package/dist/chunks/{location-ghajtkjr.js → integration-hgd1ysgg.js} +33 -33
- package/dist/chunks/{location-2drkfcgp.js → integration-hprgscy4.js} +39 -39
- package/dist/chunks/{location-hrvm11jt.js → integration-hrvm11jt.js} +3 -3
- package/dist/chunks/{location-nj2y53n9.js → integration-hwexc6y2.js} +15 -15
- package/dist/chunks/{location-ph6d59n1.js → integration-hx4xtyj4.js} +28 -28
- package/dist/chunks/{location-tmxppmmw.js → integration-hydkmr7z.js} +55 -55
- package/dist/chunks/{location-t54a95zk.js → integration-hzqp28w6.js} +20 -20
- package/dist/chunks/{location-eqtasyqd.js → integration-j3pkw2j5.js} +27 -27
- package/dist/chunks/{location-kg2v5vbd.js → integration-j6z63tth.js} +8 -8
- package/dist/chunks/{location-th1g352w.js → integration-jk1ageym.js} +22 -22
- package/dist/chunks/{location-y71avatq.js → integration-jwcy2c2z.js} +4 -4
- package/dist/chunks/{location-av2t16y3.js → integration-jwzkj8fp.js} +16 -16
- package/dist/chunks/{location-n3fvsc7x.js → integration-k1x6xnzd.js} +28 -28
- package/dist/chunks/{location-k4bwy1x5.js → integration-k4bwy1x5.js} +1 -1
- package/dist/chunks/{location-kg06axw8.js → integration-kg06axw8.js} +1 -1
- package/dist/chunks/{location-zdyy6p88.js → integration-kk4d7wd3.js} +41 -41
- package/dist/chunks/{location-kvsjn1dr.js → integration-kvsjn1dr.js} +2 -2
- package/dist/chunks/{location-8n4wb1gp.js → integration-kzzvpjj3.js} +18 -18
- package/dist/chunks/{location-56b1m769.js → integration-m0m4b3vz.js} +5 -5
- package/dist/chunks/{location-kdken766.js → integration-m0q20d73.js} +46 -46
- package/dist/chunks/{location-w1s907pf.js → integration-m1rpt5yb.js} +2 -2
- package/dist/chunks/{location-v5x978b2.js → integration-m2rb4t0p.js} +8 -8
- package/dist/chunks/{location-38ccjcnc.js → integration-m5zrz0fb.js} +16 -16
- package/dist/chunks/{location-75qt4cx3.js → integration-m7ex9x4h.js} +34 -34
- package/dist/chunks/{location-d47nst9j.js → integration-m8cag8em.js} +25 -25
- package/dist/chunks/{location-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-06qbn9zd.js → integration-mjzw1bzx.js} +9 -9
- package/dist/chunks/{location-1nk2mnc0.js → integration-mq9r6drf.js} +3 -3
- package/dist/chunks/{location-yhr218qz.js → integration-mtcjf44p.js} +4 -4
- package/dist/chunks/{location-77dqx344.js → integration-mwc26w7d.js} +23 -23
- package/dist/chunks/{location-wzv8aag1.js → integration-n0tc3be6.js} +17 -17
- package/dist/chunks/{location-4x0nmcjx.js → integration-n38qs1ar.js} +9 -9
- package/dist/chunks/{location-mhz8fptg.js → integration-n3zymk0x.js} +35 -35
- package/dist/chunks/{location-gr827txg.js → integration-n4q030rw.js} +4 -4
- package/dist/chunks/{location-re9ss62v.js → integration-n8295sxz.js} +4 -4
- package/dist/chunks/integration-n9mr47st.js +20 -0
- package/dist/chunks/{location-1dthfd4v.js → integration-nb76kee5.js} +16 -16
- package/dist/chunks/{location-7svt03y5.js → integration-nfptqm75.js} +13 -13
- package/dist/chunks/{location-sjv0717j.js → integration-nghvs6yj.js} +14 -14
- package/dist/chunks/{location-r33ff4dw.js → integration-p0b4ytnr.js} +4 -4
- package/dist/chunks/{location-tenhjnm9.js → integration-p1mbbqbm.js} +15 -15
- package/dist/chunks/{location-z05r840e.js → integration-p33re43j.js} +24 -24
- package/dist/chunks/{location-v7n4f447.js → integration-p4z4263z.js} +20 -20
- package/dist/chunks/{location-p6yzb5ay.js → integration-p6yzb5ay.js} +1 -1
- package/dist/chunks/{location-y6apgg1j.js → integration-p9vx44pc.js} +1 -1
- package/dist/chunks/{location-tvtwyg9m.js → integration-pah7pk43.js} +4 -4
- package/dist/chunks/{location-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{location-pmr4s4kc.js → integration-pmr4s4kc.js} +1 -1
- package/dist/chunks/{location-7hqpjwy9.js → integration-prxfmcr4.js} +15 -15
- package/dist/chunks/{location-rh86c5k9.js → integration-pt2y317t.js} +298 -298
- package/dist/chunks/{location-sms1b131.js → integration-pvg228j8.js} +1 -1
- package/dist/chunks/{location-p0waw8z6.js → integration-pxjsvhpz.js} +11 -11
- package/dist/chunks/{location-b53d63he.js → integration-q2jffrft.js} +51 -51
- package/dist/chunks/{location-4dqndjrv.js → integration-q4x1ybx4.js} +31 -31
- package/dist/chunks/{location-vrngk91y.js → integration-q9yh5vvh.js} +32 -32
- package/dist/chunks/{location-rae26gbb.js → integration-qja7rspw.js} +8 -8
- package/dist/chunks/{location-prjd7rz0.js → integration-qq41xq3t.js} +168 -168
- package/dist/chunks/{location-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{location-wksq6qf1.js → integration-r3myhqa0.js} +28 -28
- package/dist/chunks/{location-1bk5txm0.js → integration-r4qxe6h4.js} +21 -21
- package/dist/chunks/{location-r8dhm0tv.js → integration-r8dhm0tv.js} +1 -1
- package/dist/chunks/{location-cezbqba5.js → integration-rew5xft6.js} +6 -6
- package/dist/chunks/{location-06nv7jxy.js → integration-rke5v8gv.js} +2 -2
- package/dist/chunks/{location-1358r5b6.js → integration-rkj8rr3q.js} +17 -17
- package/dist/chunks/{location-8kfmb256.js → integration-rkzs5vy1.js} +29 -29
- package/dist/chunks/{location-mswj03b3.js → integration-sadd05d1.js} +22 -22
- package/dist/chunks/{location-sba4qhjf.js → integration-sba4qhjf.js} +1 -1
- package/dist/chunks/{location-neh68hxw.js → integration-sgesr4kp.js} +5 -5
- package/dist/chunks/{location-ktkbhg1n.js → integration-skb9nfw3.js} +80 -80
- package/dist/chunks/{location-kpnhzsay.js → integration-stxyg5sw.js} +14 -14
- package/dist/chunks/{location-jtxymww5.js → integration-t01161th.js} +9 -9
- package/dist/chunks/{location-ew2tj2vj.js → integration-t45px7ec.js} +3 -3
- package/dist/chunks/{location-vqvq0533.js → integration-t5h4rs02.js} +3 -3
- package/dist/chunks/{location-thcxaxg6.js → integration-t89cxbfz.js} +4 -4
- package/dist/chunks/{location-gd1sbhjk.js → integration-t9r1bwan.js} +34 -34
- package/dist/chunks/{location-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tjykrgmx.js → integration-tjykrgmx.js} +1 -1
- package/dist/chunks/{location-dftw4z4t.js → integration-tnv1rg40.js} +44 -44
- package/dist/chunks/{location-wb29ggtc.js → integration-tppvcy65.js} +9 -9
- package/dist/chunks/{location-77y10504.js → integration-trb5x967.js} +7 -7
- package/dist/chunks/{location-g8d3gcyj.js → integration-v5dkyp31.js} +7 -7
- package/dist/chunks/{location-dkj4qht8.js → integration-vb74x0he.js} +9 -9
- package/dist/chunks/{location-tv6ed4t8.js → integration-venc2rs3.js} +16 -16
- package/dist/chunks/{location-apnx2qk7.js → integration-vgnfmg5d.js} +27 -27
- package/dist/chunks/{location-yw1nvbcs.js → integration-w0968pv7.js} +5 -5
- package/dist/chunks/{location-na3y75gh.js → integration-w0k1he6w.js} +5 -5
- package/dist/chunks/{location-8wvrh9f5.js → integration-w19w1qkx.js} +1 -1
- package/dist/chunks/{location-d5hq6bb0.js → integration-w2s7jr3f.js} +14 -14
- package/dist/chunks/{location-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{location-yhe302t1.js → integration-wdfg1vjb.js} +62 -62
- package/dist/chunks/{location-zdj4gqfz.js → integration-whttz7sn.js} +29 -29
- package/dist/chunks/{location-3dh86x81.js → integration-wqa3gkgw.js} +20 -20
- package/dist/chunks/{location-86je1vae.js → integration-wr86h51b.js} +22 -22
- package/dist/chunks/{location-xj1dwba3.js → integration-x1d412zs.js} +27 -27
- package/dist/chunks/{location-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-jz74dd58.js → integration-x3qw5t49.js} +6 -6
- package/dist/chunks/{location-c8z193w6.js → integration-x79x2n7a.js} +28 -28
- package/dist/chunks/{location-g50541fs.js → integration-xfcjyfjf.js} +11 -11
- package/dist/chunks/{location-me42z315.js → integration-xxbz0p1r.js} +40 -40
- package/dist/chunks/{location-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-kk3rr3qh.js → integration-yfbd16n1.js} +5 -5
- package/dist/chunks/{location-kgyry3vk.js → integration-yfwze208.js} +27 -27
- package/dist/chunks/{location-97y5dmbw.js → integration-ygqh11pf.js} +11 -11
- package/dist/chunks/{location-z1k01bn4.js → integration-z1k01bn4.js} +2 -2
- package/dist/chunks/{location-ek2fqqy0.js → integration-zdfgkaf6.js} +19 -19
- package/dist/chunks/{location-0k2w8cze.js → integration-ze4dnq9c.js} +4 -4
- package/dist/chunks/{location-eexhp90h.js → integration-zhbaktmz.js} +31 -31
- package/dist/chunks/{location-h9gn2f9p.js → integration-zkn0w8ks.js} +3 -3
- package/dist/chunks/{location-06da17n0.js → integration-zme7t2a3.js} +7 -7
- package/dist/chunks/{location-830tx1xt.js → integration-zs2c7fj5.js} +19 -19
- package/dist/chunks/{location-22j3pzs9.js → integration-zxp8b8eb.js} +7 -7
- package/dist/chunks/{location-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- 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 +116 -116
- 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 +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +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 +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- 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 +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- 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 +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +99 -99
- 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 +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 +7 -7
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- 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 +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +116 -116
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +12 -12
- 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 +4 -4
- 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 +1 -1
- 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 +1 -1
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +9 -9
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +98 -98
- package/dist/snapshot.js +86 -86
- 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 +108 -108
- 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 +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- 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 +13 -13
- 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 +7 -7
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +80 -80
- 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 +85 -85
- package/package.json +7 -7
- package/dist/chunks/location-b5q5y4vk.js +0 -4
- package/dist/chunks/location-mrz6efe2.js +0 -22
- package/dist/chunks/location-sw98rrvn.js +0 -247
- package/dist/chunks/location-w1s1ra18.js +0 -20
- package/dist/chunks/location-ydckrtmx.js +0 -18
- /package/dist/chunks/{location-0fabt78z.js → integration-0fabt78z.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3t738kvx.js → integration-3t738kvx.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-41nvscxy.js → integration-41nvscxy.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-982e01ww.js → integration-982e01ww.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a1tpkmh4.js → integration-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-j935v87r.js → integration-j935v87r.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mntxs535.js → integration-mntxs535.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-p8qxwesx.js → integration-p8qxwesx.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-se0s1eqw.js → integration-se0s1eqw.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → integration-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → integration-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x1b8g1yb.js → integration-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → integration-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-zbjnn3ac.js → integration-zbjnn3ac.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./integration-afp62h5k.js";
|
|
5
5
|
import {
|
|
6
6
|
llmClient2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-0e0xafbb.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionEvent2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-mntxs535.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-kg06axw8.js";
|
|
14
14
|
import {
|
|
15
15
|
toLLMMessages2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-zbjnn3ac.js";
|
|
17
17
|
import {
|
|
18
18
|
baseTranscript2,
|
|
19
19
|
unsupportedParts2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-drh5aenh.js";
|
|
21
21
|
import {
|
|
22
22
|
isRetryable2,
|
|
23
23
|
policy2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./integration-bphmvjfp.js";
|
|
25
25
|
import {
|
|
26
26
|
toSessionError2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./integration-4txqqg0r.js";
|
|
28
28
|
import {
|
|
29
29
|
estimate2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-h6vf3j39.js";
|
|
31
31
|
import {
|
|
32
32
|
record2,
|
|
33
33
|
add2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./integration-tjykrgmx.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./integration-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/compaction.ts
|
|
40
40
|
var exports_compaction2 = {};
|
|
41
41
|
__export(exports_compaction2, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service10,
|
|
43
43
|
SessionCompaction: () => exports_compaction2,
|
|
44
44
|
buildPrompt: () => buildPrompt2,
|
|
45
45
|
estimateTokens: () => estimateTokens2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer6,
|
|
47
|
+
node: () => node13,
|
|
48
48
|
serializeToolContent: () => serializeToolContent2,
|
|
49
49
|
truncateToolOutput: () => truncateToolOutput2
|
|
50
50
|
});
|
|
@@ -108,7 +108,7 @@ var SUMMARY_RULES = `Rules:
|
|
|
108
108
|
var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
109
109
|
`).filter((line) => line.startsWith("##"));
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
112
112
|
}
|
|
113
113
|
var estimateTokens2 = (input) => {
|
|
114
114
|
const index = input.messages.findLastIndex((message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0);
|
|
@@ -262,8 +262,8 @@ var buildPrompt2 = (update) => {
|
|
|
262
262
|
};
|
|
263
263
|
var hasSummarySection = (summary) => summary.split(`
|
|
264
264
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
265
|
-
var
|
|
266
|
-
const bus = yield*
|
|
265
|
+
var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
266
|
+
const bus = yield* Service78;
|
|
267
267
|
const llm = yield* LLMClient.Service;
|
|
268
268
|
const state = create3({
|
|
269
269
|
name: "session-compaction",
|
|
@@ -479,7 +479,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
479
479
|
})
|
|
480
480
|
}));
|
|
481
481
|
});
|
|
482
|
-
return
|
|
482
|
+
return Service10.of({
|
|
483
483
|
transform: state.transform,
|
|
484
484
|
reload: state.reload,
|
|
485
485
|
enabled: () => state.get().auto,
|
|
@@ -488,10 +488,10 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
488
488
|
compactManual
|
|
489
489
|
});
|
|
490
490
|
}));
|
|
491
|
-
var
|
|
492
|
-
service:
|
|
493
|
-
layer:
|
|
494
|
-
deps: [
|
|
491
|
+
var node13 = makeLocationNode({
|
|
492
|
+
service: Service10,
|
|
493
|
+
layer: layer6,
|
|
494
|
+
deps: [node82, llmClient2]
|
|
495
495
|
});
|
|
496
496
|
|
|
497
|
-
export {
|
|
497
|
+
export { Service10, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node13, exports_compaction2 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-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: () => Service4,
|
|
13
|
+
node: () => node7
|
|
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 Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, 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 Service4.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(Service6, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node7 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node7, exports_update };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode-ai/schema/session";
|
|
3
3
|
import { Session } from "@opencode-ai/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info28 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info28, SessionSchema2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make18,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make18(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make18, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make18,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-mtcjf44p.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-fajehsyw.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service40,
|
|
13
|
+
node43
|
|
14
|
+
} from "./integration-q2jffrft.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name13
|
|
18
|
+
} from "./integration-a1wa5wkg.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./integration-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
24
|
+
var exports_instructions5 = {};
|
|
25
|
+
__export(exports_instructions5, {
|
|
26
|
+
McpInstructions: () => exports_instructions5,
|
|
27
|
+
Service: () => Service35,
|
|
28
|
+
layer: () => layer13,
|
|
29
|
+
node: () => node38
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service35 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer13 = Layer.effect(Service35, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service40;
|
|
69
|
+
return Service35.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make18({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node38 = makeLocationNode({ service: Service35, layer: layer13, deps: [node43] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service35, layer13, node38, exports_instructions5 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-chtrmnkp.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info20
|
|
11
|
+
} from "./integration-ey04d52n.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
get: () => get3
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode-ai/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
@@ -66,7 +66,7 @@ var RemoteModel = Schema.Struct({
|
|
|
66
66
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
67
67
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
68
68
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
69
|
-
async function
|
|
69
|
+
async function get3(baseURL, headers, existing) {
|
|
70
70
|
const response = await fetch(`${baseURL}/models`, {
|
|
71
71
|
headers,
|
|
72
72
|
signal: AbortSignal.timeout(5000)
|
|
@@ -87,7 +87,7 @@ async function get2(baseURL, headers, existing) {
|
|
|
87
87
|
result.set(id, build(id, current, baseURL, model));
|
|
88
88
|
}
|
|
89
89
|
for (const [id, model] of remote) {
|
|
90
|
-
const key =
|
|
90
|
+
const key = ID8.make(id);
|
|
91
91
|
if (result.has(key))
|
|
92
92
|
continue;
|
|
93
93
|
result.set(key, build(key, model, baseURL));
|
|
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
111
111
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
112
112
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
113
113
|
const released = previous?.time.released || Date.parse(version);
|
|
114
|
-
return
|
|
115
|
-
...
|
|
114
|
+
return Info20.make({
|
|
115
|
+
...Info20.default(ID9.githubCopilot, id),
|
|
116
116
|
id,
|
|
117
|
-
modelID:
|
|
118
|
-
providerID:
|
|
117
|
+
modelID: ID8.make(remote.id),
|
|
118
|
+
providerID: ID9.githubCopilot,
|
|
119
119
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
120
120
|
name: previous?.name ?? remote.name,
|
|
121
121
|
package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
|
|
@@ -190,4 +190,4 @@ function variants(remote, messages) {
|
|
|
190
190
|
];
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { get3, exports_models2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service9,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service9 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service9.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service9, node12, exports_discovery };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./integration-f6tnmf0r.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service74
|
|
12
|
+
} from "./integration-f45bjead.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service18
|
|
16
|
+
} from "./integration-nghvs6yj.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-zs2c7fj5.js";
|
|
24
24
|
import {
|
|
25
25
|
externalDirectoryPermission2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service72
|
|
27
|
+
} from "./integration-venc2rs3.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service47
|
|
30
|
+
} from "./integration-fajehsyw.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./integration-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/grep.ts
|
|
36
36
|
var exports_grep = {};
|
|
37
37
|
__export(exports_grep, {
|
|
38
38
|
GrepTool: () => exports_grep,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
39
|
+
Input: () => Input5,
|
|
40
|
+
Output: () => Output4,
|
|
41
|
+
Plugin: () => Plugin19,
|
|
42
|
+
name: () => name5,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
46
46
|
import { Effect, Schema } from "effect";
|
|
47
47
|
import path from "path";
|
|
48
|
-
var
|
|
49
|
-
var
|
|
48
|
+
var name5 = "grep";
|
|
49
|
+
var Input5 = Schema.Struct({
|
|
50
50
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
51
51
|
description: "Regular expression or literal text to match in file contents."
|
|
52
52
|
}),
|
|
@@ -66,8 +66,8 @@ var Input9 = Schema.Struct({
|
|
|
66
66
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
67
67
|
})
|
|
68
68
|
});
|
|
69
|
-
var
|
|
70
|
-
var
|
|
69
|
+
var Output4 = Schema.Array(Match2);
|
|
70
|
+
var toModelContent3 = (matches, truncated = false) => {
|
|
71
71
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
72
72
|
let current = "";
|
|
73
73
|
for (const match of matches) {
|
|
@@ -84,20 +84,20 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
84
84
|
return lines.join(`
|
|
85
85
|
`);
|
|
86
86
|
};
|
|
87
|
-
var
|
|
87
|
+
var Plugin19 = {
|
|
88
88
|
id: "opencode.tool.grep",
|
|
89
89
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
90
|
-
const environment = yield*
|
|
91
|
-
const ripgrep = yield*
|
|
92
|
-
const location = yield*
|
|
93
|
-
const mutation = yield*
|
|
94
|
-
const permission = yield*
|
|
90
|
+
const environment = yield* Service74;
|
|
91
|
+
const ripgrep = yield* Service18;
|
|
92
|
+
const location = yield* Service76;
|
|
93
|
+
const mutation = yield* Service72;
|
|
94
|
+
const permission = yield* Service47;
|
|
95
95
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
96
|
-
name:
|
|
96
|
+
name: name5,
|
|
97
97
|
options: { codemode: false },
|
|
98
98
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
99
|
-
input:
|
|
100
|
-
output:
|
|
99
|
+
input: Input5,
|
|
100
|
+
output: Output4,
|
|
101
101
|
execute: (input, context) => Effect.gen(function* () {
|
|
102
102
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
103
103
|
const target = yield* mutation.resolve({ path: input.path ?? "." });
|
|
@@ -109,7 +109,7 @@ var Plugin27 = {
|
|
|
109
109
|
source
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name5,
|
|
113
113
|
resources: [input.pattern],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: {
|
|
@@ -151,7 +151,7 @@ var Plugin27 = {
|
|
|
151
151
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
152
152
|
}).pipe(Effect.map((result) => ({
|
|
153
153
|
output: result.matches,
|
|
154
|
-
content:
|
|
154
|
+
content: toModelContent3(result.matches.map((match) => ({
|
|
155
155
|
...match,
|
|
156
156
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
157
157
|
})), result.truncated),
|
|
@@ -161,4 +161,4 @@ var Plugin27 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { name5, Input5, Output4, toModelContent3, Plugin19, exports_grep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-26bs89kh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID9
|
|
6
|
+
} from "./integration-chtrmnkp.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID9.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-chtrmnkp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID8
|
|
7
|
+
} from "./integration-ey04d52n.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/instance/service.ts
|
|
6
|
+
var exports_service2 = {};
|
|
7
|
+
__export(exports_service2, {
|
|
8
|
+
Instance: () => exports_service2,
|
|
9
|
+
Service: () => Service32,
|
|
10
|
+
node: () => node35
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
14
|
+
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
15
|
+
|
|
16
|
+
class Service32 extends Context.Service()("@opencode/Instance") {
|
|
17
|
+
}
|
|
18
|
+
var node35 = LayerNode.unbound(Service32, Node.tags.values.global);
|
|
19
|
+
|
|
20
|
+
export { Service32, node35, exports_service2 };
|