@opencode-ai/core 0.0.0-dev-19123 → 0.0.0-dev-19127
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{location-services-86y9jrhy.js → worktree-07pb8kpb.js} +29 -29
- package/dist/chunks/{location-services-0e0xafbb.js → worktree-0e0xafbb.js} +2 -2
- package/dist/chunks/{location-services-tnjhdsge.js → worktree-0j3xhtmk.js} +11 -11
- package/dist/chunks/{location-services-az24jgzn.js → worktree-0p7j8w0y.js} +18 -18
- package/dist/chunks/{location-services-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0s9ayhjt.js → worktree-0s9ayhjt.js} +1 -1
- package/dist/chunks/{location-services-gyqz79xx.js → worktree-0smgnv34.js} +28 -28
- package/dist/chunks/{location-services-vncycja5.js → worktree-0v53mg2y.js} +4 -4
- package/dist/chunks/{location-services-1ct4r87x.js → worktree-1ct4r87x.js} +1 -1
- package/dist/chunks/{location-services-g8d3gcyj.js → worktree-1g7epwpd.js} +4 -4
- package/dist/chunks/{location-services-ym8n7jpx.js → worktree-1kgee81n.js} +22 -22
- package/dist/chunks/{location-services-xhtgrbvc.js → worktree-1w4xw7v2.js} +8 -8
- package/dist/chunks/{location-services-c0faa19c.js → worktree-1z80kc63.js} +4 -4
- package/dist/chunks/{location-services-s3eqpch7.js → worktree-20f0bv4c.js} +1 -1
- package/dist/chunks/{location-services-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-sy92nsfc.js → worktree-29ag4y59.js} +1 -1
- package/dist/chunks/{location-services-gxrn9h3d.js → worktree-29j5p4n1.js} +29 -29
- package/dist/chunks/{location-services-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-vfrvdtz3.js → worktree-2b5y26a6.js} +31 -31
- package/dist/chunks/{location-services-q3s1g42q.js → worktree-2fxazh8e.js} +7 -7
- package/dist/chunks/{location-services-0ekd4hek.js → worktree-2gbvb2bw.js} +29 -29
- package/dist/chunks/{location-services-2ht70gj7.js → worktree-2ht70gj7.js} +1 -1
- package/dist/chunks/{location-services-2jqmte8w.js → worktree-2jqmte8w.js} +2 -2
- package/dist/chunks/{location-services-r4shs0wn.js → worktree-2sj4fdt9.js} +13 -13
- package/dist/chunks/{location-services-eyb1z5ae.js → worktree-2y1298cj.js} +11 -11
- package/dist/chunks/{location-services-8d452593.js → worktree-2zas9gbe.js} +11 -11
- package/dist/chunks/{location-services-ht2yd5p4.js → worktree-31smg5a1.js} +25 -25
- package/dist/chunks/{location-services-sbq66r6g.js → worktree-3c8r10gh.js} +20 -20
- package/dist/chunks/{location-services-f1axbr6p.js → worktree-3dn5hj4c.js} +38 -38
- package/dist/chunks/{location-services-1d6e8fp6.js → worktree-3evspstc.js} +33 -33
- package/dist/chunks/{location-services-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3qzbfqsy.js → worktree-3qzbfqsy.js} +2 -2
- package/dist/chunks/{location-services-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-711hfp6y.js → worktree-3x6030n9.js} +2 -2
- package/dist/chunks/{location-services-9p3tsgpy.js → worktree-3zhxwkvq.js} +4 -4
- package/dist/chunks/{location-services-6cpax4a9.js → worktree-42p0v5ym.js} +11 -11
- package/dist/chunks/{location-services-454k5vzh.js → worktree-454k5vzh.js} +1 -1
- package/dist/chunks/{location-services-q9rc88k9.js → worktree-49vq2kar.js} +17 -17
- package/dist/chunks/{location-services-5rmhknbq.js → worktree-4bprzw4y.js} +14 -14
- package/dist/chunks/{location-services-jze0w19d.js → worktree-4g66vddf.js} +18 -18
- package/dist/chunks/{location-services-7d826drz.js → worktree-4mmznj6z.js} +16 -16
- package/dist/chunks/{location-services-4r2nyarf.js → worktree-4r2nyarf.js} +1 -1
- package/dist/chunks/{location-services-6f0pgdt6.js → worktree-4sn8tp63.js} +54 -54
- package/dist/chunks/{location-services-a75chk1r.js → worktree-4tmbv016.js} +5 -5
- package/dist/chunks/{location-services-x66mkz1z.js → worktree-4wfsa8nd.js} +28 -28
- package/dist/chunks/{location-services-yf5er8qd.js → worktree-4yv6mxgz.js} +13 -13
- package/dist/chunks/{location-services-mcxg6pmm.js → worktree-54pzd82t.js} +1 -1
- package/dist/chunks/{location-services-9175d0mz.js → worktree-5cvw65fn.js} +14 -14
- package/dist/chunks/{location-services-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-zkzsy6tz.js → worktree-5en164k9.js} +30 -30
- package/dist/chunks/{location-services-5fmxt4p5.js → worktree-5fmxt4p5.js} +1 -1
- package/dist/chunks/{location-services-5jvc5tg2.js → worktree-5jvc5tg2.js} +1 -1
- package/dist/chunks/{location-services-dx0wg0tz.js → worktree-5nma5gje.js} +86 -86
- package/dist/chunks/{location-services-558w0eyg.js → worktree-5nsa7yyd.js} +4 -4
- package/dist/chunks/{location-services-3rtc5zee.js → worktree-5wnwz8xt.js} +20 -20
- package/dist/chunks/{location-services-xtxq49pg.js → worktree-5xvmhwfz.js} +13 -13
- package/dist/chunks/{location-services-jd9eyjvc.js → worktree-69rwnehh.js} +41 -41
- package/dist/chunks/{location-services-9mwtsm6t.js → worktree-6et5ytx9.js} +15 -15
- package/dist/chunks/{location-services-ww8c32hp.js → worktree-6h5wf9jw.js} +5 -5
- package/dist/chunks/{location-services-2402vzrj.js → worktree-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-services-kctmjn4p.js → worktree-6hwsp9rp.js} +9 -9
- package/dist/chunks/{location-services-6tf8tr4v.js → worktree-6tf8tr4v.js} +2 -2
- package/dist/chunks/{location-services-9e45c1vq.js → worktree-6v7y7cpm.js} +17 -17
- package/dist/chunks/{location-services-6rd5cydf.js → worktree-6wghtbd2.js} +31 -31
- package/dist/chunks/{location-services-pa4f1x1m.js → worktree-6wj53xsq.js} +22 -22
- package/dist/chunks/{location-services-7wk8hpe3.js → worktree-72ba6k3m.js} +18 -18
- package/dist/chunks/{location-services-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-qnnvnzf3.js → worktree-7cp4ry1k.js} +41 -41
- package/dist/chunks/{location-services-w2vgcc2w.js → worktree-7d2aw3e3.js} +37 -37
- package/dist/chunks/{location-services-vpjfb8q2.js → worktree-7mytx01w.js} +16 -16
- package/dist/chunks/{location-services-xr8qdc97.js → worktree-7qj04hrz.js} +18 -18
- package/dist/chunks/{location-services-xazezp0p.js → worktree-7xxecjwg.js} +8 -8
- package/dist/chunks/{location-services-7yh4e7ss.js → worktree-7yh4e7ss.js} +1 -1
- package/dist/chunks/{location-services-k962g4j1.js → worktree-82fdsyf2.js} +13 -13
- package/dist/chunks/{location-services-q3mvmq3w.js → worktree-82x71rga.js} +8 -8
- package/dist/chunks/{location-services-rmy3e5eg.js → worktree-83qwmgqm.js} +3 -3
- package/dist/chunks/{location-services-nj1fe1jb.js → worktree-88nptzkr.js} +20 -20
- package/dist/chunks/{location-services-c9sjs92y.js → worktree-8wym8frv.js} +10 -10
- package/dist/chunks/{location-services-3cwf5791.js → worktree-8xgxcjcn.js} +11 -11
- package/dist/chunks/{location-services-dc2ndnks.js → worktree-9bw48xmn.js} +9 -9
- package/dist/chunks/{location-services-w7j7tazs.js → worktree-9f19bpvx.js} +11 -11
- package/dist/chunks/{location-services-k937cge0.js → worktree-9krmjq1n.js} +21 -21
- package/dist/chunks/{location-services-j9sb8mea.js → worktree-9mtsqb4m.js} +6 -6
- package/dist/chunks/{location-services-v594shb6.js → worktree-9nm8q0yy.js} +18 -18
- package/dist/chunks/{location-services-zj4hh745.js → worktree-9qp61pn5.js} +7 -7
- package/dist/chunks/{location-services-1m9gek0r.js → worktree-9xsj0av3.js} +15 -15
- package/dist/chunks/{location-services-0daqs9er.js → worktree-a4aqgtnw.js} +14 -14
- package/dist/chunks/{location-services-rvhss2m2.js → worktree-a615ws19.js} +4 -4
- package/dist/chunks/{location-services-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-2xa4mn5x.js → worktree-ajfqwzkq.js} +15 -15
- package/dist/chunks/{location-services-93aea81q.js → worktree-apj70vts.js} +24 -24
- package/dist/chunks/{location-services-j5208yae.js → worktree-awaee7qt.js} +6 -6
- package/dist/chunks/{location-services-y2e9289q.js → worktree-azf71mx9.js} +20 -20
- package/dist/chunks/{location-services-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-en3sh7px.js → worktree-b74frvq1.js} +19 -19
- package/dist/chunks/{location-services-93763nq9.js → worktree-b77can33.js} +20 -20
- package/dist/chunks/{location-services-b9wsbatv.js → worktree-b9wsbatv.js} +1 -1
- package/dist/chunks/{location-services-xexqb8q9.js → worktree-ba723ajb.js} +8 -8
- package/dist/chunks/{location-services-49qhf4cn.js → worktree-bd9qgwvn.js} +13 -13
- package/dist/chunks/{location-services-je9hks3h.js → worktree-bphmvjfp.js} +5 -5
- package/dist/chunks/{location-services-t7rtampj.js → worktree-bpnz08mb.js} +2 -2
- package/dist/chunks/{location-services-3jj6bjb6.js → worktree-br6sczns.js} +2 -2
- package/dist/chunks/{location-services-se8343fv.js → worktree-c0yt6e2w.js} +28 -28
- package/dist/chunks/{location-services-4z6b0fg6.js → worktree-c59j91nj.js} +8 -8
- package/dist/chunks/{location-services-1kvt7k90.js → worktree-cbg10t4h.js} +18 -18
- package/dist/chunks/worktree-d7f9w1x9.js +460 -0
- package/dist/chunks/{location-services-wcnr6rrh.js → worktree-dd7td6mt.js} +9 -9
- package/dist/chunks/{location-services-aa4x52zb.js → worktree-dhm81sme.js} +11 -11
- package/dist/chunks/{location-services-z3xgatyd.js → worktree-djtdz80w.js} +4 -4
- package/dist/chunks/{location-services-573b68qb.js → worktree-dy7eh092.js} +6 -6
- package/dist/chunks/{location-services-xre0f2nr.js → worktree-e582cycx.js} +33 -33
- package/dist/chunks/{location-services-pqvede48.js → worktree-e7htmvrr.js} +6 -6
- package/dist/chunks/{location-services-zn2pq4p8.js → worktree-eb218g19.js} +5 -5
- package/dist/chunks/{location-services-bxm0k6ts.js → worktree-ef2kmda9.js} +20 -20
- package/dist/chunks/{location-services-tmhmjagm.js → worktree-epeekzmq.js} +11 -11
- package/dist/chunks/{location-services-2ga4d33a.js → worktree-exz4m8c9.js} +15 -15
- package/dist/chunks/{location-services-ce044ptp.js → worktree-eyzja1cm.js} +2 -2
- package/dist/chunks/{location-services-5sg4xzjf.js → worktree-ez5b8bq3.js} +7 -7
- package/dist/chunks/{location-services-x24q2dv9.js → worktree-ezgsx3e1.js} +166 -166
- package/dist/chunks/worktree-f81tjggh.js +18 -0
- package/dist/chunks/{location-services-y15phd97.js → worktree-fcskq4rv.js} +25 -25
- package/dist/chunks/{location-services-s18jmqte.js → worktree-febnhwhd.js} +12 -12
- package/dist/chunks/{location-services-fgmsv21m.js → worktree-frw08ctd.js} +13 -13
- package/dist/chunks/{location-services-8xqt1c25.js → worktree-fvm8j7w5.js} +3 -3
- package/dist/chunks/{location-services-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-fxypknc8.js → worktree-fxypknc8.js} +1 -1
- package/dist/chunks/{location-services-8je8k5cb.js → worktree-fzdcx6zp.js} +4 -4
- package/dist/chunks/{location-services-y0wtxgtq.js → worktree-fzw7m29h.js} +22 -22
- package/dist/chunks/{location-services-g2dy4bvs.js → worktree-g2dy4bvs.js} +3 -3
- package/dist/chunks/{location-services-g2gt0w0k.js → worktree-g2gt0w0k.js} +2 -2
- package/dist/chunks/{location-services-fs6wj8at.js → worktree-g98nh968.js} +23 -23
- package/dist/chunks/{location-services-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-khfm06dd.js → worktree-gdr7j1bt.js} +12 -12
- package/dist/chunks/{location-services-954vm9zf.js → worktree-gnhsmmqn.js} +6 -6
- package/dist/chunks/{location-services-gjzxw37y.js → worktree-gnyxf41d.js} +39 -39
- package/dist/chunks/{location-services-db0m4wvs.js → worktree-gyhyqbn8.js} +13 -13
- package/dist/chunks/{location-services-kfgvrrfp.js → worktree-h0gzb6d0.js} +23 -23
- package/dist/chunks/{location-services-98nks7yx.js → worktree-h251kg4e.js} +4 -4
- package/dist/chunks/{location-services-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-heyhwy2w.js → worktree-heyhwy2w.js} +1 -1
- package/dist/chunks/{location-services-gya8g0qk.js → worktree-hfxzfzkh.js} +11 -11
- package/dist/chunks/{location-services-g95cjzen.js → worktree-hg85v50s.js} +12 -12
- package/dist/chunks/{location-services-y2cqme3r.js → worktree-hhpzk61m.js} +5 -5
- package/dist/chunks/{location-services-ya5ydtak.js → worktree-hphh1mqh.js} +6 -6
- package/dist/chunks/worktree-hseaz37p.js +22 -0
- package/dist/chunks/{location-services-kvsjn1dr.js → worktree-hw4pv20g.js} +2 -2
- package/dist/chunks/{location-services-phmx9zzk.js → worktree-hxj1ftsf.js} +41 -41
- package/dist/chunks/{location-services-69cg10bk.js → worktree-hzgckczr.js} +9 -9
- package/dist/chunks/{location-services-gvmqvecv.js → worktree-j13v3hhd.js} +32 -32
- package/dist/chunks/{location-services-5qd3pb7m.js → worktree-j935v87r.js} +2 -2
- package/dist/chunks/{location-services-z5837jq4.js → worktree-jeg1wzkm.js} +18 -18
- package/dist/chunks/{location-services-5wqhk4sp.js → worktree-jj24d615.js} +26 -26
- package/dist/chunks/{location-services-pfnbt8cc.js → worktree-jkfky8q3.js} +16 -16
- package/dist/chunks/{location-services-nnnj2wbt.js → worktree-jqnpg33r.js} +30 -30
- package/dist/chunks/{location-services-c76926jn.js → worktree-jsqeyfz7.js} +9 -9
- package/dist/chunks/{location-services-20s6b78b.js → worktree-jty6k06p.js} +19 -19
- package/dist/chunks/{location-services-jwcy2c2z.js → worktree-jwcy2c2z.js} +1 -1
- package/dist/chunks/worktree-k0zpnkm5.js +20 -0
- package/dist/chunks/{location-services-k4bwy1x5.js → worktree-k4bwy1x5.js} +1 -1
- package/dist/chunks/{location-services-e5b0qn1c.js → worktree-k53pxrhg.js} +1 -1
- package/dist/chunks/{location-services-g72d1q92.js → worktree-k8vjb6ay.js} +11 -11
- package/dist/chunks/{location-services-t95a6mym.js → worktree-k90gnkqs.js} +4 -4
- package/dist/chunks/{location-services-kg06axw8.js → worktree-kg06axw8.js} +1 -1
- package/dist/chunks/{location-services-kk3rr3qh.js → worktree-kk3rr3qh.js} +2 -2
- package/dist/chunks/{location-services-4k5rvnzr.js → worktree-krd9vv4w.js} +10 -10
- package/dist/chunks/{location-services-e5pek5sn.js → worktree-kwr684c7.js} +6 -6
- package/dist/chunks/{location-services-fvanntqq.js → worktree-kxpygcw9.js} +6 -6
- package/dist/chunks/{location-services-z2s7y4xn.js → worktree-m34jv9e9.js} +46 -46
- package/dist/chunks/{location-services-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-b7cxq2m5.js → worktree-mft52e9q.js} +26 -26
- package/dist/chunks/{location-services-x9qr1909.js → worktree-mfv0zw27.js} +9 -9
- package/dist/chunks/{location-services-5rw6je3s.js → worktree-mq9r6drf.js} +3 -3
- package/dist/chunks/{location-services-jyyqr7q3.js → worktree-mqsg15t4.js} +15 -15
- package/dist/chunks/{location-services-14hmenm3.js → worktree-myb2qgpw.js} +3 -3
- package/dist/chunks/{location-services-rjgrhwwz.js → worktree-mzfb76av.js} +4 -4
- package/dist/chunks/{location-services-m2pjqhxk.js → worktree-n2d5dyax.js} +15 -15
- package/dist/chunks/{location-services-c28brx2k.js → worktree-n6wnzfnt.js} +9 -9
- package/dist/chunks/{location-services-dedcm63c.js → worktree-n80g4jjh.js} +26 -26
- package/dist/chunks/{location-services-a4vmehse.js → worktree-nm4y4jx9.js} +23 -23
- package/dist/chunks/{location-services-ap8gxcbn.js → worktree-ntg8902r.js} +6 -6
- package/dist/chunks/{location-services-9ze5atdz.js → worktree-nyxcd74z.js} +68 -68
- package/dist/chunks/{location-services-2ame73pb.js → worktree-pgyxw42r.js} +14 -14
- package/dist/chunks/{location-services-5291er17.js → worktree-pjsjk0s1.js} +11 -11
- package/dist/chunks/{location-services-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-g41n1fn3.js → worktree-pqzyja0k.js} +5 -5
- package/dist/chunks/{location-services-01w7s3hf.js → worktree-pr6tbts8.js} +5 -5
- package/dist/chunks/{location-services-m8dnhwdf.js → worktree-qgddfhsy.js} +7 -7
- package/dist/chunks/{location-services-0jwsre1p.js → worktree-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-services-nfs5s19p.js → worktree-qjzby3tx.js} +9 -9
- package/dist/chunks/{location-services-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-qvbcabdc.js → worktree-qvbcabdc.js} +2 -2
- package/dist/chunks/{location-services-hnxfn165.js → worktree-r0cn25ny.js} +20 -20
- package/dist/chunks/{location-services-6hydcyp0.js → worktree-r55jhpps.js} +5 -5
- package/dist/chunks/{location-services-86s3977f.js → worktree-r7e2cpvk.js} +1 -1
- package/dist/chunks/{location-services-r8dhm0tv.js → worktree-r8dhm0tv.js} +1 -1
- package/dist/chunks/{location-services-bexxahbt.js → worktree-r91pxxze.js} +25 -25
- package/dist/chunks/{location-services-n1xadze2.js → worktree-rcb0pfh8.js} +11 -11
- package/dist/chunks/{location-services-994b2pxg.js → worktree-rkdvqggb.js} +5 -5
- package/dist/chunks/{location-services-v2pza5zk.js → worktree-rpstmqvz.js} +8 -8
- package/dist/chunks/{location-services-hcd9bceq.js → worktree-rwbxfc60.js} +21 -21
- package/dist/chunks/{location-services-rxzgqjy1.js → worktree-s03q2w7f.js} +3 -3
- package/dist/chunks/{location-services-3sa4xpcp.js → worktree-s2w33hsx.js} +4 -4
- package/dist/chunks/{location-services-3vy7bm5p.js → worktree-s2wbz7a7.js} +26 -26
- package/dist/chunks/{location-services-tp6caa3d.js → worktree-s5cfj0pf.js} +8 -8
- package/dist/chunks/{location-services-6abnk40k.js → worktree-saak5ttd.js} +6 -6
- package/dist/chunks/{location-services-sba4qhjf.js → worktree-sba4qhjf.js} +1 -1
- package/dist/chunks/{location-services-30r17csp.js → worktree-sgacr2dd.js} +60 -60
- package/dist/chunks/{location-services-vqkewy85.js → worktree-sh04z0x8.js} +22 -22
- package/dist/chunks/{location-services-xqsy6kp0.js → worktree-shyhwj25.js} +1 -1
- package/dist/chunks/{location-services-3ts7rm59.js → worktree-srfnnwat.js} +11 -11
- package/dist/chunks/{location-services-mnqcpvp4.js → worktree-ss4w76s2.js} +26 -26
- package/dist/chunks/{location-services-knktnvd5.js → worktree-st20w98z.js} +4 -4
- package/dist/chunks/{location-services-hqrrhmbp.js → worktree-sxnj6n1b.js} +34 -34
- package/dist/chunks/{location-services-wze2vh4b.js → worktree-t00n1yfv.js} +8 -8
- package/dist/chunks/{location-services-tk228e24.js → worktree-t0cpcaxt.js} +86 -86
- package/dist/chunks/{location-services-d674kx35.js → worktree-t5kq9q4y.js} +11 -11
- package/dist/chunks/{location-services-m372t30b.js → worktree-t9t9eb9x.js} +46 -46
- package/dist/chunks/{location-services-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-czqdcwjb.js → worktree-tbvm2gay.js} +17 -17
- package/dist/chunks/{location-services-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-gs4rkss0.js → worktree-tewwsmf9.js} +10 -10
- package/dist/chunks/{location-services-9d3b2ydm.js → worktree-tj2g3x9x.js} +7 -7
- package/dist/chunks/{location-services-tjykrgmx.js → worktree-tjykrgmx.js} +1 -1
- package/dist/chunks/{location-services-7y22fjrf.js → worktree-tm94gj6d.js} +10 -10
- package/dist/chunks/worktree-tm9s3pka.js +247 -0
- package/dist/chunks/{location-services-820xmye9.js → worktree-tnpmdmt2.js} +30 -30
- package/dist/chunks/{location-services-1n116cmy.js → worktree-tynz9yxk.js} +9 -9
- package/dist/chunks/{location-services-0dv7911r.js → worktree-tz4n1mmd.js} +4 -4
- package/dist/chunks/{location-services-fvt5q22p.js → worktree-v158ax8c.js} +6 -6
- package/dist/chunks/{location-services-zmchtb2v.js → worktree-v6wn4dt1.js} +8 -8
- package/dist/chunks/{location-services-rj5w3mtz.js → worktree-vamyydt3.js} +4 -4
- package/dist/chunks/{location-services-86dyhxqj.js → worktree-vdmevm33.js} +30 -30
- package/dist/chunks/{location-services-045f1zrn.js → worktree-vh266f02.js} +11 -11
- package/dist/chunks/{location-services-w4600456.js → worktree-vkarzygt.js} +4 -4
- package/dist/chunks/{location-services-k4vvhz10.js → worktree-vp8eg2he.js} +14 -14
- package/dist/chunks/{location-services-s2vs8x71.js → worktree-vxw1g7qw.js} +44 -44
- package/dist/chunks/{location-services-menvx3m9.js → worktree-vz7byqd3.js} +21 -21
- package/dist/chunks/{location-services-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-p4671y1g.js → worktree-w3z549hn.js} +20 -20
- package/dist/chunks/{location-services-146cyary.js → worktree-w55dqc6b.js} +10 -10
- package/dist/chunks/{location-services-398r99hg.js → worktree-wa9tkh6m.js} +30 -30
- package/dist/chunks/{location-services-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-x00g5gps.js → worktree-wjdvdpz4.js} +9 -9
- package/dist/chunks/{location-services-d41v0vs9.js → worktree-wr2vm9k3.js} +22 -22
- package/dist/chunks/{location-services-kpgzv4p9.js → worktree-wravm57r.js} +13 -13
- package/dist/chunks/{location-services-2fw09n55.js → worktree-wxq0g3qc.js} +10 -10
- package/dist/chunks/{location-services-dns6mj49.js → worktree-wyzw6x1k.js} +9 -9
- package/dist/chunks/{location-services-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-fecdhfha.js → worktree-x2fn5dq9.js} +7 -7
- package/dist/chunks/{location-services-p0w949fe.js → worktree-x91beaw4.js} +6 -6
- package/dist/chunks/{location-services-5sb2nwk1.js → worktree-xcetmb4w.js} +15 -15
- package/dist/chunks/{location-services-k0ya8bme.js → worktree-xdga9zy9.js} +6 -6
- package/dist/chunks/{location-services-7zxx2843.js → worktree-xgdpqty1.js} +24 -24
- package/dist/chunks/{location-services-0ez61b8c.js → worktree-xk9th9bm.js} +2 -2
- package/dist/chunks/{location-services-v60ecprk.js → worktree-xp0tb8fr.js} +7 -7
- package/dist/chunks/{location-services-ck91x8tz.js → worktree-xt6nb02x.js} +36 -36
- package/dist/chunks/{location-services-k0ngpa4t.js → worktree-xv1e9wvn.js} +36 -36
- package/dist/chunks/{location-services-5gk8tmgr.js → worktree-xwqf5sbd.js} +26 -26
- package/dist/chunks/{location-services-qvwjc6yp.js → worktree-y1a5hjjj.js} +11 -11
- package/dist/chunks/{location-services-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-hmnf0bp1.js → worktree-y6jq1b5t.js} +5 -5
- package/dist/chunks/{location-services-nzyds8rb.js → worktree-ye0j7x52.js} +18 -18
- package/dist/chunks/{location-services-0tsnwgcr.js → worktree-yfvcbk6c.js} +31 -31
- package/dist/chunks/{location-services-yg7sb877.js → worktree-yg7sb877.js} +2 -2
- package/dist/chunks/{location-services-vsr56sgz.js → worktree-yzx6gkfj.js} +3 -3
- package/dist/chunks/{location-services-z1k01bn4.js → worktree-z1k01bn4.js} +2 -2
- package/dist/chunks/{location-services-dc0m9nfq.js → worktree-z41eree1.js} +20 -20
- package/dist/chunks/{location-services-29x78va6.js → worktree-z63w68vq.js} +6 -6
- package/dist/chunks/{location-services-n57ezdmm.js → worktree-ze98nq0k.js} +15 -15
- package/dist/chunks/{location-services-6k54eer5.js → worktree-zk7yqhr9.js} +43 -43
- package/dist/chunks/{location-services-j0ezphm2.js → worktree-zmajwbkt.js} +20 -20
- package/dist/chunks/{location-services-xbpts9sh.js → worktree-zsjprd1g.js} +9 -9
- package/dist/chunks/{location-services-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +114 -114
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +84 -84
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +7 -7
- 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 +86 -86
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +113 -113
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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 +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +336 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/location-services-3evw0qr2.js +0 -18
- package/dist/chunks/location-services-61zbbsb0.js +0 -20
- package/dist/chunks/location-services-ah3vh4fp.js +0 -460
- package/dist/chunks/location-services-gr1309v5.js +0 -22
- package/dist/chunks/location-services-vm9h7nn7.js +0 -247
- /package/dist/chunks/{location-services-0fabt78z.js → worktree-0fabt78z.js} +0 -0
- /package/dist/chunks/{location-services-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t738kvx.js → worktree-3t738kvx.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-41nvscxy.js → worktree-41nvscxy.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-7zk4hah4.js → worktree-7zk4hah4.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-982e01ww.js → worktree-982e01ww.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a1tpkmh4.js → worktree-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mntxs535.js → worktree-mntxs535.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-p8qxwesx.js → worktree-p8qxwesx.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-se0s1eqw.js → worktree-se0s1eqw.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x1b8g1yb.js → worktree-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → worktree-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-services-zbjnn3ac.js → worktree-zbjnn3ac.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./worktree-8xgxcjcn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-6h73sxmp.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-p8qxwesx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service46,
|
|
17
|
+
node49
|
|
18
|
+
} from "./worktree-9krmjq1n.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event6,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info6,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service38,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node42
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode-ai/schema/reference";
|
|
41
41
|
import { Global } from "@opencode-ai/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event6 } from "@opencode-ai/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info6 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service38 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service46;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info6.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info6.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service38.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node42 = makeLocationNode({
|
|
116
|
+
service: Service38,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node84, node49]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info6, Service38, node42, exports_reference2, Event6 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node67
|
|
5
|
+
} from "./worktree-pjsjk0s1.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node79
|
|
9
|
+
} from "./worktree-t00n1yfv.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-sgacr2dd.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-4bprzw4y.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error5
|
|
18
|
+
} from "./worktree-xgdpqty1.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service33,
|
|
21
|
+
node37
|
|
22
|
+
} from "./worktree-t5kq9q4y.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
make12
|
|
25
|
+
} from "./worktree-vkarzygt.js";
|
|
26
26
|
import {
|
|
27
27
|
toLLMMessages2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-zbjnn3ac.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/model-request.ts
|
|
34
34
|
var exports_model_request = {};
|
|
35
35
|
__export(exports_model_request, {
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service32,
|
|
37
37
|
SessionModelRequest: () => exports_model_request,
|
|
38
38
|
baseTranscript: () => baseTranscript2,
|
|
39
39
|
boundImages: () => boundImages2,
|
|
40
|
-
layer: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
layer: () => layer13,
|
|
41
|
+
node: () => node36,
|
|
42
42
|
unsupportedParts: () => unsupportedParts2
|
|
43
43
|
});
|
|
44
44
|
import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
|
|
@@ -58,7 +58,7 @@ var baseTranscript2 = (input) => {
|
|
|
58
58
|
return {
|
|
59
59
|
providerMetadataKey,
|
|
60
60
|
system: [
|
|
61
|
-
input.agent.system ? input.agent.system :
|
|
61
|
+
input.agent.system ? input.agent.system : make12(input.tools.definitions.map((tool) => tool.name)),
|
|
62
62
|
input.initial
|
|
63
63
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
64
64
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -185,11 +185,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
|
|
|
185
185
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
186
186
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
|
|
187
187
|
|
|
188
|
-
class
|
|
188
|
+
class Service32 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
189
189
|
}
|
|
190
|
-
var
|
|
191
|
-
const hooks = yield*
|
|
192
|
-
const transport = yield*
|
|
190
|
+
var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
191
|
+
const hooks = yield* Service74;
|
|
192
|
+
const transport = yield* Service33;
|
|
193
193
|
const app = yield* Metadata2;
|
|
194
194
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
195
195
|
const session = input.scope.session;
|
|
@@ -197,7 +197,7 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
197
197
|
const model = resolved.model;
|
|
198
198
|
const tools = input.scope.tools ?? {
|
|
199
199
|
definitions: [],
|
|
200
|
-
execute: () => new
|
|
200
|
+
execute: () => new Error5({ message: "Tools are not available for this request" })
|
|
201
201
|
};
|
|
202
202
|
const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
|
|
203
203
|
const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
|
|
@@ -254,12 +254,12 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
254
254
|
executeTool
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
|
-
return
|
|
257
|
+
return Service32.of({ prepare });
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer:
|
|
262
|
-
deps: [
|
|
259
|
+
var node36 = makeLocationNode({
|
|
260
|
+
service: Service32,
|
|
261
|
+
layer: layer13,
|
|
262
|
+
deps: [node79, node37, node67]
|
|
263
263
|
});
|
|
264
264
|
|
|
265
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
265
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service32, layer13, node36, exports_model_request };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-6hwsp9rp.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
DiffError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-b74frvq1.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/vcs/git.ts
|
|
19
19
|
var exports_git = {};
|
|
20
20
|
__export(exports_git, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin17,
|
|
22
22
|
VcsGitPlugin: () => exports_git
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
25
25
|
import { Effect } from "effect";
|
|
26
26
|
import { ChildProcess } from "effect/unstable/process";
|
|
27
27
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
28
|
-
var
|
|
28
|
+
var Plugin17 = define({
|
|
29
29
|
id: "opencode.vcs.git",
|
|
30
30
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
31
31
|
const location = yield* Service76;
|
|
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
467
467
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
468
468
|
});
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { Plugin17, exports_git };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service76
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-6hwsp9rp.js";
|
|
7
7
|
import {
|
|
8
8
|
externalDirectoryPermission2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service18
|
|
10
|
+
} from "./worktree-5cvw65fn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service70
|
|
13
|
+
} from "./worktree-sgacr2dd.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service9
|
|
16
|
+
} from "./worktree-72ba6k3m.js";
|
|
17
17
|
import {
|
|
18
18
|
NotFound2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-2a5m3afh.js";
|
|
20
20
|
import {
|
|
21
21
|
MEDIA_MIMES2,
|
|
22
22
|
BinaryFileError2,
|
|
@@ -27,26 +27,26 @@ import {
|
|
|
27
27
|
FileContent2,
|
|
28
28
|
TextPage2,
|
|
29
29
|
ListPage2,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service5
|
|
31
|
+
} from "./worktree-mqsg15t4.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/read.ts
|
|
37
37
|
var exports_read = {};
|
|
38
38
|
__export(exports_read, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input2,
|
|
40
|
+
Plugin: () => Plugin3,
|
|
41
41
|
ReadTool: () => exports_read,
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { basename, dirname, join } from "path";
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
49
|
-
var
|
|
49
|
+
var name2 = "read";
|
|
50
50
|
var FILENAME = "AGENTS.md";
|
|
51
51
|
var LocationInput = Schema.Struct({
|
|
52
52
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
|
|
|
57
57
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
58
58
|
})
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input2 = LocationInput;
|
|
61
61
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
62
|
-
var
|
|
62
|
+
var Plugin3 = {
|
|
63
63
|
id: "opencode.tool.read",
|
|
64
64
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
65
|
-
const reader = yield*
|
|
66
|
-
const mutation = yield*
|
|
67
|
-
const permission = yield*
|
|
68
|
-
const sessionInstructions = yield*
|
|
65
|
+
const reader = yield* Service5;
|
|
66
|
+
const mutation = yield* Service18;
|
|
67
|
+
const permission = yield* Service70;
|
|
68
|
+
const sessionInstructions = yield* Service9;
|
|
69
69
|
const fs = yield* FSUtil.Service;
|
|
70
70
|
const location = yield* Service76;
|
|
71
71
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
72
|
-
name:
|
|
72
|
+
name: name2,
|
|
73
73
|
options: { codemode: false },
|
|
74
74
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
75
|
-
input:
|
|
75
|
+
input: Input2,
|
|
76
76
|
output: Output,
|
|
77
77
|
execute: (input, context) => {
|
|
78
78
|
return Effect.gen(function* () {
|
|
@@ -90,7 +90,7 @@ var Plugin28 = {
|
|
|
90
90
|
source
|
|
91
91
|
});
|
|
92
92
|
yield* permission.assert({
|
|
93
|
-
action:
|
|
93
|
+
action: name2,
|
|
94
94
|
resources: [target.resource],
|
|
95
95
|
save: ["*"],
|
|
96
96
|
sessionID: context.sessionID,
|
|
@@ -141,7 +141,7 @@ var Plugin28 = {
|
|
|
141
141
|
return { output: result.content, path: result.path };
|
|
142
142
|
}).pipe(Effect.map((result) => ({
|
|
143
143
|
output: result.output,
|
|
144
|
-
content:
|
|
144
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
145
145
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
146
146
|
})), Effect.mapError((error) => {
|
|
147
147
|
if (error instanceof ToolFailure)
|
|
@@ -173,7 +173,7 @@ ${suggestions.join(`
|
|
|
173
173
|
});
|
|
174
174
|
})
|
|
175
175
|
};
|
|
176
|
-
var
|
|
176
|
+
var toModelContent2 = (path, offset, output) => {
|
|
177
177
|
if (output.type === "file" && output.encoding === "base64")
|
|
178
178
|
return [
|
|
179
179
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -208,4 +208,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
208
208
|
`);
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { name2, Input2, Plugin3, toModelContent2, exports_read };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service51,
|
|
6
|
+
node54
|
|
7
|
+
} from "./worktree-1kgee81n.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node18,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode-ai/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service15 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service51;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service15.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node18 = makeLocationNode({ service: Service15, layer, deps: [node54] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service15, readText2, syncTextBom2, node18, exports_file_mutation };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-c59j91nj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service52,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node55
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID11,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service52 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service52.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node55 = makeLocationNode({ service: Service52, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service52, locationLayer2, node55, exports_aisdk };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-8xgxcjcn.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event12
|
|
7
|
+
} from "./worktree-07pb8kpb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID7,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-r91pxxze.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID11,
|
|
14
14
|
aisdk2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-c59j91nj.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/provider/opencode.ts
|
|
20
20
|
import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
44
44
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
45
45
|
function oauth(http) {
|
|
46
46
|
return {
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID7.make("opencode"),
|
|
48
48
|
method: {
|
|
49
49
|
id: methodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -112,7 +112,7 @@ var OpencodePlugin2 = define({
|
|
|
112
112
|
catalog.provider.update(providerID, (provider) => {
|
|
113
113
|
if (source && source.provider !== provider)
|
|
114
114
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
115
|
-
provider.integrationID =
|
|
115
|
+
provider.integrationID = ID7.make("opencode");
|
|
116
116
|
if (item.canonical !== undefined)
|
|
117
117
|
provider.canonical = item.canonical;
|
|
118
118
|
if (item.name !== undefined)
|
|
@@ -175,7 +175,7 @@ var OpencodePlugin2 = define({
|
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
const item = catalog.provider.get(
|
|
178
|
+
const item = catalog.provider.get(ID11.opencode);
|
|
179
179
|
if (!item)
|
|
180
180
|
return;
|
|
181
181
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
|
|
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
|
|
|
196
196
|
}
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
202
|
function fetchProviders(http, value) {
|