@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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-scggp4v7.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent2 = {};
|
|
12
|
+
__export(exports_agent2, {
|
|
13
|
+
AgentPlugin: () => exports_agent2,
|
|
14
|
+
Plugin: () => Plugin30
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin30 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -91,32 +91,32 @@ var Plugin14 = define({
|
|
|
91
91
|
item.mode = "primary";
|
|
92
92
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
93
93
|
});
|
|
94
|
-
editor.update(
|
|
94
|
+
editor.update(ID8.make("general"), (item) => {
|
|
95
95
|
item.name = Name3.make("General");
|
|
96
96
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
97
97
|
item.mode = "subagent";
|
|
98
98
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
99
99
|
});
|
|
100
|
-
editor.update(
|
|
100
|
+
editor.update(ID8.make("explore"), (item) => {
|
|
101
101
|
item.name = Name3.make("Explore");
|
|
102
102
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
103
103
|
item.system = PROMPT_EXPLORE;
|
|
104
104
|
item.mode = "subagent";
|
|
105
105
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
106
106
|
});
|
|
107
|
-
editor.update(
|
|
107
|
+
editor.update(ID8.make("compaction"), (item) => {
|
|
108
108
|
item.name = Name3.make("Compaction");
|
|
109
109
|
item.mode = "primary";
|
|
110
110
|
item.hidden = true;
|
|
111
111
|
});
|
|
112
|
-
editor.update(
|
|
112
|
+
editor.update(ID8.make("title"), (item) => {
|
|
113
113
|
item.name = Name3.make("Title");
|
|
114
114
|
item.mode = "primary";
|
|
115
115
|
item.hidden = true;
|
|
116
116
|
item.system = PROMPT_TITLE;
|
|
117
117
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
118
118
|
});
|
|
119
|
-
editor.update(
|
|
119
|
+
editor.update(ID8.make("summary"), (item) => {
|
|
120
120
|
item.name = Name3.make("Summary");
|
|
121
121
|
item.mode = "primary";
|
|
122
122
|
item.hidden = true;
|
|
@@ -127,4 +127,4 @@ var Plugin14 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin30, exports_agent2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-rpbvprrj.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-addxnjmp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./formatter-967syq3g.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./formatter-ef8pjxkk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service76
|
|
16
|
+
} from "./formatter-nqj3666b.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./formatter-gerxg5wa.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service76;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
11
|
layer: () => layer21,
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
make: () => make17,
|
|
13
|
+
node: () => node54,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make17()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make17(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var layer21 = (input) => Layer.succeed(Metadata2,
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make17(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node54 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make17, useragent2, layer21, configured8, node54, exports_app };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-rpbvprrj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./formatter-967syq3g.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-addxnjmp.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-cf7hwrjt.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event18,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID14,
|
|
41
|
+
Info: () => Info23,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service77,
|
|
49
|
+
node: () => node81
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/unstable/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
72
|
+
var ID14 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info23 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID14,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service78;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info23.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service77.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key4.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node81 = makeLocationNode({
|
|
633
|
+
service: Service77,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node82, node87, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-nqj3666b.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-1956cf4w.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -530,4 +530,4 @@ var PROTOCOLS = {
|
|
|
530
530
|
[aisdk2("gitlab-ai-provider")]: gitlab
|
|
531
531
|
};
|
|
532
532
|
|
|
533
|
-
export {
|
|
533
|
+
export { resolve4, exports_variant };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./formatter-ef8pjxkk.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service77;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service70,
|
|
8
|
+
node73
|
|
9
|
+
} from "./formatter-q6q73qn9.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-xsv3j8px.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service70;
|
|
335
|
+
return Service12.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [node73] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-7hv02s19.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./formatter-v3cf9ktn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service61,
|
|
13
|
+
node64
|
|
14
|
+
} from "./formatter-9x2r4bwb.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service40,
|
|
26
|
+
node: () => node43,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service40 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service80;
|
|
55
|
+
const permission = yield* Service61;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service40.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [FSUtil.node, node84, node64] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service40, resolvePath2, node43, exports_file_access };
|