@opencode/core 0.0.0-dev-19921 → 0.0.0-dev-19925
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{aisdk-egaf50sh.js → repository-01srpq28.js} +19 -19
- package/dist/chunks/{aisdk-ywnqz98c.js → repository-05122696.js} +17 -17
- package/dist/chunks/{aisdk-h7xew6wc.js → repository-06frcmbp.js} +8 -8
- package/dist/chunks/{aisdk-7xkrwfrx.js → repository-0cgdvkbb.js} +2 -2
- package/dist/chunks/repository-0mesazry.js +4 -0
- package/dist/chunks/{aisdk-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{aisdk-z03q4yg3.js → repository-147at2rg.js} +13 -13
- package/dist/chunks/{aisdk-fdzkgkhq.js → repository-1603qf85.js} +6 -6
- package/dist/chunks/{aisdk-9q3d9f1b.js → repository-162s51z7.js} +20 -20
- package/dist/chunks/{aisdk-zf0ghz3r.js → repository-19bkrvqm.js} +6 -6
- package/dist/chunks/{aisdk-at5d07az.js → repository-19vf66h0.js} +4 -4
- package/dist/chunks/{aisdk-yp2x3t23.js → repository-1acjjqhc.js} +4 -4
- package/dist/chunks/{aisdk-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-w7a8dnrx.js → repository-1epfs5fg.js} +11 -11
- package/dist/chunks/{aisdk-e7j9ad0g.js → repository-1ff8zfs2.js} +7 -7
- package/dist/chunks/{aisdk-wx9xajk9.js → repository-1qs4d8rf.js} +11 -11
- package/dist/chunks/{aisdk-56gdpj1q.js → repository-1ygqh575.js} +9 -9
- package/dist/chunks/{aisdk-0dpy4hew.js → repository-1zf2a2pg.js} +4 -4
- package/dist/chunks/{aisdk-mckhd0ek.js → repository-1zvvrxys.js} +10 -10
- package/dist/chunks/{aisdk-g0yjtxqz.js → repository-2030z9ed.js} +43 -43
- package/dist/chunks/{aisdk-e8kb4qta.js → repository-211mmdp7.js} +11 -11
- package/dist/chunks/{aisdk-wgxx0djm.js → repository-21qm5hjj.js} +1 -1
- package/dist/chunks/{aisdk-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-2402vzrj.js → repository-2402vzrj.js} +1 -1
- package/dist/chunks/{aisdk-29x78va6.js → repository-29x78va6.js} +2 -2
- package/dist/chunks/{aisdk-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-skn9k04t.js → repository-2jmaa3b7.js} +30 -30
- package/dist/chunks/{aisdk-kkp8zx71.js → repository-2k71kv7p.js} +4 -4
- package/dist/chunks/{aisdk-fmba3pbf.js → repository-2kv50p2g.js} +17 -17
- package/dist/chunks/{aisdk-be7qvw84.js → repository-2n295dmf.js} +8 -8
- package/dist/chunks/{aisdk-aqsr611m.js → repository-2y3ekwe2.js} +3 -3
- package/dist/chunks/{aisdk-npvdehm3.js → repository-32rbh6wb.js} +20 -20
- package/dist/chunks/{aisdk-f918a1f1.js → repository-3f6y2rkv.js} +18 -18
- package/dist/chunks/{aisdk-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-g8365z22.js → repository-3g36mm1g.js} +6 -6
- package/dist/chunks/{aisdk-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-ss0w053c.js → repository-3n65n9br.js} +14 -14
- package/dist/chunks/{aisdk-gyrbq2hm.js → repository-3q5g4b04.js} +11 -11
- package/dist/chunks/{aisdk-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-2f0bjgcj.js → repository-3w2b2yj4.js} +5 -5
- package/dist/chunks/{aisdk-s9x9azxt.js → repository-3ypa69gd.js} +18 -18
- package/dist/chunks/{aisdk-v889qat5.js → repository-41dpg2dz.js} +6 -6
- package/dist/chunks/{aisdk-h6r3nrb9.js → repository-4dgbcxzg.js} +4 -4
- package/dist/chunks/repository-4nh0y7tg.js +252 -0
- package/dist/chunks/{aisdk-cpz976wg.js → repository-4pbevh0n.js} +80 -80
- package/dist/chunks/{aisdk-0xhbyx6g.js → repository-4sm12gsw.js} +13 -13
- package/dist/chunks/{aisdk-3838ekre.js → repository-4y303w9z.js} +4 -4
- package/dist/chunks/{aisdk-57ez7d0k.js → repository-57ez7d0k.js} +2 -2
- package/dist/chunks/{aisdk-13c0dv8a.js → repository-58hhxgm7.js} +35 -35
- package/dist/chunks/{aisdk-trgvptk3.js → repository-59ng6fem.js} +11 -11
- package/dist/chunks/{aisdk-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-a881zpfh.js → repository-5rnnm2b5.js} +5 -5
- package/dist/chunks/{aisdk-kr6qq9cr.js → repository-5sh0jgnp.js} +2 -2
- package/dist/chunks/{aisdk-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-b3hh2tzz.js → repository-5vh9te7n.js} +28 -28
- package/dist/chunks/{aisdk-zhb09gcj.js → repository-5w667tvy.js} +4 -4
- package/dist/chunks/{aisdk-kd6d6pdq.js → repository-5z3wwgqx.js} +34 -34
- package/dist/chunks/{aisdk-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-z77yj45y.js → repository-6gymb6qa.js} +9 -9
- package/dist/chunks/{aisdk-j58c5xyq.js → repository-6hjx5zpb.js} +9 -9
- package/dist/chunks/{aisdk-axmvebxj.js → repository-6m42r3np.js} +4 -4
- package/dist/chunks/{aisdk-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-113k8w9s.js → repository-6q8fzhmn.js} +40 -40
- package/dist/chunks/{aisdk-wqka8fwe.js → repository-6s6av44s.js} +7 -7
- package/dist/chunks/{aisdk-6f3sb0h8.js → repository-71wqcp91.js} +18 -18
- package/dist/chunks/{aisdk-0sdyapwb.js → repository-72d8zngs.js} +17 -17
- package/dist/chunks/{aisdk-xwt1p101.js → repository-766n3kf0.js} +28 -28
- package/dist/chunks/{aisdk-b8t5w1ww.js → repository-77yeafev.js} +6 -6
- package/dist/chunks/{aisdk-c9sv919b.js → repository-78cefa2y.js} +12 -12
- package/dist/chunks/{aisdk-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-2k8khapm.js → repository-7dqw4kz8.js} +5 -5
- package/dist/chunks/{aisdk-385e3tez.js → repository-7y2n5xq6.js} +32 -32
- package/dist/chunks/{aisdk-tdsvyk8s.js → repository-88m3a1j0.js} +23 -23
- package/dist/chunks/{aisdk-1d4pen6h.js → repository-89dh35pb.js} +5 -5
- package/dist/chunks/{aisdk-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-1n30ag80.js → repository-8ddgxhs2.js} +42 -42
- package/dist/chunks/{aisdk-gea4ytcm.js → repository-8gr762q3.js} +9 -9
- package/dist/chunks/{aisdk-aqpy32ws.js → repository-8n1skxjn.js} +4 -4
- package/dist/chunks/{aisdk-dj2t23y0.js → repository-8p4f9s12.js} +2 -2
- package/dist/chunks/{aisdk-y85rd40a.js → repository-8qxc3twk.js} +47 -47
- package/dist/chunks/{aisdk-2z37n2ex.js → repository-8yfe6b0v.js} +4 -4
- package/dist/chunks/{aisdk-hfqgds7r.js → repository-9se1cb8f.js} +11 -11
- package/dist/chunks/{aisdk-5c4hm403.js → repository-a1bz86dw.js} +3 -3
- package/dist/chunks/{aisdk-qpw8fjx2.js → repository-a98ph9h2.js} +9 -9
- package/dist/chunks/{aisdk-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-8xcwb3jr.js → repository-adw3fvjp.js} +32 -32
- package/dist/chunks/{aisdk-sra9araw.js → repository-af04s6ss.js} +5 -5
- package/dist/chunks/{aisdk-74rrnwt7.js → repository-afed7ext.js} +12 -12
- package/dist/chunks/{aisdk-4v0w14hy.js → repository-an5e9wjw.js} +25 -25
- package/dist/chunks/{aisdk-mrcfstyy.js → repository-aqwmkq51.js} +25 -25
- package/dist/chunks/{aisdk-75g0efyr.js → repository-ar3j96as.js} +5 -5
- package/dist/chunks/{aisdk-kyhzkhbc.js → repository-aw4fq485.js} +21 -21
- package/dist/chunks/{aisdk-0wern9hq.js → repository-awvf2zjn.js} +13 -13
- package/dist/chunks/{aisdk-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-z0sfpnmx.js → repository-b913ee5s.js} +20 -20
- package/dist/chunks/{aisdk-ztt0r6w8.js → repository-bbdjnh0v.js} +47 -47
- package/dist/chunks/{aisdk-5a6yta3q.js → repository-bewc9j1f.js} +28 -28
- package/dist/chunks/{aisdk-95aqzfvg.js → repository-bs07d2ya.js} +22 -22
- package/dist/chunks/{aisdk-jpxsqs6j.js → repository-bzdkvbj5.js} +14 -14
- package/dist/chunks/{aisdk-hec5nf1s.js → repository-c7m10r4j.js} +25 -25
- package/dist/chunks/{aisdk-cc8jkzfh.js → repository-cdgfrf78.js} +14 -14
- package/dist/chunks/{aisdk-m0jqrx5p.js → repository-cfpkc3c9.js} +2 -2
- package/dist/chunks/{aisdk-t0pexvyg.js → repository-cmstpayk.js} +30 -30
- package/dist/chunks/{aisdk-ptjd89g6.js → repository-cn9x06yp.js} +11 -11
- package/dist/chunks/{aisdk-88sz8qcd.js → repository-csf2jhsg.js} +4 -4
- package/dist/chunks/{aisdk-2a4f6v5q.js → repository-cyhsea0k.js} +8 -8
- package/dist/chunks/{aisdk-80vm22wq.js → repository-d0hvckm1.js} +11 -11
- package/dist/chunks/{aisdk-80nc4spm.js → repository-d4sp9rf7.js} +13 -13
- package/dist/chunks/{aisdk-z23ctxc7.js → repository-d5s690h6.js} +50 -50
- package/dist/chunks/{aisdk-bf0ztrs3.js → repository-dfe8djrf.js} +4 -4
- package/dist/chunks/{aisdk-m70sbz6t.js → repository-dhmh7aw6.js} +4 -4
- package/dist/chunks/{aisdk-c765mh8b.js → repository-djszqvmq.js} +9 -9
- package/dist/chunks/{aisdk-ys1s2q02.js → repository-dw9d69vh.js} +15 -15
- package/dist/chunks/{aisdk-fkzjhtpm.js → repository-e0jkkmj5.js} +41 -41
- package/dist/chunks/{aisdk-cmk3d2n4.js → repository-e1kcw1az.js} +30 -30
- package/dist/chunks/{aisdk-a0z6fmer.js → repository-e5trzkgc.js} +4 -4
- package/dist/chunks/{aisdk-mts80n8y.js → repository-ee6k5qat.js} +29 -29
- package/dist/chunks/{aisdk-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-1qcg83p2.js → repository-egxkcmfp.js} +6 -6
- package/dist/chunks/{aisdk-73tb2d7t.js → repository-eq1pz5kg.js} +3 -3
- package/dist/chunks/{aisdk-erw5rpbs.js → repository-erw5rpbs.js} +2 -2
- package/dist/chunks/{aisdk-cx8xb3jv.js → repository-esjw5h14.js} +25 -25
- package/dist/chunks/{aisdk-2edzxxc1.js → repository-etj5smp4.js} +54 -54
- package/dist/chunks/{aisdk-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-jrjq6s1h.js → repository-ewgcbr1g.js} +24 -24
- package/dist/chunks/{aisdk-nzqc060q.js → repository-ex20gda7.js} +11 -11
- package/dist/chunks/{aisdk-0zdbdw2r.js → repository-f0v9bvs5.js} +14 -14
- package/dist/chunks/{aisdk-0hhywg7s.js → repository-f548qsqb.js} +15 -15
- package/dist/chunks/{aisdk-hdnk95c8.js → repository-f828m53h.js} +2 -2
- package/dist/chunks/{aisdk-9qydxj3b.js → repository-f9bwramw.js} +17 -17
- package/dist/chunks/{aisdk-w6hgs0a3.js → repository-fcxqvhk6.js} +26 -26
- package/dist/chunks/{aisdk-atn30jx3.js → repository-fdty3bfe.js} +8 -8
- package/dist/chunks/{aisdk-9magsj8q.js → repository-fgej4qf0.js} +18 -18
- package/dist/chunks/{aisdk-5kq6n0x6.js → repository-fjfhwv23.js} +9 -9
- package/dist/chunks/{aisdk-j5gc6bst.js → repository-fjyrgdsf.js} +3 -3
- package/dist/chunks/{aisdk-t32p98w0.js → repository-fkz58nz1.js} +27 -27
- package/dist/chunks/{aisdk-3w07rzqw.js → repository-fnxmx3m1.js} +24 -24
- package/dist/chunks/{aisdk-maqfj5fc.js → repository-fvjq2vmb.js} +3 -3
- package/dist/chunks/{aisdk-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{aisdk-zftnbz4f.js → repository-fyk4pdgz.js} +92 -92
- package/dist/chunks/{aisdk-m1fs4nsq.js → repository-fyzb6xhz.js} +21 -21
- package/dist/chunks/{aisdk-p42hj8p8.js → repository-g0445xdp.js} +8 -8
- package/dist/chunks/{aisdk-5y480sgp.js → repository-g1sxm558.js} +8 -8
- package/dist/chunks/{aisdk-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-p30hwf3v.js → repository-ge8q68vb.js} +13 -13
- package/dist/chunks/{aisdk-981wmbey.js → repository-gk9f066g.js} +8 -8
- package/dist/chunks/{aisdk-ch3624bb.js → repository-gqrx7was.js} +26 -26
- package/dist/chunks/{aisdk-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{aisdk-fqw7z5ah.js → repository-gxkgctst.js} +21 -21
- package/dist/chunks/{aisdk-1t6k6dz3.js → repository-gym5rw30.js} +12 -12
- package/dist/chunks/{aisdk-fjvydvzm.js → repository-gzbkpp9m.js} +4 -4
- package/dist/chunks/{aisdk-pwcnfmcd.js → repository-h03ecwmn.js} +161 -161
- package/dist/chunks/{aisdk-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-amket8y3.js → repository-h9c1s4qg.js} +12 -12
- package/dist/chunks/{aisdk-jmphe03k.js → repository-hc7n3jk5.js} +4 -4
- package/dist/chunks/{aisdk-8kp6pwew.js → repository-hj8zw9ft.js} +22 -22
- package/dist/chunks/{aisdk-2gv5qy1y.js → repository-hkrvrkta.js} +12 -12
- package/dist/chunks/{aisdk-prdne56g.js → repository-hpqp1x35.js} +9 -9
- package/dist/chunks/{aisdk-pesd0a8d.js → repository-hsneh1vn.js} +14 -14
- package/dist/chunks/{aisdk-4v7pe331.js → repository-hwpm8vt7.js} +15 -15
- package/dist/chunks/{aisdk-haghf4r0.js → repository-hzm6ctw9.js} +21 -21
- package/dist/chunks/{aisdk-qsjv4yte.js → repository-j1f20vnv.js} +3 -3
- package/dist/chunks/{aisdk-pq5jszw0.js → repository-j33y0z99.js} +5 -5
- package/dist/chunks/{aisdk-qzyph8ek.js → repository-j4z2qnee.js} +11 -11
- package/dist/chunks/{aisdk-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-qqv144mn.js → repository-jhd4mw7m.js} +9 -9
- package/dist/chunks/{aisdk-q9g13t00.js → repository-jjkp4fc9.js} +26 -26
- package/dist/chunks/{aisdk-j5w2yx54.js → repository-jkp0d30b.js} +6 -6
- package/dist/chunks/{aisdk-0cqeg0y2.js → repository-jky0201x.js} +10 -10
- package/dist/chunks/{aisdk-h63dxgqx.js → repository-jpxh6pyg.js} +8 -8
- package/dist/chunks/repository-jqh9b0xq.js +18 -0
- package/dist/chunks/{aisdk-pddjgm7y.js → repository-jrdnbmhb.js} +23 -23
- package/dist/chunks/{aisdk-zzfbzx87.js → repository-jz4rtkrq.js} +44 -44
- package/dist/chunks/{aisdk-nzks3jc8.js → repository-k3c624dm.js} +3 -3
- package/dist/chunks/{aisdk-zvx70h10.js → repository-k8vv74j4.js} +11 -11
- package/dist/chunks/{aisdk-zqx8wcya.js → repository-k9kj6xed.js} +8 -8
- package/dist/chunks/{aisdk-p9rs0ak5.js → repository-kxm9q0wf.js} +41 -41
- package/dist/chunks/{aisdk-tqkrwgse.js → repository-ky3seynh.js} +2 -2
- package/dist/chunks/{aisdk-8aa1j6tz.js → repository-kyktj0vd.js} +6 -6
- package/dist/chunks/{aisdk-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{aisdk-r56g5915.js → repository-m94vb4p0.js} +20 -20
- package/dist/chunks/{aisdk-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-q920nty3.js → repository-mgmaefw5.js} +8 -8
- package/dist/chunks/{aisdk-7fxtf9bw.js → repository-mjamd041.js} +26 -26
- package/dist/chunks/{aisdk-j13k0c7m.js → repository-msq9d40j.js} +74 -74
- package/dist/chunks/{aisdk-83fk5czk.js → repository-npcr6acw.js} +12 -12
- package/dist/chunks/{aisdk-x6jtbdj2.js → repository-nqs4h0k8.js} +3 -3
- package/dist/chunks/{aisdk-08ed1ae0.js → repository-nxgrx1hd.js} +12 -12
- package/dist/chunks/{aisdk-qajm5pec.js → repository-p06rs703.js} +16 -16
- package/dist/chunks/{aisdk-c55s4jv3.js → repository-p1e82s6y.js} +11 -11
- package/dist/chunks/{aisdk-p28j5sbe.js → repository-p28j5sbe.js} +2 -2
- package/dist/chunks/{aisdk-fcgzspf7.js → repository-p83z16b4.js} +23 -23
- package/dist/chunks/{aisdk-wevb52pj.js → repository-p9chahah.js} +15 -15
- package/dist/chunks/{aisdk-sehg75qv.js → repository-paztv5tv.js} +18 -18
- package/dist/chunks/{aisdk-d02eckp2.js → repository-pemgcfv1.js} +20 -20
- package/dist/chunks/{aisdk-n8q9yged.js → repository-ph1tfs1p.js} +10 -10
- package/dist/chunks/{aisdk-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-nq7qbqzc.js → repository-pnv527nz.js} +9 -9
- package/dist/chunks/{aisdk-mby6b0wp.js → repository-pppjd97s.js} +33 -33
- package/dist/chunks/{aisdk-bd0z1krs.js → repository-psc708qt.js} +13 -13
- package/dist/chunks/{aisdk-9mj79ze0.js → repository-pyvd5r9m.js} +10 -10
- package/dist/chunks/{aisdk-xt53xx91.js → repository-q07kfc61.js} +19 -19
- package/dist/chunks/{aisdk-hpqgxxwn.js → repository-q3px80ym.js} +1 -1
- package/dist/chunks/repository-q7g37xjg.js +492 -0
- package/dist/chunks/{aisdk-77bsq1rh.js → repository-qfh0yx8q.js} +8 -8
- package/dist/chunks/{aisdk-j0h4qk4p.js → repository-qnb51md4.js} +14 -14
- package/dist/chunks/{aisdk-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-e3gpbbvm.js → repository-qth74v4j.js} +8 -8
- package/dist/chunks/{aisdk-zyw6gpzh.js → repository-r5a408f1.js} +9 -9
- package/dist/chunks/{aisdk-n9wq72ds.js → repository-r5k04j94.js} +27 -27
- package/dist/chunks/{aisdk-33pf615z.js → repository-rd91h2ya.js} +5 -5
- package/dist/chunks/{aisdk-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-t550f9t1.js → repository-rhjbct0v.js} +4 -4
- package/dist/chunks/{aisdk-b5ef29ne.js → repository-rstzpa01.js} +5 -5
- package/dist/chunks/{aisdk-ykwbhvx8.js → repository-rzsta14b.js} +45 -45
- package/dist/chunks/{aisdk-0c95vhcy.js → repository-s1p4125p.js} +11 -11
- package/dist/chunks/{aisdk-s4enseaf.js → repository-s4enseaf.js} +2 -2
- package/dist/chunks/{aisdk-8qstzcfz.js → repository-s56qxvxr.js} +21 -21
- package/dist/chunks/{aisdk-ndz4qcfb.js → repository-s6fe5hfp.js} +37 -37
- package/dist/chunks/{aisdk-bbj45fm4.js → repository-skyxzy1a.js} +5 -5
- package/dist/chunks/{aisdk-0hz1p47q.js → repository-sqwastk5.js} +20 -20
- package/dist/chunks/{aisdk-1tq060df.js → repository-ss0awb04.js} +4 -4
- package/dist/chunks/{aisdk-5k5vh0n7.js → repository-sszcxcjt.js} +8 -8
- package/dist/chunks/{aisdk-fzzzre02.js → repository-sv5y00bk.js} +29 -29
- package/dist/chunks/{aisdk-43th7dtc.js → repository-t13xjx4d.js} +17 -17
- package/dist/chunks/{aisdk-fegk541e.js → repository-t71v2ka4.js} +5 -5
- package/dist/chunks/repository-taj71pe1.js +26 -0
- package/dist/chunks/{aisdk-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-02cpta5g.js → repository-tc4n4efz.js} +19 -19
- package/dist/chunks/{aisdk-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-scq4khx8.js → repository-ts2x07a1.js} +1 -1
- package/dist/chunks/{aisdk-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-z1419peh.js → repository-txrkrrfy.js} +43 -43
- package/dist/chunks/{aisdk-vjyqzc55.js → repository-v0nm7mhb.js} +7 -7
- package/dist/chunks/{aisdk-mzaew16k.js → repository-v144frcm.js} +33 -33
- package/dist/chunks/{aisdk-nw2nz702.js → repository-v4jw97dc.js} +4 -4
- package/dist/chunks/{aisdk-j1vf9jgh.js → repository-v8ys44m2.js} +19 -19
- package/dist/chunks/{aisdk-qtrcjxzz.js → repository-vcexxsm0.js} +5 -5
- package/dist/chunks/{aisdk-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-70q0m6tv.js → repository-vf77hyyh.js} +4 -4
- package/dist/chunks/{aisdk-d1khqved.js → repository-vmq7ehpy.js} +5 -5
- package/dist/chunks/{aisdk-ab9q0vk8.js → repository-vp5d4e79.js} +3 -3
- package/dist/chunks/{aisdk-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-0wqnq6yp.js → repository-w8zkkrkv.js} +13 -13
- package/dist/chunks/{aisdk-698tbzwa.js → repository-w93zv9nk.js} +15 -15
- package/dist/chunks/{aisdk-p8vshhkt.js → repository-wb2crypr.js} +6 -6
- package/dist/chunks/{aisdk-1vrjvg2q.js → repository-wbc7ydme.js} +25 -25
- package/dist/chunks/{aisdk-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-q8k5dyfn.js → repository-whx0ndbn.js} +23 -23
- package/dist/chunks/{aisdk-vb1e3nqm.js → repository-wn50jf42.js} +17 -17
- package/dist/chunks/{aisdk-geh43b6s.js → repository-wnw9tw46.js} +34 -34
- package/dist/chunks/{aisdk-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-kn3qcqnh.js → repository-x1pm43af.js} +15 -15
- package/dist/chunks/{aisdk-yt3hy1g9.js → repository-x2rw7g36.js} +5 -5
- package/dist/chunks/{aisdk-64cwhh6p.js → repository-x6gh6e3d.js} +11 -11
- package/dist/chunks/{aisdk-q0xev2k4.js → repository-xfa1mhf8.js} +4 -4
- package/dist/chunks/{aisdk-qqeeq2t9.js → repository-xfkkasph.js} +7 -7
- package/dist/chunks/{aisdk-n51hmmyr.js → repository-xmevcrcp.js} +12 -12
- package/dist/chunks/{aisdk-yfqzvsaj.js → repository-xt3d6zhv.js} +8 -8
- package/dist/chunks/{aisdk-k872hec6.js → repository-xtymyyez.js} +13 -13
- package/dist/chunks/{aisdk-nvxqht09.js → repository-xxynqx5z.js} +3 -3
- package/dist/chunks/{aisdk-m0d55mvb.js → repository-y0e9rkdj.js} +23 -23
- package/dist/chunks/{aisdk-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-dpkg50ah.js → repository-y71avatq.js} +4 -4
- package/dist/chunks/{aisdk-hj17tfac.js → repository-yjexp1xg.js} +17 -17
- package/dist/chunks/{aisdk-9qhr3jt3.js → repository-yjzqxa7j.js} +20 -20
- package/dist/chunks/{aisdk-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-bz43xvh0.js → repository-yvshkvwv.js} +3 -3
- package/dist/chunks/{aisdk-3h34rfej.js → repository-yzb9p9f6.js} +22 -22
- package/dist/chunks/{aisdk-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-82xbny51.js → repository-z3k2zkqw.js} +27 -27
- package/dist/chunks/{aisdk-ebp1y9k2.js → repository-z3n8sd7x.js} +19 -19
- package/dist/chunks/{aisdk-ftn2gpds.js → repository-z5hryc26.js} +35 -35
- package/dist/chunks/{aisdk-jjj90yk7.js → repository-z9j8xn61.js} +10 -10
- package/dist/chunks/{aisdk-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{aisdk-gw2bz52c.js → repository-zkjm2j7v.js} +28 -28
- package/dist/chunks/{aisdk-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +105 -105
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- 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 +98 -98
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +93 -93
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- 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/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +92 -92
- 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 +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- 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 +5 -5
- 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 +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 +91 -91
- 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 +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/aisdk-3ns33hm0.js +0 -492
- package/dist/chunks/aisdk-8b4hwccw.js +0 -252
- package/dist/chunks/aisdk-hxa7m5za.js +0 -4
- package/dist/chunks/aisdk-q509s3k3.js +0 -18
- package/dist/chunks/aisdk-w6wx28sr.js +0 -26
- /package/dist/chunks/{aisdk-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-e3qxr5gk.js → repository-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{aisdk-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{aisdk-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service57
|
|
4
|
+
} from "./repository-gxkgctst.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
7
|
Service73
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-3f6y2rkv.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./repository-s6fe5hfp.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-xxynqx5z.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service51
|
|
18
|
+
} from "./repository-t13xjx4d.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./repository-d5s690h6.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service27
|
|
25
|
+
} from "./repository-fyk4pdgz.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./repository-ex20gda7.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-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: () => Input12,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin30,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name12
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name12 = "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 Input12 = 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 Input4 = 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 Output8 = 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 description5 = [
|
|
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 description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin30 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
92
|
+
const sessions = yield* Service27;
|
|
93
|
+
const jobs = yield* Service51;
|
|
94
|
+
const agents = yield* Service57;
|
|
95
|
+
const config = yield* Service60;
|
|
96
|
+
const permission = yield* Service54;
|
|
97
97
|
const models = yield* Service73;
|
|
98
|
-
const subagents = yield*
|
|
98
|
+
const subagents = yield* make10;
|
|
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 Plugin4 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
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 Plugin4 = {
|
|
|
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: name12,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin4 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.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,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name12];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name12, Input12, Output8, description5, Plugin30, exports_subagent };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./repository-jkp0d30b.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-jqh9b0xq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./repository-jz4rtkrq.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service48;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service58), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-wb2crypr.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-d5s690h6.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-01srpq28.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-4sm12gsw.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./repository-npcr6acw.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service76,
|
|
11
|
+
node80
|
|
12
|
+
} from "./repository-z3k2zkqw.js";
|
|
13
13
|
import {
|
|
14
14
|
Service79,
|
|
15
15
|
node83
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-5sh0jgnp.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service64,
|
|
19
19
|
node67
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-p06rs703.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service77,
|
|
24
|
+
node81
|
|
25
|
+
} from "./repository-aw4fq485.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service75,
|
|
34
34
|
node79
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-01srpq28.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service37,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured5,
|
|
57
|
+
layer: () => layer13,
|
|
58
|
+
node: () => node40
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service37 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var layer13 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service79;
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
106
|
+
const environment = yield* Service64;
|
|
107
|
+
const bus = yield* Service81;
|
|
108
|
+
const forms = yield* Service77;
|
|
109
109
|
const integration = yield* Service75;
|
|
110
|
-
const credentials = yield*
|
|
110
|
+
const credentials = yield* Service76;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID14.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError5({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID16.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service37.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured5(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [node83, node67,
|
|
515
|
+
service: Service37,
|
|
516
|
+
layer: layer13(options),
|
|
517
|
+
deps: [node83, node67, node85, node81, node79, node80]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node40 = configured5();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service37, Options5, layer13, configured5, node40, exports_mcp4 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
Service74
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-paztv5tv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./repository-s6fe5hfp.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
12
|
const providers = yield* Service74;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service60);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./repository-s6fe5hfp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./repository-djszqvmq.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin33
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin33 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service60;
|
|
26
|
+
const policy = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin15 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin33, exports_location_watcher2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-j4z2qnee.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin6,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin6 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin38 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin38 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin6, exports_firecrawl };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|