@opencode/core 0.0.0-dev-19589 → 0.0.0-dev-19590
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{generate-73t188jy.js → location-mutation-00832hy7.js} +8 -8
- package/dist/chunks/location-mutation-04psxgym.js +26 -0
- package/dist/chunks/{generate-q6wdy971.js → location-mutation-07g2yzt3.js} +6 -6
- package/dist/chunks/{generate-mgkvz3hx.js → location-mutation-07sk74nc.js} +5 -5
- package/dist/chunks/{generate-32nvexxh.js → location-mutation-08kp7xha.js} +37 -37
- package/dist/chunks/{generate-6q78kr02.js → location-mutation-0atdbh96.js} +36 -36
- package/dist/chunks/{generate-qfcza57d.js → location-mutation-0bgdfsd1.js} +7 -7
- package/dist/chunks/{generate-87deq66t.js → location-mutation-0fn2v7vk.js} +4 -4
- package/dist/chunks/{generate-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{generate-vncycja5.js → location-mutation-0v53mg2y.js} +4 -4
- package/dist/chunks/{generate-xrv51t12.js → location-mutation-0vftmh67.js} +15 -15
- package/dist/chunks/{generate-n84h1qjv.js → location-mutation-0x0yxbr3.js} +18 -18
- package/dist/chunks/{generate-h8bvkk4n.js → location-mutation-0z6dcdkt.js} +23 -23
- package/dist/chunks/{generate-x569bdqa.js → location-mutation-0zaj8p07.js} +1 -1
- package/dist/chunks/{generate-dg5bcj4q.js → location-mutation-19yq3b24.js} +6 -6
- package/dist/chunks/{generate-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-9wewr7va.js → location-mutation-1gg3p1ss.js} +12 -12
- package/dist/chunks/{generate-jcww1zet.js → location-mutation-1hkx1n6e.js} +4 -4
- package/dist/chunks/{generate-pj4yccrm.js → location-mutation-1nc0857s.js} +18 -18
- package/dist/chunks/location-mutation-1x11rq2a.js +18 -0
- package/dist/chunks/{generate-bw5dejcj.js → location-mutation-1y37nkr1.js} +28 -28
- package/dist/chunks/{generate-9crdg4t6.js → location-mutation-20pmbb2p.js} +17 -17
- package/dist/chunks/{generate-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{generate-2402vzrj.js → location-mutation-2402vzrj.js} +1 -1
- package/dist/chunks/{generate-1msf33w2.js → location-mutation-24cmjgf1.js} +8 -8
- package/dist/chunks/{generate-12v0qx6f.js → location-mutation-26s8145v.js} +6 -6
- package/dist/chunks/{generate-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-6anwy9fs.js → location-mutation-2d57kztd.js} +4 -4
- package/dist/chunks/{generate-ggtqa3p1.js → location-mutation-2gb7hv4z.js} +17 -17
- package/dist/chunks/{generate-6275my5r.js → location-mutation-2jkmjxk8.js} +16 -16
- package/dist/chunks/{generate-s539y83q.js → location-mutation-2pwgvmd7.js} +27 -27
- package/dist/chunks/{generate-r51729b7.js → location-mutation-31dty8gt.js} +6 -6
- package/dist/chunks/{generate-938z9950.js → location-mutation-34y9ksvj.js} +6 -6
- package/dist/chunks/{generate-d8jj1mc6.js → location-mutation-37aqwf9n.js} +8 -8
- package/dist/chunks/{generate-3avmt772.js → location-mutation-3ed3sqde.js} +10 -10
- package/dist/chunks/{generate-3fc6dm20.js → location-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-b36s3smy.js → location-mutation-3j1fhh7s.js} +1 -1
- package/dist/chunks/{generate-10sykk4e.js → location-mutation-3jt25bc7.js} +24 -24
- package/dist/chunks/{generate-gynya4d5.js → location-mutation-3k4j4gra.js} +24 -24
- package/dist/chunks/{generate-pjr7ywh7.js → location-mutation-3s3nypn6.js} +9 -9
- package/dist/chunks/{generate-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-fbv7bwdr.js → location-mutation-3xcvdjcv.js} +12 -12
- package/dist/chunks/{generate-45tnwva7.js → location-mutation-496m5bjm.js} +11 -11
- package/dist/chunks/{generate-5xyazqxs.js → location-mutation-5476qrae.js} +13 -13
- package/dist/chunks/{generate-56gdpj1q.js → location-mutation-56gdpj1q.js} +2 -2
- package/dist/chunks/{generate-paegk39x.js → location-mutation-5c0f1prt.js} +4 -4
- package/dist/chunks/{generate-a1bz86dw.js → location-mutation-5c4hm403.js} +3 -3
- package/dist/chunks/{generate-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-hf0cb6zs.js → location-mutation-5fshkvc1.js} +26 -26
- package/dist/chunks/{generate-mnxb74j9.js → location-mutation-5myqbeq2.js} +77 -77
- package/dist/chunks/{generate-20h7pzdp.js → location-mutation-5ntctw92.js} +33 -33
- package/dist/chunks/{generate-bn8ndby6.js → location-mutation-5rk47206.js} +15 -15
- package/dist/chunks/{generate-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-2k8khapm.js → location-mutation-607tc6va.js} +5 -5
- package/dist/chunks/{generate-63xctefh.js → location-mutation-63xctefh.js} +1 -1
- package/dist/chunks/{generate-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/{generate-ps1wcy89.js → location-mutation-6jr7e6bp.js} +28 -28
- package/dist/chunks/location-mutation-6kdq0pjd.js +4 -0
- package/dist/chunks/{generate-eex2agwy.js → location-mutation-6ke73fs2.js} +6 -6
- package/dist/chunks/{generate-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-yqar7kj7.js → location-mutation-6vvrnehs.js} +11 -11
- package/dist/chunks/{generate-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{generate-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-6f9y8hff.js → location-mutation-7e1bvrsk.js} +1 -1
- package/dist/chunks/{generate-8n3jwev3.js → location-mutation-7e5rzgxf.js} +11 -11
- package/dist/chunks/{generate-c7y5nz0h.js → location-mutation-7gva2pts.js} +17 -17
- package/dist/chunks/{generate-vej037r9.js → location-mutation-7m8c3q74.js} +4 -4
- package/dist/chunks/{generate-d2t1ewjp.js → location-mutation-7mhjftdb.js} +9 -9
- package/dist/chunks/{generate-3dd05w7p.js → location-mutation-7nzveyhj.js} +12 -12
- package/dist/chunks/{generate-3fqwgmhf.js → location-mutation-7ya38ysx.js} +13 -13
- package/dist/chunks/{generate-6qqtbadc.js → location-mutation-80b6wfjj.js} +18 -18
- package/dist/chunks/{generate-sqvy6n39.js → location-mutation-815wrfbm.js} +25 -25
- package/dist/chunks/{generate-s45b13rg.js → location-mutation-88qpb1n8.js} +70 -70
- package/dist/chunks/{generate-tcezcvh9.js → location-mutation-89znhe33.js} +4 -4
- package/dist/chunks/{generate-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-snxqqawc.js → location-mutation-8e3ny38k.js} +11 -11
- package/dist/chunks/{generate-w6904abx.js → location-mutation-8f273139.js} +18 -18
- package/dist/chunks/{generate-2f04pwep.js → location-mutation-8jmaqybk.js} +3 -3
- package/dist/chunks/{generate-0zzb6e4a.js → location-mutation-8pzg6v7t.js} +42 -42
- package/dist/chunks/{generate-p6bpmqk9.js → location-mutation-8qty0qvy.js} +11 -11
- package/dist/chunks/{generate-znk0r93t.js → location-mutation-8r4nttq3.js} +6 -6
- package/dist/chunks/{generate-1qezbnxe.js → location-mutation-991adpxw.js} +10 -10
- package/dist/chunks/{generate-kz8df0x3.js → location-mutation-9crvh15q.js} +157 -157
- package/dist/chunks/{generate-7p797550.js → location-mutation-9cwx2qq2.js} +6 -6
- package/dist/chunks/{generate-fntg193g.js → location-mutation-9dpgmzkp.js} +52 -52
- package/dist/chunks/{generate-zhnshq9c.js → location-mutation-9dr1d21p.js} +19 -19
- package/dist/chunks/{generate-cknds85b.js → location-mutation-9g677v9k.js} +20 -20
- package/dist/chunks/{generate-x10gc1af.js → location-mutation-9hzkewnw.js} +6 -6
- package/dist/chunks/{generate-50kfk4rp.js → location-mutation-9t7rey2x.js} +34 -34
- package/dist/chunks/{generate-cd6ptskk.js → location-mutation-9vh0xv9k.js} +12 -12
- package/dist/chunks/{generate-a77201cw.js → location-mutation-9wpp4qkq.js} +9 -9
- package/dist/chunks/{generate-2xfe5qwb.js → location-mutation-9xs8eafc.js} +10 -10
- package/dist/chunks/{generate-zwf0y1k1.js → location-mutation-9y4dtwwe.js} +32 -32
- package/dist/chunks/{generate-rcap56wv.js → location-mutation-9yy46e9h.js} +22 -22
- package/dist/chunks/{generate-magykp64.js → location-mutation-a8bn8zg0.js} +4 -4
- package/dist/chunks/{generate-ep6z9mt6.js → location-mutation-a8zr1srk.js} +8 -8
- package/dist/chunks/{generate-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-2hyh68ab.js → location-mutation-asmz7wyz.js} +8 -8
- package/dist/chunks/{generate-k94sgdxv.js → location-mutation-awwf17r5.js} +17 -17
- package/dist/chunks/{generate-cwkg32z7.js → location-mutation-b0gyf9vc.js} +4 -4
- package/dist/chunks/{generate-mznknh9a.js → location-mutation-b3m8y7fw.js} +10 -10
- package/dist/chunks/{generate-r7w3sbwp.js → location-mutation-b5tszv4t.js} +45 -45
- package/dist/chunks/{generate-7ybm1f9d.js → location-mutation-b680kg0w.js} +4 -4
- package/dist/chunks/{generate-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-esj243wz.js → location-mutation-b8b3f19r.js} +9 -9
- package/dist/chunks/{generate-bjkv1hdp.js → location-mutation-bag71raj.js} +1 -1
- package/dist/chunks/{generate-d4pcbfc2.js → location-mutation-bcchdtc8.js} +2 -2
- package/dist/chunks/{generate-e6hmchc5.js → location-mutation-bgxcxs0p.js} +5 -5
- package/dist/chunks/{generate-08xvefmx.js → location-mutation-bjjaf6h3.js} +2 -2
- package/dist/chunks/{generate-y33ajj4x.js → location-mutation-bp3nbpyy.js} +9 -9
- package/dist/chunks/{generate-76awjvz1.js → location-mutation-c2hdypq2.js} +44 -44
- package/dist/chunks/{generate-am3ejsbr.js → location-mutation-c2wv1h81.js} +18 -18
- package/dist/chunks/{generate-hy86y6ky.js → location-mutation-c5kz6cb9.js} +22 -22
- package/dist/chunks/{generate-4drgpw32.js → location-mutation-ce5fknq2.js} +5 -5
- package/dist/chunks/{generate-37qnb1a0.js → location-mutation-d0vprv21.js} +19 -19
- package/dist/chunks/{generate-btvmhe1w.js → location-mutation-d6yjvz69.js} +13 -13
- package/dist/chunks/{generate-eraanh1f.js → location-mutation-da6kr1wx.js} +6 -6
- package/dist/chunks/{generate-16c77kcq.js → location-mutation-dakxr3zj.js} +20 -20
- package/dist/chunks/{generate-0bes2rj4.js → location-mutation-ddfvfgr5.js} +13 -13
- package/dist/chunks/{generate-8p4f9s12.js → location-mutation-dj2t23y0.js} +2 -2
- package/dist/chunks/{generate-nss8rsah.js → location-mutation-dje3rcjr.js} +10 -10
- package/dist/chunks/{generate-psckrajw.js → location-mutation-dnez8hye.js} +15 -15
- package/dist/chunks/{generate-y71avatq.js → location-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{generate-bndc73cn.js → location-mutation-e5nv3ght.js} +5 -5
- package/dist/chunks/{generate-j1k42z14.js → location-mutation-e5vf2yjr.js} +3 -3
- package/dist/chunks/{generate-h0rjc7hp.js → location-mutation-e7e8y1ky.js} +10 -10
- package/dist/chunks/{generate-eaj1djv9.js → location-mutation-eaj1djv9.js} +1 -1
- package/dist/chunks/{generate-bjn91642.js → location-mutation-ec8389mk.js} +4 -4
- package/dist/chunks/{generate-ef5x83kb.js → location-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-dj9sq318.js → location-mutation-evbgk2k8.js} +5 -5
- package/dist/chunks/{generate-p37avawd.js → location-mutation-evpy5n40.js} +30 -30
- package/dist/chunks/{generate-yy0bersf.js → location-mutation-ex8kq2v7.js} +20 -20
- package/dist/chunks/{generate-vfnexndp.js → location-mutation-f2vpx28r.js} +6 -6
- package/dist/chunks/{generate-00rza3cb.js → location-mutation-f54cegwv.js} +22 -22
- package/dist/chunks/{generate-aqfcjpct.js → location-mutation-f6tv3dcg.js} +4 -4
- package/dist/chunks/{generate-7r6j96x8.js → location-mutation-fa296df8.js} +17 -17
- package/dist/chunks/{generate-wtnysg9m.js → location-mutation-fch0ybxp.js} +5 -5
- package/dist/chunks/{generate-3x5jgmm4.js → location-mutation-ff2c04x9.js} +22 -22
- package/dist/chunks/{generate-vch9w268.js → location-mutation-fkz7kqqw.js} +3 -3
- package/dist/chunks/{generate-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{generate-p4we2g2j.js → location-mutation-g2a77rc6.js} +9 -9
- package/dist/chunks/{generate-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-m2b5h28j.js → location-mutation-gjxh85d2.js} +7 -7
- package/dist/chunks/{generate-bha4atvq.js → location-mutation-gnx4ytbv.js} +4 -4
- package/dist/chunks/{generate-bp49gp0s.js → location-mutation-gpmhysdr.js} +16 -16
- package/dist/chunks/{generate-th5km1p3.js → location-mutation-gv6a8nnw.js} +5 -5
- package/dist/chunks/{generate-xx7xr3bh.js → location-mutation-gvkr32sm.js} +11 -11
- package/dist/chunks/{generate-sjmtbwe8.js → location-mutation-gxby4g3a.js} +15 -15
- package/dist/chunks/{generate-e9bv773h.js → location-mutation-gy168q6x.js} +46 -46
- package/dist/chunks/{generate-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{generate-fg4htv37.js → location-mutation-h20t8dyw.js} +21 -21
- package/dist/chunks/{generate-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-yg8tzxp7.js → location-mutation-h8rhc7ek.js} +10 -10
- package/dist/chunks/{generate-y0h0ync2.js → location-mutation-h92revz2.js} +17 -17
- package/dist/chunks/{generate-m37xfvad.js → location-mutation-h98q3byq.js} +26 -26
- package/dist/chunks/{generate-f828m53h.js → location-mutation-hdnk95c8.js} +2 -2
- package/dist/chunks/{generate-nhy5jxhy.js → location-mutation-hjt4xg1x.js} +4 -4
- package/dist/chunks/{generate-7pvxdgd3.js → location-mutation-htdjehga.js} +5 -5
- package/dist/chunks/{generate-9ag79664.js → location-mutation-hvk5xsqp.js} +17 -17
- package/dist/chunks/{generate-ye75azwm.js → location-mutation-hwv6vseg.js} +12 -12
- package/dist/chunks/{generate-m97kazgs.js → location-mutation-hxqfyb45.js} +30 -30
- package/dist/chunks/{generate-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-efy70ew4.js → location-mutation-j74twt0h.js} +9 -9
- package/dist/chunks/{generate-x0e6qwje.js → location-mutation-j7t2khjb.js} +12 -12
- package/dist/chunks/{generate-9n2nj1bj.js → location-mutation-ja1xcwp3.js} +15 -15
- package/dist/chunks/{generate-1wys6wms.js → location-mutation-jhedgnzy.js} +25 -25
- package/dist/chunks/{generate-y7wana11.js → location-mutation-jn3f7qw2.js} +2 -2
- package/dist/chunks/{generate-bd774qr3.js → location-mutation-jrez9bt2.js} +55 -55
- package/dist/chunks/{generate-n9a29wxm.js → location-mutation-k90zhb3s.js} +11 -11
- package/dist/chunks/{generate-2kqh0ztw.js → location-mutation-kc2097vx.js} +17 -17
- package/dist/chunks/location-mutation-kdmgr5sj.js +247 -0
- package/dist/chunks/{generate-bfaa1j0f.js → location-mutation-ke3vvp4f.js} +10 -10
- package/dist/chunks/{generate-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{generate-r9jh7s6f.js → location-mutation-khq5kjz4.js} +14 -14
- package/dist/chunks/{generate-c4he4ws2.js → location-mutation-kqa0r5sn.js} +6 -6
- package/dist/chunks/{generate-g5hnschj.js → location-mutation-kqfctymf.js} +17 -17
- package/dist/chunks/{generate-tx792pd3.js → location-mutation-kqwfgj52.js} +5 -5
- package/dist/chunks/{generate-0n8ns8gx.js → location-mutation-kzqzbsxm.js} +10 -10
- package/dist/chunks/{generate-cfpkc3c9.js → location-mutation-m0jqrx5p.js} +2 -2
- package/dist/chunks/{generate-m70sbz6t.js → location-mutation-m70sbz6t.js} +1 -1
- package/dist/chunks/{generate-xekzrwwc.js → location-mutation-m86bnw2c.js} +9 -9
- package/dist/chunks/{generate-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-5nayf2hz.js → location-mutation-mghg7cty.js} +20 -20
- package/dist/chunks/{generate-whrq6171.js → location-mutation-mhzs7n75.js} +47 -47
- package/dist/chunks/{generate-sdvhpjr9.js → location-mutation-msdrtnms.js} +32 -32
- package/dist/chunks/{generate-dq61m4ak.js → location-mutation-mtx8mv5z.js} +1 -1
- package/dist/chunks/{generate-ngr3dbwj.js → location-mutation-n0wka7ja.js} +9 -9
- package/dist/chunks/{generate-91nn3y69.js → location-mutation-n50y82zv.js} +7 -7
- package/dist/chunks/{generate-a9q879s9.js → location-mutation-n7mc5hy8.js} +24 -24
- package/dist/chunks/{generate-nhpb30s9.js → location-mutation-nb2qn4aw.js} +36 -36
- package/dist/chunks/{generate-q178qezn.js → location-mutation-nne8fdvx.js} +6 -6
- package/dist/chunks/{generate-7gvwkz6m.js → location-mutation-p44d8wdy.js} +5 -5
- package/dist/chunks/{generate-c7y10hhw.js → location-mutation-p5xdx7w2.js} +11 -11
- package/dist/chunks/{generate-hr5bc81f.js → location-mutation-p84dsdfh.js} +5 -5
- package/dist/chunks/{generate-7wce90dj.js → location-mutation-pa2zc025.js} +4 -4
- package/dist/chunks/{generate-7g5fcwbq.js → location-mutation-pdfv92ph.js} +34 -34
- package/dist/chunks/{generate-v7e79jg1.js → location-mutation-phbna07t.js} +22 -22
- package/dist/chunks/{generate-81swgkk7.js → location-mutation-pjmw00w1.js} +5 -5
- package/dist/chunks/{generate-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{generate-rmapgh8g.js → location-mutation-pw70zahd.js} +22 -22
- package/dist/chunks/{generate-mb8sdv6y.js → location-mutation-qaqj213q.js} +32 -32
- package/dist/chunks/{generate-nrcfyptd.js → location-mutation-qjktcxyk.js} +17 -17
- package/dist/chunks/{generate-k6yvpnmg.js → location-mutation-qmz8kt15.js} +17 -17
- package/dist/chunks/{generate-j8k25my2.js → location-mutation-qnb52jpt.js} +12 -12
- package/dist/chunks/{generate-9ffm2vsk.js → location-mutation-qq9e9akn.js} +12 -12
- package/dist/chunks/{generate-v26dmcdy.js → location-mutation-qqhb2q1v.js} +14 -14
- package/dist/chunks/{generate-g8cc633c.js → location-mutation-qqvme7mb.js} +45 -45
- package/dist/chunks/{generate-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-fmc8few3.js → location-mutation-qydwa3j3.js} +24 -24
- package/dist/chunks/{generate-4d8bqxce.js → location-mutation-r068f4ga.js} +15 -15
- package/dist/chunks/{generate-rkq934e2.js → location-mutation-r18tg6pv.js} +18 -18
- package/dist/chunks/{generate-fq9xr2c7.js → location-mutation-r4ym21ta.js} +15 -15
- package/dist/chunks/{generate-mvfsc1pv.js → location-mutation-r5x6zcsm.js} +3 -3
- package/dist/chunks/{generate-jz915pxj.js → location-mutation-r5ym3zkw.js} +9 -9
- package/dist/chunks/{generate-xmwtbrer.js → location-mutation-r7v7n0q1.js} +4 -4
- package/dist/chunks/{generate-r9mregkx.js → location-mutation-r9mregkx.js} +2 -2
- package/dist/chunks/{generate-6t8hmcr4.js → location-mutation-rbw46qxe.js} +11 -11
- package/dist/chunks/{generate-02b4kzbq.js → location-mutation-rxnnh61v.js} +4 -4
- package/dist/chunks/{generate-y587sa4j.js → location-mutation-s56af38f.js} +7 -7
- package/dist/chunks/{generate-hatn0rtw.js → location-mutation-sav8qy04.js} +4 -4
- package/dist/chunks/{generate-yqfnpkff.js → location-mutation-sn9sey1d.js} +32 -32
- package/dist/chunks/{generate-xa31kddj.js → location-mutation-snh2jweh.js} +13 -13
- package/dist/chunks/{generate-f5k1bfnh.js → location-mutation-sx4f6nnd.js} +49 -49
- package/dist/chunks/{generate-kpq4kzcn.js → location-mutation-syebw0mx.js} +24 -24
- package/dist/chunks/{generate-3w8fp492.js → location-mutation-t43nxr9h.js} +37 -37
- package/dist/chunks/{generate-hsh8wwzp.js → location-mutation-t5qf6yxf.js} +18 -18
- package/dist/chunks/{generate-fm2qvscf.js → location-mutation-t6vsspdg.js} +7 -7
- package/dist/chunks/{generate-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{generate-cyaz419g.js → location-mutation-temb443g.js} +3 -3
- package/dist/chunks/{generate-k5qasypg.js → location-mutation-tjmjmaym.js} +32 -32
- package/dist/chunks/{generate-b0j5wwjs.js → location-mutation-tk9x6nx7.js} +18 -18
- package/dist/chunks/{generate-hb0vn0db.js → location-mutation-trfzv36a.js} +25 -25
- package/dist/chunks/{generate-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-knzt4y7a.js → location-mutation-twdr0p5e.js} +9 -9
- package/dist/chunks/{generate-g3n6es57.js → location-mutation-twy35tz0.js} +9 -9
- package/dist/chunks/{generate-fbbsfk4x.js → location-mutation-vdx2x999.js} +21 -21
- package/dist/chunks/{generate-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-cjq82wfa.js → location-mutation-vphpv5r9.js} +11 -11
- package/dist/chunks/{generate-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-s5p5f75z.js → location-mutation-vzd3y0c8.js} +11 -11
- package/dist/chunks/{generate-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-56mz75yv.js → location-mutation-w4zeqeps.js} +1 -1
- package/dist/chunks/{generate-4nyc7g3g.js → location-mutation-w7n8xfgp.js} +24 -24
- package/dist/chunks/{generate-87pnyk16.js → location-mutation-wbeh8r34.js} +23 -23
- package/dist/chunks/{generate-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{generate-xcpgzh2v.js → location-mutation-we0mahnh.js} +37 -37
- package/dist/chunks/{generate-h8c9t6tg.js → location-mutation-wh0mmyb5.js} +11 -11
- package/dist/chunks/{generate-yg4n1b3c.js → location-mutation-wpv223g8.js} +22 -22
- package/dist/chunks/{generate-z7m2s2v7.js → location-mutation-wre8mv9j.js} +20 -20
- package/dist/chunks/{generate-gxyd59xe.js → location-mutation-wwcr5a4d.js} +11 -11
- package/dist/chunks/{generate-v7qghhq8.js → location-mutation-wx9jezy1.js} +8 -8
- package/dist/chunks/{generate-s8610hey.js → location-mutation-x0600czv.js} +2 -2
- package/dist/chunks/{generate-62en8r1m.js → location-mutation-x0mhhfm8.js} +14 -14
- package/dist/chunks/{generate-htd8zck5.js → location-mutation-x0tkz7jk.js} +12 -12
- package/dist/chunks/{generate-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-kx9vnwq1.js → location-mutation-x345bdrr.js} +5 -5
- package/dist/chunks/{generate-n66sm98c.js → location-mutation-x353b1jt.js} +8 -8
- package/dist/chunks/{generate-bkmwhnwd.js → location-mutation-x7g9d3zv.js} +7 -7
- package/dist/chunks/{generate-8ak0x4nb.js → location-mutation-x9zceq2p.js} +15 -15
- package/dist/chunks/{generate-rfbpjv35.js → location-mutation-x9zgzv2n.js} +14 -14
- package/dist/chunks/{generate-4dpyenvm.js → location-mutation-xcajxnnr.js} +31 -31
- package/dist/chunks/{generate-f8epy2bg.js → location-mutation-xwkzxbnt.js} +8 -8
- package/dist/chunks/{generate-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-24j5m5j2.js → location-mutation-y67kaqwv.js} +25 -25
- package/dist/chunks/{generate-a1z932ek.js → location-mutation-yn3yb8ha.js} +8 -8
- package/dist/chunks/{generate-f2n192rq.js → location-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{generate-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-yrznvahk.js → location-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/location-mutation-yv3k7813.js +466 -0
- package/dist/chunks/{generate-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-z63w68vq.js → location-mutation-z63w68vq.js} +2 -2
- package/dist/chunks/{generate-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-8vhgkqm3.js → location-mutation-zs8px5ah.js} +1 -1
- package/dist/chunks/{generate-dvmmef1m.js → location-mutation-ztw74p43.js} +15 -15
- package/dist/chunks/{generate-e1ffenq0.js → location-mutation-zxch8dwb.js} +26 -26
- package/dist/chunks/{generate-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- 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 +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 +359 -359
- 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 +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 +91 -91
- 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 +219 -219
- 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 +86 -86
- package/dist/generate.js +90 -90
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- 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-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +353 -353
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +93 -95
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +126 -126
- 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 +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- 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/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- 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/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +223 -223
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- 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 +131 -131
- package/dist/session/context.js +149 -149
- 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 +214 -214
- package/dist/session/execution.js +122 -122
- 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 +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- 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 +1 -1
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +134 -134
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +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 +104 -104
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +210 -210
- 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 +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +9 -9
- package/dist/types/mcp/client.d.ts +1 -1
- package/dist/types/mcp/index.d.ts +1 -0
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- 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 +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/generate-4v7qdvcn.js +0 -18
- package/dist/chunks/generate-hxyh9mjp.js +0 -247
- package/dist/chunks/generate-pgc5v9v9.js +0 -466
- package/dist/chunks/generate-qapv375x.js +0 -4
- package/dist/chunks/generate-w4wj1qng.js +0 -26
- /package/dist/chunks/{generate-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-paphc93g.js → location-mutation-paphc93g.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → location-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-1hkx1n6e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./location-mutation-x0mhhfm8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID4
|
|
11
|
+
} from "./location-mutation-6kdq0pjd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service56,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node60
|
|
16
|
+
} from "./location-mutation-ja1xcwp3.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event4,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info3,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service16,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node20
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event4 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info3 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID4
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID4
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service16 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service75;
|
|
63
|
+
const shell = yield* Service56;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID4.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service16.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node20 = makeLocationNode({
|
|
274
|
+
service: Service16,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84,
|
|
276
|
+
deps: [node84, node80, node60]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service16, node20, exports_pty, Event4 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-e5vf2yjr.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mutation-1hkx1n6e.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-5c0f1prt.js";
|
|
21
21
|
import {
|
|
22
22
|
load3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-37aqwf9n.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-mutation-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-mutation-0zaj8p07.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-mutation-hxqfyb45.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./location-mutation-r7v7n0q1.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-mutation-26s8145v.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-mutation-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./location-mutation-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service10,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer7,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node13,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -296,7 +296,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
296
296
|
};
|
|
297
297
|
var hasSummarySection = (summary) => summary.split(`
|
|
298
298
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
299
|
-
var layer7 = Layer.effect(
|
|
299
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
300
300
|
const bus = yield* Service79;
|
|
301
301
|
const llm = yield* LLMClient.Service;
|
|
302
302
|
const db = (yield* Service80).db;
|
|
@@ -605,7 +605,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
605
605
|
}
|
|
606
606
|
}));
|
|
607
607
|
});
|
|
608
|
-
return
|
|
608
|
+
return Service10.of({
|
|
609
609
|
transform: state.transform,
|
|
610
610
|
reload: state.reload,
|
|
611
611
|
enabled: () => state.get().auto,
|
|
@@ -614,10 +614,10 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
614
614
|
compactManual
|
|
615
615
|
});
|
|
616
616
|
}));
|
|
617
|
-
var
|
|
618
|
-
service:
|
|
617
|
+
var node13 = makeLocationNode({
|
|
618
|
+
service: Service10,
|
|
619
619
|
layer: layer7,
|
|
620
620
|
deps: [node84, node85, llmClient2]
|
|
621
621
|
});
|
|
622
622
|
|
|
623
|
-
export {
|
|
623
|
+
export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node13, exports_compaction2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
12
|
+
Event: () => Event19,
|
|
13
13
|
ID: () => ID18,
|
|
14
14
|
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
@@ -22,10 +22,10 @@ var ID18 = Project.ID;
|
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
23
|
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event19 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export { ID18, Current3, Info33, UpdateInput4,
|
|
31
|
+
export { ID18, Current3, Info33, UpdateInput4, Event19, Vcs3, exports_schema };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-mutation-1hkx1n6e.js";
|
|
6
6
|
import {
|
|
7
7
|
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-mutation-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event20,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options10,
|
|
30
|
+
Service: () => Service78,
|
|
31
|
+
configured: () => configured11,
|
|
32
|
+
layer: () => layer25,
|
|
33
|
+
node: () => node83
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key4.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event20 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options10 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service78 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,7 +72,7 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event20.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make21({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service78.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured11(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service78,
|
|
110
|
+
layer: layer25(options),
|
|
111
111
|
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node83 = configured11();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event20, Options10, Service78, layer25, configured11, node83, exports_instruction_discovery };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./location-mutation-3k4j4gra.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mutation-1gg3p1ss.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service48
|
|
11
|
+
} from "./location-mutation-r4ym21ta.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service61
|
|
14
|
+
} from "./location-mutation-9dpgmzkp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service58
|
|
17
|
+
} from "./location-mutation-t5qf6yxf.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin31,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin31 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service58;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service69;
|
|
58
|
+
const formatter = yield* Service48;
|
|
59
|
+
const permission = yield* Service61;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output7, toModelContent6, Plugin31, exports_write };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-24cmjgf1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-1hkx1n6e.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service73
|
|
11
|
+
} from "./location-mutation-1y37nkr1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service71
|
|
16
|
+
} from "./location-mutation-2pwgvmd7.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./location-mutation-34y9ksvj.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-mutation-gjxh85d2.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID7.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service73;
|
|
57
|
+
const integrations = yield* Service71;
|
|
58
58
|
const bus = yield* Service79;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
178
178
|
model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
|
-
yield* bus.subscribe(
|
|
181
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
182
182
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
183
183
|
const token = envToken();
|
|
184
184
|
if (token)
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service44,
|
|
6
|
+
node47
|
|
7
|
+
} from "./location-mutation-qqvme7mb.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service43,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer15,
|
|
20
|
+
node: () => node46
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service43 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer15 = Layer.effect(Service43, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service44;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -63,12 +63,12 @@ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
63
63
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service43.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node46 = makeLocationNode({
|
|
69
|
+
service: Service43,
|
|
70
|
+
layer: layer15,
|
|
71
|
+
deps: [node47, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError2, Service43, layer15, node46, exports_generate2 };
|