@opencode/core 0.0.0-dev-19673 → 0.0.0-dev-19674
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{form-490gc394.js → pty-005agstz.js} +19 -19
- package/dist/chunks/{form-26k5bknw.js → pty-06dxphr1.js} +4 -4
- package/dist/chunks/{form-f6hmevzm.js → pty-0bn9wq69.js} +3 -3
- package/dist/chunks/{form-yt0fqk68.js → pty-0f9afca0.js} +5 -5
- package/dist/chunks/{form-7dqw4kz8.js → pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{form-1ehkaych.js → pty-0p9dtxs1.js} +46 -46
- package/dist/chunks/{form-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{form-1chv122m.js → pty-0v4tm5rw.js} +36 -36
- package/dist/chunks/{form-fpebg25n.js → pty-0vr0cdvh.js} +10 -10
- package/dist/chunks/{form-9es5d59e.js → pty-0zz4rd6y.js} +15 -15
- package/dist/chunks/{form-nt0cntaq.js → pty-1040s6af.js} +4 -4
- package/dist/chunks/{form-njhqdk9p.js → pty-11dqjexa.js} +9 -9
- package/dist/chunks/{form-c5cawmgv.js → pty-18hqe85b.js} +11 -11
- package/dist/chunks/{form-r8xr0va3.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{form-9gwp62br.js → pty-1cxhbzgd.js} +34 -34
- package/dist/chunks/{form-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-6kcmw7z7.js → pty-1frb376n.js} +10 -10
- package/dist/chunks/{form-qq0y10mb.js → pty-1qxk71h7.js} +31 -31
- package/dist/chunks/{form-cvmce7ec.js → pty-1s7za8r8.js} +20 -20
- package/dist/chunks/pty-1tm0r3ht.js +4 -0
- package/dist/chunks/{form-ef14z6bm.js → pty-1wc8ev08.js} +11 -11
- package/dist/chunks/{form-56gdpj1q.js → pty-1ygqh575.js} +9 -9
- package/dist/chunks/{form-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{form-2402vzrj.js → pty-2402vzrj.js} +1 -1
- package/dist/chunks/{form-q63062h2.js → pty-2497c3gb.js} +32 -32
- package/dist/chunks/{form-f7hcv0t5.js → pty-27pm8xwp.js} +6 -6
- package/dist/chunks/{form-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-0g36tn83.js → pty-2a64njz4.js} +25 -25
- package/dist/chunks/{form-4rxdkz28.js → pty-2gdwawmb.js} +38 -38
- package/dist/chunks/{form-02w8qtn4.js → pty-2h71m0y1.js} +26 -26
- package/dist/chunks/{form-cpneeje0.js → pty-2sejkfem.js} +9 -9
- package/dist/chunks/{form-yxryw68f.js → pty-2y0fysv8.js} +65 -65
- package/dist/chunks/{form-ray0b3pm.js → pty-2z45ferc.js} +17 -17
- package/dist/chunks/{form-pzc50za5.js → pty-3a958b5j.js} +5 -5
- package/dist/chunks/{form-p0b4ytnr.js → pty-3b1q5j1v.js} +6 -6
- package/dist/chunks/{form-w7fzs9qk.js → pty-3c3dzs67.js} +20 -20
- package/dist/chunks/{form-48n7atp3.js → pty-3ekjvzbw.js} +24 -24
- package/dist/chunks/{form-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-qcrknf4r.js → pty-3m13cm4e.js} +25 -25
- package/dist/chunks/{form-wg2twdrw.js → pty-3qjwzzap.js} +13 -13
- package/dist/chunks/{form-cqfg3mf7.js → pty-3r43kab8.js} +32 -32
- package/dist/chunks/{form-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-d8nc1xcx.js → pty-3ythc6yv.js} +4 -4
- package/dist/chunks/pty-40cvr20j.js +26 -0
- package/dist/chunks/{form-44ke2mar.js → pty-44ke2mar.js} +2 -2
- package/dist/chunks/{form-7r2knygt.js → pty-4a9jgtk8.js} +38 -38
- package/dist/chunks/{form-5keaa817.js → pty-4bwnmqz9.js} +14 -14
- package/dist/chunks/{form-d55k9g75.js → pty-4st5ggns.js} +6 -6
- package/dist/chunks/{form-7xq5hsgn.js → pty-4wp66bzr.js} +10 -10
- package/dist/chunks/{form-bfkydnd4.js → pty-57ez7d0k.js} +9 -9
- package/dist/chunks/{form-a1bz86dw.js → pty-5c4hm403.js} +3 -3
- package/dist/chunks/{form-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{form-pp7qxtmx.js → pty-5exzrj16.js} +104 -76
- package/dist/chunks/{form-jw1rkjx5.js → pty-5fyzn1g0.js} +3 -3
- package/dist/chunks/{form-kex729ae.js → pty-5sh9x8dt.js} +13 -13
- package/dist/chunks/{form-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-zmf4yxek.js → pty-5vfe9zkh.js} +11 -11
- package/dist/chunks/{form-me96najc.js → pty-63wpvyg5.js} +179 -179
- package/dist/chunks/{form-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{form-ech5h453.js → pty-6g11pzee.js} +24 -24
- package/dist/chunks/{form-5x2mg89e.js → pty-6kqz0sw2.js} +20 -20
- package/dist/chunks/{form-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-smn8w5fw.js → pty-6y3v0yak.js} +4 -4
- package/dist/chunks/{form-7n7mxp8t.js → pty-71506k9g.js} +13 -13
- package/dist/chunks/{form-41kmqf54.js → pty-71w766xh.js} +35 -35
- package/dist/chunks/{form-5zagxq5m.js → pty-736q711b.js} +22 -22
- package/dist/chunks/{form-j028xdjb.js → pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{form-bha4atvq.js → pty-7ac170kv.js} +4 -4
- package/dist/chunks/{form-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-e7nn28ya.js → pty-7tz5zdeh.js} +12 -12
- package/dist/chunks/{form-yw2erdgw.js → pty-850skrb0.js} +43 -42
- package/dist/chunks/{form-1py910mb.js → pty-87gqba2t.js} +23 -23
- package/dist/chunks/{form-tcezcvh9.js → pty-89znhe33.js} +4 -4
- package/dist/chunks/{form-74ak9fgp.js → pty-8bjgc9mz.js} +11 -11
- package/dist/chunks/{form-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-4yxk42sw.js → pty-90cw4v64.js} +20 -20
- package/dist/chunks/{form-j8zm7c5e.js → pty-9172rkmk.js} +4 -4
- package/dist/chunks/{form-q5xvhvda.js → pty-935t04zr.js} +6 -6
- package/dist/chunks/{form-pxs7xdf8.js → pty-972ydv8n.js} +15 -15
- package/dist/chunks/{form-p3pfb0eg.js → pty-97mj29ww.js} +13 -13
- package/dist/chunks/{form-4ey6h455.js → pty-9fday5he.js} +21 -21
- package/dist/chunks/{form-p37cw4rj.js → pty-9hn6k4tm.js} +8 -8
- package/dist/chunks/{form-0msxzen6.js → pty-9j2e64em.js} +15 -15
- package/dist/chunks/{form-hc71r317.js → pty-9n8fqfgq.js} +8 -8
- package/dist/chunks/{form-3zkkx5kj.js → pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{form-rx9gwjsv.js → pty-a5tya8df.js} +10 -10
- package/dist/chunks/{form-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{form-6t298p2h.js → pty-ab8cnxkj.js} +12 -12
- package/dist/chunks/{form-mahn52f6.js → pty-ag7cc6ae.js} +10 -10
- package/dist/chunks/{form-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-q64m8st2.js → pty-b7eb1kpf.js} +16 -16
- package/dist/chunks/{form-6ywb64n6.js → pty-b8tjeqry.js} +11 -11
- package/dist/chunks/pty-b8vveb32.js +247 -0
- package/dist/chunks/{form-0c8rzwj9.js → pty-bavdgngm.js} +4 -4
- package/dist/chunks/{form-2rm69wzy.js → pty-bbbg5gcy.js} +30 -30
- package/dist/chunks/{form-w7gxyz39.js → pty-bh4tknr0.js} +20 -20
- package/dist/chunks/{form-7rjabepb.js → pty-bhvqp75t.js} +26 -26
- package/dist/chunks/{form-v6bgmm6z.js → pty-bqdz6k7x.js} +11 -11
- package/dist/chunks/{form-xxqeaexg.js → pty-bqv8mcm8.js} +4 -4
- package/dist/chunks/{form-ekq8a7pk.js → pty-bv3ar4t8.js} +5 -5
- package/dist/chunks/{form-1c1svyyd.js → pty-bx8e55ya.js} +8 -8
- package/dist/chunks/{form-2a3tj3av.js → pty-bxgfab9d.js} +10 -10
- package/dist/chunks/{form-b97cbvw3.js → pty-bz85s9hh.js} +1 -1
- package/dist/chunks/{form-b8f97kt2.js → pty-cddb4mff.js} +5 -5
- package/dist/chunks/{form-8pp4fzpy.js → pty-ckxk042a.js} +11 -11
- package/dist/chunks/{form-3qesnv1p.js → pty-dc77grpk.js} +9 -9
- package/dist/chunks/{form-06x8he3q.js → pty-dhmh7aw6.js} +4 -4
- package/dist/chunks/{form-r1613th1.js → pty-dhw9tk05.js} +27 -27
- package/dist/chunks/{form-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{form-7s2t5wav.js → pty-dmje0bsk.js} +3 -3
- package/dist/chunks/{form-y71avatq.js → pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{form-njkvqt0e.js → pty-dxrx5bve.js} +19 -19
- package/dist/chunks/{form-dvg8xh0j.js → pty-e25vxe6e.js} +8 -8
- package/dist/chunks/{form-y08pppv8.js → pty-e2673aay.js} +16 -16
- package/dist/chunks/{form-1c6v2m1h.js → pty-e3yfb1af.js} +47 -47
- package/dist/chunks/{form-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-5nae8tex.js → pty-emvra4z4.js} +46 -46
- package/dist/chunks/{form-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-wn153y2n.js → pty-f0bgfh1c.js} +4 -4
- package/dist/chunks/{form-9na2z02n.js → pty-f3chkn2v.js} +42 -42
- package/dist/chunks/{form-7pvf4f7x.js → pty-fbbqv6gz.js} +43 -43
- package/dist/chunks/{form-0hs93vrc.js → pty-fbtpmqp8.js} +15 -15
- package/dist/chunks/{form-28026pp3.js → pty-ffn2kdck.js} +3 -3
- package/dist/chunks/{form-dgsn220j.js → pty-fj0bt93f.js} +4 -4
- package/dist/chunks/{form-8ytytfcy.js → pty-fm1t1259.js} +9 -9
- package/dist/chunks/{form-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{form-7sd8y4b9.js → pty-fy2wv845.js} +12 -12
- package/dist/chunks/{form-r3q6pmcz.js → pty-fzgxakwn.js} +6 -6
- package/dist/chunks/{form-myebtmet.js → pty-g02dc5pq.js} +17 -17
- package/dist/chunks/{form-0sst3ssg.js → pty-g51vc6t9.js} +83 -83
- package/dist/chunks/{form-b27vhd2z.js → pty-g8d3gcyj.js} +7 -7
- package/dist/chunks/{form-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-s2m3rc45.js → pty-ge5c1s9a.js} +16 -16
- package/dist/chunks/{form-saz9k09t.js → pty-gns6rj52.js} +11 -11
- package/dist/chunks/{form-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{form-nzyhnfxz.js → pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{form-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-f828m53h.js → pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{form-7m03zbcz.js → pty-hemqm6a0.js} +13 -13
- package/dist/chunks/{form-fy873rr3.js → pty-hh3pbsjs.js} +18 -18
- package/dist/chunks/{form-52njpcvg.js → pty-hkcbg3z4.js} +7 -7
- package/dist/chunks/{form-5sbeve3p.js → pty-hp2jeqkr.js} +29 -29
- package/dist/chunks/{form-3m0hf24a.js → pty-hw6s7maf.js} +17 -17
- package/dist/chunks/{form-barsakm8.js → pty-j2bad2st.js} +1 -1
- package/dist/chunks/{form-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{form-d7702bf7.js → pty-jexxy024.js} +3 -3
- package/dist/chunks/{form-070qa63s.js → pty-jg9eaab2.js} +6 -6
- package/dist/chunks/{form-jppvw2tx.js → pty-jppvw2tx.js} +2 -2
- package/dist/chunks/{form-6cfbbzhv.js → pty-jsh81p2x.js} +32 -32
- package/dist/chunks/{form-nvztqs8h.js → pty-jwn5qy9f.js} +42 -42
- package/dist/chunks/{form-bqz7g32x.js → pty-jy9pcjq0.js} +15 -15
- package/dist/chunks/{form-2q2vv6fc.js → pty-k0xymqd0.js} +11 -11
- package/dist/chunks/{form-07mvx74x.js → pty-k1603mw5.js} +26 -26
- package/dist/chunks/{form-29sseqcj.js → pty-k2gcmxmw.js} +16 -16
- package/dist/chunks/{form-h0a58rb9.js → pty-k6ed90aj.js} +38 -38
- package/dist/chunks/{form-1ddyqjqr.js → pty-kcpq4mkg.js} +19 -19
- package/dist/chunks/{form-crygsd6q.js → pty-kxdabtfm.js} +24 -24
- package/dist/chunks/{form-87v6f6zb.js → pty-m0f8gg3e.js} +21 -21
- package/dist/chunks/{form-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{form-h063bc46.js → pty-m733xxny.js} +89 -89
- package/dist/chunks/{form-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-2y34zzjz.js → pty-marnn1hp.js} +7 -7
- package/dist/chunks/{form-6jeq82a3.js → pty-mh29eyjv.js} +3 -3
- package/dist/chunks/{form-magykp64.js → pty-mjymc32g.js} +4 -4
- package/dist/chunks/{form-mdzm3s1n.js → pty-mnys6tec.js} +24 -24
- package/dist/chunks/{form-mckgp5zd.js → pty-mrk7h3sm.js} +5 -5
- package/dist/chunks/{form-6qzar0j9.js → pty-nb2s3qfq.js} +10 -10
- package/dist/chunks/{form-b2da4m4w.js → pty-ngz4ns8d.js} +4 -4
- package/dist/chunks/{form-dpxmc42p.js → pty-njv35c9c.js} +18 -18
- package/dist/chunks/{form-xk747vep.js → pty-nq7qbqzc.js} +9 -9
- package/dist/chunks/{form-qfx5mycz.js → pty-ntcnr6d2.js} +10 -10
- package/dist/chunks/{form-vvza37g4.js → pty-p42y1bm5.js} +12 -12
- package/dist/chunks/{form-vecw0n3r.js → pty-p96q0vzc.js} +24 -24
- package/dist/chunks/{form-cmyv28vq.js → pty-p9rg9ssf.js} +15 -15
- package/dist/chunks/{form-wre2kbs2.js → pty-p9zf421h.js} +14 -14
- package/dist/chunks/{form-tg6fsj70.js → pty-pddgv2bp.js} +5 -5
- package/dist/chunks/{form-432ewbjd.js → pty-pdnjh9qx.js} +6 -6
- package/dist/chunks/{form-vww7ttk4.js → pty-pgwf6rpj.js} +5 -5
- package/dist/chunks/{form-mphgtbj1.js → pty-ph20cxtq.js} +9 -9
- package/dist/chunks/{form-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-4rc3z4mm.js → pty-pjx857cd.js} +22 -22
- package/dist/chunks/{form-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{form-cz5b5dad.js → pty-pqp3n84c.js} +34 -34
- package/dist/chunks/{form-vdsxw2st.js → pty-ps02k4bp.js} +24 -24
- package/dist/chunks/{form-t7vjf41v.js → pty-pvkmyqfe.js} +29 -29
- package/dist/chunks/{form-584rndta.js → pty-px1xpczn.js} +32 -32
- package/dist/chunks/{form-5nthzge1.js → pty-pyymvkzv.js} +22 -22
- package/dist/chunks/{form-kfyzk7df.js → pty-q1rph7bj.js} +317 -317
- package/dist/chunks/{form-vncycja5.js → pty-q2b1ymqp.js} +4 -4
- package/dist/chunks/{form-nfnqtnrv.js → pty-q5rhn9x0.js} +9 -9
- package/dist/chunks/{form-1xn9w7tk.js → pty-q97sgnf3.js} +23 -23
- package/dist/chunks/{form-zs8gzsxx.js → pty-q9nw0fkx.js} +27 -27
- package/dist/chunks/{form-6c03qjnv.js → pty-qbbxh0je.js} +11 -11
- package/dist/chunks/{form-3az6px2n.js → pty-qdw5vfwv.js} +20 -20
- package/dist/chunks/{form-5cecdezf.js → pty-qfk7wg4g.js} +17 -17
- package/dist/chunks/{form-jv01nqvq.js → pty-qjnxxf51.js} +5 -5
- package/dist/chunks/{form-1n008kkv.js → pty-qncn4jq9.js} +28 -28
- package/dist/chunks/{form-5zrhx2a4.js → pty-qqs6wgn3.js} +54 -54
- package/dist/chunks/{form-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{form-bznknjz1.js → pty-qvzt4t8k.js} +23 -23
- package/dist/chunks/{form-166kng33.js → pty-qwjmgwmn.js} +8 -8
- package/dist/chunks/{form-9x5vnv11.js → pty-qxdvme72.js} +17 -17
- package/dist/chunks/{form-kjxk56xd.js → pty-qybw96f7.js} +17 -17
- package/dist/chunks/{form-s4e34zx0.js → pty-r3p3phz8.js} +30 -30
- package/dist/chunks/{form-b04b8x2j.js → pty-r72bb3g5.js} +5 -5
- package/dist/chunks/{form-r9mregkx.js → pty-r9mregkx.js} +2 -2
- package/dist/chunks/{form-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-xa5rtzqw.js → pty-rjnqjvjb.js} +15 -15
- package/dist/chunks/{form-r2jew814.js → pty-rkdvqggb.js} +5 -5
- package/dist/chunks/{form-3w9wgdme.js → pty-rmg0m3t1.js} +8 -8
- package/dist/chunks/{form-vd0wz1cw.js → pty-rx2s3z3c.js} +11 -11
- package/dist/chunks/{form-mpn4hqsh.js → pty-s222w9ys.js} +5 -5
- package/dist/chunks/{form-ywk6qw3f.js → pty-s6wn0jv5.js} +9 -9
- package/dist/chunks/{form-gb1jwk5m.js → pty-s7k5x4g9.js} +30 -30
- package/dist/chunks/{form-pccga3by.js → pty-s8bmxf4b.js} +9 -9
- package/dist/chunks/{form-eaj1djv9.js → pty-s8d7rejh.js} +6 -6
- package/dist/chunks/{form-w49382pb.js → pty-sm965ndy.js} +8 -8
- package/dist/chunks/{form-nqnvpjgb.js → pty-syqyze50.js} +10 -10
- package/dist/chunks/{form-4rcyc4ba.js → pty-t04gerxp.js} +11 -11
- package/dist/chunks/{form-2qp6y8xf.js → pty-t0fxg8b9.js} +5 -5
- package/dist/chunks/{form-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-r19xfkay.js → pty-tc37dsfn.js} +13 -13
- package/dist/chunks/{form-ep6z9mt6.js → pty-tdhe5xga.js} +8 -8
- package/dist/chunks/{form-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{form-nm29pd5d.js → pty-tn7fkxn8.js} +7 -7
- package/dist/chunks/{form-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{form-njz9ejr1.js → pty-v0af3wsg.js} +29 -29
- package/dist/chunks/{form-b2qe6s06.js → pty-v1h7jmyp.js} +1 -1
- package/dist/chunks/{form-6gpcy8we.js → pty-v220wb3t.js} +14 -14
- package/dist/chunks/{form-0g17b04h.js → pty-v88sgxh0.js} +15 -15
- package/dist/chunks/{form-3c1tgrea.js → pty-v8jfbz3g.js} +6 -6
- package/dist/chunks/{form-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{form-bgqnaqd7.js → pty-vfy19pwe.js} +14 -14
- package/dist/chunks/{form-vtry8cvx.js → pty-vmgmz9ta.js} +9 -9
- package/dist/chunks/pty-vnkjks7b.js +18 -0
- package/dist/chunks/{form-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-ctzssw83.js → pty-w1ad28wa.js} +8 -8
- package/dist/chunks/{form-va1crcxs.js → pty-w3tj97cz.js} +24 -24
- package/dist/chunks/{form-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{form-p605sn5x.js → pty-wt5vh4p5.js} +23 -23
- package/dist/chunks/{form-0jf398hq.js → pty-wtpgbvbt.js} +20 -20
- package/dist/chunks/{form-58d8ceg3.js → pty-wx6s0tts.js} +50 -50
- package/dist/chunks/{form-n9zwszbz.js → pty-wz87yraf.js} +8 -8
- package/dist/chunks/{form-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-w227x3vc.js → pty-x9h4gx6t.js} +41 -41
- package/dist/chunks/{form-db4ykqcp.js → pty-xey2vz2p.js} +15 -15
- package/dist/chunks/{form-xfkkasph.js → pty-xfkkasph.js} +1 -1
- package/dist/chunks/{form-q554ycqp.js → pty-xjr9ayca.js} +3 -3
- package/dist/chunks/{form-px1chy1r.js → pty-xnwnz12t.js} +5 -5
- package/dist/chunks/{form-3c9vtvry.js → pty-xr777zyz.js} +22 -22
- package/dist/chunks/{form-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-837hypdd.js → pty-ybhbtxjg.js} +6 -6
- package/dist/chunks/{form-xg6b0g27.js → pty-yjq1h8wq.js} +8 -8
- package/dist/chunks/{form-52t4x136.js → pty-ykprmxnv.js} +2 -2
- package/dist/chunks/{form-ahgmes2r.js → pty-yqcj214x.js} +21 -21
- package/dist/chunks/{form-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{form-gcdm2p5s.js → pty-ywspvke4.js} +54 -54
- package/dist/chunks/{form-kjz94mhw.js → pty-yx4zy76q.js} +4 -4
- package/dist/chunks/{form-rdeha5t8.js → pty-yx6bawja.js} +36 -36
- package/dist/chunks/{form-dt87bqqw.js → pty-yztwhtj4.js} +6 -6
- package/dist/chunks/{form-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-d94k38r4.js → pty-z4jy6304.js} +9 -9
- package/dist/chunks/{form-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/{form-27s9zfaa.js → pty-z8av1v4k.js} +22 -22
- package/dist/chunks/{form-zh59mys5.js → pty-z8mhsqtq.js} +8 -8
- package/dist/chunks/{form-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-fp5nfsfv.js → pty-zffc062v.js} +20 -20
- package/dist/chunks/{form-rnn39vbf.js → pty-zgqa5fck.js} +11 -11
- package/dist/chunks/{form-sg16g4sp.js → pty-zpfv5b56.js} +6 -6
- package/dist/chunks/{form-6d4pkxf4.js → pty-zr15egg9.js} +19 -19
- package/dist/chunks/{form-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-nwxvpf5q.js → pty-zyr9wvqd.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +90 -90
- 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 +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- 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 +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- 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 +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- 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 +96 -96
- 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 +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +4 -4
- package/dist/v1/config/command.js +5 -5
- 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 +91 -91
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/form-0mesazry.js +0 -4
- package/dist/chunks/form-4cw7we48.js +0 -247
- package/dist/chunks/form-qdzyan6r.js +0 -26
- package/dist/chunks/form-v1faaxn9.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-dmje0bsk.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-bavdgngm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service49,
|
|
11
|
+
node52
|
|
12
|
+
} from "./pty-v8jfbz3g.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./pty-k6ed90aj.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-e2673aay.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service51,
|
|
26
|
+
node54
|
|
27
|
+
} from "./pty-e25vxe6e.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./pty-ybhbtxjg.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./pty-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service46
|
|
39
|
+
} from "./pty-dhmh7aw6.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service68,
|
|
42
|
+
node72
|
|
43
|
+
} from "./pty-v220wb3t.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service47,
|
|
48
|
+
node50,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./pty-dxrx5bve.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service45,
|
|
53
|
+
node49
|
|
54
|
+
} from "./pty-0v4tm5rw.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node25
|
|
57
|
+
} from "./pty-ge5c1s9a.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./pty-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service21,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node24
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service21 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service79;
|
|
92
|
+
const locations = yield* Service51;
|
|
93
|
+
const store = yield* Service68;
|
|
94
|
+
const execution = yield* Service45;
|
|
95
|
+
const instances = yield* Service49;
|
|
96
|
+
const admission = yield* Service47;
|
|
97
97
|
const database = yield* Service82;
|
|
98
98
|
const bus = yield* Service81;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError9({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service46.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service21.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node24 = makeGlobalNode({
|
|
167
|
+
service: Service21,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node83,
|
|
173
|
+
node54,
|
|
174
|
+
node72,
|
|
175
|
+
node49,
|
|
176
|
+
node52,
|
|
177
|
+
node50,
|
|
178
178
|
node86,
|
|
179
179
|
node85,
|
|
180
|
-
|
|
180
|
+
node25
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service21, node24, exports_move };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-wz87yraf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-bavdgngm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./pty-s7k5x4g9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-v0af3wsg.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
mergeOverlay2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-850skrb0.js";
|
|
22
22
|
import {
|
|
23
23
|
iife2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-1kg9ymc8.js";
|
|
25
25
|
import {
|
|
26
26
|
configuredSettings2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-pdnjh9qx.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/azure.ts
|
|
30
30
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
44
44
|
var AzurePlugin2 = define({
|
|
45
45
|
id: "opencode.provider.azure",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const configured = yield* configuredSettings2(
|
|
47
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
48
48
|
const processes = yield* AppProcess.Service;
|
|
49
49
|
const bus = yield* Service81;
|
|
50
50
|
const tokens = new Map;
|
|
@@ -80,13 +80,13 @@ var AzurePlugin2 = define({
|
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID13.azure,
|
|
84
84
|
method: { type: "key", label: "API key", form: form() }
|
|
85
85
|
});
|
|
86
86
|
if (!available)
|
|
87
87
|
return;
|
|
88
88
|
editor.method.update({
|
|
89
|
-
integrationID:
|
|
89
|
+
integrationID: ID13.azure,
|
|
90
90
|
method: {
|
|
91
91
|
id: methodID,
|
|
92
92
|
type: "oauth",
|
|
@@ -118,7 +118,7 @@ var AzurePlugin2 = define({
|
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
120
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
121
|
-
const connection = yield* ctx.integration.connection.active(
|
|
121
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
122
122
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
123
123
|
return;
|
|
124
124
|
})) : undefined;
|
|
@@ -132,7 +132,7 @@ var AzurePlugin2 = define({
|
|
|
132
132
|
yield* load();
|
|
133
133
|
yield* ctx.provider.transform((evt) => {
|
|
134
134
|
for (const item of evt.list()) {
|
|
135
|
-
if (item.provider.id !==
|
|
135
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
136
136
|
continue;
|
|
137
137
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
138
138
|
if (resourceName)
|
|
@@ -147,7 +147,7 @@ var AzurePlugin2 = define({
|
|
|
147
147
|
});
|
|
148
148
|
yield* ctx.model.transform((models) => {
|
|
149
149
|
for (const item of models.provider.list()) {
|
|
150
|
-
if (item.provider.id !==
|
|
150
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
151
151
|
continue;
|
|
152
152
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
153
153
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID13.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID13.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID13.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID13.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service71,
|
|
10
|
+
node: () => node75
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service71 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service71.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node75 = makeLocationNode({ service: Service71, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service71, node75, exports_hooks };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./pty-e2673aay.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service40
|
|
7
|
+
} from "./pty-emvra4z4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service58
|
|
10
|
+
} from "./pty-hh3pbsjs.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make10
|
|
13
|
+
} from "./pty-73tb2d7t.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin46
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin46 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service40;
|
|
37
|
+
const formatter = yield* Service58;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service78;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin19 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make10({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin19 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin46, exports_formatter };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-dmje0bsk.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info23,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service69,
|
|
21
|
+
node: () => node73
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info23 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service69 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service82).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID9.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service69.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node73 = makeGlobalNode({ service: Service69, layer, deps: [node86] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID9, Info23, ListInput5, AddInput2, Service69, node73, exports_saved };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node46
|
|
5
|
+
} from "./pty-wz87yraf.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-06dxphr1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service71,
|
|
12
|
+
node75
|
|
13
|
+
} from "./pty-qwjmgwmn.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-ywspvke4.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-vfy19pwe.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error3
|
|
22
|
+
} from "./pty-6g11pzee.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service31,
|
|
25
|
+
node34
|
|
26
|
+
} from "./pty-ckxk042a.js";
|
|
27
27
|
import {
|
|
28
28
|
make15
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-xfkkasph.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./pty-bz85s9hh.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./pty-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service30,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer12,
|
|
45
|
+
node: () => node33,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service30 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service71;
|
|
157
|
+
const transport = yield* Service31;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -248,17 +248,17 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
248
248
|
};
|
|
249
249
|
});
|
|
250
250
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
251
|
-
return
|
|
251
|
+
return Service30.of({
|
|
252
252
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
253
253
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
254
254
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
255
255
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
service:
|
|
260
|
-
layer:
|
|
261
|
-
deps: [
|
|
258
|
+
var node33 = makeLocationNode({
|
|
259
|
+
service: Service30,
|
|
260
|
+
layer: layer12,
|
|
261
|
+
deps: [node75, node34, node46]
|
|
262
262
|
});
|
|
263
263
|
|
|
264
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
264
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service30, layer12, node33, exports_model_request };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./pty-ab8cnxkj.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service80;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|