@opencode/core 0.0.0-dev-20046 → 0.0.0-dev-20048
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{generate-n76g8031.js → state-01hrvc9d.js} +7 -7
- package/dist/chunks/{generate-fn0a81m4.js → state-048mvh15.js} +26 -26
- package/dist/chunks/{generate-vahype7v.js → state-04etjcjv.js} +19 -19
- package/dist/chunks/{generate-cpg3rt6q.js → state-06fa46aw.js} +42 -42
- package/dist/chunks/state-0mesazry.js +4 -0
- package/dist/chunks/{generate-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-kmhmhkps.js → state-0x0rejgs.js} +19 -19
- package/dist/chunks/{generate-fp9f8xxs.js → state-191n6bah.js} +11 -11
- package/dist/chunks/{generate-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-syfwxnch.js → state-1dz0a09m.js} +9 -9
- package/dist/chunks/{generate-5kw0n2ma.js → state-1fcrsx1q.js} +5 -5
- package/dist/chunks/{generate-dh18bms1.js → state-1h5r6g9j.js} +7 -7
- package/dist/chunks/{generate-1vp5fyhh.js → state-1knck39s.js} +11 -11
- package/dist/chunks/{generate-hnp1s8mk.js → state-1nkfddbq.js} +10 -10
- package/dist/chunks/{generate-4myghj1q.js → state-1rxhvb8z.js} +33 -33
- package/dist/chunks/{generate-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{generate-2402vzrj.js → state-2402vzrj.js} +1 -1
- package/dist/chunks/{generate-n7kq1k7k.js → state-2629fpm1.js} +9 -9
- package/dist/chunks/{generate-ytrvastn.js → state-287djwcw.js} +16 -16
- package/dist/chunks/{generate-fdrt4ptc.js → state-29jghzvv.js} +8 -8
- package/dist/chunks/{generate-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-wx47vh9f.js → state-2ehzxgs2.js} +15 -15
- package/dist/chunks/{generate-sc4v13qp.js → state-2nws2gjr.js} +6 -6
- package/dist/chunks/{generate-a5vv3ypq.js → state-2pcga327.js} +21 -21
- package/dist/chunks/{generate-6wjk33h8.js → state-2q76gmxn.js} +24 -24
- package/dist/chunks/{generate-tatq26y7.js → state-2rfpmfe1.js} +27 -27
- package/dist/chunks/{generate-rapp18dr.js → state-2rs2jmw8.js} +29 -29
- package/dist/chunks/{generate-gjwgx2c5.js → state-2sejkfem.js} +9 -9
- package/dist/chunks/{generate-6yxkg8a7.js → state-2vmqg2px.js} +11 -11
- package/dist/chunks/{generate-0mm9aq32.js → state-39z47dss.js} +5 -5
- package/dist/chunks/{generate-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-h0559xvs.js → state-3gb4mbad.js} +170 -170
- package/dist/chunks/{generate-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-d1mtykxg.js → state-3ppptnan.js} +6 -6
- package/dist/chunks/{generate-xxrx4782.js → state-3qbgdjz5.js} +20 -20
- package/dist/chunks/{generate-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-0nde5ztd.js → state-3tt1qkhr.js} +5 -5
- package/dist/chunks/{generate-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-21g45xjy.js → state-3xead72a.js} +3 -3
- package/dist/chunks/{generate-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-snk33gt5.js → state-4d234pj1.js} +24 -24
- package/dist/chunks/{generate-77bxhrq0.js → state-4jqw9tdg.js} +5 -5
- package/dist/chunks/{generate-0gmabv41.js → state-4k5d13q0.js} +6 -6
- package/dist/chunks/{generate-etvcck5n.js → state-4np4xevn.js} +5 -5
- package/dist/chunks/{generate-bpmbxd3k.js → state-4xgye4q4.js} +14 -14
- package/dist/chunks/{generate-a8a3mdwp.js → state-4xh8p5r9.js} +37 -37
- package/dist/chunks/{generate-1440p5c0.js → state-4xk4yn8m.js} +17 -17
- package/dist/chunks/{generate-2c5cbb18.js → state-4yb9sg3q.js} +31 -31
- package/dist/chunks/{generate-ahv57w39.js → state-4z6yjmn2.js} +25 -25
- package/dist/chunks/{generate-3n9xame2.js → state-54crpygx.js} +28 -28
- package/dist/chunks/{generate-rdecwvm0.js → state-56dkfrzf.js} +4 -4
- package/dist/chunks/{generate-33w4ejhs.js → state-56gdpj1q.js} +6 -6
- package/dist/chunks/{generate-57ez7d0k.js → state-57ez7d0k.js} +2 -2
- package/dist/chunks/{generate-14zbncxz.js → state-59qdxchp.js} +11 -11
- package/dist/chunks/{generate-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-5ekn9679.js → state-5ekn9679.js} +1 -1
- package/dist/chunks/{generate-ngv1k710.js → state-5hcsf9we.js} +10 -10
- package/dist/chunks/{generate-dj616sdp.js → state-5mf4awx7.js} +1 -1
- package/dist/chunks/{generate-a6ewaavh.js → state-5rcwft22.js} +14 -14
- package/dist/chunks/{generate-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-qgn6gcr1.js → state-607tc6va.js} +5 -5
- package/dist/chunks/{generate-gjjgb4gb.js → state-659vz1hh.js} +11 -11
- package/dist/chunks/{generate-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{generate-0bt81q2b.js → state-6b8xfggn.js} +2 -2
- package/dist/chunks/{generate-mpfv79en.js → state-6d35anwg.js} +9 -9
- package/dist/chunks/{generate-65rvndkz.js → state-6g307qqy.js} +27 -27
- package/dist/chunks/{generate-sz1n82y1.js → state-6ht0qgxp.js} +27 -27
- package/dist/chunks/{generate-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-wwxvwabb.js → state-6pcpef1g.js} +35 -35
- package/dist/chunks/{generate-pzqw1wav.js → state-6rzyxrbs.js} +28 -28
- package/dist/chunks/{generate-d8zjpaz4.js → state-6ysrkrkr.js} +8 -8
- package/dist/chunks/{generate-x42atskx.js → state-70y8twc4.js} +9 -9
- package/dist/chunks/{generate-q6fyt7vz.js → state-7213dkvb.js} +5 -5
- package/dist/chunks/{generate-cb4stpxc.js → state-78d4400s.js} +11 -11
- package/dist/chunks/{generate-408ax8ck.js → state-78kgqsf0.js} +15 -15
- package/dist/chunks/{generate-6j71bdrn.js → state-7b4th3wc.js} +4 -4
- package/dist/chunks/{generate-xde9qd6b.js → state-7b9kdrwd.js} +25 -25
- package/dist/chunks/{generate-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-p4s7j977.js → state-7d4y95ya.js} +11 -11
- package/dist/chunks/{generate-1bbkgx8g.js → state-7yh4e7ss.js} +3 -3
- package/dist/chunks/{generate-4z39dsvf.js → state-86neyp8d.js} +41 -41
- package/dist/chunks/{generate-tcezcvh9.js → state-89znhe33.js} +4 -4
- package/dist/chunks/{generate-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-v14dkeae.js → state-8dsn79bq.js} +3 -3
- package/dist/chunks/{generate-jp8hq39h.js → state-8ex1v7ge.js} +5 -5
- package/dist/chunks/{generate-3a83a0n4.js → state-8mbscqky.js} +8 -8
- package/dist/chunks/{generate-6tgf83tn.js → state-8pap4f00.js} +11 -11
- package/dist/chunks/{generate-kwyg33s8.js → state-8vse6jtk.js} +12 -12
- package/dist/chunks/{generate-94ek1h2f.js → state-94ek1h2f.js} +2 -2
- package/dist/chunks/{generate-4yn06qnw.js → state-9pyyqvsg.js} +32 -32
- package/dist/chunks/{generate-sb7jh7an.js → state-9vtsvkk2.js} +6 -6
- package/dist/chunks/{generate-m92f15w4.js → state-9xxts4r9.js} +9 -9
- package/dist/chunks/{generate-k212m9dd.js → state-a2855keb.js} +4 -4
- package/dist/chunks/{generate-09ckt0s3.js → state-a7q99tff.js} +8 -8
- package/dist/chunks/{generate-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-bb308dz8.js → state-ac3z5j2t.js} +22 -22
- package/dist/chunks/{generate-22j9h8xd.js → state-ad7b423w.js} +12 -12
- package/dist/chunks/{generate-vy4zg7qh.js → state-afed7ext.js} +5 -5
- package/dist/chunks/{generate-ahd542yp.js → state-ahd542yp.js} +1 -1
- package/dist/chunks/{generate-45g4t3ag.js → state-asxwsg8x.js} +15 -15
- package/dist/chunks/{generate-zwh520xa.js → state-av919pbz.js} +16 -16
- package/dist/chunks/{generate-5frpvc34.js → state-b09hzw3k.js} +2 -2
- package/dist/chunks/{generate-gbawcwdt.js → state-b3x7v9y3.js} +15 -15
- package/dist/chunks/{generate-0vs0qezg.js → state-b5ts8e9j.js} +25 -25
- package/dist/chunks/{generate-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-4dgbcxzg.js → state-bc5edygd.js} +4 -4
- package/dist/chunks/{generate-5sx163nq.js → state-bfcdvpvm.js} +35 -35
- package/dist/chunks/{generate-eq8hfn6p.js → state-bj6d7p72.js} +35 -35
- package/dist/chunks/{generate-s0hza5ac.js → state-bjn91642.js} +4 -4
- package/dist/chunks/{generate-fng9e0je.js → state-bjs2yq5f.js} +6 -6
- package/dist/chunks/{generate-5yddbbw3.js → state-bm37k6ny.js} +12 -12
- package/dist/chunks/{generate-3ty5qgfs.js → state-bqp27804.js} +9 -9
- package/dist/chunks/{generate-941wpd15.js → state-c1vn73fw.js} +6 -6
- package/dist/chunks/{generate-3e147rt9.js → state-c576t1j6.js} +6 -6
- package/dist/chunks/state-c59kzj7e.js +26 -0
- package/dist/chunks/{generate-xmq2yw5m.js → state-c9esyfej.js} +18 -18
- package/dist/chunks/{generate-ckecvw8r.js → state-ckecvw8r.js} +2 -2
- package/dist/chunks/{generate-qg0cj28n.js → state-cyhjr8qz.js} +8 -8
- package/dist/chunks/{generate-g6zjvvdg.js → state-dh7fhzye.js} +20 -20
- package/dist/chunks/{generate-dj9sq318.js → state-dj9sq318.js} +2 -2
- package/dist/chunks/{generate-h3j9tznw.js → state-dkza8aye.js} +4 -4
- package/dist/chunks/{generate-3deq2g12.js → state-dr5yhmv3.js} +9 -9
- package/dist/chunks/{generate-9zbwceek.js → state-e0c9kqzd.js} +24 -24
- package/dist/chunks/{generate-mq5qvf98.js → state-e4n8ty8m.js} +5 -5
- package/dist/chunks/{generate-hs2a3b3x.js → state-e5xpd6yj.js} +3 -3
- package/dist/chunks/{generate-v0hhcyk6.js → state-eaxw8sd7.js} +3 -3
- package/dist/chunks/{generate-v2v746m1.js → state-eb018chj.js} +18 -18
- package/dist/chunks/{generate-6pqpz9bj.js → state-ebwvn17w.js} +15 -15
- package/dist/chunks/{generate-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-erw5rpbs.js → state-erw5rpbs.js} +2 -2
- package/dist/chunks/{generate-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-s8nzptyh.js → state-ew8ymzjh.js} +37 -37
- package/dist/chunks/{generate-8qh7a2b7.js → state-ezrkp374.js} +21 -21
- package/dist/chunks/{generate-f2n192rq.js → state-f2n192rq.js} +1 -1
- package/dist/chunks/{generate-69xx9vs0.js → state-f6e6ss5q.js} +43 -43
- package/dist/chunks/{generate-d758tqe8.js → state-f88pna8a.js} +23 -23
- package/dist/chunks/{generate-t6rzr7x0.js → state-f8x6snpr.js} +17 -17
- package/dist/chunks/{generate-prrcw8js.js → state-fkrg1jgt.js} +20 -20
- package/dist/chunks/{generate-fqb2p7cx.js → state-fqb2p7cx.js} +1 -1
- package/dist/chunks/{generate-kvq4qv8g.js → state-fzk5c087.js} +9 -9
- package/dist/chunks/{generate-5yx95y46.js → state-g3q8xvt3.js} +8 -8
- package/dist/chunks/{generate-w251xrcq.js → state-g7s6zfm9.js} +4 -4
- package/dist/chunks/{generate-sfd9g3pf.js → state-g9e6bpz0.js} +10 -10
- package/dist/chunks/{generate-jnbsce1r.js → state-gb1apezm.js} +9 -9
- package/dist/chunks/{generate-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-g1rz1ngr.js → state-gf2vt3wd.js} +6 -6
- package/dist/chunks/{generate-ff9zj3nc.js → state-gr5cvhzt.js} +14 -14
- package/dist/chunks/{generate-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{generate-x692666y.js → state-h2kxbj17.js} +27 -27
- package/dist/chunks/{generate-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-wb0t2qn7.js → state-hcam9bsc.js} +7 -7
- package/dist/chunks/{generate-w2j062zp.js → state-hj53m8my.js} +48 -48
- package/dist/chunks/{generate-gst7axd9.js → state-hn57h045.js} +4 -4
- package/dist/chunks/{generate-bgxcxs0p.js → state-hnr5yq9h.js} +5 -5
- package/dist/chunks/{generate-fq3yhk7e.js → state-hvf24zfz.js} +7 -7
- package/dist/chunks/{generate-a1zemhs9.js → state-hwkkb16b.js} +10 -10
- package/dist/chunks/{generate-rqvaktkj.js → state-hy85xjwn.js} +17 -17
- package/dist/chunks/{generate-4azfx6s3.js → state-j1t4gz23.js} +17 -17
- package/dist/chunks/{generate-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-0v53mg2y.js → state-j83byb14.js} +4 -4
- package/dist/chunks/{generate-ngd2431n.js → state-jac560fq.js} +42 -42
- package/dist/chunks/{generate-256ws0gb.js → state-jc202cmk.js} +13 -13
- package/dist/chunks/{generate-jsq0aznb.js → state-jegaewj3.js} +1 -1
- package/dist/chunks/{generate-213r17mq.js → state-jjs3a33e.js} +2 -2
- package/dist/chunks/{generate-nmnp2ymx.js → state-jraye65f.js} +18 -18
- package/dist/chunks/{generate-1z0p9d4e.js → state-jrq8nyb6.js} +7 -7
- package/dist/chunks/{generate-hb2v93g6.js → state-jw49cbrr.js} +35 -35
- package/dist/chunks/{generate-6cyzz8ke.js → state-kfkd8wec.js} +63 -63
- package/dist/chunks/{generate-r3dhan7w.js → state-kwrhfw2b.js} +39 -39
- package/dist/chunks/{generate-efdg34c6.js → state-m297x91g.js} +31 -31
- package/dist/chunks/{generate-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{generate-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-cavr175a.js → state-magykp64.js} +4 -4
- package/dist/chunks/state-mct0z50y.js +252 -0
- package/dist/chunks/{generate-mmr7bq34.js → state-mmr7bq34.js} +2 -2
- package/dist/chunks/{generate-yt1wq2wy.js → state-mxgm4s8c.js} +8 -8
- package/dist/chunks/{generate-kx1a24hw.js → state-mzchxfnj.js} +37 -37
- package/dist/chunks/{generate-mvksx64m.js → state-n1ka8r9d.js} +4 -4
- package/dist/chunks/{generate-arndb05z.js → state-n94bagkt.js} +6 -6
- package/dist/chunks/{generate-3nye6dc5.js → state-n9tzwawk.js} +7 -7
- package/dist/chunks/{generate-tj32tqzk.js → state-ngg98v4n.js} +11 -11
- package/dist/chunks/{generate-cf2276rd.js → state-nzgjyyka.js} +14 -14
- package/dist/chunks/{generate-nzks3jc8.js → state-nzks3jc8.js} +3 -3
- package/dist/chunks/{generate-rswww9ew.js → state-p27t6t4y.js} +8 -8
- package/dist/chunks/{generate-cme1evgc.js → state-p6e7gv25.js} +22 -22
- package/dist/chunks/{generate-5entzshm.js → state-p9cjdk98.js} +3 -3
- package/dist/chunks/{generate-frpc1n2d.js → state-p9xq1f21.js} +3 -3
- package/dist/chunks/{generate-g0445xdp.js → state-pa8pe2x7.js} +8 -8
- package/dist/chunks/{generate-g8jasmdt.js → state-pb1eahw5.js} +8 -8
- package/dist/chunks/{generate-hfnn7kny.js → state-pc6cxjb1.js} +25 -25
- package/dist/chunks/{generate-p44d8wdy.js → state-pecb0brz.js} +5 -5
- package/dist/chunks/{generate-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{generate-ygn80rtk.js → state-pr15s9x7.js} +4 -4
- package/dist/chunks/{generate-sdak5pwx.js → state-pv6ekvy2.js} +3 -3
- package/dist/chunks/{generate-sb5t4k0s.js → state-q3zdsabs.js} +10 -10
- package/dist/chunks/state-q509s3k3.js +18 -0
- package/dist/chunks/{generate-marx3rdf.js → state-q7rs3snj.js} +16 -16
- package/dist/chunks/{generate-5jhtbvzg.js → state-q7z5ybcs.js} +26 -26
- package/dist/chunks/{generate-q5gjyfgp.js → state-q805jq9w.js} +8 -8
- package/dist/chunks/{generate-24dd53tp.js → state-qg0jgkcp.js} +9 -9
- package/dist/chunks/{generate-rck92678.js → state-qnvmbtfx.js} +4 -4
- package/dist/chunks/{generate-zck7feqp.js → state-qp2982tz.js} +22 -22
- package/dist/chunks/{generate-ss8mggvm.js → state-qpxsvy3c.js} +9 -9
- package/dist/chunks/{generate-qqeeq2t9.js → state-qqeeq2t9.js} +1 -1
- package/dist/chunks/{generate-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-0jgpzw0r.js → state-qsjxsvq7.js} +25 -25
- package/dist/chunks/{generate-ncgeszke.js → state-qv94b06t.js} +8 -8
- package/dist/chunks/{generate-dvqatnet.js → state-qy6sahra.js} +22 -22
- package/dist/chunks/{generate-ak9msbxp.js → state-r01t9b5y.js} +4 -4
- package/dist/chunks/{generate-xyzn9sqz.js → state-r45gbma7.js} +13 -13
- package/dist/chunks/{generate-mm1zeq39.js → state-r75f9j48.js} +12 -12
- package/dist/chunks/{generate-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-rjygdas5.js → state-rm6wncmf.js} +29 -29
- package/dist/chunks/{generate-98vappwb.js → state-rmmjpg08.js} +12 -12
- package/dist/chunks/{generate-vktwk5kv.js → state-rpjgfq5s.js} +9 -9
- package/dist/chunks/{generate-6xx656an.js → state-rqhn2029.js} +19 -19
- package/dist/chunks/{generate-tvnr69ec.js → state-rqsrgvme.js} +22 -22
- package/dist/chunks/{generate-66s037ct.js → state-rykzdxn5.js} +18 -18
- package/dist/chunks/{generate-1jcy8x34.js → state-s01cwswe.js} +14 -14
- package/dist/chunks/{generate-wccf8jja.js → state-s5y17vq3.js} +18 -18
- package/dist/chunks/{generate-k5tz7j8z.js → state-sa80r6qx.js} +5 -5
- package/dist/chunks/{generate-69v350yq.js → state-sd5h2e1z.js} +23 -23
- package/dist/chunks/{generate-fxy9k04v.js → state-seamasfj.js} +17 -17
- package/dist/chunks/{generate-7tgakezr.js → state-sfntmzm9.js} +1 -1
- package/dist/chunks/{generate-axc0517c.js → state-sqwg4mrh.js} +16 -16
- package/dist/chunks/{generate-jgmx1568.js → state-t11acq0z.js} +8 -8
- package/dist/chunks/{generate-rhjbct0v.js → state-t550f9t1.js} +4 -4
- package/dist/chunks/{generate-ttg3xw16.js → state-t73kc664.js} +21 -21
- package/dist/chunks/{generate-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{generate-8nhvtgvt.js → state-te4wg8hb.js} +8 -8
- package/dist/chunks/{generate-vn6fxsg1.js → state-tgmyeeeq.js} +5 -5
- package/dist/chunks/{generate-ka9pqc7f.js → state-tgnbsyzc.js} +20 -20
- package/dist/chunks/{generate-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-v691y2we.js → state-v27qvcw0.js} +308 -308
- package/dist/chunks/{generate-x8v30ny9.js → state-v28c62ks.js} +3 -3
- package/dist/chunks/{generate-kb5y04bq.js → state-v3k62wtp.js} +3 -3
- package/dist/chunks/{generate-6z8hd1tn.js → state-v4sjsb1y.js} +24 -24
- package/dist/chunks/{generate-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-mw0kncyf.js → state-vfs4gywg.js} +16 -16
- package/dist/chunks/{generate-2dnsh64v.js → state-vgy9r72p.js} +6 -6
- package/dist/chunks/{generate-xjnt3mz7.js → state-vsn9dek0.js} +4 -4
- package/dist/chunks/{generate-vtxr0yy2.js → state-vtxr0yy2.js} +2 -2
- package/dist/chunks/{generate-cdq5w0ff.js → state-vx23e58e.js} +15 -15
- package/dist/chunks/{generate-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-wkwxx8bs.js → state-w0vds1sa.js} +8 -8
- package/dist/chunks/{generate-53md4s8b.js → state-w35smk9y.js} +12 -12
- package/dist/chunks/{generate-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-d8s47g42.js → state-w6s8wqk9.js} +9 -9
- package/dist/chunks/{generate-crnst1yf.js → state-w6wdv7p0.js} +13 -13
- package/dist/chunks/{generate-8k4gd91q.js → state-wa1e4jxq.js} +8 -8
- package/dist/chunks/{generate-wd3x2cqz.js → state-wd3x2cqz.js} +2 -2
- package/dist/chunks/{generate-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{generate-kgm00e3h.js → state-we8naas4.js} +25 -25
- package/dist/chunks/{generate-7h4rr5p2.js → state-wgpw1z2m.js} +23 -23
- package/dist/chunks/{generate-80scg3y3.js → state-wj76ss2k.js} +4 -4
- package/dist/chunks/{generate-6hjx5zpb.js → state-wk5z6jzv.js} +9 -9
- package/dist/chunks/{generate-wn1gkswa.js → state-wpnzd8g9.js} +68 -68
- package/dist/chunks/{generate-s7pvmk24.js → state-wsdek6tf.js} +5 -5
- package/dist/chunks/{generate-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-jyrj3vqh.js → state-x3w0806v.js} +18 -18
- package/dist/chunks/{generate-f4d32cs3.js → state-xe3pxytk.js} +4 -4
- package/dist/chunks/{generate-wcz1zxve.js → state-xqxmyzxd.js} +9 -9
- package/dist/chunks/{generate-a2bd23c2.js → state-xvy48wje.js} +4 -4
- package/dist/chunks/{generate-y19c3zcv.js → state-y19c3zcv.js} +1 -1
- package/dist/chunks/{generate-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-8q7cq0y1.js → state-y6f0p4jw.js} +3 -3
- package/dist/chunks/{generate-y71avatq.js → state-y71avatq.js} +1 -1
- package/dist/chunks/{generate-1fw2a5v8.js → state-ydm09cmz.js} +15 -15
- package/dist/chunks/{generate-h47ph6jp.js → state-yjybrs9s.js} +18 -18
- package/dist/chunks/{generate-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-yrznvahk.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{generate-705e2ap1.js → state-yt3hy1g9.js} +5 -5
- package/dist/chunks/{generate-z07pqspn.js → state-z07pqspn.js} +3 -3
- package/dist/chunks/{generate-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-vnn0hhza.js → state-z4a2hn5h.js} +13 -13
- package/dist/chunks/{generate-z63w68vq.js → state-z63w68vq.js} +2 -2
- package/dist/chunks/{generate-24frbayd.js → state-za2j8b29.js} +13 -13
- package/dist/chunks/{generate-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-f9rzwe3p.js → state-zs9646ss.js} +64 -64
- package/dist/chunks/{generate-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{generate-ejh6vr56.js → state-zzktyp0b.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- 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 +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +108 -108
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +148 -148
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- 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 +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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/attachment.js +2 -2
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/generate-02hsrpyz.js +0 -26
- package/dist/chunks/generate-e3zv43df.js +0 -252
- package/dist/chunks/generate-hr9dp009.js +0 -4
- package/dist/chunks/generate-ht5y0zrb.js +0 -18
- /package/dist/chunks/{generate-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -4,31 +4,31 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-jjs3a33e.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-sqwg4mrh.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin33,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin33 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
34
|
const location = yield* Service80;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin33, exports_git };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-bc5edygd.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-pr15s9x7.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-fkrg1jgt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-dh7fhzye.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service76
|
|
20
|
+
} from "./state-sd5h2e1z.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./state-b5ts8e9j.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-ngg98v4n.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-g3q8xvt3.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID14.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service76;
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID13.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
224
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID13.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID13.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-06fa46aw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service30,
|
|
12
|
+
node33
|
|
13
|
+
} from "./state-f6e6ss5q.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./state-rm6wncmf.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions4 = {};
|
|
24
|
+
__export(exports_instructions4, {
|
|
25
|
+
McpInstructions: () => exports_instructions4,
|
|
26
|
+
Service: () => Service28,
|
|
27
|
+
layer: () => layer11,
|
|
28
|
+
node: () => node31
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service28 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service30;
|
|
68
|
+
return Service28.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make19({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -86,7 +86,7 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node31 = makeLocationNode({ service: Service28, layer: layer11, deps: [node33] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service28, layer11, node31, exports_instructions4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin43,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin43 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin29 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin43, exports_identity };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service5 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service5.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service5, node7, exports_update };
|
|
@@ -1,87 +1,87 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-v3k62wtp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-jjs3a33e.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node79
|
|
14
|
+
} from "./state-b5ts8e9j.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID9,
|
|
17
|
+
Service61,
|
|
18
|
+
node64
|
|
19
|
+
} from "./state-0x0rejgs.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-e5xpd6yj.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-t550f9t1.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-56dkfrzf.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./state-29jghzvv.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service59,
|
|
34
|
+
node62
|
|
35
|
+
} from "./state-nzgjyyka.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./state-06fa46aw.js";
|
|
39
39
|
import {
|
|
40
40
|
make14
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./state-39z47dss.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service48,
|
|
44
|
+
node51
|
|
45
|
+
} from "./state-e0c9kqzd.js";
|
|
46
46
|
import {
|
|
47
47
|
Service21,
|
|
48
48
|
node25
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./state-vgy9r72p.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service31,
|
|
52
|
+
node34
|
|
53
|
+
} from "./state-4d234pj1.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
58
|
-
import {
|
|
59
|
-
Service22,
|
|
60
|
-
node26
|
|
61
|
-
} from "./generate-7h4rr5p2.js";
|
|
55
|
+
Service29,
|
|
56
|
+
node32
|
|
57
|
+
} from "./state-rm6wncmf.js";
|
|
62
58
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
59
|
+
Service28,
|
|
60
|
+
node31
|
|
61
|
+
} from "./state-wgpw1z2m.js";
|
|
66
62
|
import {
|
|
67
63
|
Service24,
|
|
68
64
|
node28
|
|
69
|
-
} from "./
|
|
65
|
+
} from "./state-s5y17vq3.js";
|
|
70
66
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
67
|
+
Service23,
|
|
68
|
+
node27
|
|
69
|
+
} from "./state-04etjcjv.js";
|
|
70
|
+
import {
|
|
71
|
+
Service22,
|
|
72
|
+
node26
|
|
73
|
+
} from "./state-asxwsg8x.js";
|
|
74
74
|
import {
|
|
75
75
|
Service26,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
node29
|
|
77
|
+
} from "./state-qp2982tz.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service41,
|
|
80
|
+
node43
|
|
81
|
+
} from "./state-za2j8b29.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./state-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
@@ -95,24 +95,24 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
95
95
|
class Service20 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
97
|
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
98
|
-
const agents = yield*
|
|
98
|
+
const agents = yield* Service61;
|
|
99
99
|
const builtins = yield* Service21;
|
|
100
|
-
const model = yield*
|
|
100
|
+
const model = yield* Service75;
|
|
101
101
|
const db = (yield* Service84).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
102
|
+
const discovery = yield* Service48;
|
|
103
|
+
const entries = yield* Service22;
|
|
104
104
|
const location = yield* Service80;
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
105
|
+
const mcpInstructions = yield* Service28;
|
|
106
|
+
const mcpTools = yield* Service29;
|
|
107
|
+
const models = yield* Service41;
|
|
108
108
|
const request = yield* Service26;
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
109
|
+
const referenceInstructions = yield* Service24;
|
|
110
|
+
const skillInstructions = yield* Service23;
|
|
111
|
+
const store = yield* Service59;
|
|
112
|
+
const registry = yield* Service31;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID9.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -195,21 +195,21 @@ var node24 = makeLocationNode({
|
|
|
195
195
|
service: Service20,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
node64,
|
|
199
|
+
node79,
|
|
200
200
|
node88,
|
|
201
201
|
node25,
|
|
202
|
-
|
|
203
|
-
node32,
|
|
204
|
-
node84,
|
|
202
|
+
node51,
|
|
205
203
|
node26,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
node30,
|
|
210
|
-
node61,
|
|
204
|
+
node84,
|
|
205
|
+
node31,
|
|
206
|
+
node32,
|
|
211
207
|
node28,
|
|
212
|
-
|
|
208
|
+
node43,
|
|
209
|
+
node29,
|
|
210
|
+
node62,
|
|
211
|
+
node27,
|
|
212
|
+
node34
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-fkrg1jgt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-dh7fhzye.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|