@opencode/core 0.0.0-dev-19707 → 0.0.0-dev-19709
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 +72 -72
- package/dist/chunks/{config-r98e92ep.js → pty-00z3vp5f.js} +4 -4
- package/dist/chunks/{config-rsdf2nvv.js → pty-06dxphr1.js} +4 -4
- package/dist/chunks/{config-sfreza73.js → pty-0d61r9h4.js} +15 -15
- package/dist/chunks/{config-p44d8wdy.js → pty-0f9afca0.js} +5 -5
- package/dist/chunks/{config-mt4q9qcg.js → pty-0gq5ttfh.js} +11 -11
- package/dist/chunks/{config-7dqw4kz8.js → pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{config-japganv0.js → pty-0kk2g04a.js} +31 -31
- package/dist/chunks/{config-j1s9fxyc.js → pty-0kv2ctep.js} +32 -32
- package/dist/chunks/{config-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/pty-0qs04gjp.js +252 -0
- package/dist/chunks/{config-2q6kkxxq.js → pty-0rd9v16n.js} +4 -4
- package/dist/chunks/{config-j7cn0chj.js → pty-0rgpk1ds.js} +1 -1
- package/dist/chunks/{config-bjw1ybn1.js → pty-10f3mqse.js} +27 -27
- package/dist/chunks/{config-6hjx5zpb.js → pty-11dqjexa.js} +9 -9
- package/dist/chunks/{config-0vzjr71g.js → pty-12b8t429.js} +12 -12
- package/dist/chunks/{config-eeaf82dq.js → pty-15nepkqg.js} +8 -8
- package/dist/chunks/{config-rhraev7y.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{config-fem1qj2k.js → pty-1ajp4aa7.js} +6 -6
- package/dist/chunks/{config-z8y94x15.js → pty-1as7yqy8.js} +10 -10
- package/dist/chunks/{config-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-pk9xhw7m.js → pty-1f62kj91.js} +3 -3
- package/dist/chunks/{config-k6hq6vs4.js → pty-1rgevqwt.js} +24 -24
- package/dist/chunks/pty-1tm0r3ht.js +4 -0
- package/dist/chunks/{config-058z5ddf.js → pty-1vjy2hpw.js} +37 -37
- package/dist/chunks/{config-1ygqh575.js → pty-1ygqh575.js} +2 -2
- package/dist/chunks/{config-sykc9y4a.js → pty-207ajt2h.js} +5 -5
- package/dist/chunks/{config-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{config-6h73sxmp.js → pty-2402vzrj.js} +5 -5
- package/dist/chunks/{config-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-vs61vkh4.js → pty-2acp3zpj.js} +24 -24
- package/dist/chunks/{config-m4j0jsg1.js → pty-2c4g75ke.js} +21 -21
- package/dist/chunks/{config-r4v1x4rb.js → pty-2gw9te71.js} +20 -20
- package/dist/chunks/{config-ynrxmn94.js → pty-2k6s2zm4.js} +16 -16
- package/dist/chunks/{config-8efv05pa.js → pty-2kbj14yf.js} +39 -38
- package/dist/chunks/{config-cpneeje0.js → pty-2sejkfem.js} +9 -9
- package/dist/chunks/{config-6qek2td2.js → pty-39dab3jh.js} +14 -14
- package/dist/chunks/{config-1tw90jxs.js → pty-3ad3156b.js} +10 -10
- package/dist/chunks/{config-cpy6gm2a.js → pty-3b1q5j1v.js} +6 -6
- package/dist/chunks/{config-g2ycphq5.js → pty-3ddaden9.js} +2 -2
- package/dist/chunks/{config-v93aky9p.js → pty-3fax0mp7.js} +8 -8
- package/dist/chunks/{config-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-7sje2w2w.js → pty-3g5zqvsj.js} +48 -48
- package/dist/chunks/{config-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-p8f9febr.js → pty-3j6kc4fe.js} +21 -21
- package/dist/chunks/{config-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-sy9x43s2.js → pty-3z40mttx.js} +14 -14
- package/dist/chunks/{config-3tq5qxbk.js → pty-44ke2mar.js} +8 -8
- package/dist/chunks/{config-renqy12v.js → pty-4b8tw1g7.js} +8 -8
- package/dist/chunks/{config-0ymjsp16.js → pty-4kgnd0zh.js} +23 -23
- package/dist/chunks/{config-wne4vwha.js → pty-4v4zcyn8.js} +11 -11
- package/dist/chunks/{config-qwjmgwmn.js → pty-4w5f3qm5.js} +8 -8
- package/dist/chunks/{config-ycd00xnt.js → pty-5019jpyd.js} +14 -14
- package/dist/chunks/{config-sw489s6r.js → pty-50jcqkpg.js} +18 -18
- package/dist/chunks/{config-gyp7bq5z.js → pty-51rpk3dg.js} +50 -50
- package/dist/chunks/{config-6aq7ygpy.js → pty-51sk06m6.js} +6 -6
- package/dist/chunks/{config-aafc52p0.js → pty-54qvpy9t.js} +8 -8
- package/dist/chunks/{config-kark38pj.js → pty-56caj4g6.js} +20 -20
- package/dist/chunks/{config-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{config-bfyfaynt.js → pty-5ac4s34f.js} +89 -89
- package/dist/chunks/{config-a1bz86dw.js → pty-5c4hm403.js} +3 -3
- package/dist/chunks/{config-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{config-rkpyf3mv.js → pty-5dkyq3w9.js} +9 -9
- package/dist/chunks/{config-mzhm23zb.js → pty-5ge7b1s9.js} +17 -17
- package/dist/chunks/{config-6vkmn2m0.js → pty-5hazr681.js} +2 -2
- package/dist/chunks/{config-s0kmmksn.js → pty-5rbd4j62.js} +11 -11
- package/dist/chunks/{config-pekgqhpj.js → pty-5sevqzg5.js} +18 -18
- package/dist/chunks/{config-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-rswqs118.js → pty-5w8sdvf2.js} +4 -4
- package/dist/chunks/{config-63kpjth9.js → pty-63kpjth9.js} +2 -2
- package/dist/chunks/{config-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{config-ak3g1cds.js → pty-66rzgmh2.js} +6 -6
- package/dist/chunks/{config-an3skc66.js → pty-6bh8btd9.js} +30 -30
- package/dist/chunks/pty-6e1261xp.js +65 -0
- package/dist/chunks/{config-59x6sxq9.js → pty-6ep9m4sq.js} +18 -18
- package/dist/chunks/{config-x62mbabv.js → pty-6j9cmr93.js} +19 -19
- package/dist/chunks/{config-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-f2v2ha83.js → pty-6n9a7w7g.js} +13 -13
- package/dist/chunks/{config-4gxrbk90.js → pty-6sz4ttcn.js} +10 -10
- package/dist/chunks/{config-acwgycr8.js → pty-6y05ew1d.js} +23 -23
- package/dist/chunks/{config-9g3kc011.js → pty-74rrnwt7.js} +12 -12
- package/dist/chunks/{config-98as6sd9.js → pty-75ckhbr3.js} +27 -27
- package/dist/chunks/{config-3rdmwfhc.js → pty-76mn2m8t.js} +13 -13
- package/dist/chunks/{config-hfdr1yjj.js → pty-7ac170kv.js} +4 -4
- package/dist/chunks/{config-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-mj3hz3nc.js → pty-7ha090w8.js} +10 -10
- package/dist/chunks/{config-1w2wvhbc.js → pty-7t28gyx8.js} +28 -28
- package/dist/chunks/{config-88kv1bx9.js → pty-7ywv553p.js} +22 -19
- package/dist/chunks/{config-m9y70xex.js → pty-84s7s0kh.js} +29 -29
- package/dist/chunks/{config-j3xycmed.js → pty-856c6xfq.js} +23 -23
- package/dist/chunks/{config-tcezcvh9.js → pty-89znhe33.js} +4 -4
- package/dist/chunks/{config-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-dgc1hkc1.js → pty-8fxgy4be.js} +25 -25
- package/dist/chunks/{config-3ra8vgzt.js → pty-8pmgwz46.js} +30 -30
- package/dist/chunks/{config-bgcn45f8.js → pty-8rt8k92t.js} +9 -9
- package/dist/chunks/{config-2evyaa68.js → pty-8s8mxddj.js} +4 -4
- package/dist/chunks/{config-204eyync.js → pty-92aty353.js} +6 -6
- package/dist/chunks/{config-r920brwh.js → pty-935t04zr.js} +6 -6
- package/dist/chunks/{config-9hn6k4tm.js → pty-9hn6k4tm.js} +1 -1
- package/dist/chunks/{config-34mey2b4.js → pty-9mjv2j5h.js} +9 -9
- package/dist/chunks/{config-6kh2d7tr.js → pty-9p1nr3wb.js} +12 -12
- package/dist/chunks/{config-tg6qrxv2.js → pty-9zct7zr5.js} +37 -37
- package/dist/chunks/{config-ff0svapt.js → pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{config-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{config-3g2pabsk.js → pty-abpc31sx.js} +28 -28
- package/dist/chunks/{config-0k74h4bc.js → pty-afve55vv.js} +27 -27
- package/dist/chunks/{config-b6pryj33.js → pty-apyk6ttn.js} +1 -1
- package/dist/chunks/{config-e6814b7d.js → pty-ar88qa8v.js} +7 -7
- package/dist/chunks/{config-qegg11qv.js → pty-avh5jyvb.js} +35 -35
- package/dist/chunks/{config-1t25emng.js → pty-b4h1fdev.js} +47 -47
- package/dist/chunks/{config-x5aw4bvh.js → pty-b594zzbj.js} +9 -9
- package/dist/chunks/{config-s91c8prs.js → pty-b5ymaj20.js} +9 -9
- package/dist/chunks/{config-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-f8y35pn4.js → pty-b6j8bg70.js} +1 -1
- package/dist/chunks/{config-35tfzgdc.js → pty-bczxr085.js} +34 -34
- package/dist/chunks/{config-h77q8ghf.js → pty-beda3f75.js} +18 -18
- package/dist/chunks/{config-pbtjh2sx.js → pty-bnepd0n1.js} +33 -33
- package/dist/chunks/{config-yc95vn0z.js → pty-bxfxz0qc.js} +15 -15
- package/dist/chunks/{config-6rybd781.js → pty-bz85s9hh.js} +1 -1
- package/dist/chunks/{config-88wv5h76.js → pty-cmh35hj2.js} +10 -10
- package/dist/chunks/{config-zyzdbktt.js → pty-ctrx9nnj.js} +8 -8
- package/dist/chunks/{config-5h0rvfym.js → pty-dd95b6zp.js} +3 -3
- package/dist/chunks/{config-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{config-y71avatq.js → pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{config-pvdz9xhf.js → pty-dprzeqmr.js} +10 -10
- package/dist/chunks/{config-m44s1k6s.js → pty-dqa43dhg.js} +18 -18
- package/dist/chunks/{config-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-rpg9c19m.js → pty-embw8kgh.js} +4 -4
- package/dist/chunks/{config-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-df6fn0e3.js → pty-etr222cf.js} +11 -11
- package/dist/chunks/{config-pyr0se5z.js → pty-exfq5gv3.js} +8 -8
- package/dist/chunks/{config-0yzb217r.js → pty-f0v6spgv.js} +3 -3
- package/dist/chunks/{config-5xynhq0q.js → pty-f1nmtkf4.js} +11 -11
- package/dist/chunks/{config-nzhmzh82.js → pty-f59eyknk.js} +4 -4
- package/dist/chunks/{config-vec00888.js → pty-f6pbrr8w.js} +16 -16
- package/dist/chunks/{config-fx82q9ev.js → pty-fanw3jjr.js} +3 -3
- package/dist/chunks/{config-v9cwwd0t.js → pty-fe1vvtkz.js} +7 -7
- package/dist/chunks/{config-e42f66fx.js → pty-fkr83qb9.js} +10 -10
- package/dist/chunks/{config-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-syh2x8jz.js → pty-g7td5zdy.js} +11 -11
- package/dist/chunks/{config-xxk5ry2v.js → pty-g8atgw3j.js} +6 -6
- package/dist/chunks/{config-a2ew8a62.js → pty-g8d3gcyj.js} +7 -7
- package/dist/chunks/{config-g7vy7n31.js → pty-gaf2f4t8.js} +18 -18
- package/dist/chunks/{config-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-9fw4n3e1.js → pty-gdfvffmy.js} +5 -5
- package/dist/chunks/{config-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-8mfdap3f.js → pty-gwydwvmj.js} +8 -8
- package/dist/chunks/{config-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{config-1gdnfj4y.js → pty-h5prvwy2.js} +12 -12
- package/dist/chunks/{config-m8h91w06.js → pty-h64tyvph.js} +3 -3
- package/dist/chunks/{config-0f3bkyd2.js → pty-h66ycz74.js} +13 -13
- package/dist/chunks/{config-h6r3nrb9.js → pty-h6r3nrb9.js} +1 -1
- package/dist/chunks/{config-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-f828m53h.js → pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{config-1bdcdqfg.js → pty-hht4hdr7.js} +62 -48
- package/dist/chunks/{config-edbfpfck.js → pty-hq8zt1th.js} +6 -6
- package/dist/chunks/{config-zy8wn4fk.js → pty-j0d8kce8.js} +47 -47
- package/dist/chunks/{config-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{config-tzrmseea.js → pty-j5g2921s.js} +10 -10
- package/dist/chunks/{config-zrcqrgvv.js → pty-j7d1bz3z.js} +12 -12
- package/dist/chunks/{config-6bsje7ws.js → pty-jexxy024.js} +3 -3
- package/dist/chunks/{config-d3r3a7ce.js → pty-jh55ed6j.js} +10 -10
- package/dist/chunks/{config-phq1yf8j.js → pty-jnwk8z6k.js} +22 -22
- package/dist/chunks/{config-3wc3c6ps.js → pty-jp67d8xq.js} +10 -10
- package/dist/chunks/{config-jppvw2tx.js → pty-jppvw2tx.js} +2 -2
- package/dist/chunks/{config-bbvh053c.js → pty-jpsrdk1d.js} +25 -25
- package/dist/chunks/{config-nzks3jc8.js → pty-k3c624dm.js} +3 -3
- package/dist/chunks/{config-m7dvq393.js → pty-k5shenda.js} +15 -15
- package/dist/chunks/{config-m9q1w098.js → pty-kbnfxfat.js} +20 -20
- package/dist/chunks/{config-hmppx4cd.js → pty-khny7pv9.js} +28 -28
- package/dist/chunks/{config-sedjhjah.js → pty-km08fevc.js} +9 -9
- package/dist/chunks/{config-1vbpde1g.js → pty-kmac05v5.js} +305 -305
- package/dist/chunks/{config-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{config-mskwp103.js → pty-m39c7hxd.js} +11 -11
- package/dist/chunks/{config-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-r71mr0ak.js → pty-m5j3w5gw.js} +21 -17
- package/dist/chunks/{config-kxef0pr1.js → pty-m77m9jq1.js} +30 -30
- package/dist/chunks/{config-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-vyqn3nqs.js → pty-marnn1hp.js} +7 -7
- package/dist/chunks/{config-9jpbnf5e.js → pty-mgpyxjx6.js} +8 -8
- package/dist/chunks/{config-73tb2d7t.js → pty-mhkvc446.js} +3 -3
- package/dist/chunks/{config-d7k0w2wb.js → pty-mjyryqn6.js} +9 -9
- package/dist/chunks/{config-59ecn2yy.js → pty-mrhxfjgm.js} +6 -6
- package/dist/chunks/{config-j3s2z371.js → pty-nq7qbqzc.js} +9 -9
- package/dist/chunks/{config-k2h4r4s0.js → pty-nrdmrqsx.js} +4 -4
- package/dist/chunks/{config-dmc1c85t.js → pty-ntcc5ehh.js} +23 -23
- package/dist/chunks/{config-hf7g63zj.js → pty-nvv66n76.js} +15 -15
- package/dist/chunks/{config-7j6621r4.js → pty-nwyqkjv9.js} +1 -1
- package/dist/chunks/{config-sfmkhhs9.js → pty-p2ezm693.js} +16 -16
- package/dist/chunks/{config-jxttrpby.js → pty-p2vgnhh6.js} +21 -21
- package/dist/chunks/{config-d9s4kg8q.js → pty-p3sqe4zf.js} +13 -13
- package/dist/chunks/{config-qttbrpyd.js → pty-p3wwg9fw.js} +17 -17
- package/dist/chunks/{config-kmgxwdj6.js → pty-p5m64j98.js} +3 -3
- package/dist/chunks/{config-gcytzbah.js → pty-pdg35gy8.js} +6 -6
- package/dist/chunks/{config-d858xzj7.js → pty-ph842b28.js} +4 -4
- package/dist/chunks/{config-ydrs0rnq.js → pty-phrgc7s2.js} +16 -16
- package/dist/chunks/pty-phz3h32g.js +18 -0
- package/dist/chunks/{config-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-f5nr4ygr.js → pty-pkgfky7d.js} +5 -5
- package/dist/chunks/{config-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/pty-pysn9s93.js +26 -0
- package/dist/chunks/{config-441xk2wv.js → pty-q5rhn9x0.js} +13 -13
- package/dist/chunks/{config-0sz7efe2.js → pty-qc1pk71j.js} +32 -32
- package/dist/chunks/{config-sg7w44s8.js → pty-qg5tx4hd.js} +19 -19
- package/dist/chunks/{config-efqkbgv9.js → pty-qnk3khrz.js} +15 -15
- package/dist/chunks/{config-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{config-nv8d10c1.js → pty-qsr74hn5.js} +27 -27
- package/dist/chunks/{config-vq3eavnk.js → pty-qvrdgs7t.js} +27 -27
- package/dist/chunks/{config-b0hfm0j8.js → pty-qyc8vy2s.js} +17 -17
- package/dist/chunks/{config-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-nq0dx80z.js → pty-rh9ghw4z.js} +13 -13
- package/dist/chunks/{config-fd415zwv.js → pty-rqg791dd.js} +11 -11
- package/dist/chunks/{config-tef78es6.js → pty-rtvxz8am.js} +4 -4
- package/dist/chunks/{config-2xwk5sxy.js → pty-s6n8ez8a.js} +30 -30
- package/dist/chunks/{config-s8d7rejh.js → pty-s8d7rejh.js} +1 -1
- package/dist/chunks/{config-g9qqt9p1.js → pty-shrcc9g3.js} +19 -13
- package/dist/chunks/{config-9eg4jjgq.js → pty-svvemcs6.js} +5 -5
- package/dist/chunks/{config-7e12wf70.js → pty-t031qe01.js} +31 -31
- package/dist/chunks/{config-3w0fmcng.js → pty-t0fxg8b9.js} +5 -5
- package/dist/chunks/{config-qp9bnmn3.js → pty-t159kbzr.js} +14 -14
- package/dist/chunks/{config-jbkx7wek.js → pty-t8c9cnyg.js} +41 -41
- package/dist/chunks/{config-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{config-6fbkgyjx.js → pty-th6p44mh.js} +11 -11
- package/dist/chunks/{config-svdmezpj.js → pty-tja9b7zx.js} +36 -36
- package/dist/chunks/{config-kqavaz8d.js → pty-tn5bgys5.js} +3 -3
- package/dist/chunks/{config-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{config-2p8j6ftk.js → pty-v2sqwdfa.js} +14 -14
- package/dist/chunks/{config-ph764ah0.js → pty-v772zmrr.js} +54 -54
- package/dist/chunks/{config-as2srw8y.js → pty-vaa1zs5p.js} +35 -35
- package/dist/chunks/{config-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{config-yg6e92wh.js → pty-vj5dzvyh.js} +43 -43
- package/dist/chunks/{config-acbgnkgs.js → pty-vnrb3chg.js} +15 -15
- package/dist/chunks/{config-4kj8p616.js → pty-vx7vnxew.js} +144 -144
- package/dist/chunks/{config-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-jx4qp3j4.js → pty-w981yqz9.js} +86 -86
- package/dist/chunks/{config-6h9psx55.js → pty-wcr3727a.js} +29 -29
- package/dist/chunks/{config-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{config-rh3qvstz.js → pty-wfex9hf5.js} +9 -9
- package/dist/chunks/{config-yt7p1vcg.js → pty-wndtrgrh.js} +10 -10
- package/dist/chunks/{config-s39ybgse.js → pty-wph04nnx.js} +44 -44
- package/dist/chunks/pty-wv40thab.js +48 -0
- package/dist/chunks/{config-qnv3ge8j.js → pty-ww94c77x.js} +13 -13
- package/dist/chunks/{config-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-avf2rqqc.js → pty-x1gfpc1p.js} +17 -17
- package/dist/chunks/{config-6d3xa841.js → pty-x7vb65wd.js} +19 -19
- package/dist/chunks/{config-3n4pdst2.js → pty-xbckpkdq.js} +22 -22
- package/dist/chunks/{config-sgksmh4k.js → pty-xe6cmgbq.js} +11 -11
- package/dist/chunks/{config-57b9ws8p.js → pty-xfkkasph.js} +7 -7
- package/dist/chunks/{config-m34sd1dw.js → pty-xfkknnqv.js} +2 -2
- package/dist/chunks/{config-k5s51sr2.js → pty-xp7gxvaq.js} +4 -4
- package/dist/chunks/{config-mkcyj20d.js → pty-xp8zvqfe.js} +32 -32
- package/dist/chunks/{config-88w93r53.js → pty-xxpn3ren.js} +7 -7
- package/dist/chunks/{config-xj2v00yc.js → pty-xzzedvdq.js} +12 -12
- package/dist/chunks/{config-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-phc8pspp.js → pty-ybhbtxjg.js} +3 -3
- package/dist/chunks/{config-e6hmchc5.js → pty-yjptyezs.js} +5 -5
- package/dist/chunks/{config-tvp4k6xb.js → pty-yjq1h8wq.js} +8 -8
- package/dist/chunks/{config-0kyhmgn1.js → pty-ykyjdacj.js} +5 -5
- package/dist/chunks/{config-rrpn4h0w.js → pty-ypnspery.js} +22 -22
- package/dist/chunks/{config-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{config-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-yqvhe2qc.js → pty-z440px53.js} +82 -71
- package/dist/chunks/{config-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/{config-vghtnfzr.js → pty-za55qz67.js} +24 -24
- package/dist/chunks/{config-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-5jf1gs2t.js → pty-zerzqssk.js} +1 -1
- package/dist/chunks/{config-e4fvh21c.js → pty-zh0ytwzz.js} +11 -11
- package/dist/chunks/{config-52ejfwar.js → pty-zhp5m1zz.js} +4 -4
- package/dist/chunks/{config-d2hpfe1x.js → pty-zncxtbv1.js} +14 -14
- package/dist/chunks/{config-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-y9fejqmg.js → pty-zth7qvys.js} +10 -10
- package/dist/chunks/{config-v49qeg7d.js → pty-zvcgv5cx.js} +33 -33
- package/dist/chunks/{config-kvpzc2r9.js → pty-zvp4p5jk.js} +32 -32
- package/dist/chunks/{config-zpc19dvt.js → pty-zwejzy2c.js} +22 -22
- package/dist/chunks/{config-j3t9k28b.js → pty-zwks5p0r.js} +46 -46
- package/dist/chunks/{config-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{config-pm2jn3rv.js → pty-zyyjv7w6.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +129 -129
- 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 +124 -124
- 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 +123 -123
- 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 +76 -76
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -365
- 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 +73 -73
- 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 +224 -224
- 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 +103 -103
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +98 -98
- 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 +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -356
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- 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-lifecycle.js +110 -0
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -85
- package/dist/location-services.js +354 -353
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- 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 +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +77 -77
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- 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 +93 -93
- 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 +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +92 -92
- 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 +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- 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 +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +150 -150
- 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 +118 -118
- 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 +230 -229
- 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 +123 -123
- 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 +74 -74
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- 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 +10 -10
- package/dist/types/form.d.ts +1 -0
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/location-lifecycle.d.ts +9 -0
- package/dist/types/location-service-map.d.ts +2 -1
- package/dist/types/permission.d.ts +1 -0
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/session/runner/index.d.ts +36 -3
- package/dist/types/session/runner/step.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/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 +77 -77
- 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 +79 -79
- 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/config-1x11rq2a.js +0 -18
- package/dist/chunks/config-6kdq0pjd.js +0 -4
- package/dist/chunks/config-e73d2mtj.js +0 -247
- package/dist/chunks/config-jyegy52c.js +0 -26
- package/dist/chunks/config-yp9vzkpn.js +0 -34
- /package/dist/chunks/{config-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-mgpyxjx6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./pty-phrgc7s2.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-x1gfpc1p.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-2gw9te71.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-jnwk8z6k.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-92aty353.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/azure.ts
|
|
30
30
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -46,7 +46,7 @@ var AzurePlugin2 = define({
|
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
47
|
const configured = yield* configuredSettings2(ID13.azure);
|
|
48
48
|
const processes = yield* AppProcess.Service;
|
|
49
|
-
const bus = yield*
|
|
49
|
+
const bus = yield* Service82;
|
|
50
50
|
const tokens = new Map;
|
|
51
51
|
const loading = Semaphore.makeUnsafe(1);
|
|
52
52
|
const loaded = {};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./pty-phrgc7s2.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer4,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node5
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer4 = Layer.effect(
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer4 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service82;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service4.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node5 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node86] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service4, layer4, node5, exports_sdk };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID11 = Session.ID;
|
|
5
|
+
var Info25 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID11, Info25, SessionSchema2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./pty-t159kbzr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service79;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names3, discover3, exports_discovery2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-phrgc7s2.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
ID14,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
Service76,
|
|
12
|
+
node80,
|
|
13
13
|
Event18
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-2gw9te71.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./pty-t159kbzr.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -42,7 +42,7 @@ __export(exports_provider3, {
|
|
|
42
42
|
LoadError: () => LoadError3,
|
|
43
43
|
Provider: () => exports_provider3,
|
|
44
44
|
Request: () => Request3,
|
|
45
|
-
Service: () =>
|
|
45
|
+
Service: () => Service75,
|
|
46
46
|
Settings: () => Settings2,
|
|
47
47
|
aisdk: () => aisdk2,
|
|
48
48
|
isAISDK: () => isAISDK2,
|
|
@@ -50,7 +50,7 @@ __export(exports_provider3, {
|
|
|
50
50
|
mergeHeaders: () => mergeHeaders2,
|
|
51
51
|
mergeOverlay: () => mergeOverlay2,
|
|
52
52
|
nativeSettings: () => nativeSettings2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node79,
|
|
54
54
|
packageName: () => packageName2
|
|
55
55
|
});
|
|
56
56
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -203,7 +203,7 @@ var Request3 = Provider.Request;
|
|
|
203
203
|
var Settings2 = Provider.Settings;
|
|
204
204
|
var Info27 = Provider.Info;
|
|
205
205
|
|
|
206
|
-
class
|
|
206
|
+
class Service75 extends Context.Service()("@opencode/Provider") {
|
|
207
207
|
}
|
|
208
208
|
var definitions = new WeakMap;
|
|
209
209
|
function index(providerID, models) {
|
|
@@ -216,10 +216,10 @@ function index(providerID, models) {
|
|
|
216
216
|
definitions.set(models, indexes);
|
|
217
217
|
return result;
|
|
218
218
|
}
|
|
219
|
-
var layer = Layer.effect(
|
|
220
|
-
const bus = yield*
|
|
221
|
-
const integrations = yield*
|
|
222
|
-
const location = yield*
|
|
219
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
220
|
+
const bus = yield* Service82;
|
|
221
|
+
const integrations = yield* Service76;
|
|
222
|
+
const location = yield* Service79;
|
|
223
223
|
const state = create3({
|
|
224
224
|
name: "provider",
|
|
225
225
|
initial: () => new Map,
|
|
@@ -338,7 +338,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
338
338
|
});
|
|
339
339
|
});
|
|
340
340
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
341
|
-
return
|
|
341
|
+
return Service75.of({
|
|
342
342
|
transform: state.transform,
|
|
343
343
|
reload: state.reload,
|
|
344
344
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -347,7 +347,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
347
347
|
snapshot
|
|
348
348
|
});
|
|
349
349
|
}));
|
|
350
|
-
var
|
|
350
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node86, node80, node83] });
|
|
351
351
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
352
352
|
const module = yield* Effect.tryPromise({
|
|
353
353
|
try: () => {
|
|
@@ -607,4 +607,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
607
607
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
608
608
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
609
609
|
|
|
610
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27,
|
|
610
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27, Service75, node79, exports_provider3, Event17 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./pty-phrgc7s2.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-h6r3nrb9.js";
|
|
7
7
|
import {
|
|
8
8
|
Event19
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-x1gfpc1p.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-2gw9te71.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./pty-jnwk8z6k.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-6sz4ttcn.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,8 +26,8 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service75;
|
|
30
|
+
const bus = yield* Service82;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service71
|
|
4
|
+
} from "./pty-za55qz67.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./pty-t159kbzr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service41
|
|
10
|
+
} from "./pty-j0d8kce8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service66,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-ypnspery.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service21
|
|
17
|
+
} from "./pty-5ac4s34f.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make10
|
|
20
|
+
} from "./pty-f1nmtkf4.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin46
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin46 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service41;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin28 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service66;
|
|
60
|
+
const sessions = yield* Service21;
|
|
61
|
+
const agents = yield* Service71;
|
|
62
|
+
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin28 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin46, exports_command2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service53,
|
|
6
|
+
node56
|
|
7
|
+
} from "./pty-bnepd0n1.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service20,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
19
|
layer: () => layer9,
|
|
20
|
-
node: () =>
|
|
20
|
+
node: () => node23
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service20 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var layer9 = Layer.effect(
|
|
38
|
+
var layer9 = Layer.effect(Service20, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service53;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -63,12 +63,12 @@ var layer9 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
63
63
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service20.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
68
|
+
var node23 = makeLocationNode({
|
|
69
|
+
service: Service20,
|
|
70
70
|
layer: layer9,
|
|
71
|
-
deps: [
|
|
71
|
+
deps: [node56, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service20, layer9, node23, exports_generate };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./pty-phrgc7s2.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event15,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
29
|
Options: () => Options10,
|
|
30
|
-
Service: () =>
|
|
30
|
+
Service: () => Service73,
|
|
31
31
|
configured: () => configured11,
|
|
32
32
|
layer: () => layer24,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node77
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,7 +42,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event15 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
48
|
var Options10 = Schema.Struct({
|
|
@@ -50,10 +50,10 @@ var Options10 = Schema.Struct({
|
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service73 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var layer24 = (options) => Layer.effect(
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer24 = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service82;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,7 +72,7 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event15.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make21({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service73.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -106,12 +106,12 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
106
106
|
}));
|
|
107
107
|
function configured11(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
109
|
+
service: Service73,
|
|
110
110
|
layer: layer24(options),
|
|
111
|
-
deps: [
|
|
111
|
+
deps: [node86]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node77 = configured11();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event15, Options10, Service73, layer24, configured11, node77, exports_instruction_discovery };
|