@opencode/core 0.0.0-dev-20649 → 0.0.0-dev-20650
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{mime-9qvg3h9w.js → location-services-001b00fp.js} +93 -93
- package/dist/chunks/{mime-npzkpwms.js → location-services-085tpkqt.js} +10 -10
- package/dist/chunks/{mime-sb6an3dy.js → location-services-0a1e8d3s.js} +5 -5
- package/dist/chunks/{mime-tz5y8hw2.js → location-services-0arksaxe.js} +16 -16
- package/dist/chunks/{mime-as7cf5zz.js → location-services-0dygnakk.js} +4 -4
- package/dist/chunks/{mime-2nhfnjcw.js → location-services-0ekp7bk0.js} +19 -19
- package/dist/chunks/{mime-9hyysrhy.js → location-services-0ft2m84j.js} +11 -11
- package/dist/chunks/{mime-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-jxd6d72w.js → location-services-0sw34p9e.js} +1 -1
- package/dist/chunks/{mime-h1qnxspz.js → location-services-0t7w7e1z.js} +36 -36
- package/dist/chunks/{mime-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
- package/dist/chunks/{mime-j9g4e7w9.js → location-services-14r5wq43.js} +23 -23
- package/dist/chunks/{mime-a1nag75j.js → location-services-16e73rhv.js} +4 -4
- package/dist/chunks/{mime-3hx84xbv.js → location-services-17yrvmpn.js} +36 -36
- package/dist/chunks/{mime-r8xr0va3.js → location-services-1acjjqhc.js} +4 -4
- package/dist/chunks/{mime-kn1g41v8.js → location-services-1bk9khzn.js} +33 -33
- package/dist/chunks/{mime-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-kbx4g6d9.js → location-services-1nzp712d.js} +32 -32
- package/dist/chunks/{mime-86qzxe6p.js → location-services-1y283654.js} +4 -4
- package/dist/chunks/location-services-1yrx8st6.js +507 -0
- package/dist/chunks/{mime-2sdz7qh7.js → location-services-2486f0gc.js} +49 -49
- package/dist/chunks/{mime-7hwp9pe8.js → location-services-24vj1m2f.js} +15 -15
- package/dist/chunks/{mime-vxzh5eqq.js → location-services-2a49rb13.js} +4 -4
- package/dist/chunks/{mime-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-59s0kgwy.js → location-services-2b32xhw2.js} +3 -3
- package/dist/chunks/{mime-vk6h2smq.js → location-services-2h1dy14m.js} +16 -16
- package/dist/chunks/{mime-spf27589.js → location-services-2p1kqprv.js} +4 -4
- package/dist/chunks/{mime-mypwhdkk.js → location-services-2p5y98w0.js} +6 -6
- package/dist/chunks/{mime-3thfs4vd.js → location-services-2sp9vt4c.js} +1 -1
- package/dist/chunks/{mime-szavfcg2.js → location-services-2vhq75nc.js} +6 -6
- package/dist/chunks/{mime-03d19y83.js → location-services-33beq0ma.js} +4 -4
- package/dist/chunks/{mime-f3kq77fw.js → location-services-3a4786ab.js} +26 -26
- package/dist/chunks/{mime-qjev0pmq.js → location-services-3a91dp8a.js} +6 -6
- package/dist/chunks/{mime-ds77a3s3.js → location-services-3atax22v.js} +39 -39
- package/dist/chunks/{mime-5fb55ywp.js → location-services-3b9qt4hj.js} +9 -9
- package/dist/chunks/{mime-h2b79v29.js → location-services-3cegwx68.js} +2 -2
- package/dist/chunks/{mime-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-va8pbtsb.js → location-services-3m50rrjg.js} +27 -27
- package/dist/chunks/{mime-ywq4z9t2.js → location-services-3mt2dy6d.js} +16 -16
- package/dist/chunks/{mime-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-99773vnq.js → location-services-3ss9g85e.js} +43 -43
- package/dist/chunks/{mime-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-3rd28rcz.js → location-services-3zbwexce.js} +11 -11
- package/dist/chunks/{mime-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-ha65gv77.js → location-services-41g1yh39.js} +20 -20
- package/dist/chunks/{mime-n8vdnqrc.js → location-services-47jkzegy.js} +5 -5
- package/dist/chunks/{mime-wpwvc70n.js → location-services-4ajkbp3f.js} +11 -11
- package/dist/chunks/{mime-yx80kbmw.js → location-services-4ax7xn0r.js} +3 -3
- package/dist/chunks/{mime-58phr483.js → location-services-4cz0dkbb.js} +78 -78
- package/dist/chunks/{mime-mz925t54.js → location-services-4dygtpfc.js} +5 -5
- package/dist/chunks/{mime-m6yxcdx8.js → location-services-4fag9mqx.js} +30 -30
- package/dist/chunks/{mime-61zpm44j.js → location-services-4fwcrk1h.js} +11 -11
- package/dist/chunks/{mime-2wjfq3y1.js → location-services-4htcxagg.js} +14 -14
- package/dist/chunks/{mime-vy452p9v.js → location-services-4maebaja.js} +13 -13
- package/dist/chunks/{mime-2ccvkpx1.js → location-services-4ts7tf6z.js} +2 -2
- package/dist/chunks/{mime-ncj3k1yy.js → location-services-50s4shqd.js} +29 -29
- package/dist/chunks/{mime-e5ncbec4.js → location-services-514hvnh9.js} +16 -16
- package/dist/chunks/{mime-0hwq8h39.js → location-services-51khb7z6.js} +9 -9
- package/dist/chunks/{mime-54ma36ye.js → location-services-54ma36ye.js} +1 -1
- package/dist/chunks/{mime-1ygqh575.js → location-services-56gdpj1q.js} +9 -9
- package/dist/chunks/{mime-na7gn6xf.js → location-services-5b7tqepp.js} +23 -23
- package/dist/chunks/{mime-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{mime-e3qxr5gk.js → location-services-5qd3pb7m.js} +2 -2
- package/dist/chunks/{mime-bxcw0mka.js → location-services-5rmxkhg6.js} +10 -10
- package/dist/chunks/{mime-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-7zx1qa5e.js → location-services-607px8n0.js} +10 -10
- package/dist/chunks/{mime-pe057h99.js → location-services-6bykwcaq.js} +28 -28
- package/dist/chunks/{mime-k1qrnqst.js → location-services-6c7yw9pm.js} +8 -8
- package/dist/chunks/{mime-16c21bq7.js → location-services-6mncfa04.js} +13 -13
- package/dist/chunks/{mime-bryryzyy.js → location-services-6qw1qkre.js} +11 -11
- package/dist/chunks/{mime-ndn3sg6m.js → location-services-6tg9txw5.js} +3 -3
- package/dist/chunks/{mime-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
- package/dist/chunks/{mime-rq7mwymb.js → location-services-71s3sq4y.js} +27 -27
- package/dist/chunks/{mime-k63gn3x0.js → location-services-727zjhnd.js} +4 -4
- package/dist/chunks/{mime-ws8rf1n9.js → location-services-72d0mfn3.js} +15 -15
- package/dist/chunks/{mime-ksgsjq6b.js → location-services-7b0ws6vd.js} +17 -17
- package/dist/chunks/{mime-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-564aqkfr.js → location-services-7bwwwg4f.js} +46 -46
- package/dist/chunks/{mime-1dvck2a7.js → location-services-84h8c373.js} +2 -2
- package/dist/chunks/{mime-93z3pz9m.js → location-services-8c63zdcr.js} +29 -29
- package/dist/chunks/{mime-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-jktqzjpa.js → location-services-8sze2n9a.js} +4 -4
- package/dist/chunks/location-services-8y9ejeyn.js +26 -0
- package/dist/chunks/{mime-tcqa4h8g.js → location-services-8yh9yfq0.js} +12 -12
- package/dist/chunks/{mime-v553wp33.js → location-services-956t9e47.js} +48 -48
- package/dist/chunks/{mime-tgwh4g45.js → location-services-9a8g5ab0.js} +3 -3
- package/dist/chunks/{mime-070fvye4.js → location-services-9jbn959z.js} +45 -45
- package/dist/chunks/{mime-xawtvtgk.js → location-services-9r937kg5.js} +45 -45
- package/dist/chunks/{mime-har29xsp.js → location-services-9ykrx1qq.js} +9 -9
- package/dist/chunks/{mime-cn48saaq.js → location-services-a16hf74s.js} +15 -15
- package/dist/chunks/{mime-pd812h7a.js → location-services-a20mmbrw.js} +8 -8
- package/dist/chunks/{mime-yqpe8af8.js → location-services-aa33dgcr.js} +22 -22
- package/dist/chunks/{mime-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-ag7r9101.js → location-services-ambyqp62.js} +11 -11
- package/dist/chunks/{mime-34vqaa0j.js → location-services-ampgcpe6.js} +32 -32
- package/dist/chunks/{mime-6540dvt1.js → location-services-ara0ca5b.js} +7 -7
- package/dist/chunks/{mime-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-pzhq4eaf.js → location-services-bd0g7wdn.js} +15 -15
- package/dist/chunks/{mime-h05y6get.js → location-services-bexxj179.js} +25 -25
- package/dist/chunks/{mime-3fw4vykw.js → location-services-bj4d9qfd.js} +28 -28
- package/dist/chunks/{mime-vjmwwnet.js → location-services-bss16c77.js} +4 -4
- package/dist/chunks/{mime-4tamdkr5.js → location-services-bxpjjjkj.js} +2 -2
- package/dist/chunks/{mime-fpnx24t4.js → location-services-c2sed5cq.js} +3 -3
- package/dist/chunks/{mime-b644w2ar.js → location-services-c6wv61cx.js} +6 -6
- package/dist/chunks/{mime-6m42r3np.js → location-services-cavr175a.js} +21 -21
- package/dist/chunks/{mime-27xqmrb2.js → location-services-cbkmvndh.js} +11 -11
- package/dist/chunks/{mime-5mqyks12.js → location-services-cm8pqatr.js} +18 -18
- package/dist/chunks/{mime-93exgp6v.js → location-services-csfhn2wr.js} +54 -54
- package/dist/chunks/{mime-aet780dh.js → location-services-cwwzrss4.js} +6 -6
- package/dist/chunks/{mime-hkx83aab.js → location-services-cx8ek9kt.js} +3 -3
- package/dist/chunks/{mime-13qx119e.js → location-services-cyw6svx6.js} +10 -10
- package/dist/chunks/{mime-38adaqc0.js → location-services-d1r5081s.js} +5 -5
- package/dist/chunks/{mime-hs1x7rht.js → location-services-d1sprev3.js} +12 -12
- package/dist/chunks/{mime-qmqgtz8f.js → location-services-d4he2qe1.js} +9 -9
- package/dist/chunks/{mime-z92vphtz.js → location-services-dfsz33p3.js} +12 -12
- package/dist/chunks/{mime-h9dg90ta.js → location-services-ds99stjk.js} +7 -7
- package/dist/chunks/{mime-12n08y7q.js → location-services-e2tbx933.js} +8 -8
- package/dist/chunks/{mime-fb2y2dbg.js → location-services-e2v8ft38.js} +11 -11
- package/dist/chunks/{mime-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-3py696r4.js → location-services-ef7m5ry9.js} +11 -11
- package/dist/chunks/{mime-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-vb17zyzn.js → location-services-ezx0c3nt.js} +11 -11
- package/dist/chunks/{mime-n11krz91.js → location-services-f210znyg.js} +49 -49
- package/dist/chunks/{mime-p1ve58ng.js → location-services-f6ngde2n.js} +37 -37
- package/dist/chunks/{mime-71az546q.js → location-services-f75zav2x.js} +2 -2
- package/dist/chunks/{mime-6cpwc79d.js → location-services-fb9bde3m.js} +25 -25
- package/dist/chunks/{mime-2k8khapm.js → location-services-fcrkznn8.js} +5 -5
- package/dist/chunks/{mime-r9w3djhf.js → location-services-ftjf86m5.js} +9 -9
- package/dist/chunks/{mime-170w37en.js → location-services-fwbcrs20.js} +1 -1
- package/dist/chunks/{mime-ze3jqpvg.js → location-services-g00c25k7.js} +23 -23
- package/dist/chunks/{mime-jk8bzzjw.js → location-services-g0ahba55.js} +4 -4
- package/dist/chunks/{mime-2nthby9b.js → location-services-g2r84ert.js} +30 -30
- package/dist/chunks/{mime-wvy7zsan.js → location-services-g5696t09.js} +9 -9
- package/dist/chunks/{mime-w2h15q85.js → location-services-g6yfr6ja.js} +5 -5
- package/dist/chunks/{mime-4x0vy5hp.js → location-services-gcst2knj.js} +8 -8
- package/dist/chunks/{mime-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-myn0gkp2.js → location-services-gfwyksye.js} +22 -22
- package/dist/chunks/{mime-eqdfs7ht.js → location-services-gfzdj97b.js} +6 -6
- package/dist/chunks/{mime-zxxyec0p.js → location-services-ghz6dcrw.js} +11 -11
- package/dist/chunks/{mime-3ch2ac9z.js → location-services-gj5tgtsk.js} +13 -13
- package/dist/chunks/{mime-g530ctaj.js → location-services-gk7ynedz.js} +8 -8
- package/dist/chunks/{mime-1mdr38wd.js → location-services-gv7x5wm3.js} +22 -22
- package/dist/chunks/{mime-vqbdn0d9.js → location-services-gy6z8b7d.js} +24 -24
- package/dist/chunks/{mime-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-xz9m3t1f.js → location-services-h9wapceb.js} +18 -18
- package/dist/chunks/{mime-04mq6ee8.js → location-services-hc5gcwsj.js} +30 -30
- package/dist/chunks/{mime-b3f8fkhc.js → location-services-hdkng2sj.js} +5 -5
- package/dist/chunks/{mime-ghcmpcfh.js → location-services-hjbndmcs.js} +9 -9
- package/dist/chunks/location-services-hydj2j77.js +253 -0
- package/dist/chunks/{mime-ky7drcmt.js → location-services-j01q2zrr.js} +13 -13
- package/dist/chunks/{mime-z99td3vh.js → location-services-j12as4v5.js} +6 -6
- package/dist/chunks/{mime-jrc5bn6s.js → location-services-j4rr3b6f.js} +11 -11
- package/dist/chunks/{mime-cca1v9sb.js → location-services-j54377ah.js} +13 -13
- package/dist/chunks/{mime-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-f3cq72f8.js → location-services-j59bqac0.js} +30 -30
- package/dist/chunks/{mime-n88acrca.js → location-services-j5kyfhbh.js} +11 -11
- package/dist/chunks/{mime-v7z2bvyd.js → location-services-j8m1p4p1.js} +4 -4
- package/dist/chunks/{mime-qreg5ges.js → location-services-jan553tg.js} +140 -140
- package/dist/chunks/{mime-kz8ps502.js → location-services-jb2g91f3.js} +12 -12
- package/dist/chunks/{mime-vw5a0rfv.js → location-services-jcs5e93a.js} +2 -2
- package/dist/chunks/{mime-sjq3gc3m.js → location-services-jegrxnf3.js} +6 -6
- package/dist/chunks/{mime-gphzfxhq.js → location-services-jkjj242p.js} +29 -29
- package/dist/chunks/location-services-jqh9b0xq.js +18 -0
- package/dist/chunks/{mime-hy49mbwe.js → location-services-jx32pc59.js} +15 -15
- package/dist/chunks/{mime-w4afprn7.js → location-services-jxkc3myh.js} +19 -19
- package/dist/chunks/{mime-ghe998k5.js → location-services-kaa3dmqg.js} +18 -18
- package/dist/chunks/{mime-9e5bzkjp.js → location-services-kb9j3d72.js} +3 -3
- package/dist/chunks/{mime-8gxsn6kg.js → location-services-kkk3xdpb.js} +42 -42
- package/dist/chunks/{mime-c9e1chd6.js → location-services-kn3avxvj.js} +13 -13
- package/dist/chunks/{mime-v1q4cba8.js → location-services-kt67x2pe.js} +6 -6
- package/dist/chunks/{mime-h696b5ha.js → location-services-kxz2jsw3.js} +29 -29
- package/dist/chunks/{mime-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{mime-tevtjb4d.js → location-services-m7ztr8b1.js} +18 -18
- package/dist/chunks/{mime-jskn7g1e.js → location-services-m91sy8b7.js} +5 -5
- package/dist/chunks/{mime-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-yjspgx20.js → location-services-mb14aw74.js} +2 -2
- package/dist/chunks/{mime-5wn8k982.js → location-services-mx1p25e3.js} +28 -28
- package/dist/chunks/{mime-1rn5pcm9.js → location-services-n1n192bv.js} +4 -4
- package/dist/chunks/{mime-y8j7y9g5.js → location-services-n68t0apf.js} +16 -16
- package/dist/chunks/{mime-qt8b63p3.js → location-services-n6svg889.js} +14 -14
- package/dist/chunks/{mime-r7a7bxfj.js → location-services-nbdxm3p1.js} +15 -15
- package/dist/chunks/{mime-gkhvwrqw.js → location-services-ne96ewy3.js} +23 -23
- package/dist/chunks/{mime-2vdde78z.js → location-services-ngyrtr94.js} +9 -9
- package/dist/chunks/{mime-0yzyde6c.js → location-services-nnyt92w2.js} +17 -17
- package/dist/chunks/{mime-xp3fh2h7.js → location-services-ns3eape4.js} +1 -1
- package/dist/chunks/{mime-9cnwn640.js → location-services-nt3x6kk1.js} +13 -13
- package/dist/chunks/{mime-dpkg50ah.js → location-services-nxm207yx.js} +4 -4
- package/dist/chunks/{mime-393wq71a.js → location-services-p3cjk3f5.js} +22 -22
- package/dist/chunks/{mime-9hn6k4tm.js → location-services-pa8pe2x7.js} +8 -8
- package/dist/chunks/{mime-v9aw5k7b.js → location-services-pc2ca7gw.js} +15 -15
- package/dist/chunks/{mime-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{mime-n14gvf56.js → location-services-psf10pda.js} +21 -21
- package/dist/chunks/{mime-s0txbpxx.js → location-services-pshwgvdq.js} +27 -27
- package/dist/chunks/{mime-0j77ygfz.js → location-services-q0xm7vwc.js} +6 -6
- package/dist/chunks/{mime-1b37m1mh.js → location-services-q479fbf4.js} +17 -17
- package/dist/chunks/{mime-pfcsshcq.js → location-services-qam4srmn.js} +33 -33
- package/dist/chunks/{mime-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
- package/dist/chunks/{mime-ds0wtj4e.js → location-services-qpk58yzq.js} +1 -1
- package/dist/chunks/{mime-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-qxjc9qry.js → location-services-qxjc9qry.js} +3 -3
- package/dist/chunks/{mime-5g9khqm3.js → location-services-qymnwkpy.js} +9 -9
- package/dist/chunks/{mime-0fan8waa.js → location-services-r33djvem.js} +16 -16
- package/dist/chunks/{mime-q3ersh05.js → location-services-r3q6pmcz.js} +6 -6
- package/dist/chunks/{mime-mhkvc446.js → location-services-r5x6zcsm.js} +3 -3
- package/dist/chunks/{mime-1j858gve.js → location-services-rcw89xq3.js} +17 -17
- package/dist/chunks/{mime-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-dtt66365.js → location-services-re7zz5fm.js} +22 -22
- package/dist/chunks/{mime-rhjbct0v.js → location-services-rhjbct0v.js} +1 -1
- package/dist/chunks/{mime-p1dcwdyv.js → location-services-rzwydysx.js} +26 -26
- package/dist/chunks/{mime-cs0pyha6.js → location-services-s3h11364.js} +21 -21
- package/dist/chunks/{mime-d9v54453.js → location-services-s7yezqte.js} +25 -25
- package/dist/chunks/{mime-w2p0hagm.js → location-services-sgn5w1sc.js} +14 -14
- package/dist/chunks/{mime-ea5vh3bk.js → location-services-sjs9ezqr.js} +47 -47
- package/dist/chunks/{mime-vq5be08n.js → location-services-smha7wt5.js} +1 -1
- package/dist/chunks/{mime-5g9tk4c4.js → location-services-sq42pm77.js} +28 -28
- package/dist/chunks/{mime-gh5z95q3.js → location-services-srq8z0b0.js} +9 -9
- package/dist/chunks/{mime-dtm252p1.js → location-services-ssew6xnx.js} +5 -5
- package/dist/chunks/{mime-ry36jsf7.js → location-services-t01ewf6t.js} +11 -11
- package/dist/chunks/{mime-sxz6gkc3.js → location-services-t2fc4mz5.js} +7 -7
- package/dist/chunks/{mime-06x8he3q.js → location-services-t7n9q6bq.js} +4 -4
- package/dist/chunks/{mime-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-vqfzq50h.js → location-services-tcay1cqt.js} +6 -6
- package/dist/chunks/{mime-89znhe33.js → location-services-tcezcvh9.js} +4 -4
- package/dist/chunks/{mime-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{mime-p6cz1f6w.js → location-services-thg5jy7b.js} +14 -14
- package/dist/chunks/{mime-p02g0fw2.js → location-services-thrv5kr1.js} +30 -30
- package/dist/chunks/{mime-23h4de3k.js → location-services-tpty64js.js} +14 -14
- package/dist/chunks/{mime-gdmg3xqt.js → location-services-tvm9nqz9.js} +18 -18
- package/dist/chunks/{mime-v0es1rhs.js → location-services-v0es1rhs.js} +2 -2
- package/dist/chunks/{mime-31b5zmy0.js → location-services-v1qd983m.js} +23 -23
- package/dist/chunks/{mime-e9dcgzx6.js → location-services-v5hevtyx.js} +2 -2
- package/dist/chunks/{mime-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-kvvdvz0d.js → location-services-vfgsn3pb.js} +28 -28
- package/dist/chunks/{mime-3ktk39h6.js → location-services-vmd3sd6p.js} +18 -18
- package/dist/chunks/{mime-43efg38y.js → location-services-vrc04fwg.js} +11 -11
- package/dist/chunks/{mime-z2mbgn3s.js → location-services-vre0f3v3.js} +60 -60
- package/dist/chunks/{mime-faajnp1h.js → location-services-vrsc6b4y.js} +8 -8
- package/dist/chunks/{mime-tk9ew89t.js → location-services-vwpcpzep.js} +8 -8
- package/dist/chunks/{mime-ccdh6zge.js → location-services-vym6yw1t.js} +13 -13
- package/dist/chunks/{mime-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-3qhg2zya.js → location-services-vzx68d5n.js} +8 -8
- package/dist/chunks/{mime-84txncab.js → location-services-w1eejvng.js} +5 -5
- package/dist/chunks/{mime-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-pkw6pxyw.js → location-services-waec0c3j.js} +26 -26
- package/dist/chunks/{mime-vkt5fbj2.js → location-services-was7srj9.js} +8 -8
- package/dist/chunks/{mime-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{mime-kj8me5dh.js → location-services-wfctfrf2.js} +1 -1
- package/dist/chunks/{mime-wbfm5czg.js → location-services-wj9bqc1j.js} +27 -27
- package/dist/chunks/{mime-8nzt4413.js → location-services-wvws9fm3.js} +11 -11
- package/dist/chunks/{mime-y5jr1bsy.js → location-services-wz6j5yqf.js} +99 -99
- package/dist/chunks/{mime-c2hscm47.js → location-services-x53k8vh3.js} +32 -32
- package/dist/chunks/{mime-addxnjmp.js → location-services-x661k3y3.js} +4 -4
- package/dist/chunks/{mime-d009mnpz.js → location-services-x7hmwq28.js} +28 -28
- package/dist/chunks/{mime-fd1b7pt2.js → location-services-x7ytz0vq.js} +18 -18
- package/dist/chunks/{mime-w19d8598.js → location-services-xfkkasph.js} +5 -5
- package/dist/chunks/{mime-x4aqza7e.js → location-services-xg7rec9w.js} +9 -9
- package/dist/chunks/{mime-xkntkrq7.js → location-services-xkntkrq7.js} +2 -2
- package/dist/chunks/{mime-93ymncz8.js → location-services-xzv6qj2m.js} +24 -24
- package/dist/chunks/{mime-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-9pnm2vv9.js → location-services-y8shr9gw.js} +29 -29
- package/dist/chunks/{mime-vw2nt98j.js → location-services-yk982qs6.js} +9 -9
- package/dist/chunks/{mime-f44mjg6h.js → location-services-ynmx16w6.js} +4 -4
- package/dist/chunks/{mime-fhz5gfgy.js → location-services-yt3hy1g9.js} +5 -5
- package/dist/chunks/{mime-j6gcmj6w.js → location-services-ywpk00n5.js} +11 -11
- package/dist/chunks/{mime-9ne60yjh.js → location-services-z07zh9w3.js} +25 -25
- package/dist/chunks/{mime-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-3h16yct6.js → location-services-z4swa18j.js} +9 -9
- package/dist/chunks/{mime-zq5qms4d.js → location-services-z8rw9kn4.js} +8 -8
- package/dist/chunks/{mime-3rz5q6jx.js → location-services-zacf2nwq.js} +13 -13
- package/dist/chunks/{mime-penzfr98.js → location-services-zdtpkxz5.js} +11 -11
- package/dist/chunks/{mime-00qg2tcw.js → location-services-zg3msdzq.js} +15 -15
- package/dist/chunks/{mime-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-zrq8kphx.js → location-services-zrq8kphx.js} +1 -1
- package/dist/chunks/{mime-esfhhzdr.js → location-services-zxga9rac.js} +28 -28
- package/dist/chunks/{mime-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- 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 +116 -116
- 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 +115 -115
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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 +363 -363
- 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 +93 -93
- 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 +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +91 -91
- 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 +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +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 +85 -85
- 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 +127 -127
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +101 -101
- 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 +86 -86
- 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 +1 -1
- 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 +7 -7
- 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 +345 -345
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- 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 +95 -95
- 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 +135 -135
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- 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 +86 -86
- 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 +224 -224
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- 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 +87 -87
- 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 +157 -157
- 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 +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- 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/mime-2at4bpy3.js +0 -26
- package/dist/chunks/mime-459hb6np.js +0 -253
- package/dist/chunks/mime-phz3h32g.js +0 -18
- package/dist/chunks/mime-t4cg2ngh.js +0 -507
- /package/dist/chunks/{mime-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-34c7v6d4.js → location-services-34c7v6d4.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-services-514hvnh9.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node77
|
|
9
|
+
} from "./location-services-y8shr9gw.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-x661k3y3.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-nnyt92w2.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
37
|
+
Event: () => Event17,
|
|
38
38
|
ID: () => ID14,
|
|
39
|
-
Info: () =>
|
|
39
|
+
Info: () => Info22,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service72,
|
|
47
|
+
node: () => node75
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
69
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
70
70
|
var ID14 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info22 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -104,14 +104,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service72 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
114
|
-
const bus = yield*
|
|
112
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service74;
|
|
114
|
+
const bus = yield* Service80;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
117
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info22.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service72.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node75 = makeLocationNode({
|
|
603
|
+
service: Service72,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node77, node84, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2,
|
|
608
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service72, node75, exports_integration, Event17 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin39,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin39 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin4 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint5);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint5, Plugin39, exports_exa };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service55,
|
|
3
|
+
node57
|
|
4
|
+
} from "./location-services-re7zz5fm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./location-services-4htcxagg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node56
|
|
12
|
+
} from "./location-services-sjs9ezqr.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service4,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node6
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service54;
|
|
40
|
+
const watcher = yield* Service55;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service78;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service4.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node6 = makeLocationNode({
|
|
74
|
+
service: Service4,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node56, FSUtil.node, node57, node82]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service4,
|
|
80
|
+
layer: Layer.succeed(Service4, Service4.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service4, layer5, node6, empty2, exports_source };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-c2sed5cq.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-ngyrtr94.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-kb9j3d72.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-0dygnakk.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-n1n192bv.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load5,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID10,
|
|
3
|
+
Info18,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-c2sed5cq.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
Service84,
|
|
11
|
-
node88
|
|
12
|
-
} from "./mime-j6gcmj6w.js";
|
|
13
|
-
import {
|
|
14
|
-
isSynced2,
|
|
15
10
|
Service83,
|
|
16
11
|
node87
|
|
17
|
-
} from "./
|
|
12
|
+
} from "./location-services-ywpk00n5.js";
|
|
13
|
+
import {
|
|
14
|
+
isSynced2,
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./location-services-514hvnh9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./location-services-s7yezqte.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service48,
|
|
24
|
+
node50
|
|
25
|
+
} from "./location-services-tcay1cqt.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-services-kb9j3d72.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node48
|
|
34
|
+
} from "./location-services-3a4786ab.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./location-services-0dygnakk.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-services-2h1dy14m.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-services-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node29
|
|
47
|
+
} from "./location-services-gfwyksye.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node78
|
|
51
|
+
} from "./location-services-z8rw9kn4.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./location-services-ngyrtr94.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service63,
|
|
68
|
+
node66
|
|
69
|
+
} from "./location-services-0ekp7bk0.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service49,
|
|
72
|
+
node51
|
|
73
|
+
} from "./location-services-n68t0apf.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service44,
|
|
76
|
+
node47
|
|
77
|
+
} from "./location-services-kkk3xdpb.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./location-services-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service33,
|
|
83
|
+
node37
|
|
84
|
+
} from "./location-services-t01ewf6t.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./location-services-tpty64js.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./location-services-e2tbx933.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service77,
|
|
93
|
+
node81
|
|
94
|
+
} from "./location-services-g5696t09.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service25,
|
|
100
|
+
node28
|
|
101
|
+
} from "./location-services-vre0f3v3.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service51,
|
|
104
|
+
node53
|
|
105
|
+
} from "./location-services-vwpcpzep.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make13
|
|
108
|
+
} from "./location-services-f6ngde2n.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./location-services-ef7m5ry9.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./location-services-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID10,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info18,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service24,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node27
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput5;
|
|
152
|
+
class Service24 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
|
-
const database = yield*
|
|
156
|
+
const database = yield* Service83;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service80;
|
|
159
|
+
const projects = yield* Service79;
|
|
160
|
+
const execution = yield* Service44;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service33;
|
|
163
|
+
const store = yield* Service63;
|
|
164
|
+
const instances = yield* Service48;
|
|
165
|
+
const moves = yield* Service25;
|
|
166
|
+
const jobs = yield* Service49;
|
|
167
|
+
const environments = yield* Service51;
|
|
168
|
+
const locations = yield* Service77;
|
|
169
|
+
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service24.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service83, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service48, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node27 = Node.makeGlobalNode({
|
|
331
|
+
service: Service24,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
node88,
|
|
334
|
+
node51,
|
|
335
|
+
node53,
|
|
337
336
|
node87,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
337
|
+
node84,
|
|
338
|
+
node83,
|
|
339
|
+
node47,
|
|
340
|
+
node37,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node66,
|
|
343
|
+
node50,
|
|
344
|
+
node48,
|
|
345
|
+
node28,
|
|
346
|
+
node29,
|
|
347
|
+
node81,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node78
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service24, node27, exports_session };
|