@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,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./integration-f6tnmf0r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service52
|
|
9
|
+
} from "./integration-tnv1rg40.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-whttz7sn.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin41
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode-ai/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin41 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service52;
|
|
35
|
+
const location = yield* Service76;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin41, exports_reference };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-hdd17qa4.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./integration-xfcjyfjf.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-jwcy2c2z.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node79
|
|
12
|
+
} from "./integration-e1rfyyrx.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info29,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service75,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured10,
|
|
30
|
+
node: () => node78
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode-ai/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID16 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info29 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID16,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info23 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID16,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service75 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service75,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node84, node79]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info29({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service75.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID16.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node78 = configured10();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID16, Info29, NotFound3, CreateConflict2, Service75, configured10, node78, exports_workspace };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-mtcjf44p.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-mntxs535.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-hrvm11jt.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-k4bwy1x5.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service56,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node59
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service56 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service56.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node59 = makeLocationNode({
|
|
143
|
+
service: Service56,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service56, node59, exports_tool_output2 };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./integration-xfcjyfjf.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./integration-afp62h5k.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-mntxs535.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-982e01ww.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update2
|
|
18
|
+
} from "./integration-yfbd16n1.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./integration-p8qxwesx.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-9qm9egsn.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-hrvm11jt.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./integration-b97n4k24.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./integration-g7csxrs7.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./integration-28n3apsg.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./integration-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./integration-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node31
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -245,7 +245,7 @@ function run(db, event) {
|
|
|
245
245
|
updateCompaction: updateMessage,
|
|
246
246
|
appendMessage
|
|
247
247
|
};
|
|
248
|
-
yield*
|
|
248
|
+
yield* update2(adapter, event);
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
251
|
function insertMessage(db, event, message) {
|
|
@@ -275,7 +275,7 @@ function projectIdle(db, event) {
|
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
277
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
278
|
-
const bus = yield*
|
|
278
|
+
const bus = yield* Service78;
|
|
279
279
|
const db = (yield* Service80).db;
|
|
280
280
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
281
281
|
const stored = yield* db.insert(SessionTable2).values({
|
|
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
455
455
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
456
456
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
457
457
|
}));
|
|
458
|
-
var
|
|
458
|
+
var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node82, node84] });
|
|
459
459
|
|
|
460
|
-
export { SessionAlreadyProjected2,
|
|
460
|
+
export { SessionAlreadyProjected2, node31, exports_projector };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./integration-x1d412zs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./integration-fajehsyw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service21
|
|
14
|
+
} from "./integration-evyj72xz.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input4,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin18,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name4 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
|
-
var
|
|
35
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
36
36
|
|
|
37
37
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
38
|
-
var
|
|
38
|
+
var Input4 = Schema.Struct({
|
|
39
39
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
40
40
|
});
|
|
41
41
|
var Output = Schema.Struct({
|
|
42
|
-
provider:
|
|
42
|
+
provider: ID3,
|
|
43
43
|
results: Schema.Array(Result2)
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Plugin18 = {
|
|
46
46
|
id: "opencode.tool.websearch",
|
|
47
47
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
48
|
-
const permission = yield*
|
|
49
|
-
const forms = yield*
|
|
50
|
-
const websearch = yield*
|
|
48
|
+
const permission = yield* Service47;
|
|
49
|
+
const forms = yield* Service66;
|
|
50
|
+
const websearch = yield* Service21;
|
|
51
51
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
52
|
-
name:
|
|
52
|
+
name: name4,
|
|
53
53
|
options: { codemode: false },
|
|
54
|
-
description:
|
|
55
|
-
input:
|
|
54
|
+
description: description3,
|
|
55
|
+
input: Input4,
|
|
56
56
|
output: Output,
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name4,
|
|
60
60
|
resources: [input.query],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: input,
|
|
@@ -132,9 +132,9 @@ var Plugin28 = {
|
|
|
132
132
|
const providerID = selection?.answer.provider ?? "random";
|
|
133
133
|
if (typeof providerID !== "string" || providerID !== "random" && !providers.some((provider) => provider.id === providerID))
|
|
134
134
|
return yield* new ProviderRequiredError2;
|
|
135
|
-
yield* websearch.select(providerID === "random" ? "random" :
|
|
135
|
+
yield* websearch.select(providerID === "random" ? "random" : ID3.make(providerID));
|
|
136
136
|
if (providerID !== "random")
|
|
137
|
-
return
|
|
137
|
+
return ID3.make(providerID);
|
|
138
138
|
return providers[Math.floor(Math.random() * providers.length)]?.id;
|
|
139
139
|
})).pipe(Effect.timeoutOrElse({
|
|
140
140
|
duration: "1 minute",
|
|
@@ -193,9 +193,9 @@ ${result.content}` : ""}`;
|
|
|
193
193
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
194
194
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
195
195
|
if (disabled)
|
|
196
|
-
delete event.tools[
|
|
196
|
+
delete event.tools[name4];
|
|
197
197
|
}));
|
|
198
198
|
})
|
|
199
199
|
};
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { name4, NO_RESULTS2, description3, Input4, Plugin18, exports_websearch };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-j3pkw2j5.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-fajehsyw.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin13
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin13 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin40 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID10.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID10.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin40 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID10.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID10.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID10.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin40 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin13, exports_agent };
|