@opencode/core 0.0.0-dev-20146 → 0.0.0-dev-20148
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{event-logger-1nqpsycb.js → project-00gqf6qz.js} +30 -30
- package/dist/chunks/{event-logger-4ct3z3jm.js → project-028ks1gz.js} +18 -18
- package/dist/chunks/{event-logger-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-xs16at91.js → project-0tg9gd1t.js} +29 -29
- package/dist/chunks/{event-logger-j8m1p4p1.js → project-0xqyf95c.js} +4 -4
- package/dist/chunks/{event-logger-d84fhs6w.js → project-12q9payb.js} +34 -34
- package/dist/chunks/{event-logger-698z99nv.js → project-1379bkbv.js} +12 -12
- package/dist/chunks/{event-logger-861yecfv.js → project-13ggeyh8.js} +11 -11
- package/dist/chunks/{event-logger-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-pedtmqhe.js → project-1rjfexx0.js} +25 -25
- package/dist/chunks/{event-logger-1ncnbcjk.js → project-1txejb65.js} +3 -3
- package/dist/chunks/{event-logger-1501v5q6.js → project-1vkbswn5.js} +18 -18
- package/dist/chunks/{event-logger-rfk5vjx7.js → project-1vmfgmve.js} +17 -17
- package/dist/chunks/{event-logger-qsznjz43.js → project-1w8cw7jp.js} +10 -10
- package/dist/chunks/{event-logger-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-gzdw8091.js → project-231n3rbg.js} +41 -41
- package/dist/chunks/{event-logger-wh4tt7gs.js → project-25etkhjy.js} +10 -10
- package/dist/chunks/{event-logger-p95hncgz.js → project-26z2qq8v.js} +285 -285
- package/dist/chunks/{event-logger-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-931v7hzm.js → project-2c9k1ggp.js} +3 -3
- package/dist/chunks/{event-logger-zc27tagb.js → project-2dsj8qey.js} +22 -22
- package/dist/chunks/{event-logger-gs7qwdgg.js → project-2gnxk3x7.js} +8 -8
- package/dist/chunks/{event-logger-2k8khapm.js → project-2k8khapm.js} +1 -1
- package/dist/chunks/{event-logger-6bac1myf.js → project-2p0zs114.js} +3 -3
- package/dist/chunks/{event-logger-2arn6ayc.js → project-2qckkqeq.js} +16 -16
- package/dist/chunks/{event-logger-8t6yg6zj.js → project-2x64qmyk.js} +24 -24
- package/dist/chunks/{event-logger-j2k2vgh6.js → project-32pfbvt3.js} +8 -8
- package/dist/chunks/{event-logger-56gdpj1q.js → project-33w4ejhs.js} +6 -6
- package/dist/chunks/project-34z1xqbm.js +26 -0
- package/dist/chunks/{event-logger-yk3ep1wk.js → project-35v9xa7x.js} +19 -19
- package/dist/chunks/{event-logger-xmzvf51h.js → project-39c25vgm.js} +6 -6
- package/dist/chunks/{event-logger-0gaj4617.js → project-3a6re68j.js} +6 -6
- package/dist/chunks/{event-logger-zd30eb5w.js → project-3bc8czyk.js} +5 -5
- package/dist/chunks/{event-logger-c78bbtc9.js → project-3cfzdc8e.js} +5 -5
- package/dist/chunks/{event-logger-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-7bmnz8gh.js → project-3pd9zev7.js} +3 -3
- package/dist/chunks/{event-logger-2racs6px.js → project-3s40zm2k.js} +29 -29
- package/dist/chunks/{event-logger-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-gd09txp3.js → project-3stws242.js} +21 -21
- package/dist/chunks/{event-logger-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-17j7xjjx.js → project-3y66thwc.js} +18 -18
- package/dist/chunks/{event-logger-gjfq4kj3.js → project-3yfshrff.js} +17 -17
- package/dist/chunks/{event-logger-3zsf4n22.js → project-3zsf4n22.js} +1 -1
- package/dist/chunks/{event-logger-svwdbmds.js → project-43a2xr3n.js} +7 -7
- package/dist/chunks/{event-logger-rz4qayhc.js → project-49by82nd.js} +2 -2
- package/dist/chunks/{event-logger-dgark5dx.js → project-4cmrr4z8.js} +2 -2
- package/dist/chunks/{event-logger-fww65524.js → project-4cpvyw3a.js} +27 -27
- package/dist/chunks/{event-logger-xxm068nx.js → project-4e4vx4m3.js} +13 -13
- package/dist/chunks/{event-logger-f9fh40s4.js → project-4f9j4b1b.js} +20 -20
- package/dist/chunks/{event-logger-rhakwg37.js → project-4hz583fa.js} +8 -8
- package/dist/chunks/{event-logger-510m7gjw.js → project-510m7gjw.js} +2 -2
- package/dist/chunks/{event-logger-54tcyq79.js → project-54tcyq79.js} +2 -2
- package/dist/chunks/{event-logger-x9tv78nz.js → project-55hk4cga.js} +7 -7
- package/dist/chunks/{event-logger-57ez7d0k.js → project-57ez7d0k.js} +2 -2
- package/dist/chunks/{event-logger-0fgn76gq.js → project-591pety6.js} +20 -20
- package/dist/chunks/{event-logger-4tfrzeqt.js → project-5d5dqa2d.js} +3 -3
- package/dist/chunks/{event-logger-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-2hxdb1xe.js → project-5k5w2ax6.js} +21 -21
- package/dist/chunks/{event-logger-kqvsesf9.js → project-5pqmtba2.js} +21 -21
- package/dist/chunks/{event-logger-e3qxr5gk.js → project-5qd3pb7m.js} +2 -2
- package/dist/chunks/{event-logger-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-7hq3v4qt.js → project-5vv6cgd2.js} +25 -25
- package/dist/chunks/{event-logger-8b0q1tcn.js → project-5vvcj01b.js} +15 -15
- package/dist/chunks/{event-logger-5v7e6y96.js → project-5xcwfkw1.js} +20 -20
- package/dist/chunks/{event-logger-cmwkp3r5.js → project-5xtgfte3.js} +8 -8
- package/dist/chunks/{event-logger-w47g9jnr.js → project-607q5haz.js} +5 -5
- package/dist/chunks/{event-logger-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-0x725bzf.js → project-670rqs4t.js} +11 -11
- package/dist/chunks/{event-logger-9btrm92c.js → project-6apxa4qs.js} +2 -2
- package/dist/chunks/{event-logger-y6f0p4jw.js → project-6bsje7ws.js} +3 -3
- package/dist/chunks/{event-logger-29wtvbfz.js → project-6bvej4y4.js} +13 -13
- package/dist/chunks/{event-logger-2402vzrj.js → project-6h73sxmp.js} +5 -5
- package/dist/chunks/{event-logger-vtq2920n.js → project-6kbkabgb.js} +1 -1
- package/dist/chunks/project-6kdq0pjd.js +4 -0
- package/dist/chunks/{event-logger-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{event-logger-nwka07fb.js → project-6z7g0rv2.js} +35 -35
- package/dist/chunks/{event-logger-w1rv58hq.js → project-738gt41w.js} +11 -11
- package/dist/chunks/{event-logger-tpabx851.js → project-759azhnc.js} +10 -10
- package/dist/chunks/{event-logger-ygwk8h90.js → project-7amt6rym.js} +9 -9
- package/dist/chunks/{event-logger-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-wrxfgsnk.js → project-7evgncf8.js} +9 -9
- package/dist/chunks/{event-logger-9b02dg8e.js → project-7nm0e33p.js} +5 -5
- package/dist/chunks/{event-logger-qqyxxppr.js → project-7p2b8qdr.js} +4 -4
- package/dist/chunks/{event-logger-z3cy94ea.js → project-7sbbepgg.js} +8 -8
- package/dist/chunks/{event-logger-dz5k2r6q.js → project-7thqbr1x.js} +18 -18
- package/dist/chunks/{event-logger-syffjq1h.js → project-808tzxy4.js} +3 -3
- package/dist/chunks/{event-logger-tcezcvh9.js → project-89znhe33.js} +4 -4
- package/dist/chunks/{event-logger-b83nt0wk.js → project-8aqq46j9.js} +18 -18
- package/dist/chunks/{event-logger-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-hp2m6q6m.js → project-8md4ryjs.js} +18 -18
- package/dist/chunks/{event-logger-8sze2n9a.js → project-8sze2n9a.js} +2 -2
- package/dist/chunks/{event-logger-2ght6qn2.js → project-8tf9aaab.js} +11 -11
- package/dist/chunks/{event-logger-5kmsck5e.js → project-8tn9xbzn.js} +15 -15
- package/dist/chunks/{event-logger-qpbc7zwf.js → project-8tt02aa5.js} +8 -8
- package/dist/chunks/{event-logger-ma4zbtrj.js → project-8zn2t0m2.js} +25 -25
- package/dist/chunks/{event-logger-cgdp0msr.js → project-9173yfyp.js} +302 -302
- package/dist/chunks/{event-logger-jnjzrgfb.js → project-9m25bn8y.js} +4 -4
- package/dist/chunks/{event-logger-c0zy5cxt.js → project-9q81vv6e.js} +16 -16
- package/dist/chunks/project-9sh4wc5j.js +18 -0
- package/dist/chunks/{event-logger-2ydpn51p.js → project-a56qce7e.js} +9 -9
- package/dist/chunks/{event-logger-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-kab6f7n6.js → project-acnc4vnw.js} +20 -20
- package/dist/chunks/{event-logger-kwkcvqg8.js → project-aj9wy6bs.js} +1 -1
- package/dist/chunks/{event-logger-jmh888fr.js → project-ajzsbz6h.js} +9 -9
- package/dist/chunks/{event-logger-4s3tx91s.js → project-amy7e0d0.js} +24 -24
- package/dist/chunks/{event-logger-73kdj4zj.js → project-at1kfnmk.js} +8 -8
- package/dist/chunks/{event-logger-wqe4wm19.js → project-atgvkeyp.js} +11 -11
- package/dist/chunks/{event-logger-q5pyfadk.js → project-b4aagq2j.js} +35 -35
- package/dist/chunks/{event-logger-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-knza9s2p.js → project-b948jtff.js} +15 -15
- package/dist/chunks/{event-logger-swxsnswe.js → project-b9h1yx7k.js} +21 -21
- package/dist/chunks/{event-logger-2fa73gyd.js → project-b9x34m10.js} +14 -14
- package/dist/chunks/{event-logger-gzbkpp9m.js → project-bdqrk2vk.js} +4 -4
- package/dist/chunks/{event-logger-yp7329s5.js → project-bgmbvnqs.js} +38 -38
- package/dist/chunks/{event-logger-bjtzbw4r.js → project-bjtzbw4r.js} +3 -3
- package/dist/chunks/{event-logger-c679sp5v.js → project-brs7b7j8.js} +13 -13
- package/dist/chunks/{event-logger-dp1fhnrj.js → project-bvpbr9x9.js} +15 -15
- package/dist/chunks/{event-logger-sr3xehtf.js → project-bxgg7fv5.js} +75 -75
- package/dist/chunks/{event-logger-xvycsxn0.js → project-bxnt1f3q.js} +11 -11
- package/dist/chunks/{event-logger-vx4k3ghj.js → project-bxr2mj1p.js} +48 -48
- package/dist/chunks/{event-logger-1exhgmvw.js → project-c5y10d50.js} +10 -10
- package/dist/chunks/{event-logger-pt3wvmh6.js → project-c9k9j98c.js} +2 -2
- package/dist/chunks/{event-logger-tq5y325g.js → project-cbdz9e3t.js} +13 -13
- package/dist/chunks/{event-logger-w74gvnzt.js → project-d6qswtfv.js} +9 -9
- package/dist/chunks/{event-logger-cmetttwa.js → project-d7mzrd1t.js} +4 -4
- package/dist/chunks/{event-logger-a5yekx0r.js → project-d9hgwdxq.js} +9 -9
- package/dist/chunks/{event-logger-29e1dskn.js → project-deaye1t8.js} +31 -31
- package/dist/chunks/{event-logger-jarv2a5b.js → project-dkyxp74s.js} +1 -1
- package/dist/chunks/{event-logger-dpkg50ah.js → project-dpkg50ah.js} +1 -1
- package/dist/chunks/{event-logger-3nj1atnt.js → project-e20z94tv.js} +24 -24
- package/dist/chunks/{event-logger-zfdm6p8f.js → project-e6tm7cc1.js} +24 -24
- package/dist/chunks/{event-logger-2wqe641f.js → project-e9mm9j1x.js} +15 -15
- package/dist/chunks/project-ebwh47j8.js +252 -0
- package/dist/chunks/{event-logger-ecfe7b91.js → project-ecfe7b91.js} +2 -2
- package/dist/chunks/{event-logger-w4ahs3v6.js → project-edbzcyb7.js} +20 -20
- package/dist/chunks/{event-logger-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{event-logger-ghc1k396.js → project-emvnsgm3.js} +4 -4
- package/dist/chunks/{event-logger-j6tx67wp.js → project-en3b06s1.js} +121 -121
- package/dist/chunks/{event-logger-kxxqgty3.js → project-enw43jgc.js} +11 -11
- package/dist/chunks/{event-logger-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-h3vr5jxs.js → project-ewc044dc.js} +50 -50
- package/dist/chunks/{event-logger-fvbfvqqw.js → project-f2hzm7ym.js} +9 -9
- package/dist/chunks/{event-logger-hy2svgjc.js → project-f2pbsgfn.js} +11 -11
- package/dist/chunks/{event-logger-6sr3ve8g.js → project-f3ngv102.js} +21 -21
- package/dist/chunks/{event-logger-7mt5cee0.js → project-f6m4j3ps.js} +10 -10
- package/dist/chunks/{event-logger-mrb21tde.js → project-f9zfyzxy.js} +55 -55
- package/dist/chunks/{event-logger-b09hzw3k.js → project-ff0svapt.js} +2 -2
- package/dist/chunks/{event-logger-demy5f2a.js → project-ff2mcvte.js} +8 -8
- package/dist/chunks/{event-logger-xdrpma1h.js → project-fh2psg6v.js} +8 -8
- package/dist/chunks/{event-logger-855sx0xg.js → project-fwg9sggt.js} +31 -31
- package/dist/chunks/{event-logger-mcvtpcr6.js → project-g2042726.js} +6 -6
- package/dist/chunks/{event-logger-8az641ef.js → project-g6jwc295.js} +24 -24
- package/dist/chunks/{event-logger-7s0a4480.js → project-g7dpewgz.js} +9 -9
- package/dist/chunks/{event-logger-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-gfvb90ym.js → project-gfvb90ym.js} +2 -2
- package/dist/chunks/{event-logger-x2wzg6c1.js → project-gk6q9h8v.js} +13 -13
- package/dist/chunks/{event-logger-91p1v22t.js → project-grxcxy9j.js} +8 -8
- package/dist/chunks/{event-logger-cczd7xgn.js → project-gtp0p055.js} +1 -1
- package/dist/chunks/{event-logger-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{event-logger-a2kyq1sq.js → project-gwn93cvy.js} +15 -15
- package/dist/chunks/{event-logger-ph8msc0p.js → project-h4tqdznw.js} +37 -37
- package/dist/chunks/{event-logger-h6r3nrb9.js → project-h6r3nrb9.js} +1 -1
- package/dist/chunks/{event-logger-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-hdgk5rr0.js → project-h887mp1f.js} +13 -13
- package/dist/chunks/{event-logger-mmkbmhcq.js → project-hgc9ebpk.js} +1 -1
- package/dist/chunks/{event-logger-0rafmrwm.js → project-hgejsyte.js} +11 -11
- package/dist/chunks/{event-logger-af04s6ss.js → project-hkfg6fzm.js} +5 -5
- package/dist/chunks/{event-logger-c651xxjb.js → project-hnr8f6ws.js} +4 -4
- package/dist/chunks/{event-logger-1f4amzzx.js → project-hty1v62m.js} +4 -4
- package/dist/chunks/{event-logger-aj5j062r.js → project-j18xhqkk.js} +14 -14
- package/dist/chunks/{event-logger-24sw1qrz.js → project-j2ymqdpp.js} +1 -1
- package/dist/chunks/{event-logger-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-pnqe9gv0.js → project-j9ty9cws.js} +1 -1
- package/dist/chunks/{event-logger-4vakqk6v.js → project-je3d475j.js} +4 -4
- package/dist/chunks/{event-logger-r4ds47vk.js → project-jypr814b.js} +22 -22
- package/dist/chunks/{event-logger-k3c624dm.js → project-k3c624dm.js} +3 -3
- package/dist/chunks/{event-logger-y5draz0s.js → project-k3cfks02.js} +10 -10
- package/dist/chunks/{event-logger-j58c5xyq.js → project-k79tzb9n.js} +9 -9
- package/dist/chunks/{event-logger-3ss0y86y.js → project-kb1d48gj.js} +24 -24
- package/dist/chunks/{event-logger-jxj92ndk.js → project-kg5xgaem.js} +4 -4
- package/dist/chunks/{event-logger-za2zmqvq.js → project-ks59g7za.js} +7 -7
- package/dist/chunks/{event-logger-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{event-logger-0pr3hkd7.js → project-m6nec9qq.js} +4 -4
- package/dist/chunks/{event-logger-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-2ajxf64a.js → project-ma6a207m.js} +9 -9
- package/dist/chunks/{event-logger-pzrthsyz.js → project-ma84hk0x.js} +43 -43
- package/dist/chunks/{event-logger-p51w4ajj.js → project-mawjpeqt.js} +18 -18
- package/dist/chunks/{event-logger-n3193s85.js → project-mb60e0yq.js} +9 -9
- package/dist/chunks/{event-logger-dq7mzwk9.js → project-mgb3mzg6.js} +8 -8
- package/dist/chunks/{event-logger-mvfsc1pv.js → project-mhkvc446.js} +3 -3
- package/dist/chunks/{event-logger-gdv3ksn6.js → project-mksgfzgs.js} +3 -3
- package/dist/chunks/{event-logger-9va4zsxm.js → project-mtfd35rn.js} +9 -9
- package/dist/chunks/{event-logger-r8gjmqbx.js → project-mwb24k3n.js} +22 -22
- package/dist/chunks/{event-logger-qa0me2e5.js → project-mwdzsd4k.js} +12 -12
- package/dist/chunks/{event-logger-bk7jaeqh.js → project-mzywpf3p.js} +4 -4
- package/dist/chunks/{event-logger-xp1ndndk.js → project-n06veks5.js} +10 -10
- package/dist/chunks/{event-logger-gqp4kpp0.js → project-n76xbnwv.js} +6 -6
- package/dist/chunks/{event-logger-5djqtpa8.js → project-ng0xzx18.js} +20 -20
- package/dist/chunks/{event-logger-fhs97t90.js → project-nscznvay.js} +9 -9
- package/dist/chunks/{event-logger-6ysrkrkr.js → project-p3rd9cb6.js} +8 -8
- package/dist/chunks/{event-logger-t6vbmf8z.js → project-p51z0y8h.js} +11 -11
- package/dist/chunks/{event-logger-vfgtt7fz.js → project-p8rw1xd4.js} +17 -17
- package/dist/chunks/{event-logger-gvzdf9qe.js → project-pdhfa141.js} +52 -52
- package/dist/chunks/{event-logger-57rf7evj.js → project-pexf9ky2.js} +10 -10
- package/dist/chunks/{event-logger-bm72tg9x.js → project-phc8pspp.js} +9 -9
- package/dist/chunks/{event-logger-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-psazpmmj.js → project-psazpmmj.js} +2 -2
- package/dist/chunks/{event-logger-14mere3y.js → project-py32m9ff.js} +15 -15
- package/dist/chunks/{event-logger-6axjgf6a.js → project-q5pc3ste.js} +5 -5
- package/dist/chunks/{event-logger-6xqbqwsh.js → project-qe064441.js} +30 -30
- package/dist/chunks/{event-logger-qmqgtz8f.js → project-qmqgtz8f.js} +2 -2
- package/dist/chunks/{event-logger-3p08fjx9.js → project-qpaw42s4.js} +43 -43
- package/dist/chunks/{event-logger-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-mbmba7bg.js → project-qxq66e0p.js} +22 -22
- package/dist/chunks/{event-logger-my0qqk62.js → project-r4f3c2d6.js} +16 -16
- package/dist/chunks/{event-logger-sxcqkswg.js → project-r6cxhc2n.js} +19 -19
- package/dist/chunks/{event-logger-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{event-logger-nchtd57w.js → project-re17gjtn.js} +11 -11
- package/dist/chunks/{event-logger-gkmd2kdr.js → project-rgsxkdhj.js} +25 -25
- package/dist/chunks/{event-logger-1acjjqhc.js → project-rhraev7y.js} +4 -4
- package/dist/chunks/{event-logger-t7n9q6bq.js → project-rwm5vee1.js} +4 -4
- package/dist/chunks/{event-logger-v1851per.js → project-rygdm8gb.js} +10 -10
- package/dist/chunks/{event-logger-6ry2eqjb.js → project-s51136xy.js} +4 -4
- package/dist/chunks/{event-logger-rhjbct0v.js → project-s8d7rejh.js} +4 -4
- package/dist/chunks/{event-logger-p2czpw2p.js → project-sezhhg0t.js} +30 -30
- package/dist/chunks/{event-logger-tefm8g6z.js → project-sqemcwjp.js} +32 -32
- package/dist/chunks/{event-logger-4vp46et4.js → project-sqevgg1x.js} +6 -6
- package/dist/chunks/{event-logger-qpdhqarq.js → project-sqtd4egc.js} +22 -22
- package/dist/chunks/{event-logger-j639zd53.js → project-t1jwa6v9.js} +6 -6
- package/dist/chunks/{event-logger-19vf66h0.js → project-t2fc4mz5.js} +4 -4
- package/dist/chunks/{event-logger-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-029fx6f3.js → project-tc23yakz.js} +4 -4
- package/dist/chunks/{event-logger-qsf86z1y.js → project-td6rvk46.js} +3 -3
- package/dist/chunks/{event-logger-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-pp3d4jfy.js → project-te3hdv2t.js} +10 -10
- package/dist/chunks/{event-logger-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{event-logger-vtt59spe.js → project-twsb81tc.js} +6 -6
- package/dist/chunks/{event-logger-bk8z58v6.js → project-v53mtj4b.js} +3 -3
- package/dist/chunks/{event-logger-jkp0d30b.js → project-v6gb7zv2.js} +6 -6
- package/dist/chunks/{event-logger-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-3tkswqew.js → project-vfqs23xq.js} +22 -22
- package/dist/chunks/{event-logger-yspnb8z1.js → project-vkq3nzng.js} +77 -77
- package/dist/chunks/{event-logger-bf0ztrs3.js → project-vncycja5.js} +4 -4
- package/dist/chunks/{event-logger-4sjs0fec.js → project-vw4psb2f.js} +38 -38
- package/dist/chunks/{event-logger-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
- package/dist/chunks/{event-logger-pc8y9nre.js → project-w226mdjk.js} +15 -15
- package/dist/chunks/{event-logger-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-zh6cbvwt.js → project-w76yg9p9.js} +8 -8
- package/dist/chunks/{event-logger-qcam7751.js → project-w9wdg20a.js} +5 -5
- package/dist/chunks/{event-logger-67534gnq.js → project-w9wkpbtz.js} +8 -8
- package/dist/chunks/{event-logger-9npqnhjt.js → project-wb6av7gs.js} +17 -17
- package/dist/chunks/{event-logger-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-dyece36z.js → project-wdv5dv94.js} +24 -24
- package/dist/chunks/{event-logger-c5dvm7ra.js → project-wjs4m62v.js} +3 -3
- package/dist/chunks/{event-logger-s19cq95s.js → project-wmsqsdjg.js} +6 -6
- package/dist/chunks/{event-logger-rfndaq94.js → project-wrdmc7xc.js} +16 -16
- package/dist/chunks/{event-logger-1sq6pvz6.js → project-wrx8dq47.js} +16 -16
- package/dist/chunks/{event-logger-7mz3q3xh.js → project-wtymb63d.js} +26 -26
- package/dist/chunks/{event-logger-2wntcv5v.js → project-wyqs0y4m.js} +26 -26
- package/dist/chunks/{event-logger-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-eakypb1g.js → project-x3f5n13q.js} +14 -14
- package/dist/chunks/{event-logger-07770t2t.js → project-x8cycxf4.js} +6 -6
- package/dist/chunks/{event-logger-xfkkasph.js → project-xfkkasph.js} +1 -1
- package/dist/chunks/{event-logger-re3vnjqx.js → project-xgyn1bnh.js} +16 -16
- package/dist/chunks/{event-logger-dmqcgk4z.js → project-xkntkrq7.js} +5 -5
- package/dist/chunks/{event-logger-37gmss87.js → project-xm30kf4b.js} +27 -27
- package/dist/chunks/{event-logger-51zqcejn.js → project-xs9ze5ky.js} +7 -7
- package/dist/chunks/{event-logger-7v81x33d.js → project-xsgk3b13.js} +9 -9
- package/dist/chunks/{event-logger-9e9r8xcc.js → project-xv2m87qv.js} +8 -8
- package/dist/chunks/{event-logger-6vq97qmv.js → project-xw8eq9f1.js} +5 -5
- package/dist/chunks/{event-logger-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-zrc4mf9q.js → project-y7dp1mze.js} +41 -41
- package/dist/chunks/{event-logger-p9e78zky.js → project-y9emgft6.js} +26 -26
- package/dist/chunks/{event-logger-263tr8na.js → project-ym0rbchm.js} +16 -16
- package/dist/chunks/{event-logger-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{event-logger-s4enseaf.js → project-yrznvahk.js} +2 -2
- package/dist/chunks/{event-logger-27c2nnft.js → project-z09q57zm.js} +8 -8
- package/dist/chunks/{event-logger-qbqbaz6q.js → project-z0aj456m.js} +4 -4
- package/dist/chunks/{event-logger-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-29x78va6.js → project-z63w68vq.js} +6 -6
- package/dist/chunks/{event-logger-nn7atrp6.js → project-z8z2pm43.js} +3 -3
- package/dist/chunks/{event-logger-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{event-logger-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +99 -99
- 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 +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +76 -76
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/event-logger-0mesazry.js +0 -4
- package/dist/chunks/event-logger-7ehq9bc4.js +0 -252
- package/dist/chunks/event-logger-by5v678g.js +0 -18
- package/dist/chunks/event-logger-gz2035gh.js +0 -26
- /package/dist/chunks/{event-logger-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-34c7v6d4.js → project-34c7v6d4.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID11,
|
|
3
|
+
Service73
|
|
4
|
+
} from "./project-2x64qmyk.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service68
|
|
8
|
+
} from "./project-e6tm7cc1.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service46
|
|
12
|
+
} from "./project-vw4psb2f.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-6bsje7ws.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service66
|
|
18
|
+
} from "./project-p8rw1xd4.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./project-pdhfa141.js";
|
|
23
23
|
import {
|
|
24
24
|
Service25
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./project-bxgg7fv5.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make8
|
|
31
|
+
} from "./project-mtfd35rn.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./project-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input6,
|
|
40
|
+
Output: () => Output6,
|
|
41
|
+
Plugin: () => Plugin8,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name6
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name6 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input6 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input11 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output6 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin8 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
92
|
const sessions = yield* Service25;
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
93
|
+
const jobs = yield* Service66;
|
|
94
|
+
const agents = yield* Service73;
|
|
95
|
+
const config = yield* Service46;
|
|
96
|
+
const permission = yield* Service70;
|
|
97
|
+
const models = yield* Service68;
|
|
98
|
+
const subagents = yield* make8;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin13 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input6,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin13 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name6,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin13 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID11.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name6 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name6];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name6, Input6, Output6, description2, Plugin8, exports_subagent };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-je3d475j.js";
|
|
5
5
|
import {
|
|
6
6
|
Service35,
|
|
7
7
|
node38
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-mawjpeqt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node74
|
|
12
|
+
} from "./project-pdhfa141.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service39,
|
|
15
|
+
node42
|
|
16
|
+
} from "./project-5vv6cgd2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
|
+
layer: () => layer12,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service31 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
40
|
+
var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
41
41
|
const mcp = yield* Service35;
|
|
42
|
-
const tools = yield*
|
|
42
|
+
const tools = yield* Service39;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service70;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer11 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node35 = makeLocationNode({
|
|
124
|
+
service: Service31,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node42, node38, node87, node74]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service31, layer12, node35, exports_mcp3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service52,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node56
|
|
4
|
+
} from "./project-35v9xa7x.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service28,
|
|
20
|
+
node: () => node32
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service28 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
62
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
63
63
|
const references = yield* Service52;
|
|
64
|
-
return
|
|
64
|
+
return Service28.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make21({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node32 = makeLocationNode({ service: Service28, layer, deps: [node56] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service28, node32, exports_instructions2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-607q5haz.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-49by82nd.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
27
|
Service: () => Service42,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node46,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,9 +34,9 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,20 +127,20 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
141
|
return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
143
|
+
var node46 = makeLocationNode({
|
|
144
144
|
service: Service42,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service42, node46, noopLayer2, exports_snapshot2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-49by82nd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./project-vw4psb2f.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-35v9xa7x.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-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: () => Plugin40
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin40 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service46;
|
|
35
35
|
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -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 { Plugin40, exports_reference };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service67,
|
|
6
|
+
node71
|
|
7
|
+
} from "./project-3s40zm2k.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service23,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer10,
|
|
20
|
+
node: () => node26
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service23 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service67;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service23.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node26 = makeLocationNode({
|
|
69
|
+
service: Service23,
|
|
70
|
+
layer: layer10,
|
|
71
|
+
deps: [node71, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service23, layer10, node26, exports_generate };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make19
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make19 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make19, exports_run_coordinator };
|