@opencode/core 0.0.0-dev-21561 → 0.0.0-dev-21570
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-resolver-bm4gstpq.js → app-00zh2tpm.js} +8 -8
- package/dist/chunks/{model-resolver-jm58kwny.js → app-04fhc9pj.js} +25 -25
- package/dist/chunks/{model-resolver-hrwraf01.js → app-0kkqynqr.js} +189 -189
- package/dist/chunks/{model-resolver-7s9p8b5q.js → app-0twgbthj.js} +19 -19
- package/dist/chunks/{model-resolver-0anhksjf.js → app-10bwkysh.js} +13 -13
- package/dist/chunks/{model-resolver-atkwrhtv.js → app-1622r1ga.js} +4 -4
- package/dist/chunks/{model-resolver-w35wzz9x.js → app-173t91w5.js} +9 -9
- package/dist/chunks/{model-resolver-r3jydfqs.js → app-18harhtr.js} +13 -13
- package/dist/chunks/{model-resolver-84pze0j7.js → app-19779spt.js} +23 -23
- package/dist/chunks/{model-resolver-qeaqse4k.js → app-19b0nq78.js} +43 -43
- package/dist/chunks/{model-resolver-evdtckst.js → app-1jtf53by.js} +4 -4
- package/dist/chunks/{model-resolver-r1rcp1a5.js → app-1s9fs40v.js} +4 -4
- package/dist/chunks/{model-resolver-1x2knyw4.js → app-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-resolver-40fhy2zt.js → app-1y8dm7ap.js} +17 -17
- package/dist/chunks/{model-resolver-p7vhpwh8.js → app-1yq9hg58.js} +5 -5
- package/dist/chunks/{model-resolver-etxseyds.js → app-20mxm868.js} +17 -17
- package/dist/chunks/{model-resolver-4755v7r3.js → app-210jfvy6.js} +11 -11
- package/dist/chunks/{model-resolver-zadgmz3x.js → app-25vgcjra.js} +24 -24
- package/dist/chunks/{model-resolver-81veg7gk.js → app-26bpbd1f.js} +28 -28
- package/dist/chunks/{model-resolver-1ep2p91f.js → app-27w5k9zf.js} +2 -2
- package/dist/chunks/{model-resolver-a3em8wep.js → app-2emv3dac.js} +19 -19
- package/dist/chunks/{model-resolver-dv7jmtr8.js → app-2g37s6n5.js} +11 -11
- package/dist/chunks/{model-resolver-71ne8d3w.js → app-2qv7s079.js} +8 -8
- package/dist/chunks/{model-resolver-0pkr6qt9.js → app-2sh6np1t.js} +57 -57
- package/dist/chunks/{model-resolver-4m6zstw0.js → app-2x6dhx7z.js} +3 -3
- package/dist/chunks/{model-resolver-ky0p85ga.js → app-2y353qze.js} +18 -18
- package/dist/chunks/{model-resolver-2z1j29yd.js → app-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-resolver-cs87y13h.js → app-31wms35x.js} +4 -4
- package/dist/chunks/{model-resolver-dgebqdnd.js → app-33wj402p.js} +36 -36
- package/dist/chunks/{model-resolver-56fqbvhs.js → app-38c4qa7w.js} +5 -5
- package/dist/chunks/{model-resolver-ymn1zp0c.js → app-38dzhn5x.js} +38 -38
- package/dist/chunks/{model-resolver-ayjs7tqn.js → app-3cbjf1nt.js} +2 -2
- package/dist/chunks/{model-resolver-s67gnmqz.js → app-3ddszj5t.js} +36 -36
- package/dist/chunks/{model-resolver-cxrgknsm.js → app-3ft77epc.js} +9 -9
- package/dist/chunks/{model-resolver-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-h3c848hf.js → app-3j99hnw3.js} +33 -33
- package/dist/chunks/{model-resolver-0s4gbdd0.js → app-3v0zq4wp.js} +11 -11
- package/dist/chunks/{model-resolver-873tmn1d.js → app-3vvwd6ke.js} +14 -14
- package/dist/chunks/app-3xwkv16t.js +523 -0
- package/dist/chunks/{model-resolver-qc854yns.js → app-3yme8bqy.js} +14 -14
- package/dist/chunks/{model-resolver-158zhnz6.js → app-4b1atmcq.js} +12 -12
- package/dist/chunks/{model-resolver-3vvx3qkg.js → app-4cxsxbgt.js} +19 -19
- package/dist/chunks/{model-resolver-acmwnmb8.js → app-4f3sm4z4.js} +24 -24
- package/dist/chunks/{model-resolver-k9ms0q72.js → app-4g0fsgbg.js} +6 -6
- package/dist/chunks/{model-resolver-d2b9tqdk.js → app-4k74q3cd.js} +22 -22
- package/dist/chunks/{model-resolver-ntz68qz4.js → app-4n53z3gy.js} +11 -11
- package/dist/chunks/{model-resolver-xezg9szt.js → app-4pxwt4n4.js} +10 -10
- package/dist/chunks/{model-resolver-fywxn8yw.js → app-4qv1he3d.js} +50 -50
- package/dist/chunks/{model-resolver-4v008n1t.js → app-4v008n1t.js} +1 -1
- package/dist/chunks/{model-resolver-4xvmh7wp.js → app-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-resolver-b6x45btx.js → app-569sdvd3.js} +8 -8
- package/dist/chunks/{model-resolver-fchqce7y.js → app-5ab172h5.js} +40 -40
- package/dist/chunks/{model-resolver-gw73nvw6.js → app-5bvqzxvh.js} +11 -11
- package/dist/chunks/{model-resolver-4anvj0nz.js → app-5cc3rvwm.js} +86 -86
- package/dist/chunks/{model-resolver-z0edr6gj.js → app-5cw0dcrr.js} +22 -22
- package/dist/chunks/{model-resolver-aj85frbb.js → app-5dtf0xw8.js} +11 -11
- package/dist/chunks/{model-resolver-we1tgvvb.js → app-5gnmyaq2.js} +5 -5
- package/dist/chunks/{model-resolver-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-b6vsg801.js → app-5nnwax6m.js} +5 -5
- package/dist/chunks/{model-resolver-6czmj677.js → app-5p205wab.js} +4 -4
- package/dist/chunks/{model-resolver-e3qxr5gk.js → app-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-resolver-5df887yz.js → app-695xd8qp.js} +19 -19
- package/dist/chunks/{model-resolver-m4eq7axd.js → app-6be6yqxw.js} +15 -15
- package/dist/chunks/{model-resolver-m0k609qs.js → app-6c9gsgb8.js} +16 -16
- package/dist/chunks/{model-resolver-6esdw8yj.js → app-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-resolver-3gs3gk71.js → app-6msrtbg0.js} +18 -18
- package/dist/chunks/{model-resolver-6pjqjmy2.js → app-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-resolver-gtxeab11.js → app-6w4saq69.js} +46 -46
- package/dist/chunks/{model-resolver-gs6sdnbe.js → app-6wb2zb64.js} +24 -24
- package/dist/chunks/{model-resolver-jf5na7rx.js → app-73xz0dh8.js} +5 -5
- package/dist/chunks/{model-resolver-76cb1hcw.js → app-76cb1hcw.js} +1 -1
- package/dist/chunks/{model-resolver-2hdav3qx.js → app-79b21x4r.js} +7 -7
- package/dist/chunks/{model-resolver-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-ag809kpc.js → app-7dj845q2.js} +19 -19
- package/dist/chunks/{model-resolver-7sjdmqaj.js → app-7q2jq33p.js} +18 -18
- package/dist/chunks/{model-resolver-r2q802mc.js → app-7v5ecr6b.js} +13 -13
- package/dist/chunks/{model-resolver-7w2ypzdf.js → app-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-resolver-7we14xxk.js → app-7wxrbrvg.js} +34 -34
- package/dist/chunks/{model-resolver-7crfef3m.js → app-7xw28p93.js} +26 -26
- package/dist/chunks/app-7yv5xa0k.js +18 -0
- package/dist/chunks/{model-resolver-dvg82dp6.js → app-7ywpwnkp.js} +33 -33
- package/dist/chunks/{model-resolver-6gsynj7k.js → app-81tex3wg.js} +15 -15
- package/dist/chunks/{model-resolver-gzrpk3yh.js → app-86a1xg0s.js} +14 -14
- package/dist/chunks/{model-resolver-t5x9tta9.js → app-86jbmjy0.js} +16 -16
- package/dist/chunks/{model-resolver-qjgzc4b4.js → app-8jztxfpf.js} +4 -4
- package/dist/chunks/{model-resolver-8wtp7s3z.js → app-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-resolver-91rj84md.js → app-91rj84md.js} +1 -1
- package/dist/chunks/{model-resolver-c1526x78.js → app-91zpvmry.js} +14 -14
- package/dist/chunks/{model-resolver-fae4enn1.js → app-92shyse6.js} +13 -13
- package/dist/chunks/{model-resolver-tpbnagbb.js → app-93rhewbm.js} +32 -32
- package/dist/chunks/{model-resolver-r1k9m3eb.js → app-956c56jz.js} +8 -8
- package/dist/chunks/{model-resolver-gaxzewmp.js → app-98gmkcwn.js} +35 -35
- package/dist/chunks/{model-resolver-rkxhwyxc.js → app-9e4t472b.js} +12 -12
- package/dist/chunks/app-9pfqjpyy.js +257 -0
- package/dist/chunks/{model-resolver-vzmjdaw1.js → app-9r0x1bva.js} +9 -9
- package/dist/chunks/{model-resolver-dfks5x0x.js → app-9vd5hnnp.js} +15 -15
- package/dist/chunks/{model-resolver-jg26tebj.js → app-9vy7ymhz.js} +20 -20
- package/dist/chunks/{model-resolver-dy267r6z.js → app-a8fwv04y.js} +2 -2
- package/dist/chunks/{model-resolver-pja7jmt2.js → app-ade0xppm.js} +11 -11
- package/dist/chunks/{model-resolver-034tev2y.js → app-aj7mw0zk.js} +2 -2
- package/dist/chunks/{model-resolver-xxak8n2f.js → app-ak0r7mhr.js} +4 -4
- package/dist/chunks/{model-resolver-mrejt0vx.js → app-ak5m35an.js} +6 -6
- package/dist/chunks/{model-resolver-6a4kxdj8.js → app-anvrad6f.js} +26 -26
- package/dist/chunks/{model-resolver-z2bchc84.js → app-arxr4n82.js} +20 -20
- package/dist/chunks/{model-resolver-my4zabxr.js → app-arz7hw7x.js} +2 -2
- package/dist/chunks/{model-resolver-9ts33eg0.js → app-as49vg6k.js} +32 -32
- package/dist/chunks/{model-resolver-ng4advcs.js → app-aswvndy1.js} +45 -45
- package/dist/chunks/{model-resolver-xj1dzt64.js → app-ax4xcqdr.js} +1 -1
- package/dist/chunks/{model-resolver-b0mv4wxm.js → app-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-resolver-dx2tr0e6.js → app-b5rmxzna.js} +11 -11
- package/dist/chunks/{model-resolver-xd9cc171.js → app-bstexjd6.js} +5 -5
- package/dist/chunks/{model-resolver-5w7y85jn.js → app-c0hpp7j5.js} +18 -18
- package/dist/chunks/{model-resolver-cn7xf0c3.js → app-c1bqr4jn.js} +5 -5
- package/dist/chunks/{model-resolver-sznyev98.js → app-c5c0bz0t.js} +5 -5
- package/dist/chunks/{model-resolver-ztf6n3de.js → app-c5kjsz6q.js} +4 -4
- package/dist/chunks/{model-resolver-c9t2ty9q.js → app-c9t2ty9q.js} +1 -1
- package/dist/chunks/{model-resolver-hhs2jvjz.js → app-ce6jsch9.js} +22 -22
- package/dist/chunks/{model-resolver-yk9kn8z0.js → app-ce9s6z8c.js} +18 -18
- package/dist/chunks/{model-resolver-psq9ew9c.js → app-cnda3w9r.js} +9 -9
- package/dist/chunks/{model-resolver-0sd3e6sm.js → app-cqp8bbqc.js} +12 -12
- package/dist/chunks/{model-resolver-qqe3xj9j.js → app-d3p229mm.js} +20 -20
- package/dist/chunks/{model-resolver-d4v9tmah.js → app-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-resolver-dh62xe4r.js → app-dh62xe4r.js} +1 -1
- package/dist/chunks/{model-resolver-5f9n2b02.js → app-djzk6aem.js} +4 -4
- package/dist/chunks/{model-resolver-exrjm4ta.js → app-dr37mt8v.js} +4 -4
- package/dist/chunks/{model-resolver-998yhzzq.js → app-dvj9ct8m.js} +3 -3
- package/dist/chunks/{model-resolver-pb2pfffb.js → app-e5gw6wwr.js} +10 -10
- package/dist/chunks/{model-resolver-e834z07m.js → app-e834z07m.js} +1 -1
- package/dist/chunks/{model-resolver-g1e2r5aa.js → app-e8pm465n.js} +4 -4
- package/dist/chunks/{model-resolver-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-fvyt5ase.js → app-efn85jpf.js} +3 -3
- package/dist/chunks/{model-resolver-7v23t0sn.js → app-eg9pfg6h.js} +5 -5
- package/dist/chunks/{model-resolver-qecz1syp.js → app-etcq3wj6.js} +91 -91
- package/dist/chunks/{model-resolver-dy9wt3zt.js → app-eth5ae7t.js} +69 -69
- package/dist/chunks/{model-resolver-bh1et42v.js → app-f0qp72je.js} +6 -6
- package/dist/chunks/{model-resolver-42pj4rzv.js → app-f7kfhre8.js} +28 -28
- package/dist/chunks/{model-resolver-8eay0v1g.js → app-fc895th3.js} +11 -11
- package/dist/chunks/{model-resolver-fffv3p7h.js → app-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-resolver-7p0hmyjt.js → app-fh92gkhk.js} +7 -7
- package/dist/chunks/{model-resolver-pkam9c76.js → app-fhh94x7z.js} +11 -11
- package/dist/chunks/{model-resolver-wekz2jy3.js → app-fr73gbb1.js} +13 -13
- package/dist/chunks/{model-resolver-hqr24qw0.js → app-g49wnabm.js} +5 -5
- package/dist/chunks/{model-resolver-g5h9c0rr.js → app-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-resolver-cex2vn28.js → app-ge9weg3j.js} +18 -18
- package/dist/chunks/{model-resolver-9ygq16qa.js → app-grvayz05.js} +28 -28
- package/dist/chunks/{model-resolver-k9drn87y.js → app-gy26d4cp.js} +24 -24
- package/dist/chunks/{model-resolver-4c6mfys4.js → app-h7rgkctr.js} +1 -1
- package/dist/chunks/{model-resolver-7454dw3e.js → app-hfrd5zd9.js} +11 -11
- package/dist/chunks/{model-resolver-yh0hw7we.js → app-hh1m5t0r.js} +10 -10
- package/dist/chunks/{model-resolver-zmwx25fz.js → app-hhafapa0.js} +2 -2
- package/dist/chunks/{model-resolver-m4cw13px.js → app-hne7gxgz.js} +28 -28
- package/dist/chunks/{model-resolver-dnenxkzx.js → app-htx6nhp5.js} +7 -7
- package/dist/chunks/{model-resolver-j113cymg.js → app-j113cymg.js} +1 -1
- package/dist/chunks/{model-resolver-vxxaf4jx.js → app-jae53m2x.js} +11 -11
- package/dist/chunks/{model-resolver-dx6zzgj2.js → app-jcgydn6h.js} +24 -24
- package/dist/chunks/{model-resolver-jcqm84fr.js → app-jcqm84fr.js} +2 -2
- package/dist/chunks/{model-resolver-xr3sacq2.js → app-jes3kmg5.js} +34 -34
- package/dist/chunks/{model-resolver-gcw2976b.js → app-jfpsek1t.js} +20 -20
- package/dist/chunks/{model-resolver-e5dqjz6v.js → app-jneg3k74.js} +4 -4
- package/dist/chunks/{model-resolver-08ftexb4.js → app-jsxsss6h.js} +19 -19
- package/dist/chunks/{model-resolver-z3ac7gyp.js → app-jth5b7nb.js} +21 -21
- package/dist/chunks/{model-resolver-361xprba.js → app-k1r9t87x.js} +14 -14
- package/dist/chunks/{model-resolver-j9hjqqep.js → app-k56nbahk.js} +32 -32
- package/dist/chunks/{model-resolver-1dpax7s7.js → app-k5y4r48d.js} +34 -34
- package/dist/chunks/{model-resolver-vsgt0m8t.js → app-k60vrjeg.js} +6 -6
- package/dist/chunks/{model-resolver-k814nvkf.js → app-k814nvkf.js} +1 -1
- package/dist/chunks/{model-resolver-817tby3n.js → app-k9b5863x.js} +6 -6
- package/dist/chunks/{model-resolver-0rq01gt9.js → app-kbmq0v6f.js} +5 -5
- package/dist/chunks/{model-resolver-p0tsr9h6.js → app-kd4chd64.js} +7 -7
- package/dist/chunks/{model-resolver-f6j7cyhq.js → app-kjwktd7k.js} +21 -21
- package/dist/chunks/{model-resolver-5brge8v8.js → app-kjzcdnr5.js} +51 -51
- package/dist/chunks/{model-resolver-bbv4y6ft.js → app-kkxbngda.js} +23 -23
- package/dist/chunks/{model-resolver-ehfx068x.js → app-kqxxwkn3.js} +17 -17
- package/dist/chunks/{model-resolver-m1714858.js → app-m1714858.js} +1 -1
- package/dist/chunks/{model-resolver-g7esga4v.js → app-m37sd98t.js} +7 -7
- package/dist/chunks/{model-resolver-dr3grpx5.js → app-m4m284hh.js} +15 -15
- package/dist/chunks/{model-resolver-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-maspj1v3.js → app-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-me5bcav6.js → app-me5bcav6.js} +1 -1
- package/dist/chunks/{model-resolver-k2x2dsy8.js → app-mfkqmekj.js} +9 -9
- package/dist/chunks/{model-resolver-n0p0277s.js → app-n0p0277s.js} +1 -1
- package/dist/chunks/{model-resolver-4kxf6a3x.js → app-n5cwa87a.js} +30 -30
- package/dist/chunks/{model-resolver-770pw0s1.js → app-nah043kf.js} +4 -4
- package/dist/chunks/{model-resolver-parpa42j.js → app-ne4y78rw.js} +2 -2
- package/dist/chunks/{model-resolver-xf4p2pg0.js → app-nh8v8ke6.js} +21 -21
- package/dist/chunks/{model-resolver-zrbv4gdq.js → app-nwr7kgq9.js} +19 -19
- package/dist/chunks/{model-resolver-p015t6z3.js → app-p015t6z3.js} +2 -2
- package/dist/chunks/{model-resolver-vnfvdagd.js → app-p0y2phsj.js} +35 -35
- package/dist/chunks/{model-resolver-1mznh3r2.js → app-p814keat.js} +31 -31
- package/dist/chunks/{model-resolver-gj8x1tda.js → app-pacbbjc0.js} +5 -5
- package/dist/chunks/{model-resolver-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-zp466xy7.js → app-pvn5ra1s.js} +10 -10
- package/dist/chunks/{model-resolver-3tvx83bq.js → app-pwq9efzz.js} +29 -29
- package/dist/chunks/{model-resolver-tn41ynre.js → app-pyp72qgk.js} +18 -18
- package/dist/chunks/{model-resolver-a0v55zen.js → app-q1sfq5ar.js} +28 -28
- package/dist/chunks/{model-resolver-0421tmwc.js → app-q46y00v4.js} +9 -9
- package/dist/chunks/{model-resolver-ypwr9vv7.js → app-q67e8ksv.js} +48 -48
- package/dist/chunks/{model-resolver-y8mr6xph.js → app-q732j4yv.js} +14 -14
- package/dist/chunks/app-qagaq7sy.js +26 -0
- package/dist/chunks/{model-resolver-maxw8zgf.js → app-qrn4wzgg.js} +22 -22
- package/dist/chunks/{model-resolver-fxhha7v6.js → app-qtz1mk7q.js} +11 -11
- package/dist/chunks/{model-resolver-r0yr0wbs.js → app-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-resolver-0jqtqcam.js → app-r6kz875z.js} +13 -13
- package/dist/chunks/{model-resolver-rb9dy4dg.js → app-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-resolver-cbeaw478.js → app-rdwyycgw.js} +14 -14
- package/dist/chunks/{model-resolver-tm49z4r5.js → app-rmnrnby4.js} +39 -39
- package/dist/chunks/{model-resolver-s8pwnmrf.js → app-rsd1vv3y.js} +39 -39
- package/dist/chunks/{model-resolver-rt5dr6hb.js → app-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-resolver-tvxppb48.js → app-s170k3xw.js} +27 -27
- package/dist/chunks/{model-resolver-zsw153cf.js → app-s8vp3f5v.js} +17 -17
- package/dist/chunks/{model-resolver-sq4s6wq1.js → app-sbegqkxp.js} +6 -6
- package/dist/chunks/{model-resolver-zgy84aax.js → app-sft389ej.js} +20 -20
- package/dist/chunks/{model-resolver-kmjzn6q1.js → app-snvvzbj8.js} +49 -49
- package/dist/chunks/{model-resolver-frxcbkbz.js → app-sp9905ca.js} +27 -27
- package/dist/chunks/{model-resolver-sqjzf8x2.js → app-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-resolver-2yjk1ef9.js → app-sr3t0mwa.js} +18 -18
- package/dist/chunks/{model-resolver-3f2dq5js.js → app-ssr08r1k.js} +36 -36
- package/dist/chunks/{model-resolver-362tp65q.js → app-svw9b4tv.js} +8 -8
- package/dist/chunks/{model-resolver-6xqtcmxs.js → app-szcgc7h4.js} +5 -5
- package/dist/chunks/{model-resolver-dp37p1r3.js → app-t8fe48pd.js} +1 -1
- package/dist/chunks/{model-resolver-tasvem1v.js → app-tasvem1v.js} +3 -3
- package/dist/chunks/{model-resolver-tczq8hjw.js → app-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-resolver-dqgvvwe0.js → app-tkmwn4n3.js} +5 -5
- package/dist/chunks/{model-resolver-3nnrz6f6.js → app-tmc7xdjs.js} +4 -4
- package/dist/chunks/{model-resolver-rg8m9xd0.js → app-ttpcrarc.js} +16 -16
- package/dist/chunks/{model-resolver-tw8zr1ps.js → app-tw8zr1ps.js} +1 -1
- package/dist/chunks/{model-resolver-twv2r8f4.js → app-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-resolver-asaqahta.js → app-v5gy4fh6.js} +8 -8
- package/dist/chunks/{model-resolver-66rk6f56.js → app-v5prxdmf.js} +9 -9
- package/dist/chunks/{model-resolver-vywmmb7d.js → app-va59929a.js} +24 -24
- package/dist/chunks/{model-resolver-vd3b3yk9.js → app-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-resolver-w5zwfkq2.js → app-vdcfetgk.js} +47 -47
- package/dist/chunks/{model-resolver-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-nwnd66fk.js → app-vgx47e1e.js} +3 -3
- package/dist/chunks/{model-resolver-h7r3kzq2.js → app-vkqjcjxb.js} +51 -51
- package/dist/chunks/{model-resolver-8h5ae6e1.js → app-vrh99vxp.js} +5 -5
- package/dist/chunks/{model-resolver-9afz5xhg.js → app-w1tf2vhf.js} +27 -27
- package/dist/chunks/{model-resolver-40za9wsf.js → app-w2eysc6j.js} +9 -9
- package/dist/chunks/{model-resolver-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-w687dnns.js → app-w687dnns.js} +1 -1
- package/dist/chunks/{model-resolver-wakvkjy4.js → app-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-z8zh1sht.js → app-wephwg65.js} +23 -23
- package/dist/chunks/{model-resolver-bgqkkabj.js → app-wf9nn3bs.js} +11 -11
- package/dist/chunks/{model-resolver-5ttwsr6z.js → app-wfvde9ev.js} +6 -6
- package/dist/chunks/{model-resolver-2jk202a8.js → app-whb6jbxc.js} +37 -37
- package/dist/chunks/{model-resolver-jdgy95a6.js → app-wjdw9j8d.js} +4 -4
- package/dist/chunks/{model-resolver-t9pmjw8g.js → app-wr9nceen.js} +9 -9
- package/dist/chunks/{model-resolver-mhs2q8b0.js → app-wrh8ttgh.js} +38 -38
- package/dist/chunks/{model-resolver-cf9s935f.js → app-wsxy8nck.js} +40 -40
- package/dist/chunks/{model-resolver-b7gsrj05.js → app-x62jdknq.js} +14 -14
- package/dist/chunks/{model-resolver-c7pkf0mg.js → app-xdts610a.js} +38 -38
- package/dist/chunks/{model-resolver-w26t1m11.js → app-xjcvkgq2.js} +11 -11
- package/dist/chunks/{model-resolver-1sdsfpt0.js → app-xkeb9rs5.js} +36 -36
- package/dist/chunks/{model-resolver-ad0b5xxd.js → app-xn9prk0h.js} +12 -12
- package/dist/chunks/{model-resolver-d9jnkx5k.js → app-xngx3rps.js} +5 -5
- package/dist/chunks/{model-resolver-nbz0maqw.js → app-xnwj5rqb.js} +23 -23
- package/dist/chunks/{model-resolver-f6mq62gx.js → app-xp3f508c.js} +13 -13
- package/dist/chunks/{model-resolver-9tj4b67g.js → app-xs6ta2mn.js} +13 -13
- package/dist/chunks/{model-resolver-q1fncbax.js → app-xthgq65r.js} +5 -5
- package/dist/chunks/{model-resolver-xaqh7jtr.js → app-y4pjxpxm.js} +27 -27
- package/dist/chunks/{model-resolver-an85mpdk.js → app-y8t6cpt7.js} +12 -12
- package/dist/chunks/{model-resolver-yb20nhc3.js → app-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-resolver-kmzgegqq.js → app-ydsespw1.js} +8 -8
- package/dist/chunks/{model-resolver-bnjwp1w3.js → app-yhn0a50f.js} +24 -24
- package/dist/chunks/{model-resolver-hs0nkh4s.js → app-ym0en988.js} +15 -15
- package/dist/chunks/{model-resolver-y9w21xdh.js → app-yt57kqfa.js} +9 -9
- package/dist/chunks/{model-resolver-3j7gb19e.js → app-ywgha77a.js} +18 -18
- package/dist/chunks/{model-resolver-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-z38nccrw.js → app-z38nccrw.js} +1 -1
- package/dist/chunks/{model-resolver-tyxn5m2z.js → app-z5ch3v5q.js} +4 -4
- package/dist/chunks/{model-resolver-7vwgx2kr.js → app-z6fsbrec.js} +3 -3
- package/dist/chunks/{model-resolver-v7vzjxxh.js → app-z72fs3kr.js} +29 -29
- package/dist/chunks/{model-resolver-zba5tm1j.js → app-zba5tm1j.js} +1 -1
- package/dist/chunks/{model-resolver-7wxq9ndj.js → app-zdesn8ss.js} +22 -22
- package/dist/chunks/{model-resolver-57y02hse.js → app-zfwbmsyg.js} +12 -12
- package/dist/chunks/{model-resolver-fe8knzhs.js → app-zkepmczw.js} +1 -1
- package/dist/chunks/{model-resolver-zkg84ctx.js → app-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-resolver-tetf7hhs.js → app-zm3cpays.js} +14 -14
- package/dist/chunks/{model-resolver-d6dkcx5p.js → app-zs5g0jnr.js} +8 -8
- package/dist/chunks/{model-resolver-5defca7t.js → app-zxac9sqa.js} +33 -33
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +369 -369
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +224 -224
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-resolver-0207mz92.js +0 -523
- package/dist/chunks/model-resolver-2vwdzrer.js +0 -26
- package/dist/chunks/model-resolver-53mdf58s.js +0 -257
- package/dist/chunks/model-resolver-grzehpz7.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → app-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5fjb7ams.js → app-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → app-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a058387c.js → app-a058387c.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → app-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → app-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → app-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → app-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → app-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → app-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service65,
|
|
3
|
+
node68
|
|
4
|
+
} from "./app-4pxwt4n4.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-arz7hw7x.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service53,
|
|
20
|
+
make: () => make19,
|
|
21
|
+
node: () => node56
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service53 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make19 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service65;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -343,7 +343,7 @@ var make18 = Effect.gen(function* () {
|
|
|
343
343
|
next.delete(entry[0]);
|
|
344
344
|
return next;
|
|
345
345
|
})));
|
|
346
|
-
return
|
|
346
|
+
return Service53.of({
|
|
347
347
|
get,
|
|
348
348
|
start,
|
|
349
349
|
wait,
|
|
@@ -356,7 +356,7 @@ var make18 = Effect.gen(function* () {
|
|
|
356
356
|
completeBackground
|
|
357
357
|
});
|
|
358
358
|
});
|
|
359
|
-
var layer = Layer.effect(
|
|
360
|
-
var
|
|
359
|
+
var layer = Layer.effect(Service53, make19);
|
|
360
|
+
var node56 = makeGlobalNode({ service: Service53, layer, deps: [node68] });
|
|
361
361
|
|
|
362
|
-
export {
|
|
362
|
+
export { Service53, make19, node56, exports_job };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service49,
|
|
8
|
+
node51
|
|
9
|
+
} from "./app-yhn0a50f.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service48,
|
|
24
|
+
node: () => node50
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service48 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service49;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service48.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node50 = makeLocationNode({ service: Service48, layer, deps: [node51, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service48, node50, exports_ripgrep };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-4n53z3gy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./app-xn9prk0h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID16,
|
|
9
9
|
Event18,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service80
|
|
11
|
+
} from "./app-kkxbngda.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-zba5tm1j.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-anvrad6f.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service77
|
|
25
|
+
} from "./app-n5cwa87a.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID12
|
|
28
|
+
} from "./app-7wxrbrvg.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./app-4g0fsgbg.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make4(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service85;
|
|
76
|
+
const credentials = yield* Service80;
|
|
77
|
+
const providers = yield* Service77;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make6(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID13.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID13.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make6(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make6(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make6(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make6(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make6(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make6(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID13.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make6(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make6(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID13.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID13.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
276
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make6(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID13.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make6(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID13.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID13.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make6(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID13.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make4();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID12.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make4, AzurePlugin2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-4n53z3gy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./app-xn9prk0h.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-kkxbngda.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-anvrad6f.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-n5cwa87a.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
get4
|
|
26
|
+
} from "./app-tmc7xdjs.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-4g0fsgbg.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
50
50
|
}));
|
|
51
51
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
52
52
|
var browser = (app) => ({
|
|
53
|
-
integrationID:
|
|
53
|
+
integrationID: ID14.make("openai"),
|
|
54
54
|
method: {
|
|
55
55
|
id: browserMethodID,
|
|
56
56
|
type: "oauth",
|
|
@@ -123,7 +123,7 @@ function addressInUse(error) {
|
|
|
123
123
|
return "code" in error && error.code === "EADDRINUSE";
|
|
124
124
|
}
|
|
125
125
|
var headless = (app) => ({
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID14.make("openai"),
|
|
127
127
|
method: {
|
|
128
128
|
id: headlessMethodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -165,10 +165,10 @@ var headless = (app) => ({
|
|
|
165
165
|
}),
|
|
166
166
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
167
167
|
});
|
|
168
|
-
var
|
|
168
|
+
var OpenAIPlugin2 = define({
|
|
169
169
|
id: "opencode.provider.openai",
|
|
170
170
|
effect: Effect.fn(function* (ctx) {
|
|
171
|
-
const bus = yield*
|
|
171
|
+
const bus = yield* Service85;
|
|
172
172
|
const loading = Semaphore.makeUnsafe(1);
|
|
173
173
|
let chatgpt;
|
|
174
174
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -183,9 +183,9 @@ var OpenAIPlugin3 = define({
|
|
|
183
183
|
editor.method.update(headless(ctx.app));
|
|
184
184
|
});
|
|
185
185
|
yield* load();
|
|
186
|
-
const configured = yield* configuredSettings2(
|
|
186
|
+
const configured = yield* configuredSettings2(ID13.openai);
|
|
187
187
|
yield* ctx.provider.transform((providers) => {
|
|
188
|
-
const item = providers.get(
|
|
188
|
+
const item = providers.get(ID13.openai);
|
|
189
189
|
if (!item)
|
|
190
190
|
return;
|
|
191
191
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -205,7 +205,7 @@ var OpenAIPlugin3 = define({
|
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
yield* ctx.model.transform((models) => {
|
|
208
|
-
for (const model of models.list(
|
|
208
|
+
for (const model of models.list(ID13.openai)) {
|
|
209
209
|
models.update(model.providerID, model.id, (draft) => {
|
|
210
210
|
if (!chatgpt)
|
|
211
211
|
return;
|
|
@@ -235,15 +235,15 @@ var OpenAIPlugin3 = define({
|
|
|
235
235
|
return;
|
|
236
236
|
}));
|
|
237
237
|
evt.headers.originator = "opencode";
|
|
238
|
-
evt.headers["session-id"] = session ?
|
|
239
|
-
}), { providerID:
|
|
238
|
+
evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
|
|
239
|
+
}), { providerID: ID13.openai });
|
|
240
240
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
241
241
|
delete evt.options.maxTokens;
|
|
242
242
|
});
|
|
243
243
|
for (const name of ["context", "compaction"])
|
|
244
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
244
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
|
|
245
245
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
246
|
-
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
246
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
function headers(contentType, app) {
|
|
@@ -334,4 +334,4 @@ function claim(token) {
|
|
|
334
334
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
export {
|
|
337
|
+
export { OpenAIPlugin2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-f0qp72je.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-kjzcdnr5.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-anvrad6f.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-aswvndy1.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-18harhtr.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service62
|
|
4
|
+
} from "./app-vdcfetgk.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin41,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin41 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service62;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin18 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin41, exports_warming };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|