@opencode/core 0.0.0-dev-19964 → 0.0.0-dev-19965
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{websearch-jhpyp7e5.js → project-058vq2j8.js} +11 -11
- package/dist/chunks/{websearch-s8d7rejh.js → project-0gdmqesm.js} +4 -4
- package/dist/chunks/{websearch-cmhrmbws.js → project-0hrvvet0.js} +10 -10
- package/dist/chunks/{websearch-w8w7yt3v.js → project-0jr93kkc.js} +38 -38
- package/dist/chunks/{websearch-v3rf3yjj.js → project-0merdtq6.js} +53 -53
- package/dist/chunks/{websearch-54vd5a2c.js → project-0p4jx4fd.js} +9 -9
- package/dist/chunks/{websearch-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-0q0f95c6.js → project-0q0f95c6.js} +1 -1
- package/dist/chunks/{websearch-3e8zcw82.js → project-15tf48hp.js} +24 -24
- package/dist/chunks/{websearch-5rfdw0p6.js → project-18wzm834.js} +17 -17
- package/dist/chunks/{websearch-bxzg3jj0.js → project-1c8prt5q.js} +12 -12
- package/dist/chunks/{websearch-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-tkmwgdpd.js → project-1g7epwpd.js} +4 -4
- package/dist/chunks/{websearch-gdvb9na5.js → project-1gcs78sm.js} +44 -44
- package/dist/chunks/{websearch-sjssyvpf.js → project-1gd24jtv.js} +11 -11
- package/dist/chunks/{websearch-xey7751x.js → project-1y7t7sgp.js} +33 -33
- package/dist/chunks/{websearch-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-0ft9cg2j.js → project-23pqda6t.js} +4 -4
- package/dist/chunks/{websearch-b8k85y5x.js → project-25sb2q89.js} +5 -5
- package/dist/chunks/{websearch-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-jwp645je.js → project-2c50a4hz.js} +28 -28
- package/dist/chunks/{websearch-47q8fzft.js → project-2chytzzm.js} +38 -38
- package/dist/chunks/{websearch-2emx2brn.js → project-2czxbyyd.js} +16 -16
- package/dist/chunks/{websearch-cpneeje0.js → project-2mq1h16s.js} +9 -9
- package/dist/chunks/{websearch-vgtttytn.js → project-2r1f3161.js} +32 -32
- package/dist/chunks/{websearch-76mn7nz7.js → project-2x7jzfgr.js} +3 -3
- package/dist/chunks/{websearch-hctsff3t.js → project-2zcxjm8w.js} +20 -20
- package/dist/chunks/{websearch-t44e5ekz.js → project-3bxd3j1q.js} +8 -8
- package/dist/chunks/{websearch-vqgt8zz4.js → project-3de7jp1p.js} +19 -19
- package/dist/chunks/{websearch-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-vx0dr5zn.js → project-3fr8ss9f.js} +9 -9
- package/dist/chunks/{websearch-9e7ef2pv.js → project-3g9mhmkp.js} +3 -3
- package/dist/chunks/{websearch-e70tzpng.js → project-3gjyge2f.js} +14 -14
- package/dist/chunks/{websearch-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-5yk584dh.js → project-3ky9txt0.js} +17 -17
- package/dist/chunks/{websearch-3z6rdpyx.js → project-3rsgnsmd.js} +18 -18
- package/dist/chunks/{websearch-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-crm4c5mm.js → project-3wdv6d8m.js} +17 -17
- package/dist/chunks/{websearch-wb0b07qm.js → project-3xwvqmwq.js} +57 -57
- package/dist/chunks/{websearch-fttda2jb.js → project-3yh9ny3q.js} +315 -315
- package/dist/chunks/{websearch-hmh2p2rk.js → project-3z627z5z.js} +5 -5
- package/dist/chunks/{websearch-ka296v0h.js → project-40xgcexb.js} +4 -4
- package/dist/chunks/{websearch-r55vasa2.js → project-44h5tttr.js} +4 -4
- package/dist/chunks/{websearch-h4zch6c8.js → project-46459e7q.js} +17 -17
- package/dist/chunks/{websearch-qc9721hg.js → project-4n60pb9e.js} +3 -3
- package/dist/chunks/{websearch-7mktn81f.js → project-4s4ptdqs.js} +19 -19
- package/dist/chunks/{websearch-d35thynk.js → project-4y1rcddj.js} +22 -22
- package/dist/chunks/{websearch-q4k4a680.js → project-52setmep.js} +17 -17
- package/dist/chunks/{websearch-56gdpj1q.js → project-56gdpj1q.js} +2 -2
- package/dist/chunks/{websearch-2fgn2we9.js → project-57ez7d0k.js} +9 -9
- package/dist/chunks/{websearch-8d1tzb8k.js → project-5bsxggaw.js} +9 -9
- package/dist/chunks/{websearch-r2zasnmm.js → project-5c4s9rra.js} +19 -19
- package/dist/chunks/{websearch-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-1e55dwss.js → project-5dgn1ybc.js} +9 -9
- package/dist/chunks/{websearch-gfhhve88.js → project-5e15319b.js} +5 -5
- package/dist/chunks/{websearch-qcdd2z34.js → project-5m7mkkpv.js} +37 -37
- package/dist/chunks/{websearch-wdt3dpm8.js → project-5qbx7kyj.js} +4 -4
- package/dist/chunks/{websearch-kbvbcx67.js → project-5r1a4zz1.js} +7 -7
- package/dist/chunks/{websearch-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-qw5b0z2s.js → project-5ykpya4c.js} +24 -24
- package/dist/chunks/{websearch-7dqw4kz8.js → project-607tc6va.js} +5 -5
- package/dist/chunks/{websearch-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{websearch-ts6bfjdv.js → project-66qpnbfn.js} +25 -25
- package/dist/chunks/{websearch-fdzkgkhq.js → project-6d6xcght.js} +6 -6
- package/dist/chunks/{websearch-wtkbcd5h.js → project-6d7xp62b.js} +23 -23
- package/dist/chunks/{websearch-pjpxmjbe.js → project-6gnjnc72.js} +176 -176
- package/dist/chunks/{websearch-6h73sxmp.js → project-6h73sxmp.js} +1 -1
- package/dist/chunks/{websearch-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-q37mazwr.js → project-6v2gbdep.js} +12 -12
- package/dist/chunks/{websearch-w1k39n5e.js → project-6z4wb64c.js} +4 -4
- package/dist/chunks/{websearch-ktfnav02.js → project-6zza1smj.js} +18 -18
- package/dist/chunks/{websearch-av47cag2.js → project-768me8ma.js} +26 -26
- package/dist/chunks/{websearch-g6cwz1zt.js → project-77j4ksha.js} +8 -8
- package/dist/chunks/{websearch-rgz11k33.js → project-7a79fyt5.js} +3 -3
- package/dist/chunks/{websearch-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-jm1s0317.js → project-7n5vx9wf.js} +9 -9
- package/dist/chunks/{websearch-gzvdhpqf.js → project-7x6t9adc.js} +16 -16
- package/dist/chunks/{websearch-hqcagz5e.js → project-81nbps67.js} +40 -40
- package/dist/chunks/{websearch-tcezcvh9.js → project-89znhe33.js} +4 -4
- package/dist/chunks/{websearch-d0arqfyn.js → project-8apd0fk3.js} +2 -2
- package/dist/chunks/{websearch-zvsg1e1v.js → project-8d4mrw56.js} +24 -24
- package/dist/chunks/{websearch-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-5x2we1xr.js → project-8k32wqdf.js} +91 -91
- package/dist/chunks/{websearch-jn8kpn7b.js → project-8mdcper2.js} +5 -5
- package/dist/chunks/{websearch-be7qvw84.js → project-8n69n882.js} +8 -8
- package/dist/chunks/{websearch-8p4f9s12.js → project-8p4f9s12.js} +2 -2
- package/dist/chunks/{websearch-wqsm6gj1.js → project-8r6fg7ct.js} +18 -18
- package/dist/chunks/{websearch-as1qdmqf.js → project-8tbgdqxq.js} +4 -4
- package/dist/chunks/{websearch-2b3jdger.js → project-91ny65fk.js} +21 -21
- package/dist/chunks/{websearch-1q928zvg.js → project-97958gw3.js} +26 -26
- package/dist/chunks/{websearch-pfcdawbe.js → project-99mdmb67.js} +32 -32
- package/dist/chunks/{websearch-n543k6g6.js → project-9bvpbkhr.js} +32 -32
- package/dist/chunks/{websearch-4y303w9z.js → project-9fc3v4re.js} +4 -4
- package/dist/chunks/{websearch-wpdq3rfy.js → project-9ken6xqn.js} +8 -8
- package/dist/chunks/project-9zdhvgqs.js +18 -0
- package/dist/chunks/{websearch-9rb1rh6d.js → project-a0yh64rb.js} +13 -13
- package/dist/chunks/{websearch-a1bz86dw.js → project-a1bz86dw.js} +3 -3
- package/dist/chunks/{websearch-hhgw1fff.js → project-a96hn7s0.js} +12 -12
- package/dist/chunks/{websearch-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-73se5kmm.js → project-af7bxwvw.js} +5 -5
- package/dist/chunks/{websearch-c488s98d.js → project-afed7ext.js} +12 -12
- package/dist/chunks/{websearch-njhqdk9p.js → project-b0dgvpy7.js} +9 -9
- package/dist/chunks/{websearch-ez5ddhv1.js → project-b4m32151.js} +7 -7
- package/dist/chunks/{websearch-3ktbe3hf.js → project-b4xa8xgk.js} +6 -6
- package/dist/chunks/{websearch-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-bca9tqr6.js → project-baxnm38s.js} +30 -30
- package/dist/chunks/{websearch-czfptnv9.js → project-br0tr5aq.js} +8 -8
- package/dist/chunks/{websearch-2z3nf22x.js → project-bsrjb1f7.js} +25 -25
- package/dist/chunks/{websearch-9ab1xc44.js → project-btkph3mh.js} +22 -22
- package/dist/chunks/{websearch-hfc3jj9e.js → project-c0xp0z8j.js} +23 -23
- package/dist/chunks/{websearch-tetfg30m.js → project-c2ee59z5.js} +3 -3
- package/dist/chunks/{websearch-n5vnxzpd.js → project-cd5e0ncw.js} +1 -1
- package/dist/chunks/{websearch-cfpkc3c9.js → project-cfpkc3c9.js} +2 -2
- package/dist/chunks/{websearch-f1nt7nbc.js → project-chezdbnw.js} +10 -10
- package/dist/chunks/{websearch-5jh6z6eq.js → project-chhs2fpd.js} +5 -5
- package/dist/chunks/{websearch-5kf12gqr.js → project-cj6z7q4m.js} +12 -12
- package/dist/chunks/{websearch-0f9afca0.js → project-cr07tj7n.js} +5 -5
- package/dist/chunks/{websearch-xdx7acry.js → project-csmvz898.js} +9 -9
- package/dist/chunks/{websearch-eygxgv93.js → project-cwxh38s6.js} +25 -25
- package/dist/chunks/{websearch-sxzvkvgj.js → project-d1mtykxg.js} +6 -6
- package/dist/chunks/{websearch-pszheg8c.js → project-d1ss3yp7.js} +21 -21
- package/dist/chunks/{websearch-f6gdtz49.js → project-d2amnt0t.js} +64 -64
- package/dist/chunks/{websearch-4bj8jc4a.js → project-d3skbh37.js} +43 -43
- package/dist/chunks/{websearch-9f4s3wpb.js → project-d4mvnt5t.js} +11 -11
- package/dist/chunks/{websearch-f3wtwz3s.js → project-d7fjbfjm.js} +4 -4
- package/dist/chunks/{websearch-5bvyjrve.js → project-d7w19mqk.js} +6 -6
- package/dist/chunks/{websearch-an7y129c.js → project-d8eda7kb.js} +14 -14
- package/dist/chunks/{websearch-06x8he3q.js → project-ddt2bs9e.js} +4 -4
- package/dist/chunks/{websearch-71qn4emx.js → project-dgt6kxbt.js} +13 -13
- package/dist/chunks/{websearch-tz2bjj40.js → project-dj9sq318.js} +5 -5
- package/dist/chunks/{websearch-drwq78ky.js → project-drwq78ky.js} +1 -1
- package/dist/chunks/{websearch-2q5q0tmx.js → project-ebpj8ebp.js} +8 -8
- package/dist/chunks/{websearch-nw2nz702.js → project-ec8389mk.js} +4 -4
- package/dist/chunks/{websearch-48jyerrr.js → project-ecbtfsmk.js} +47 -47
- package/dist/chunks/{websearch-9mmc9yke.js → project-edx0sx26.js} +9 -9
- package/dist/chunks/{websearch-sk1a5cf4.js → project-ee4p7x9e.js} +32 -32
- package/dist/chunks/{websearch-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-7rrn560x.js → project-ep6z9mt6.js} +8 -8
- package/dist/chunks/{websearch-erw5rpbs.js → project-erw5rpbs.js} +2 -2
- package/dist/chunks/{websearch-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-00xswavg.js → project-ez67mx11.js} +18 -18
- package/dist/chunks/{websearch-jh7fqer0.js → project-ezzzks3g.js} +15 -15
- package/dist/chunks/{websearch-0vkb7sfs.js → project-f09vbjwv.js} +21 -21
- package/dist/chunks/{websearch-yp2x3t23.js → project-f2n192rq.js} +4 -4
- package/dist/chunks/{websearch-5n3bq1vh.js → project-f4m13756.js} +18 -18
- package/dist/chunks/{websearch-abk6xdqq.js → project-f55ehv52.js} +33 -33
- package/dist/chunks/{websearch-86m00gc1.js → project-f7rj482f.js} +8 -8
- package/dist/chunks/{websearch-f828m53h.js → project-f828m53h.js} +2 -2
- package/dist/chunks/{websearch-g8hxvxgp.js → project-fa2frvsq.js} +16 -16
- package/dist/chunks/{websearch-88gzfjcr.js → project-fcbbx3j9.js} +9 -9
- package/dist/chunks/{websearch-xk747vep.js → project-fhs97t90.js} +8 -8
- package/dist/chunks/{websearch-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
- package/dist/chunks/{websearch-fhanc0wh.js → project-g4jds230.js} +17 -17
- package/dist/chunks/{websearch-the1sqg1.js → project-g6r4f441.js} +10 -10
- package/dist/chunks/{websearch-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-yjptyezs.js → project-gg7pg1rj.js} +5 -5
- package/dist/chunks/{websearch-tx9w5tca.js → project-gs3s1a1g.js} +8 -8
- package/dist/chunks/{websearch-1fcrsx1q.js → project-gv66gg0x.js} +8 -8
- package/dist/chunks/{websearch-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{websearch-q3t37ft6.js → project-gynv5cx7.js} +3 -3
- package/dist/chunks/{websearch-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-6cd6tdvt.js → project-ha607pgt.js} +6 -6
- package/dist/chunks/{websearch-3mtavsv9.js → project-hq2v06xf.js} +20 -20
- package/dist/chunks/{websearch-hab9ftpb.js → project-j3vg15m0.js} +20 -20
- package/dist/chunks/{websearch-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-w8fddx50.js → project-j8rw3axx.js} +20 -20
- package/dist/chunks/{websearch-z9m65khd.js → project-jf6e2x3g.js} +10 -10
- package/dist/chunks/{websearch-ae0d7heq.js → project-jg5wt5ha.js} +11 -11
- package/dist/chunks/{websearch-tdegrcw4.js → project-jksd3hgh.js} +11 -11
- package/dist/chunks/{websearch-9ekr0kmh.js → project-jkyq3z1t.js} +23 -23
- package/dist/chunks/{websearch-cxy4dz8b.js → project-jmxz90ff.js} +16 -16
- package/dist/chunks/{websearch-w50rv1zd.js → project-jrdxm6mh.js} +18 -18
- package/dist/chunks/{websearch-xbppx69g.js → project-jtyz3hnt.js} +20 -20
- package/dist/chunks/{websearch-nzks3jc8.js → project-k3c624dm.js} +3 -3
- package/dist/chunks/{websearch-sc7x90fq.js → project-k6p7079f.js} +18 -18
- package/dist/chunks/{websearch-0myc51tg.js → project-k7vzf8ty.js} +6 -6
- package/dist/chunks/{websearch-jca4demv.js → project-kbwf032e.js} +2 -2
- package/dist/chunks/{websearch-fkjmw100.js → project-knb7evpn.js} +6 -6
- package/dist/chunks/{websearch-9zyqj0zs.js → project-kpt1qdq7.js} +8 -8
- package/dist/chunks/{websearch-4jc5c4h4.js → project-kv4fs7t7.js} +1 -1
- package/dist/chunks/project-m2fv4tsm.js +26 -0
- package/dist/chunks/{websearch-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-ff42r0jw.js → project-m4nmqper.js} +7 -7
- package/dist/chunks/{websearch-h07ve51f.js → project-m4s37zq8.js} +11 -11
- package/dist/chunks/{websearch-6rxxc61s.js → project-m73pcdkj.js} +46 -46
- package/dist/chunks/{websearch-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-50mzsvk4.js → project-magykp64.js} +4 -4
- package/dist/chunks/project-mk5nqtvt.js +252 -0
- package/dist/chunks/{websearch-we2hmedy.js → project-mk6cxvfk.js} +20 -20
- package/dist/chunks/{websearch-bdac4x16.js → project-mnfhan20.js} +8 -8
- package/dist/chunks/{websearch-nr9gds8r.js → project-mp0wkdkb.js} +9 -9
- package/dist/chunks/{websearch-4y7h5wyc.js → project-msyq6m42.js} +37 -37
- package/dist/chunks/{websearch-1bbkgx8g.js → project-mvfsc1pv.js} +3 -3
- package/dist/chunks/{websearch-jnzph0x8.js → project-n42gasq5.js} +32 -32
- package/dist/chunks/{websearch-v5p7bnpq.js → project-n9k4a674.js} +11 -11
- package/dist/chunks/{websearch-y0n5ejan.js → project-ndp4vv3f.js} +17 -17
- package/dist/chunks/{websearch-knx0ym4j.js → project-ng9fnydx.js} +47 -47
- package/dist/chunks/{websearch-skns4hd0.js → project-nhpae0wq.js} +37 -37
- package/dist/chunks/{websearch-jh49d0p5.js → project-nwtacksf.js} +11 -11
- package/dist/chunks/{websearch-p28j5sbe.js → project-p28j5sbe.js} +2 -2
- package/dist/chunks/{websearch-wvf96x8j.js → project-p2wj83qv.js} +15 -15
- package/dist/chunks/{websearch-tsdvy27h.js → project-p53c638z.js} +12 -12
- package/dist/chunks/{websearch-735sqw2a.js → project-p9mnwjh7.js} +15 -15
- package/dist/chunks/{websearch-4nmdv69q.js → project-pavs221x.js} +4 -4
- package/dist/chunks/{websearch-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-0v53mg2y.js → project-pmr4s4kc.js} +4 -4
- package/dist/chunks/{websearch-1tff8vws.js → project-pqeyfrg6.js} +26 -26
- package/dist/chunks/{websearch-hnb9z633.js → project-pts6vf4w.js} +38 -38
- package/dist/chunks/{websearch-5ejxza15.js → project-q0bq2k1c.js} +15 -15
- package/dist/chunks/{websearch-8ccqn1tb.js → project-q15fhm92.js} +3 -3
- package/dist/chunks/{websearch-n0gn1egs.js → project-qgcp42sq.js} +42 -42
- package/dist/chunks/{websearch-g20qm8m1.js → project-qj90dp8f.js} +86 -86
- package/dist/chunks/{websearch-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-ytmyj0ne.js → project-qtcnb6n0.js} +39 -39
- package/dist/chunks/{websearch-98dtds3s.js → project-qzxpbk08.js} +10 -10
- package/dist/chunks/{websearch-4zr8x2t8.js → project-r2147qr5.js} +15 -15
- package/dist/chunks/{websearch-ccevvyyt.js → project-r6dyg3h3.js} +33 -33
- package/dist/chunks/{websearch-fad762hb.js → project-r6q7g1m5.js} +13 -13
- package/dist/chunks/{websearch-fv7131x4.js → project-ra7k8cxz.js} +26 -26
- package/dist/chunks/{websearch-hd6gpfkh.js → project-rbtwj3fv.js} +8 -8
- package/dist/chunks/{websearch-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-49k556c2.js → project-rf6x4mzb.js} +23 -23
- package/dist/chunks/{websearch-dedaf8et.js → project-rsm7z9rp.js} +6 -6
- package/dist/chunks/{websearch-mv5wq35z.js → project-rvgstrhz.js} +15 -15
- package/dist/chunks/{websearch-r4wxb7b4.js → project-ryycqeg8.js} +1 -1
- package/dist/chunks/{websearch-q67e3wd4.js → project-rz9rje65.js} +15 -15
- package/dist/chunks/{websearch-87mpjqjj.js → project-s2b3f138.js} +9 -9
- package/dist/chunks/{websearch-mhf6zz70.js → project-s5dm7ens.js} +24 -24
- package/dist/chunks/{websearch-th7yv2hc.js → project-sdkmmp6p.js} +30 -30
- package/dist/chunks/{websearch-h3pn44jz.js → project-seetsk1y.js} +17 -17
- package/dist/chunks/{websearch-qxsvw6e1.js → project-ss3aymxd.js} +3 -3
- package/dist/chunks/{websearch-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-pdqn4r85.js → project-tb8aj0jp.js} +16 -16
- package/dist/chunks/{websearch-bacyadyn.js → project-tbmac1c7.js} +4 -4
- package/dist/chunks/{websearch-bsrbk77s.js → project-tc2dawkr.js} +11 -11
- package/dist/chunks/{websearch-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-50p10wft.js → project-tj88ws5h.js} +4 -4
- package/dist/chunks/{websearch-da3hktzh.js → project-tjr458hf.js} +10 -10
- package/dist/chunks/{websearch-30rhdbb2.js → project-tkndnfam.js} +4 -4
- package/dist/chunks/{websearch-e2zd1xyk.js → project-tkrzs310.js} +6 -6
- package/dist/chunks/{websearch-kkjgq5f8.js → project-tsxqf4cv.js} +24 -24
- package/dist/chunks/{websearch-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-fdd88hxh.js → project-twthfsw8.js} +46 -46
- package/dist/chunks/{websearch-5r5wybxq.js → project-tzsjrs71.js} +17 -17
- package/dist/chunks/{websearch-3rc4ajm5.js → project-vaahshze.js} +10 -10
- package/dist/chunks/{websearch-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-hfdr1yjj.js → project-vkxpz7g2.js} +4 -4
- package/dist/chunks/{websearch-rvcq6qmc.js → project-vm3z8dtg.js} +5 -5
- package/dist/chunks/{websearch-y833y2r9.js → project-vsyfpyr9.js} +22 -22
- package/dist/chunks/{websearch-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-y8j5745q.js → project-w4zfp3g6.js} +8 -8
- package/dist/chunks/{websearch-8mpjdwjw.js → project-w6y0yszf.js} +5 -5
- package/dist/chunks/{websearch-032qefvw.js → project-w7gj1e9s.js} +36 -36
- package/dist/chunks/{websearch-3e147rt9.js → project-waa9wdep.js} +9 -9
- package/dist/chunks/{websearch-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-jvczj6hx.js → project-x8rnm5yb.js} +22 -22
- package/dist/chunks/{websearch-t8k4ne6v.js → project-x99mmdzx.js} +10 -10
- package/dist/chunks/{websearch-0ryd0fps.js → project-xjtsx636.js} +5 -5
- package/dist/chunks/{websearch-k14tgxxh.js → project-xrf7y2d9.js} +27 -27
- package/dist/chunks/{websearch-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-x6z9h23p.js → project-y4wxjvpb.js} +11 -11
- package/dist/chunks/{websearch-f49entp7.js → project-y6g64962.js} +20 -20
- package/dist/chunks/{websearch-y71avatq.js → project-y71avatq.js} +1 -1
- package/dist/chunks/{websearch-5a1rwmgm.js → project-yee4g248.js} +5 -5
- package/dist/chunks/{websearch-kxrf7mbh.js → project-ykjmw520.js} +13 -13
- package/dist/chunks/{websearch-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-yrznvahk.js → project-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-k42k49bv.js → project-z04y6wbq.js} +28 -28
- package/dist/chunks/{websearch-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-hv6ctn0a.js → project-z47gpksh.js} +27 -27
- package/dist/chunks/{websearch-z63w68vq.js → project-z63w68vq.js} +2 -2
- package/dist/chunks/{websearch-7nz7kw2w.js → project-zafvkgz2.js} +18 -18
- package/dist/chunks/{websearch-v7amcc4y.js → project-zc0wbjka.js} +22 -22
- package/dist/chunks/{websearch-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-8rm0fp0x.js → project-zgqx0wd1.js} +3 -3
- package/dist/chunks/{websearch-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-rhzcy7x5.js → project-zvg9jnf3.js} +33 -33
- package/dist/chunks/{websearch-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/chunks/{websearch-wj1zch8v.js → project-zymmqkhq.js} +9 -9
- 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 +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- 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 +141 -141
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.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 +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- 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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- 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 +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- 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 +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- 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 +95 -95
- package/dist/model.js +99 -99
- 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 +114 -114
- 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 +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 +331 -331
- 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 +93 -93
- 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 +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- 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 +129 -129
- 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 +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- 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 +111 -111
- 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 +1 -1
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- 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 +123 -123
- 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 +100 -100
- package/dist/tool/plugin/read.js +122 -122
- 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 +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +95 -95
- package/package.json +8 -8
- package/dist/chunks/websearch-43k3f06n.js +0 -252
- package/dist/chunks/websearch-4xfwbnzw.js +0 -26
- package/dist/chunks/websearch-by5v678g.js +0 -18
- /package/dist/chunks/{websearch-0mesazry.js → project-0mesazry.js} +0 -0
- /package/dist/chunks/{websearch-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-twg0f83k.js → project-twg0f83k.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-2x7jzfgr.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info19,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service51,
|
|
21
|
+
node: () => node53
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info19 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service51 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service51.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node53 = makeGlobalNode({ service: Service51, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info19, ListInput4, AddInput2, Service51, node53, exports_saved };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-kpt1qdq7.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-40xgcexb.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./project-2c50a4hz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-66qpnbfn.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID11
|
|
17
|
+
} from "./project-9bvpbkhr.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID10,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./project-sdkmmp6p.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./project-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID11.make("digitalocean");
|
|
31
|
+
var integrationID = ID12.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID10.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./project-2czxbyyd.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-y6g64962.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin32,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin32 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service80;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin32, exports_hg };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service80,
|
|
18
|
+
node84
|
|
19
|
+
} from "./project-2czxbyyd.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service75,
|
|
22
|
+
node78
|
|
23
|
+
} from "./project-8d4mrw56.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./project-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service74,
|
|
33
|
+
node: () => node77
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service74,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node77,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service74 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service80;
|
|
66
|
+
const workspace = yield* Service75;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service74.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node77 = makeLocationNode({
|
|
71
|
+
service: Service74,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node78]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service74, node77, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-40xgcexb.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./project-2czxbyyd.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID11,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service62,
|
|
20
|
+
node65,
|
|
21
|
+
Event13
|
|
22
|
+
} from "./project-9bvpbkhr.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./project-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event12,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID10,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service58,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node61,
|
|
44
44
|
parse: () => parse4
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event12 } from "@opencode/schema/model";
|
|
51
|
+
var ID10 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info22 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service58 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service62;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const location = yield*
|
|
66
|
+
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service58.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node61 = makeLocationNode({ service: Service58, layer, deps: [node65, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -228,9 +228,9 @@ function compatibility2(input) {
|
|
|
228
228
|
function parse4(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info22, Service58, node61, compatibility2, parse4, exports_model2, Event12 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./project-d1ss3yp7.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./project-ep6z9mt6.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-tj88ws5h.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service45
|
|
16
|
+
} from "./project-twthfsw8.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./project-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin14
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin14 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service45;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin3 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID16.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID16.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin14, exports_agent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./project-9bvpbkhr.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID11.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./project-csmvz898.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./project-d1mtykxg.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-9zdhvgqs.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service69
|
|
15
|
+
} from "./project-gs3s1a1g.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-b4xa8xgk.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service48
|
|
23
|
+
} from "./project-j8rw3axx.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./project-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service39;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service69;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service48;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service68;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin42,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin42 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin40 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin42, exports_identity };
|