@opencode/core 0.0.0-dev-20758 → 0.0.0-dev-20761
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 +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +7 -7
- package/dist/bus.js +70 -70
- package/dist/chunks/{plugin-3j8jg9nw.js → formatter-05seepyb.js} +22 -22
- package/dist/chunks/{plugin-zqskxcvf.js → formatter-0a12a5n5.js} +16 -16
- package/dist/chunks/{plugin-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
- package/dist/chunks/{plugin-32q55df5.js → formatter-0sdjwrsq.js} +6 -6
- package/dist/chunks/{plugin-0vbcp93d.js → formatter-0vbcp93d.js} +2 -2
- package/dist/chunks/{plugin-cbhkx3tr.js → formatter-0x6kqycp.js} +45 -45
- package/dist/chunks/{plugin-65sxyan4.js → formatter-111mdxyv.js} +15 -15
- package/dist/chunks/{plugin-sshtd9fz.js → formatter-12nabd9j.js} +21 -21
- package/dist/chunks/{plugin-5k6cp939.js → formatter-146js436.js} +35 -35
- package/dist/chunks/{plugin-2pcxzsf7.js → formatter-182behz8.js} +21 -21
- package/dist/chunks/{plugin-tgp6r9x7.js → formatter-187vfvf2.js} +11 -11
- package/dist/chunks/{plugin-05jdftm3.js → formatter-1956cf4w.js} +32 -32
- package/dist/chunks/{plugin-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
- package/dist/chunks/{plugin-ps8620kg.js → formatter-1g8wmmwn.js} +8 -8
- package/dist/chunks/{plugin-a8zkv2pe.js → formatter-1gwfb09f.js} +15 -15
- package/dist/chunks/{plugin-g6yfr6ja.js → formatter-1pxz8ven.js} +5 -5
- package/dist/chunks/{plugin-08hjnr4e.js → formatter-1ysc8jye.js} +91 -91
- package/dist/chunks/{plugin-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
- package/dist/chunks/{plugin-e7c78a3c.js → formatter-2d2jz7xv.js} +16 -16
- package/dist/chunks/{plugin-e7ypp41t.js → formatter-2g22r7zd.js} +3 -3
- package/dist/chunks/{plugin-7dad3kfy.js → formatter-2qynme82.js} +9 -9
- package/dist/chunks/{plugin-26ebw5j8.js → formatter-2t9jdhh9.js} +7 -7
- package/dist/chunks/{plugin-55n23649.js → formatter-32bdxtjn.js} +9 -9
- package/dist/chunks/{plugin-v65hw006.js → formatter-3avvjkzt.js} +24 -24
- package/dist/chunks/{plugin-h2b79v29.js → formatter-3cegwx68.js} +2 -2
- package/dist/chunks/{plugin-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-5czaavyq.js → formatter-3phzs51q.js} +15 -15
- package/dist/chunks/{plugin-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-ntycb3pe.js → formatter-40vvehrd.js} +9 -5
- package/dist/chunks/{plugin-0anxg2hy.js → formatter-413d8qf1.js} +4 -4
- package/dist/chunks/{plugin-1ysbc1zp.js → formatter-4268jqqb.js} +38 -30
- package/dist/chunks/{plugin-493pwkwy.js → formatter-441m476c.js} +13 -13
- package/dist/chunks/{plugin-2gyx27wv.js → formatter-4909s710.js} +9 -9
- package/dist/chunks/{plugin-g7dz6sma.js → formatter-4gjsgka5.js} +6 -6
- package/dist/chunks/{plugin-f59n54pq.js → formatter-4gsb3kkd.js} +8 -8
- package/dist/chunks/{plugin-11dqjexa.js → formatter-4jyvzrab.js} +9 -9
- package/dist/chunks/{plugin-paa5t61c.js → formatter-4kevwqk0.js} +14 -14
- package/dist/chunks/{plugin-4ts7tf6z.js → formatter-4ts7tf6z.js} +2 -2
- package/dist/chunks/{plugin-54ma36ye.js → formatter-54ma36ye.js} +1 -1
- package/dist/chunks/{plugin-7sv012e1.js → formatter-56pkd6tw.js} +26 -26
- package/dist/chunks/{plugin-e4ncs75c.js → formatter-578z3azw.js} +15 -15
- package/dist/chunks/{plugin-j6e2c7xw.js → formatter-5b7nt3zn.js} +11 -11
- package/dist/chunks/{plugin-wsv2n53z.js → formatter-5d2b2mh7.js} +4 -4
- package/dist/chunks/{plugin-3jjcx604.js → formatter-5fzhj6vr.js} +13 -13
- package/dist/chunks/{plugin-ev3erbeg.js → formatter-5kdws1mq.js} +8 -8
- package/dist/chunks/{plugin-11c8pj9k.js → formatter-5kqrehbr.js} +82 -82
- package/dist/chunks/{plugin-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{plugin-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
- package/dist/chunks/{plugin-ssrwn3ya.js → formatter-652yv2n1.js} +47 -47
- package/dist/chunks/{plugin-4k06pz28.js → formatter-68dcddmz.js} +6 -6
- package/dist/chunks/{plugin-c6fg679z.js → formatter-69746gda.js} +15 -15
- package/dist/chunks/{plugin-4m8vjzqx.js → formatter-6dgher1t.js} +22 -22
- package/dist/chunks/{plugin-c5gbtkrm.js → formatter-6fqx441j.js} +36 -36
- package/dist/chunks/{plugin-kdbeyht2.js → formatter-6mm8g3xf.js} +8 -8
- package/dist/chunks/{plugin-k83ja6p9.js → formatter-6nzr4syt.js} +22 -22
- package/dist/chunks/{plugin-y3h5g7g6.js → formatter-6sz1nr65.js} +32 -32
- package/dist/chunks/{plugin-qgvxkg4m.js → formatter-6vrvdfgp.js} +174 -174
- package/dist/chunks/{plugin-6xb47vfp.js → formatter-6xb47vfp.js} +1 -1
- package/dist/chunks/{plugin-7zt5x37y.js → formatter-6xcvt31d.js} +1 -1
- package/dist/chunks/{plugin-9f9kx6t9.js → formatter-77f241gp.js} +11 -11
- package/dist/chunks/{plugin-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-8e73z6s7.js → formatter-7hv02s19.js} +24 -24
- package/dist/chunks/{plugin-vgx6weyf.js → formatter-7j2qha59.js} +8 -8
- package/dist/chunks/{plugin-d82y3xth.js → formatter-7jv0m88d.js} +8 -8
- package/dist/chunks/{plugin-cyj9nmfd.js → formatter-7ss4pkb7.js} +8 -8
- package/dist/chunks/{plugin-2nd8jksd.js → formatter-7v0hehas.js} +17 -17
- package/dist/chunks/{plugin-gtrhej8x.js → formatter-7w4jzbgq.js} +19 -19
- package/dist/chunks/{plugin-1dvck2a7.js → formatter-84h8c373.js} +2 -2
- package/dist/chunks/{plugin-w1eejvng.js → formatter-84txncab.js} +5 -5
- package/dist/chunks/{plugin-6kgskxtw.js → formatter-89rvcjqs.js} +8 -8
- package/dist/chunks/{plugin-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
- package/dist/chunks/{plugin-8m6m0r52.js → formatter-8m6m0r52.js} +1 -1
- package/dist/chunks/{plugin-pnhy747t.js → formatter-8sypcg3t.js} +20 -20
- package/dist/chunks/{plugin-7kv0j4s7.js → formatter-955psc1t.js} +3 -3
- package/dist/chunks/{plugin-07nvsf4k.js → formatter-967syq3g.js} +30 -30
- package/dist/chunks/{plugin-b18be9y0.js → formatter-96qq3yd9.js} +33 -33
- package/dist/chunks/{plugin-3c4qezr9.js → formatter-9a22ycbb.js} +11 -11
- package/dist/chunks/{plugin-pcgtvjtb.js → formatter-9gdnj9aq.js} +11 -11
- package/dist/chunks/{plugin-wfmxrmcp.js → formatter-9hmbzyz9.js} +20 -20
- package/dist/chunks/{plugin-z6c3x22d.js → formatter-9hwaqfsw.js} +5 -5
- package/dist/chunks/{plugin-akmb2x75.js → formatter-9jxhz5gs.js} +26 -26
- package/dist/chunks/{plugin-p4vbx1px.js → formatter-9qzaq7bj.js} +13 -13
- package/dist/chunks/{plugin-f1p9y8zj.js → formatter-9x2r4bwb.js} +55 -55
- package/dist/chunks/{plugin-fqtvmpfq.js → formatter-9y0w708y.js} +8 -8
- package/dist/chunks/{plugin-aaet6srn.js → formatter-aaet6srn.js} +2 -2
- package/dist/chunks/{plugin-db2wf4at.js → formatter-addxnjmp.js} +4 -4
- package/dist/chunks/{plugin-1kxpc97h.js → formatter-afys868y.js} +20 -20
- package/dist/chunks/{plugin-e0trdp3d.js → formatter-ajn1y86a.js} +41 -41
- package/dist/chunks/{plugin-ebq1f2c4.js → formatter-b0rabd7v.js} +4 -4
- package/dist/chunks/{plugin-32awjfk4.js → formatter-b4ha2rs8.js} +43 -43
- package/dist/chunks/{plugin-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
- package/dist/chunks/{plugin-rmpfz9qj.js → formatter-bnmdvgqs.js} +24 -24
- package/dist/chunks/{plugin-7zrsc3f5.js → formatter-br7snsge.js} +24 -24
- package/dist/chunks/{plugin-vxp3kcg3.js → formatter-btec747f.js} +5 -5
- package/dist/chunks/formatter-bw78ga2c.js +13 -0
- package/dist/chunks/{plugin-092bevw2.js → formatter-bxer3mz6.js} +4 -4
- package/dist/chunks/{plugin-4hrcm8j6.js → formatter-c00z7kst.js} +3 -3
- package/dist/chunks/{plugin-dr3mn59c.js → formatter-c2xa3yvw.js} +9 -9
- package/dist/chunks/{plugin-vnard5rx.js → formatter-c7mdmw8n.js} +21 -17
- package/dist/chunks/{plugin-4e5pjfnh.js → formatter-cf7hwrjt.js} +25 -25
- package/dist/chunks/{plugin-06x8he3q.js → formatter-ckf8nxjz.js} +4 -4
- package/dist/chunks/{plugin-ha18sq8v.js → formatter-cn4hkr65.js} +11 -11
- package/dist/chunks/{plugin-e7hm9j0w.js → formatter-cxa8zwq4.js} +3 -3
- package/dist/chunks/{plugin-1z5p1kvf.js → formatter-cztmcb65.js} +5 -5
- package/dist/chunks/{plugin-b74dvs76.js → formatter-d4avb9t2.js} +15 -15
- package/dist/chunks/{plugin-qmqgtz8f.js → formatter-d4he2qe1.js} +9 -9
- package/dist/chunks/{plugin-e66nesxb.js → formatter-d82bvszf.js} +34 -34
- package/dist/chunks/{plugin-yy74f440.js → formatter-d9nd5m7k.js} +45 -45
- package/dist/chunks/formatter-dah2pafv.js +507 -0
- package/dist/chunks/{plugin-fhay06rt.js → formatter-dbr03gmn.js} +16 -16
- package/dist/chunks/{plugin-8a60hsqh.js → formatter-dd14dg4b.js} +23 -23
- package/dist/chunks/{plugin-e7ewrzh6.js → formatter-des67zbn.js} +68 -68
- package/dist/chunks/{plugin-08azx7vb.js → formatter-dnpg0cy3.js} +20 -20
- package/dist/chunks/{plugin-bp6nxkyb.js → formatter-dqahtrna.js} +9 -9
- package/dist/chunks/{plugin-ae9b2d22.js → formatter-e5x5vm11.js} +14 -14
- package/dist/chunks/{plugin-nrztd3hq.js → formatter-e646syvj.js} +14 -14
- package/dist/chunks/{plugin-nvzxqk3k.js → formatter-e7s2hhr5.js} +17 -17
- package/dist/chunks/{plugin-xakhm4tn.js → formatter-ea14h7c6.js} +10 -10
- package/dist/chunks/{plugin-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-h237y1hp.js → formatter-ef8pjxkk.js} +30 -30
- package/dist/chunks/{plugin-32egw0ep.js → formatter-ehjv0q1x.js} +6 -6
- package/dist/chunks/{plugin-4f6aj8kt.js → formatter-ek95yswj.js} +5 -5
- package/dist/chunks/{plugin-mdwhmar9.js → formatter-ers33zjm.js} +15 -15
- package/dist/chunks/{plugin-amvtxfe6.js → formatter-et6cb3je.js} +18 -18
- package/dist/chunks/{plugin-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
- package/dist/chunks/{plugin-pskvvnw1.js → formatter-f2fs9h5k.js} +25 -25
- package/dist/chunks/{plugin-71az546q.js → formatter-f75zav2x.js} +2 -2
- package/dist/chunks/{plugin-8mffgybp.js → formatter-f80tffhg.js} +10 -10
- package/dist/chunks/{plugin-bft59c27.js → formatter-faj2svbs.js} +9 -9
- package/dist/chunks/{plugin-vv067ckv.js → formatter-fzfvnzw6.js} +11 -11
- package/dist/chunks/{plugin-5f41ny5v.js → formatter-g2vpa6g8.js} +22 -22
- package/dist/chunks/{plugin-bgnxh9ws.js → formatter-g48b57vg.js} +5 -5
- package/dist/chunks/{plugin-5ta9513b.js → formatter-g6t9350c.js} +12 -12
- package/dist/chunks/{plugin-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-4mhzv44w.js → formatter-gerxg5wa.js} +23 -23
- package/dist/chunks/{plugin-k70p9jzb.js → formatter-gh5z95q3.js} +9 -9
- package/dist/chunks/{plugin-zekzssjs.js → formatter-ghqaq6b3.js} +3 -3
- package/dist/chunks/{plugin-930ytmjr.js → formatter-gjbmgrhc.js} +49 -45
- package/dist/chunks/{plugin-vhen0w1n.js → formatter-gr904wny.js} +5 -5
- package/dist/chunks/{plugin-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-sntjch4w.js → formatter-h7zcy97x.js} +11 -11
- package/dist/chunks/{plugin-2429x8vg.js → formatter-hd75vd23.js} +11 -11
- package/dist/chunks/{plugin-ht5y0zrb.js → formatter-ht5y0zrb.js} +1 -1
- package/dist/chunks/{plugin-391fy393.js → formatter-hx0a76nn.js} +13 -13
- package/dist/chunks/{plugin-9vvef7vj.js → formatter-hyg1vt4n.js} +11 -11
- package/dist/chunks/{plugin-33b8ym45.js → formatter-j23kp47h.js} +31 -31
- package/dist/chunks/{plugin-j56e64zr.js → formatter-j56e64zr.js} +1 -1
- package/dist/chunks/{plugin-e2mhf28a.js → formatter-jfan4vg4.js} +4 -4
- package/dist/chunks/{plugin-ar26kh34.js → formatter-jjw66fma.js} +17 -17
- package/dist/chunks/{plugin-7adggac6.js → formatter-jmv0w02j.js} +15 -15
- package/dist/chunks/{plugin-a3c7ahw6.js → formatter-jpqeh2wc.js} +4 -4
- package/dist/chunks/{plugin-zf67r54m.js → formatter-k1526a4z.js} +32 -32
- package/dist/chunks/{plugin-amwnzxwh.js → formatter-k5a65910.js} +18 -18
- package/dist/chunks/{plugin-9p27s66n.js → formatter-k788bznc.js} +17 -17
- package/dist/chunks/{plugin-4nzwy074.js → formatter-kb6gw2zp.js} +4 -4
- package/dist/chunks/{plugin-9e5bzkjp.js → formatter-kb9j3d72.js} +3 -3
- package/dist/chunks/{plugin-k3s89w80.js → formatter-kfbhpbwq.js} +11 -11
- package/dist/chunks/{plugin-0rq97exp.js → formatter-kgd1zbpx.js} +20 -20
- package/dist/chunks/{plugin-v1sag97x.js → formatter-kjb6x653.js} +5 -5
- package/dist/chunks/{plugin-0j5ch4x2.js → formatter-kkpjb290.js} +8 -17
- package/dist/chunks/{plugin-50mzsvk4.js → formatter-kvvk39gs.js} +4 -4
- package/dist/chunks/{plugin-qsd76w7z.js → formatter-kwx820js.js} +7 -7
- package/dist/chunks/{plugin-m3fdjcah.js → formatter-m3fdjcah.js} +1 -1
- package/dist/chunks/{plugin-2jjf33bd.js → formatter-m599nq64.js} +10 -10
- package/dist/chunks/{plugin-ss358qx3.js → formatter-m5jcjszt.js} +3 -3
- package/dist/chunks/{plugin-9wsb121e.js → formatter-m9n8negv.js} +7 -7
- package/dist/chunks/{plugin-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-pbahbm87.js → formatter-mc57t5dc.js} +1 -1
- package/dist/chunks/{plugin-1ygqh575.js → formatter-mfqp6xfm.js} +6 -6
- package/dist/chunks/{plugin-y0411vg4.js → formatter-mp4yneke.js} +35 -35
- package/dist/chunks/{plugin-9wnskma6.js → formatter-naf52ke2.js} +37 -37
- package/dist/chunks/{plugin-zdfqscx7.js → formatter-nbcx5sdf.js} +36 -36
- package/dist/chunks/{plugin-w24qmnvj.js → formatter-necp402n.js} +43 -43
- package/dist/chunks/{plugin-fwnv5zf0.js → formatter-nhb4k98j.js} +43 -43
- package/dist/chunks/{plugin-c9rjf8cy.js → formatter-nqj3666b.js} +32 -32
- package/dist/chunks/{plugin-ek1j26r9.js → formatter-nqvx5zpw.js} +15 -15
- package/dist/chunks/{plugin-gw7cjrad.js → formatter-nxe4pcap.js} +4 -4
- package/dist/chunks/{plugin-dpkg50ah.js → formatter-nxm207yx.js} +4 -4
- package/dist/chunks/{plugin-99xqbvzd.js → formatter-nz84ab76.js} +16 -16
- package/dist/chunks/{plugin-5c3bjzbg.js → formatter-p734n3dq.js} +21 -21
- package/dist/chunks/{plugin-5enbrya0.js → formatter-p7hdmtan.js} +2 -2
- package/dist/chunks/{plugin-1027hae5.js → formatter-p8vrnvt6.js} +13 -13
- package/dist/chunks/{plugin-320bjqex.js → formatter-pg0cyarh.js} +5 -5
- package/dist/chunks/{plugin-9d8a2yy3.js → formatter-pjcdc1eb.js} +6 -6
- package/dist/chunks/{plugin-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-65v7h52e.js → formatter-ps7kxe9a.js} +32 -32
- package/dist/chunks/{plugin-q0xm7vwc.js → formatter-q0xm7vwc.js} +2 -2
- package/dist/chunks/{plugin-kdb0wxfy.js → formatter-q63peekz.js} +12 -12
- package/dist/chunks/{plugin-j1n7agav.js → formatter-q6q73qn9.js} +24 -24
- package/dist/chunks/{plugin-tmjk8msh.js → formatter-q9gsjjyz.js} +10 -10
- package/dist/chunks/{plugin-2k8khapm.js → formatter-qgn6gcr1.js} +5 -5
- package/dist/chunks/{plugin-v71c1a1v.js → formatter-qgr2r415.js} +4 -4
- package/dist/chunks/{plugin-npzmw89e.js → formatter-qky8mzgr.js} +26 -26
- package/dist/chunks/{plugin-qnc92qwc.js → formatter-qnc92qwc.js} +1 -1
- package/dist/chunks/{plugin-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-xyafkbt0.js → formatter-qxjc9qry.js} +3 -3
- package/dist/chunks/{plugin-73tb2d7t.js → formatter-r5x6zcsm.js} +3 -3
- package/dist/chunks/{plugin-ry3mjkdh.js → formatter-ra6fqd91.js} +16 -16
- package/dist/chunks/{plugin-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-4n607a2z.js → formatter-reg6q42h.js} +5 -5
- package/dist/chunks/{plugin-q70t7gd8.js → formatter-rf4xy6dj.js} +9 -9
- package/dist/chunks/{plugin-yp2x3t23.js → formatter-rhraev7y.js} +4 -4
- package/dist/chunks/{plugin-sdte03hf.js → formatter-rmzybef8.js} +30 -30
- package/dist/chunks/{plugin-ga0hptyh.js → formatter-rpbvprrj.js} +4 -4
- package/dist/chunks/{plugin-ck862t9c.js → formatter-rq5v6z90.js} +19 -19
- package/dist/chunks/{plugin-8t65gaz4.js → formatter-rsgvate9.js} +17 -17
- package/dist/chunks/{plugin-pkqb68ka.js → formatter-rx9ava5n.js} +4 -4
- package/dist/chunks/{plugin-aqag2c9v.js → formatter-s21nf3rq.js} +4 -4
- package/dist/chunks/{plugin-wv396vej.js → formatter-s8d7rejh.js} +8 -8
- package/dist/chunks/{plugin-nf8t0c59.js → formatter-sacz22za.js} +16 -16
- package/dist/chunks/{plugin-q40dj8e5.js → formatter-scggp4v7.js} +21 -21
- package/dist/chunks/{plugin-q51c7908.js → formatter-sfwf9rc4.js} +20 -20
- package/dist/chunks/formatter-sgjy82vw.js +26 -0
- package/dist/chunks/{plugin-x4d5q8t7.js → formatter-ssnh0g9s.js} +9 -9
- package/dist/chunks/{plugin-8n3kmt1c.js → formatter-swa1ang0.js} +14 -14
- package/dist/chunks/{plugin-7sth8apw.js → formatter-syq0zh6w.js} +11 -11
- package/dist/chunks/{plugin-snth2vya.js → formatter-t469wz72.js} +8 -8
- package/dist/chunks/{plugin-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-k5t7rshj.js → formatter-tbfz7sz5.js} +32 -32
- package/dist/chunks/{plugin-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
- package/dist/chunks/{plugin-hw0qwmn2.js → formatter-tcjh7x7b.js} +14 -14
- package/dist/chunks/{plugin-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-9hn6k4tm.js → formatter-tpw6cwsb.js} +8 -8
- package/dist/chunks/{plugin-rxxzktnj.js → formatter-trkkz53a.js} +8 -8
- package/dist/chunks/{plugin-1p07q0wb.js → formatter-ts23464c.js} +2 -2
- package/dist/chunks/{plugin-mbwetfdd.js → formatter-tvp4by9h.js} +14 -14
- package/dist/chunks/{plugin-0bg0bx69.js → formatter-v0es1rhs.js} +5 -5
- package/dist/chunks/{plugin-yfbpz9gr.js → formatter-v0kt4h1e.js} +17 -17
- package/dist/chunks/{plugin-63db42yp.js → formatter-v0xmac3n.js} +2 -2
- package/dist/chunks/{plugin-b6y062z6.js → formatter-v1pc8fa1.js} +20 -20
- package/dist/chunks/{plugin-4xsb3hs6.js → formatter-v3cf9ktn.js} +14 -14
- package/dist/chunks/{plugin-v5dkyp31.js → formatter-v5dkyp31.js} +1 -1
- package/dist/chunks/formatter-vd4bf68b.js +253 -0
- package/dist/chunks/formatter-ve7vex1e.js +13 -0
- package/dist/chunks/{plugin-1pdpjhqt.js → formatter-vemxbn5z.js} +13 -13
- package/dist/chunks/{plugin-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-k0xk7f5q.js → formatter-vq6dzy0v.js} +26 -26
- package/dist/chunks/{plugin-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-57b9ws8p.js → formatter-w19d8598.js} +4 -4
- package/dist/chunks/{plugin-b6w32ww0.js → formatter-w3py4050.js} +19 -19
- package/dist/chunks/{plugin-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-k6ktwx3w.js → formatter-w8jh9azx.js} +36 -36
- package/dist/chunks/{plugin-91dde8t4.js → formatter-w8my3ska.js} +34 -34
- package/dist/chunks/{plugin-nf6gg3qx.js → formatter-w9vkhkej.js} +20 -20
- package/dist/chunks/{plugin-34hmfy8j.js → formatter-wbdwm9jt.js} +20 -20
- package/dist/chunks/{plugin-4gaxa8kh.js → formatter-wbxp7nx3.js} +54 -54
- package/dist/chunks/{plugin-7272kpvj.js → formatter-wc20fpmx.js} +11 -11
- package/dist/chunks/{plugin-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-scgrse2b.js → formatter-wecqtg5s.js} +5 -5
- package/dist/chunks/{plugin-cnw1ybh9.js → formatter-wsbctvc5.js} +13 -13
- package/dist/chunks/{plugin-1dm5w4wz.js → formatter-wyh9vnvk.js} +49 -49
- package/dist/chunks/{plugin-2c5zhkam.js → formatter-wzvt4r95.js} +4 -4
- package/dist/chunks/{plugin-nb1ky5fj.js → formatter-x0b110sz.js} +14 -14
- package/dist/chunks/{plugin-06b8tjqm.js → formatter-x2859ts3.js} +42 -42
- package/dist/chunks/{plugin-8cvfc0bm.js → formatter-x2sdnm38.js} +4 -4
- package/dist/chunks/{plugin-em9t7gzc.js → formatter-xbt5mkr1.js} +23 -23
- package/dist/chunks/{plugin-8bchjepv.js → formatter-xdedz7hg.js} +1 -1
- package/dist/chunks/{plugin-xkntkrq7.js → formatter-xkntkrq7.js} +2 -2
- package/dist/chunks/{plugin-nvzkeydp.js → formatter-xq4xd5zy.js} +10 -10
- package/dist/chunks/{plugin-rav9e4bf.js → formatter-xs12am9p.js} +8 -8
- package/dist/chunks/{plugin-88wnevm5.js → formatter-xsv3j8px.js} +29 -29
- package/dist/chunks/{plugin-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-7w1f2z6x.js → formatter-y2gcm8rh.js} +5 -5
- package/dist/chunks/{plugin-xxxym934.js → formatter-y6mhz57t.js} +4 -4
- package/dist/chunks/{plugin-qkkm507d.js → formatter-y7kbswjf.js} +8 -8
- package/dist/chunks/{plugin-jnqz9a2w.js → formatter-ynjs7hd3.js} +12 -12
- package/dist/chunks/{plugin-jahgpaz9.js → formatter-yqedg5yd.js} +23 -23
- package/dist/chunks/{plugin-b179z9aa.js → formatter-yr4vky8k.js} +5 -5
- package/dist/chunks/{plugin-avwgryr9.js → formatter-yv71fmm2.js} +17 -17
- package/dist/chunks/{plugin-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-06ggqby9.js → formatter-z1952mbe.js} +10 -10
- package/dist/chunks/{plugin-e8vwfchq.js → formatter-z2jd07rd.js} +6 -6
- package/dist/chunks/{plugin-sxzvkvgj.js → formatter-zdwe30dy.js} +6 -6
- package/dist/chunks/{plugin-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-zxq2ej10.js → formatter-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 +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +67 -67
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -364
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +100 -100
- 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 +357 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +354 -352
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +6 -0
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +6 -0
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -157
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +123 -123
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/plugin/provider/databricks.d.ts +1 -0
- package/dist/types/plugin/provider/neon.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +90 -90
- package/dist/worktree.js +99 -99
- package/package.json +8 -8
- package/dist/chunks/plugin-3gh35byt.js +0 -26
- package/dist/chunks/plugin-pej1tjty.js +0 -253
- package/dist/chunks/plugin-q20jv0rb.js +0 -507
- /package/dist/chunks/{plugin-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-34c7v6d4.js → formatter-34c7v6d4.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3t0ybcrp.js → formatter-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-rpbvprrj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./formatter-967syq3g.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service47,
|
|
12
|
+
node50
|
|
13
|
+
} from "./formatter-g2vpa6g8.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./formatter-v3cf9ktn.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-nz84ab76.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-gr904wny.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service51,
|
|
36
|
+
Event12,
|
|
37
|
+
node55
|
|
38
|
+
} from "./formatter-sfwf9rc4.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./formatter-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options5,
|
|
48
|
+
Service: () => Service46,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured5,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer17,
|
|
53
|
+
node: () => node49,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options5 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service46 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service46, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer17 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service80;
|
|
97
|
+
const watcher = yield* Service47;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service78;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service51;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -217,8 +217,8 @@ var layer24 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
217
217
|
}, (effect) => reloadLock.withPermit(effect));
|
|
218
218
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
219
219
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
-
yield* bus.subscribe(
|
|
221
|
-
yield* bus.subscribe(
|
|
220
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
221
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
222
222
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
223
223
|
if (!wellknown.snapshot().length)
|
|
224
224
|
return Effect.void;
|
|
@@ -246,7 +246,7 @@ var layer24 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
246
246
|
`);
|
|
247
247
|
yield* requestReload;
|
|
248
248
|
}, (effect) => updateLock.withPermit(effect));
|
|
249
|
-
return
|
|
249
|
+
return Service46.of({
|
|
250
250
|
entries: Effect.fnUntraced(function* () {
|
|
251
251
|
return configs;
|
|
252
252
|
}),
|
|
@@ -258,13 +258,13 @@ var layer24 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
258
258
|
update
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
function
|
|
261
|
+
function configured5(options) {
|
|
262
262
|
return makeLocationNode({
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
263
|
+
service: Service46,
|
|
264
|
+
layer: layer17(options),
|
|
265
|
+
deps: [node50, node87, FSUtil.node, Global.node, node84, node82, node55]
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
|
-
var
|
|
268
|
+
var node49 = configured5();
|
|
269
269
|
|
|
270
|
-
export { latest2,
|
|
270
|
+
export { latest2, Options5, Service46, Test2, testLayer2, layer17, configured5, node49, exports_config };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-c00z7kst.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-nxm207yx.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node75
|
|
12
|
+
} from "./formatter-68dcddmz.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info18,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service71,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured10,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node74
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID10 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info18 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID10,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info17 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID10,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service71 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured10 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service71,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node75]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info18({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service71.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID10.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node74 = configured10();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID10, Info18, NotFound3, CreateConflict2, Service71, configured10, node74, exports_workspace };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-ea14h7c6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-rpbvprrj.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./formatter-967syq3g.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-ef8pjxkk.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service39
|
|
21
|
+
} from "./formatter-f80tffhg.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-nqj3666b.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-1956cf4w.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID3,
|
|
32
|
+
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-f2fs9h5k.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID3
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -105,7 +105,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
105
105
|
}
|
|
106
106
|
function oauth(http) {
|
|
107
107
|
return {
|
|
108
|
-
integrationID:
|
|
108
|
+
integrationID: ID14.make("opencode"),
|
|
109
109
|
method: {
|
|
110
110
|
id: methodID,
|
|
111
111
|
type: "oauth",
|
|
@@ -172,7 +172,7 @@ var OpencodePlugin2 = define({
|
|
|
172
172
|
const bus = yield* Service83;
|
|
173
173
|
const client = yield* HttpClient.HttpClient;
|
|
174
174
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
175
|
-
const managed = yield*
|
|
175
|
+
const managed = yield* Service39;
|
|
176
176
|
const scope = yield* Scope.Scope;
|
|
177
177
|
const loading = Semaphore.makeUnsafe(1);
|
|
178
178
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -221,7 +221,7 @@ var OpencodePlugin2 = define({
|
|
|
221
221
|
providers.update(providerID, (provider) => {
|
|
222
222
|
if (source && source.provider !== provider)
|
|
223
223
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
224
|
-
provider.integrationID =
|
|
224
|
+
provider.integrationID = ID14.make("opencode");
|
|
225
225
|
if (item.canonical !== undefined)
|
|
226
226
|
provider.canonical = item.canonical;
|
|
227
227
|
if (item.name !== undefined)
|
|
@@ -287,7 +287,7 @@ var OpencodePlugin2 = define({
|
|
|
287
287
|
sourceConnection: snapshot.connection
|
|
288
288
|
});
|
|
289
289
|
}
|
|
290
|
-
const item = providers.get(
|
|
290
|
+
const item = providers.get(ID13.opencode);
|
|
291
291
|
if (!item)
|
|
292
292
|
return;
|
|
293
293
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -299,7 +299,7 @@ var OpencodePlugin2 = define({
|
|
|
299
299
|
});
|
|
300
300
|
});
|
|
301
301
|
yield* ctx.model.transform((models) => {
|
|
302
|
-
const item = models.provider.get(
|
|
302
|
+
const item = models.provider.get(ID13.opencode);
|
|
303
303
|
if (!item)
|
|
304
304
|
return;
|
|
305
305
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -333,7 +333,7 @@ var OpencodePlugin2 = define({
|
|
|
333
333
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
334
334
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
335
335
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
336
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
336
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
337
337
|
query: input.query,
|
|
338
338
|
providerID: descriptor.providerID
|
|
339
339
|
}));
|
|
@@ -388,10 +388,10 @@ var OpencodePlugin2 = define({
|
|
|
388
388
|
});
|
|
389
389
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
390
390
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
391
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
391
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
392
392
|
});
|
|
393
393
|
yield* guard(snapshot);
|
|
394
|
-
yield* bus.subscribe(
|
|
394
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
395
395
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
396
396
|
})
|
|
397
397
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/plugin/provider/databricks.ts
|
|
2
|
+
import { Effect } from "effect";
|
|
3
|
+
import { define } from "@opencode/plugin/effect/plugin";
|
|
4
|
+
var DatabricksPlugin2 = define({
|
|
5
|
+
id: "opencode.provider.databricks",
|
|
6
|
+
effect: Effect.fn(function* (ctx) {
|
|
7
|
+
yield* ctx.integration.transform((editor) => {
|
|
8
|
+
editor.method.update({ integrationID: "databricks", method: { type: "env", names: ["DATABRICKS_TOKEN"] } });
|
|
9
|
+
});
|
|
10
|
+
})
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
export { DatabricksPlugin2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-btec747f.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-0sdjwrsq.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-ghqaq6b3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-ea14h7c6.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin26,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin26 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin3 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin3 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin26, exports_firecrawl };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-rpbvprrj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID15,
|
|
6
|
+
Event19,
|
|
7
|
+
Service78
|
|
8
|
+
} from "./formatter-967syq3g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID13
|
|
11
|
+
} from "./formatter-nqj3666b.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-4gjsgka5.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service78;
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,11 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID13.googleVertex,
|
|
82
|
+
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
|
+
});
|
|
84
|
+
editor.method.update({
|
|
85
|
+
integrationID: ID13.googleVertex,
|
|
82
86
|
method: {
|
|
83
87
|
id: ADC_METHOD,
|
|
84
88
|
type: "external",
|
|
@@ -116,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
116
120
|
});
|
|
117
121
|
yield* ctx.provider.transform((evt) => {
|
|
118
122
|
for (const item of evt.list()) {
|
|
119
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
120
124
|
continue;
|
|
121
125
|
const settings = settingsFor(item.provider);
|
|
122
126
|
const project = resolveProject(settings);
|
|
@@ -135,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
135
139
|
});
|
|
136
140
|
yield* ctx.model.transform((models) => {
|
|
137
141
|
for (const item of models.provider.list()) {
|
|
138
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
139
143
|
continue;
|
|
140
144
|
const settings = settingsFor(item.provider);
|
|
141
145
|
const project = resolveProject(settings);
|
|
@@ -152,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
152
156
|
}
|
|
153
157
|
}
|
|
154
158
|
});
|
|
155
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
156
160
|
const next = yield* load();
|
|
157
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
158
162
|
return;
|