@opencode/core 0.0.0-dev-20650 → 0.0.0-dev-20654
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-services-z8rw9kn4.js → app-01b47qtp.js} +7 -7
- package/dist/chunks/{location-services-vmd3sd6p.js → app-09erbt4s.js} +18 -18
- package/dist/chunks/{location-services-0t7w7e1z.js → app-0mekpjct.js} +37 -37
- package/dist/chunks/{location-services-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-wvws9fm3.js → app-0rw9nv2q.js} +8 -8
- package/dist/chunks/{location-services-f6ngde2n.js → app-0s3chswr.js} +27 -27
- package/dist/chunks/{location-services-0vbcp93d.js → app-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-services-j59bqac0.js → app-0xfrdwvr.js} +36 -36
- package/dist/chunks/{location-services-hjbndmcs.js → app-0xw58msr.js} +7 -7
- package/dist/chunks/{location-services-085tpkqt.js → app-0zyqvhq9.js} +10 -10
- package/dist/chunks/{location-services-2486f0gc.js → app-10bgj2qs.js} +52 -52
- package/dist/chunks/{location-services-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-jkjj242p.js → app-1kr92pjq.js} +26 -26
- package/dist/chunks/{location-services-g6yfr6ja.js → app-1pxz8ven.js} +5 -5
- package/dist/chunks/{location-services-rzwydysx.js → app-1yb457c1.js} +28 -28
- package/dist/chunks/{location-services-cyw6svx6.js → app-21fbcwms.js} +10 -10
- package/dist/chunks/{location-services-c6wv61cx.js → app-26sz20hb.js} +11 -11
- package/dist/chunks/{location-services-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-kkk3xdpb.js → app-2e853yyk.js} +38 -38
- package/dist/chunks/{location-services-6tg9txw5.js → app-2r6s1han.js} +5 -5
- package/dist/chunks/{location-services-x7ytz0vq.js → app-2za1r32n.js} +18 -18
- package/dist/chunks/{location-services-56gdpj1q.js → app-33w4ejhs.js} +6 -6
- package/dist/chunks/{location-services-1nzp712d.js → app-354wsgxx.js} +35 -35
- package/dist/chunks/{location-services-kn3avxvj.js → app-37eb9j4g.js} +13 -13
- package/dist/chunks/{location-services-g00c25k7.js → app-38225d31.js} +18 -18
- package/dist/chunks/{location-services-q479fbf4.js → app-39rxwxkd.js} +17 -17
- package/dist/chunks/{location-services-3cegwx68.js → app-3cegwx68.js} +2 -2
- package/dist/chunks/{location-services-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3ss9g85e.js → app-3fxa2vs0.js} +46 -46
- package/dist/chunks/{location-services-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-s3h11364.js → app-3jrsp1yh.js} +47 -47
- package/dist/chunks/{location-services-yt3hy1g9.js → app-3qaj82j9.js} +5 -5
- package/dist/chunks/{location-services-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-3zbwexce.js → app-3zbwexce.js} +3 -3
- package/dist/chunks/{location-services-3zsf4n22.js → app-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-cbkmvndh.js → app-4dnhnsrw.js} +17 -17
- package/dist/chunks/{location-services-fwbcrs20.js → app-4fvakk57.js} +1 -1
- package/dist/chunks/{location-services-jb2g91f3.js → app-4qt3dk25.js} +12 -12
- package/dist/chunks/{location-services-zxga9rac.js → app-4tp5hkr9.js} +22 -22
- package/dist/chunks/{location-services-4ts7tf6z.js → app-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-services-vfgsn3pb.js → app-4xfpc9x8.js} +38 -38
- package/dist/chunks/{location-services-54ma36ye.js → app-54ma36ye.js} +1 -1
- package/dist/chunks/{location-services-psf10pda.js → app-553hyqc1.js} +21 -21
- package/dist/chunks/{location-services-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-gk7ynedz.js → app-5fnmkqwj.js} +11 -11
- package/dist/chunks/{location-services-3atax22v.js → app-5jrta31j.js} +41 -41
- package/dist/chunks/{location-services-gfwyksye.js → app-5ktf0rcf.js} +22 -22
- package/dist/chunks/{location-services-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-jcs5e93a.js → app-5ms2rpmc.js} +2 -2
- package/dist/chunks/{location-services-waec0c3j.js → app-5ntmp6zc.js} +24 -24
- package/dist/chunks/{location-services-6qw1qkre.js → app-5nvyfvs2.js} +11 -11
- package/dist/chunks/{location-services-001b00fp.js → app-5p8ngbgk.js} +91 -91
- package/dist/chunks/{location-services-mb14aw74.js → app-5pyjqqve.js} +2 -2
- package/dist/chunks/{location-services-gy6z8b7d.js → app-5qjwke21.js} +24 -24
- package/dist/chunks/{location-services-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-a20mmbrw.js → app-6cz210g8.js} +5 -5
- package/dist/chunks/{location-services-v5hevtyx.js → app-6e5ndhjv.js} +4 -4
- package/dist/chunks/{location-services-j5kyfhbh.js → app-6fnv26db.js} +15 -15
- package/dist/chunks/{location-services-16e73rhv.js → app-6q6gqmwq.js} +4 -4
- package/dist/chunks/{location-services-ynmx16w6.js → app-6r04yh88.js} +4 -4
- package/dist/chunks/{location-services-14r5wq43.js → app-6t3bxbt1.js} +20 -20
- package/dist/chunks/{location-services-6xb47vfp.js → app-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-services-0a1e8d3s.js → app-6ydeeanc.js} +7 -7
- package/dist/chunks/{location-services-3a4786ab.js → app-77237k3k.js} +23 -23
- package/dist/chunks/{location-services-8yh9yfq0.js → app-77svsnty.js} +10 -10
- package/dist/chunks/{location-services-ambyqp62.js → app-77y1s1rs.js} +11 -11
- package/dist/chunks/{location-services-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-fcrkznn8.js → app-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-services-cm8pqatr.js → app-7ht5hy0j.js} +38 -38
- package/dist/chunks/{location-services-cx8ek9kt.js → app-7mnw5w78.js} +5 -5
- package/dist/chunks/{location-services-x7hmwq28.js → app-7zet489v.js} +32 -32
- package/dist/chunks/{location-services-1y283654.js → app-80scg3y3.js} +4 -4
- package/dist/chunks/{location-services-84h8c373.js → app-84h8c373.js} +2 -2
- package/dist/chunks/{location-services-w1eejvng.js → app-84txncab.js} +5 -5
- package/dist/chunks/{location-services-ara0ca5b.js → app-85gpctef.js} +7 -7
- package/dist/chunks/{location-services-v1qd983m.js → app-89znh5jn.js} +27 -27
- package/dist/chunks/{location-services-srq8z0b0.js → app-8a6ws7jr.js} +9 -9
- package/dist/chunks/{location-services-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-8sze2n9a.js → app-8sze2n9a.js} +2 -2
- package/dist/chunks/{location-services-was7srj9.js → app-8tt02aa5.js} +5 -5
- package/dist/chunks/{location-services-z07zh9w3.js → app-92pqdpde.js} +18 -18
- package/dist/chunks/app-95tmncnd.js +253 -0
- package/dist/chunks/{location-services-smha7wt5.js → app-977n1gvn.js} +3 -3
- package/dist/chunks/{location-services-0ekp7bk0.js → app-9a3kc0hm.js} +15 -15
- package/dist/chunks/{location-services-41g1yh39.js → app-9h8mrsf7.js} +18 -18
- package/dist/chunks/{location-services-47jkzegy.js → app-9hwaqfsw.js} +5 -5
- package/dist/chunks/{location-services-r33djvem.js → app-9pkbw0h1.js} +18 -18
- package/dist/chunks/{location-services-rhjbct0v.js → app-9t7a50xb.js} +4 -4
- package/dist/chunks/{location-services-jxkc3myh.js → app-a19614zv.js} +24 -24
- package/dist/chunks/{location-services-r5x6zcsm.js → app-a1gpj94z.js} +3 -3
- package/dist/chunks/{location-services-ns3eape4.js → app-a4ae1mqs.js} +1 -1
- package/dist/chunks/{location-services-ds99stjk.js → app-a6rrmb2t.js} +7 -7
- package/dist/chunks/{location-services-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-zrq8kphx.js → app-at1kfnmk.js} +8 -8
- package/dist/chunks/{location-services-s7yezqte.js → app-awezfaj7.js} +44 -44
- package/dist/chunks/{location-services-51khb7z6.js → app-awqkms3h.js} +9 -9
- package/dist/chunks/{location-services-z4swa18j.js → app-b1hb30m9.js} +9 -9
- package/dist/chunks/{location-services-sgn5w1sc.js → app-b2ckxg46.js} +14 -14
- package/dist/chunks/{location-services-zacf2nwq.js → app-b5c9dynj.js} +10 -10
- package/dist/chunks/{location-services-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-thrv5kr1.js → app-b7zw3vx0.js} +28 -28
- package/dist/chunks/{location-services-xzv6qj2m.js → app-bbqm5gby.js} +24 -24
- package/dist/chunks/{location-services-4dygtpfc.js → app-bf8fwsb9.js} +5 -5
- package/dist/chunks/{location-services-kaa3dmqg.js → app-bha5yh8f.js} +18 -18
- package/dist/chunks/{location-services-2p1kqprv.js → app-bkh2zg02.js} +4 -4
- package/dist/chunks/{location-services-x53k8vh3.js → app-bpdcdgy4.js} +22 -22
- package/dist/chunks/{location-services-ngyrtr94.js → app-bsprd9wx.js} +3 -3
- package/dist/chunks/{location-services-zg3msdzq.js → app-bx2wmar1.js} +15 -15
- package/dist/chunks/{location-services-3m50rrjg.js → app-bz46fwta.js} +24 -24
- package/dist/chunks/{location-services-ywpk00n5.js → app-c4e8pskq.js} +11 -11
- package/dist/chunks/{location-services-p3cjk3f5.js → app-c4ejyagw.js} +22 -22
- package/dist/chunks/{location-services-cavr175a.js → app-cavr175a.js} +1 -1
- package/dist/chunks/{location-services-607px8n0.js → app-ccv5fkkn.js} +9 -9
- package/dist/chunks/{location-services-ef7m5ry9.js → app-cgmwwjnd.js} +8 -8
- package/dist/chunks/{location-services-vwpcpzep.js → app-ctz7jbry.js} +8 -8
- package/dist/chunks/{location-services-n1n192bv.js → app-d2czbp48.js} +4 -4
- package/dist/chunks/{location-services-rcw89xq3.js → app-d4q7zemf.js} +22 -22
- package/dist/chunks/{location-services-zdtpkxz5.js → app-derpzkc9.js} +19 -19
- package/dist/chunks/{location-services-t7n9q6bq.js → app-dhmh7aw6.js} +4 -4
- package/dist/chunks/{location-services-xkntkrq7.js → app-dmqcgk4z.js} +5 -5
- package/dist/chunks/{location-services-nxm207yx.js → app-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-services-3b9qt4hj.js → app-dzw83ac5.js} +9 -9
- package/dist/chunks/{location-services-f210znyg.js → app-e1as76v8.js} +41 -41
- package/dist/chunks/{location-services-2b32xhw2.js → app-e1bn0v82.js} +3 -3
- package/dist/chunks/{location-services-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-g0ahba55.js → app-eg4w172k.js} +4 -4
- package/dist/chunks/{location-services-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-4ax7xn0r.js → app-ev618wrn.js} +5 -5
- package/dist/chunks/{location-services-pshwgvdq.js → app-ex71f260.js} +26 -26
- package/dist/chunks/{location-services-2h1dy14m.js → app-f26q4c2q.js} +18 -18
- package/dist/chunks/{location-services-ghz6dcrw.js → app-f59ep6tb.js} +11 -11
- package/dist/chunks/{location-services-f75zav2x.js → app-f75zav2x.js} +2 -2
- package/dist/chunks/{location-services-jegrxnf3.js → app-fgawfjx8.js} +6 -6
- package/dist/chunks/{location-services-33beq0ma.js → app-fgb4ey1w.js} +4 -4
- package/dist/chunks/{location-services-v0es1rhs.js → app-fpecnkgp.js} +9 -9
- package/dist/chunks/{location-services-wfctfrf2.js → app-frtrentt.js} +5 -5
- package/dist/chunks/{location-services-72d0mfn3.js → app-g35x6qc6.js} +19 -19
- package/dist/chunks/{location-services-yk982qs6.js → app-gcabepm0.js} +7 -7
- package/dist/chunks/{location-services-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-3a91dp8a.js → app-gey4pgq5.js} +3 -3
- package/dist/chunks/{location-services-4ajkbp3f.js → app-gy3hfqwa.js} +9 -9
- package/dist/chunks/{location-services-4fag9mqx.js → app-h3d1wmv7.js} +30 -30
- package/dist/chunks/{location-services-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-gj5tgtsk.js → app-h7fgzsk1.js} +13 -13
- package/dist/chunks/{location-services-m91sy8b7.js → app-h7v41q2b.js} +5 -5
- package/dist/chunks/{location-services-n68t0apf.js → app-hrtswde4.js} +16 -16
- package/dist/chunks/app-ht5y0zrb.js +18 -0
- package/dist/chunks/{location-services-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-gv7x5wm3.js → app-j6z9wjgn.js} +22 -22
- package/dist/chunks/{location-services-50s4shqd.js → app-j9kaagt3.js} +29 -29
- package/dist/chunks/{location-services-kt67x2pe.js → app-jb7afjsg.js} +6 -6
- package/dist/chunks/{location-services-6bykwcaq.js → app-jhdanssh.js} +44 -44
- package/dist/chunks/{location-services-mx1p25e3.js → app-jhs71wy2.js} +23 -23
- package/dist/chunks/{location-services-9ykrx1qq.js → app-jzz42hqp.js} +9 -9
- package/dist/chunks/{location-services-ftjf86m5.js → app-jzzy94zk.js} +9 -9
- package/dist/chunks/{location-services-wz6j5yqf.js → app-k0j6xj92.js} +81 -81
- package/dist/chunks/{location-services-r3q6pmcz.js → app-k0nnq3t9.js} +6 -6
- package/dist/chunks/{location-services-8c63zdcr.js → app-k6pmx2m2.js} +32 -32
- package/dist/chunks/{location-services-kb9j3d72.js → app-kb9j3d72.js} +3 -3
- package/dist/chunks/{location-services-ampgcpe6.js → app-kermnw9y.js} +30 -30
- package/dist/chunks/{location-services-t01ewf6t.js → app-kgdwkpsf.js} +11 -11
- package/dist/chunks/{location-services-tpty64js.js → app-m1ay94aq.js} +16 -16
- package/dist/chunks/{location-services-7bwwwg4f.js → app-m1mdr3t4.js} +38 -38
- package/dist/chunks/{location-services-4maebaja.js → app-m2dbveed.js} +13 -13
- package/dist/chunks/{location-services-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-6mncfa04.js → app-m4y7kpay.js} +13 -13
- package/dist/chunks/{location-services-jan553tg.js → app-m500pqbj.js} +182 -182
- package/dist/chunks/{location-services-nt3x6kk1.js → app-m6cy21rm.js} +16 -16
- package/dist/chunks/{location-services-bd0g7wdn.js → app-m6r7asx4.js} +19 -19
- package/dist/chunks/{location-services-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-24vj1m2f.js → app-mterk9bb.js} +15 -15
- package/dist/chunks/{location-services-3mt2dy6d.js → app-myrb3mwv.js} +16 -16
- package/dist/chunks/{location-services-wj9bqc1j.js → app-nda7119r.js} +27 -27
- package/dist/chunks/{location-services-9jbn959z.js → app-nj11v1kf.js} +50 -50
- package/dist/chunks/{location-services-2vhq75nc.js → app-nj38n445.js} +22 -22
- package/dist/chunks/{location-services-gcst2knj.js → app-np17306k.js} +8 -8
- package/dist/chunks/{location-services-e2v8ft38.js → app-nx45m9pa.js} +11 -11
- package/dist/chunks/{location-services-vrsc6b4y.js → app-nxh69913.js} +8 -8
- package/dist/chunks/{location-services-e2tbx933.js → app-nzxj697k.js} +6 -6
- package/dist/chunks/{location-services-vrc04fwg.js → app-p3c1m468.js} +14 -14
- package/dist/chunks/{location-services-sjs9ezqr.js → app-p944wxep.js} +44 -44
- package/dist/chunks/{location-services-dfsz33p3.js → app-pec8ewpc.js} +19 -19
- package/dist/chunks/{location-services-ssew6xnx.js → app-pengrcv5.js} +5 -5
- package/dist/chunks/{location-services-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-2p5y98w0.js → app-pkxfpd18.js} +6 -6
- package/dist/chunks/{location-services-fb9bde3m.js → app-pn4m98w3.js} +30 -30
- package/dist/chunks/{location-services-j12as4v5.js → app-pq2931dk.js} +23 -23
- package/dist/chunks/{location-services-q0xm7vwc.js → app-q0xm7vwc.js} +2 -2
- package/dist/chunks/app-q5hzqnd5.js +507 -0
- package/dist/chunks/{location-services-t2fc4mz5.js → app-qa3qhgw8.js} +4 -4
- package/dist/chunks/{location-services-cwwzrss4.js → app-qadcnyv9.js} +6 -6
- package/dist/chunks/{location-services-bexxj179.js → app-qcj1qarq.js} +35 -35
- package/dist/chunks/{location-services-vym6yw1t.js → app-qhyw2gmb.js} +13 -13
- package/dist/chunks/{location-services-gfzdj97b.js → app-qk10qjqd.js} +6 -6
- package/dist/chunks/{location-services-d4he2qe1.js → app-qmqgtz8f.js} +9 -9
- package/dist/chunks/{location-services-514hvnh9.js → app-qn9g45dx.js} +16 -16
- package/dist/chunks/{location-services-qnc92qwc.js → app-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-services-17yrvmpn.js → app-qncy8rqx.js} +35 -35
- package/dist/chunks/{location-services-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-1bk9khzn.js → app-qt4hgj4v.js} +25 -25
- package/dist/chunks/{location-services-qxjc9qry.js → app-qxjc9qry.js} +3 -3
- package/dist/chunks/{location-services-sq42pm77.js → app-qyp7nx31.js} +28 -28
- package/dist/chunks/{location-services-vre0f3v3.js → app-qzgv83g8.js} +52 -52
- package/dist/chunks/{location-services-aa33dgcr.js → app-r1vnz2ze.js} +17 -17
- package/dist/chunks/{location-services-4cz0dkbb.js → app-r2751jnn.js} +65 -65
- package/dist/chunks/{location-services-hc5gcwsj.js → app-r2ens31f.js} +33 -33
- package/dist/chunks/{location-services-d1sprev3.js → app-r44petzp.js} +12 -12
- package/dist/chunks/{location-services-g5696t09.js → app-r71fb6ch.js} +9 -9
- package/dist/chunks/{location-services-xg7rec9w.js → app-r8bv4q06.js} +9 -9
- package/dist/chunks/{location-services-1acjjqhc.js → app-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-services-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-qpk58yzq.js → app-rehtxfbe.js} +1 -1
- package/dist/chunks/{location-services-m7ztr8b1.js → app-rm6wvaj8.js} +18 -18
- package/dist/chunks/{location-services-thg5jy7b.js → app-rvxgx5k2.js} +22 -22
- package/dist/chunks/{location-services-jx32pc59.js → app-s8r1bxm7.js} +15 -15
- package/dist/chunks/{location-services-hdkng2sj.js → app-scgrse2b.js} +5 -5
- package/dist/chunks/{location-services-7b0ws6vd.js → app-smzkt4h8.js} +25 -25
- package/dist/chunks/{location-services-j01q2zrr.js → app-sw35smzz.js} +11 -11
- package/dist/chunks/{location-services-4htcxagg.js → app-t9bwbksh.js} +16 -16
- package/dist/chunks/{location-services-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tcay1cqt.js → app-tcay1cqt.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-kxz2jsw3.js → app-tmkqb4m5.js} +23 -23
- package/dist/chunks/{location-services-pa8pe2x7.js → app-tpw6cwsb.js} +8 -8
- package/dist/chunks/{location-services-bss16c77.js → app-tx3h7197.js} +4 -4
- package/dist/chunks/{location-services-2a49rb13.js → app-tx92n959.js} +4 -4
- package/dist/chunks/{location-services-9a8g5ab0.js → app-vd3r3z5p.js} +3 -3
- package/dist/chunks/{location-services-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-j8m1p4p1.js → app-vfjhn2wd.js} +4 -4
- package/dist/chunks/{location-services-9r937kg5.js → app-vhg3kvj9.js} +42 -42
- package/dist/chunks/{location-services-0ft2m84j.js → app-vjmj34bj.js} +11 -11
- package/dist/chunks/{location-services-h9wapceb.js → app-vm93y64s.js} +23 -23
- package/dist/chunks/{location-services-tvm9nqz9.js → app-vqmv0wny.js} +15 -15
- package/dist/chunks/{location-services-71s3sq4y.js → app-vs90824y.js} +22 -22
- package/dist/chunks/{location-services-c2sed5cq.js → app-vx3jgdek.js} +3 -3
- package/dist/chunks/{location-services-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-g2r84ert.js → app-w8v7x0t4.js} +26 -26
- package/dist/chunks/{location-services-pc2ca7gw.js → app-wcy74va6.js} +15 -15
- package/dist/chunks/{location-services-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-6c7yw9pm.js → app-wdy45rw8.js} +8 -8
- package/dist/chunks/{location-services-csfhn2wr.js → app-ws6r9wxd.js} +48 -48
- package/dist/chunks/{location-services-re7zz5fm.js → app-x1w9s84m.js} +20 -20
- package/dist/chunks/{location-services-j4rr3b6f.js → app-x4dkc3v3.js} +11 -11
- package/dist/chunks/{location-services-a16hf74s.js → app-x5paqj6j.js} +21 -21
- package/dist/chunks/{location-services-x661k3y3.js → app-x661k3y3.js} +1 -1
- package/dist/chunks/app-x82s002v.js +26 -0
- package/dist/chunks/{location-services-0sw34p9e.js → app-x8esnxbb.js} +3 -3
- package/dist/chunks/{location-services-nnyt92w2.js → app-xb3m1p56.js} +17 -17
- package/dist/chunks/{location-services-vzx68d5n.js → app-xbvv70jj.js} +5 -5
- package/dist/chunks/{location-services-n6svg889.js → app-xc71fexb.js} +18 -18
- package/dist/chunks/{location-services-xfkkasph.js → app-xfkkasph.js} +1 -1
- package/dist/chunks/{location-services-5rmxkhg6.js → app-xq7hn9w5.js} +5 -5
- package/dist/chunks/{location-services-y8shr9gw.js → app-xwwz1fcf.js} +33 -33
- package/dist/chunks/{location-services-0arksaxe.js → app-xxa9zwx6.js} +22 -22
- package/dist/chunks/{location-services-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-4fwcrk1h.js → app-y9rxzeem.js} +11 -11
- package/dist/chunks/{location-services-j54377ah.js → app-yb20yvhc.js} +13 -13
- package/dist/chunks/{location-services-qam4srmn.js → app-ye6d7t69.js} +29 -29
- package/dist/chunks/{location-services-bj4d9qfd.js → app-ye968f26.js} +29 -29
- package/dist/chunks/{location-services-5b7tqepp.js → app-yja0z1nt.js} +27 -27
- package/dist/chunks/{location-services-0dygnakk.js → app-ykt494b9.js} +4 -4
- package/dist/chunks/{location-services-qymnwkpy.js → app-yn6dgm22.js} +11 -11
- package/dist/chunks/{location-services-956t9e47.js → app-ynmespmv.js} +48 -48
- package/dist/chunks/{location-services-ezx0c3nt.js → app-yrzy80wg.js} +14 -14
- package/dist/chunks/{location-services-bxpjjjkj.js → app-ywe4gqtj.js} +5 -5
- package/dist/chunks/{location-services-ne96ewy3.js → app-yxmqamfs.js} +23 -23
- package/dist/chunks/{location-services-727zjhnd.js → app-yz1dgv86.js} +4 -4
- package/dist/chunks/{location-services-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-nbdxm3p1.js → app-z0rw1ncf.js} +28 -28
- package/dist/chunks/{location-services-2sp9vt4c.js → app-z6pt0vvw.js} +3 -3
- package/dist/chunks/{location-services-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-d1r5081s.js → app-zw4pk1bw.js} +5 -5
- package/dist/chunks/{location-services-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +357 -357
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +350 -350
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- 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 +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- 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 +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-services-1yrx8st6.js +0 -507
- package/dist/chunks/location-services-8y9ejeyn.js +0 -26
- package/dist/chunks/location-services-hydj2j77.js +0 -253
- package/dist/chunks/location-services-jqh9b0xq.js +0 -18
- /package/dist/chunks/{location-services-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-34c7v6d4.js → app-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t0ybcrp.js → app-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID18
|
|
3
|
+
} from "./app-bz46fwta.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Info12
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-3zbwexce.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-6r04yh88.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service58
|
|
16
|
+
} from "./app-p944wxep.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./app-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin44
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -44,10 +44,10 @@ var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
|
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin44 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service58;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin12 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID18.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID18.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin44, exports_agent2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info11,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info11 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info14 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info11, exports_provider2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service32,
|
|
3
|
+
node35
|
|
4
|
+
} from "./app-j9kaagt3.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make22,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9t7a50xb.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service21,
|
|
20
|
+
node: () => node24
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service21 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service32;
|
|
64
|
+
return Service21.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make22({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node24 = makeLocationNode({ service: Service21, layer, deps: [node35] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service21, node24, exports_instructions2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make22,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make22(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make22, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-01b47qtp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./app-qn9g45dx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./app-xwwz1fcf.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-x661k3y3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-5ntmp6zc.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service44
|
|
21
|
+
} from "./app-wdy45rw8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-1kr92pjq.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-r2ens31f.js";
|
|
30
30
|
import {
|
|
31
31
|
ID4,
|
|
32
|
-
|
|
32
|
+
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./app-jhs71wy2.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -99,7 +99,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
99
99
|
}
|
|
100
100
|
function oauth(http) {
|
|
101
101
|
return {
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID13.make("opencode"),
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -163,10 +163,10 @@ function oauth(http) {
|
|
|
163
163
|
var OpencodePlugin2 = define({
|
|
164
164
|
id: "opencode.provider.opencode",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const bus = yield*
|
|
166
|
+
const bus = yield* Service83;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service44;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -215,7 +215,7 @@ var OpencodePlugin2 = define({
|
|
|
215
215
|
providers.update(providerID, (provider) => {
|
|
216
216
|
if (source && source.provider !== provider)
|
|
217
217
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
218
|
-
provider.integrationID =
|
|
218
|
+
provider.integrationID = ID13.make("opencode");
|
|
219
219
|
if (item.canonical !== undefined)
|
|
220
220
|
provider.canonical = item.canonical;
|
|
221
221
|
if (item.name !== undefined)
|
|
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
|
|
|
281
281
|
sourceConnection: snapshot.connection
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
|
-
const item = providers.get(
|
|
284
|
+
const item = providers.get(ID12.opencode);
|
|
285
285
|
if (!item)
|
|
286
286
|
return;
|
|
287
287
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
yield* ctx.model.transform((models) => {
|
|
296
|
-
const item = models.provider.get(
|
|
296
|
+
const item = models.provider.get(ID12.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
|
|
|
327
327
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
328
328
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
329
329
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
330
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
330
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
331
331
|
query: input.query,
|
|
332
332
|
providerID: descriptor.providerID
|
|
333
333
|
}));
|
|
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
|
|
|
382
382
|
});
|
|
383
383
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
384
384
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
385
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
385
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
386
386
|
});
|
|
387
387
|
yield* guard(snapshot);
|
|
388
|
-
yield* bus.subscribe(
|
|
388
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
389
389
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
390
390
|
})
|
|
391
391
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make11(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make11 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./app-p944wxep.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin26,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin26 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service58;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin48 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin26, exports_warming };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service74,
|
|
10
|
+
node: () => node78
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service74 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service74.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service74, node78, exports_hooks };
|