@opencode/core 0.0.0-dev-19903 → 0.0.0-dev-19904
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 +78 -78
- 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/{git-h90kht10.js → state-00zhev0m.js} +174 -174
- package/dist/chunks/{git-s8d7rejh.js → state-02nrjc1r.js} +8 -8
- package/dist/chunks/{git-9c1agytg.js → state-06av6aqk.js} +5 -5
- package/dist/chunks/{git-f0s9gk5b.js → state-07xyahhy.js} +37 -37
- package/dist/chunks/{git-xxh2e4wm.js → state-082a02mf.js} +30 -30
- package/dist/chunks/{git-12kty0ww.js → state-0b59w6b8.js} +28 -28
- package/dist/chunks/{git-qjy2jana.js → state-0bd7yhfg.js} +9 -9
- package/dist/chunks/{git-vvj93n9v.js → state-0dm5naev.js} +8 -8
- package/dist/chunks/{git-0f9afca0.js → state-0f9afca0.js} +2 -2
- package/dist/chunks/{git-eab04pkv.js → state-0j67avv1.js} +9 -9
- package/dist/chunks/{git-7dqw4kz8.js → state-0jwsre1p.js} +5 -5
- package/dist/chunks/state-0mesazry.js +4 -0
- package/dist/chunks/{git-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-0q0f95c6.js → state-0q0f95c6.js} +1 -1
- package/dist/chunks/{git-evdfgtfh.js → state-0rg4ktbj.js} +5 -5
- package/dist/chunks/{git-4shhyfcg.js → state-0sxvvb3w.js} +27 -27
- package/dist/chunks/{git-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-taaehm3f.js → state-1pch5d31.js} +16 -16
- package/dist/chunks/{git-racwxhen.js → state-20pcmxm3.js} +26 -26
- package/dist/chunks/{git-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{git-2402vzrj.js → state-2402vzrj.js} +1 -1
- package/dist/chunks/{git-rweyqa6c.js → state-24n67b4a.js} +5 -5
- package/dist/chunks/{git-qj96v8ds.js → state-24x3edfr.js} +42 -42
- package/dist/chunks/{git-etvbk3nd.js → state-26gnd6ny.js} +15 -15
- package/dist/chunks/{git-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-1497xpph.js → state-2jfqkynx.js} +26 -26
- package/dist/chunks/{git-xrmjqyg6.js → state-2q15ef5p.js} +6 -6
- package/dist/chunks/{git-kznzvves.js → state-2zazyk1c.js} +18 -18
- package/dist/chunks/{git-2zpp5gqn.js → state-2zwyj5vg.js} +38 -38
- package/dist/chunks/{git-h25kgf1n.js → state-3bf73811.js} +16 -16
- package/dist/chunks/{git-7ac170kv.js → state-3c4e3q8d.js} +4 -4
- package/dist/chunks/{git-bqsqrc54.js → state-3djcpfd1.js} +13 -13
- package/dist/chunks/{git-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-fe8wzdxj.js → state-3hatapfr.js} +13 -13
- package/dist/chunks/{git-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-k9avtbwf.js → state-3ktbe3hf.js} +6 -6
- package/dist/chunks/{git-6bs3d6h5.js → state-3sb31twn.js} +6 -6
- package/dist/chunks/{git-jxmk1xaj.js → state-3sm54r8q.js} +14 -14
- package/dist/chunks/{git-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-2f0bjgcj.js → state-3w0fmcng.js} +5 -5
- package/dist/chunks/{git-xcg3csh5.js → state-3w9dm1p6.js} +35 -35
- package/dist/chunks/{git-q5p5e0z4.js → state-408pxxnj.js} +7 -7
- package/dist/chunks/{git-nrxvsan6.js → state-445gfy8g.js} +28 -28
- package/dist/chunks/{git-44ke2mar.js → state-44ke2mar.js} +2 -2
- package/dist/chunks/{git-hvw0c4dx.js → state-4742rsvj.js} +25 -25
- package/dist/chunks/{git-bf4h81wh.js → state-4ahg9bde.js} +68 -68
- package/dist/chunks/{git-bz85s9hh.js → state-4jc5c4h4.js} +1 -1
- package/dist/chunks/{git-b05f6c20.js → state-4rkm8bzg.js} +30 -30
- package/dist/chunks/{git-x73ycqwj.js → state-4rxpvwq1.js} +9 -9
- package/dist/chunks/{git-wfkwfyq3.js → state-4t1gg8ab.js} +29 -29
- package/dist/chunks/{git-1ygqh575.js → state-56gdpj1q.js} +9 -9
- package/dist/chunks/{git-kqefehct.js → state-56zn65x2.js} +25 -25
- package/dist/chunks/{git-57ez7d0k.js → state-57ez7d0k.js} +2 -2
- package/dist/chunks/{git-khvphsrh.js → state-58t1cv1c.js} +5 -5
- package/dist/chunks/{git-5c4hm403.js → state-5c4hm403.js} +3 -3
- package/dist/chunks/{git-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{git-pjkk14hr.js → state-5kk03qhb.js} +14 -14
- package/dist/chunks/{git-th8ayh5h.js → state-5n2n84t7.js} +47 -47
- package/dist/chunks/{git-t9nx39d4.js → state-5ndhfjk8.js} +20 -20
- package/dist/chunks/{git-k1s32fvt.js → state-5qfhnn3s.js} +28 -28
- package/dist/chunks/{git-mn6tw3kw.js → state-5ry2patn.js} +87 -87
- package/dist/chunks/{git-zf50ty56.js → state-5szeem2z.js} +54 -54
- package/dist/chunks/{git-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{git-yb6bkkrk.js → state-69hatrp6.js} +27 -27
- package/dist/chunks/{git-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{git-74rrnwt7.js → state-6t298p2h.js} +12 -12
- package/dist/chunks/{git-bpgsx570.js → state-6yzef1y4.js} +11 -11
- package/dist/chunks/{git-fmtkes5b.js → state-78g5pcpb.js} +30 -30
- package/dist/chunks/{git-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-e0vtkr8g.js → state-7zdrdht4.js} +6 -6
- package/dist/chunks/{git-bydnjh3t.js → state-82rhge12.js} +9 -9
- package/dist/chunks/{git-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-n69xsk8s.js → state-8fd6bm6b.js} +11 -11
- package/dist/chunks/{git-x5bjv211.js → state-8fj2zpf8.js} +3 -3
- package/dist/chunks/{git-7ytt51fn.js → state-8sph61ej.js} +17 -17
- package/dist/chunks/{git-3s5npdm4.js → state-8xz1pmc4.js} +31 -31
- package/dist/chunks/{git-y18wrbdh.js → state-8xzwannf.js} +4 -4
- package/dist/chunks/{git-bhjgvdqt.js → state-96kdhf6f.js} +28 -28
- package/dist/chunks/{git-027nwmzm.js → state-9v91qm1a.js} +11 -11
- package/dist/chunks/{git-vykevjvn.js → state-a694798e.js} +5 -5
- package/dist/chunks/{git-amrd2r7h.js → state-a7atkcpn.js} +30 -30
- package/dist/chunks/{git-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{git-antav6gs.js → state-ae4fnj82.js} +5 -5
- package/dist/chunks/{git-dz8h4260.js → state-afvjkwnc.js} +5 -5
- package/dist/chunks/{git-b7m1r73f.js → state-akftsrpr.js} +42 -42
- package/dist/chunks/{git-4tffx8e7.js → state-ard29dtx.js} +19 -19
- package/dist/chunks/{git-m55gzfht.js → state-az14jj64.js} +33 -33
- package/dist/chunks/{git-svvemcs6.js → state-b04b8x2j.js} +5 -5
- package/dist/chunks/{git-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-g867j5rj.js → state-b7hq0td9.js} +36 -36
- package/dist/chunks/{git-0418zk9p.js → state-b8bdg5q4.js} +22 -22
- package/dist/chunks/{git-gna097a3.js → state-bcdacnkc.js} +7 -7
- package/dist/chunks/{git-3n5txjme.js → state-brx6f7c0.js} +20 -20
- package/dist/chunks/{git-chq224vk.js → state-brz97kxb.js} +8 -8
- package/dist/chunks/{git-gd9hx4w4.js → state-bwy0wnve.js} +32 -32
- package/dist/chunks/{git-042kb97t.js → state-c9ys2xqx.js} +18 -18
- package/dist/chunks/{git-j5jt9zep.js → state-cahkz71r.js} +11 -11
- package/dist/chunks/{git-5dy7ce51.js → state-ccdh9qtz.js} +5 -5
- package/dist/chunks/{git-n4r3xatb.js → state-ckf8nxjz.js} +4 -4
- package/dist/chunks/{git-q6hnthzh.js → state-ckzpwx1e.js} +31 -31
- package/dist/chunks/{git-cmwkp3r5.js → state-cmwkp3r5.js} +1 -1
- package/dist/chunks/{git-xgc3eqma.js → state-crj50ndq.js} +29 -29
- package/dist/chunks/{git-9x0v0705.js → state-da7rfe2v.js} +41 -41
- package/dist/chunks/{git-6k54t28w.js → state-dbm93dyc.js} +4 -4
- package/dist/chunks/{git-dj2t23y0.js → state-dj2t23y0.js} +2 -2
- package/dist/chunks/{git-c765mh8b.js → state-djszqvmq.js} +9 -9
- package/dist/chunks/{git-cc75p45k.js → state-dsvv60hh.js} +6 -6
- package/dist/chunks/{git-x7rt4n2a.js → state-dswh3rat.js} +13 -13
- package/dist/chunks/{git-dxj72tfx.js → state-dxj72tfx.js} +1 -1
- package/dist/chunks/{git-qb7gw741.js → state-e7nzk88m.js} +46 -46
- package/dist/chunks/state-ec2warxy.js +26 -0
- package/dist/chunks/{git-7z7az0f5.js → state-ec8389mk.js} +4 -4
- package/dist/chunks/{git-f912p73c.js → state-eds2t28z.js} +15 -15
- package/dist/chunks/{git-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-vv868sj3.js → state-ef61rkg5.js} +15 -15
- package/dist/chunks/{git-79r9ttys.js → state-eh40ahnx.js} +40 -40
- package/dist/chunks/{git-redjg7jq.js → state-enhayb15.js} +10 -10
- package/dist/chunks/{git-h811gqcx.js → state-envn6cbq.js} +22 -22
- package/dist/chunks/{git-tegs1ycp.js → state-eqkxs06z.js} +6 -6
- package/dist/chunks/{git-c9xfc2bp.js → state-erqyqkr7.js} +9 -9
- package/dist/chunks/{git-erw5rpbs.js → state-erw5rpbs.js} +2 -2
- package/dist/chunks/{git-a5ya2r9j.js → state-etp4kp2m.js} +11 -11
- package/dist/chunks/{git-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-g9dfax70.js → state-fbzdn206.js} +11 -11
- package/dist/chunks/{git-7csk8cvc.js → state-fd4fwae4.js} +8 -8
- package/dist/chunks/{git-yackpcce.js → state-fp7m90ch.js} +1 -1
- package/dist/chunks/{git-rcmcqx8y.js → state-fpjcj5z0.js} +24 -24
- package/dist/chunks/{git-pr382p6v.js → state-fsrn267a.js} +10 -10
- package/dist/chunks/{git-qstdfg4v.js → state-fve1b9pq.js} +18 -18
- package/dist/chunks/{git-jqnpsya4.js → state-fwrss4ad.js} +4 -4
- package/dist/chunks/{git-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
- package/dist/chunks/{git-kmm845r5.js → state-fydfvvar.js} +4 -4
- package/dist/chunks/{git-a8vyjn7h.js → state-fzpgp42w.js} +14 -14
- package/dist/chunks/{git-ec8zkn27.js → state-g10yfvmw.js} +12 -12
- package/dist/chunks/{git-66np2a7g.js → state-g8cz2a0a.js} +20 -20
- package/dist/chunks/{git-c1hryaat.js → state-gbmt15v2.js} +13 -13
- package/dist/chunks/{git-2pfzsskh.js → state-gcjfqdjs.js} +13 -13
- package/dist/chunks/{git-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-r7cq5eaz.js → state-gjsbc86j.js} +23 -23
- package/dist/chunks/{git-r9g7xawp.js → state-gkefhj12.js} +5 -5
- package/dist/chunks/{git-ajk3q3qd.js → state-gmvqgtzg.js} +25 -25
- package/dist/chunks/{git-hf3bkrve.js → state-gr1f03ws.js} +9 -9
- package/dist/chunks/{git-en4haw52.js → state-gr6w9vkk.js} +10 -10
- package/dist/chunks/{git-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{git-3d0dewsp.js → state-h0qb8jnk.js} +26 -26
- package/dist/chunks/{git-h2r7bbkd.js → state-h2r7bbkd.js} +3 -3
- package/dist/chunks/{git-9mwc0pdy.js → state-h34b2p0g.js} +9 -9
- package/dist/chunks/{git-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-xzv80epr.js → state-h7466sjn.js} +11 -11
- package/dist/chunks/{git-hdnk95c8.js → state-hdnk95c8.js} +2 -2
- package/dist/chunks/{git-c8ncvz4f.js → state-hpv0vy0a.js} +21 -21
- package/dist/chunks/{git-g61ajybw.js → state-hwakma19.js} +33 -33
- package/dist/chunks/{git-4m9se1rc.js → state-j4ehyg90.js} +11 -11
- package/dist/chunks/{git-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{git-jg18etp6.js → state-j5hbqz0e.js} +5 -5
- package/dist/chunks/{git-nng2ktcm.js → state-jca4demv.js} +2 -2
- package/dist/chunks/{git-pcsj30ra.js → state-jcajstdn.js} +21 -21
- package/dist/chunks/{git-a0038gx3.js → state-jdwbeweq.js} +28 -28
- package/dist/chunks/{git-0bgk8r0f.js → state-jkzpbdjq.js} +18 -18
- package/dist/chunks/{git-1nqgt6nd.js → state-jmngmkqa.js} +93 -93
- package/dist/chunks/{git-7gnmq8tb.js → state-jn4dfycx.js} +9 -9
- package/dist/chunks/{git-zcqy6b3d.js → state-jqnmewag.js} +16 -16
- package/dist/chunks/{git-jw80jp6b.js → state-jw80jp6b.js} +1 -1
- package/dist/chunks/{git-8gx1pm1h.js → state-jx6e651b.js} +19 -19
- package/dist/chunks/{git-ep9bxrrg.js → state-jxahb5yh.js} +16 -16
- package/dist/chunks/{git-bscb95cy.js → state-jz5sxy2v.js} +6 -6
- package/dist/chunks/{git-1cdpybwa.js → state-k0345fj3.js} +4 -4
- package/dist/chunks/{git-1sv95vc5.js → state-k294xaja.js} +8 -8
- package/dist/chunks/{git-k3c624dm.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{git-aqc681er.js → state-kbb6kjfx.js} +15 -15
- package/dist/chunks/{git-xb8n6r1f.js → state-kcr5bzs1.js} +17 -17
- package/dist/chunks/{git-351zfds2.js → state-kcv68n8h.js} +11 -11
- package/dist/chunks/{git-2k71kv7p.js → state-kkp8zx71.js} +4 -4
- package/dist/chunks/{git-m0jqrx5p.js → state-m0jqrx5p.js} +2 -2
- package/dist/chunks/{git-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-f7d7heb6.js → state-mjyq2s3q.js} +9 -9
- package/dist/chunks/{git-sd1eqffg.js → state-mkx85r9t.js} +16 -16
- package/dist/chunks/{git-by185h06.js → state-mm9chaq4.js} +9 -9
- package/dist/chunks/{git-1ktgcqzb.js → state-mvr5bn4j.js} +12 -12
- package/dist/chunks/{git-md3jg0qp.js → state-nvbct2xq.js} +16 -16
- package/dist/chunks/{git-7v4dc6hc.js → state-ny0kgn08.js} +2 -2
- package/dist/chunks/state-nzkkyty2.js +252 -0
- package/dist/chunks/{git-h6r3nrb9.js → state-nzyhnfxz.js} +4 -4
- package/dist/chunks/{git-qd25dy8f.js → state-p7yx2ddp.js} +313 -313
- package/dist/chunks/{git-pw9v3g6d.js → state-p84dsdfh.js} +8 -8
- package/dist/chunks/{git-z8wga6cg.js → state-pc0qmpcp.js} +25 -25
- package/dist/chunks/{git-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{git-nq7qbqzc.js → state-pnv527nz.js} +9 -9
- package/dist/chunks/{git-dafrvj9y.js → state-q3jrktjg.js} +10 -10
- package/dist/chunks/{git-7w99qc9d.js → state-q3t37ft6.js} +3 -3
- package/dist/chunks/{git-bavzqnzq.js → state-q5v3cv76.js} +6 -6
- package/dist/chunks/{git-ntg2j34t.js → state-qh8vdwx1.js} +6 -6
- package/dist/chunks/{git-aff0tsqy.js → state-qjn69esg.js} +36 -36
- package/dist/chunks/{git-9dexqdqx.js → state-qnazj4rm.js} +3 -3
- package/dist/chunks/{git-b9czbbsq.js → state-qq4wxkpg.js} +4 -4
- package/dist/chunks/{git-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{git-mdjvh782.js → state-qwgcfn1w.js} +11 -11
- package/dist/chunks/{git-hqrkv6hr.js → state-qx5nxg37.js} +11 -11
- package/dist/chunks/{git-jnz4hg19.js → state-qytv0kk9.js} +9 -9
- package/dist/chunks/{git-ewff9sb5.js → state-r2psd9ex.js} +19 -19
- package/dist/chunks/{git-kw6mn35p.js → state-r3gf3h6k.js} +30 -30
- package/dist/chunks/{git-73tb2d7t.js → state-r5x6zcsm.js} +3 -3
- package/dist/chunks/{git-hn65cvtk.js → state-r8hgcn7e.js} +13 -13
- package/dist/chunks/{git-r8xr0va3.js → state-r8xr0va3.js} +1 -1
- package/dist/chunks/{git-5cc6w1gd.js → state-raxe0qt4.js} +28 -28
- package/dist/chunks/{git-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-323vqbpc.js → state-reg39rye.js} +16 -16
- package/dist/chunks/{git-tz95769g.js → state-rgaa4eab.js} +52 -52
- package/dist/chunks/{git-e7nvtajr.js → state-rnvjvqpz.js} +11 -11
- package/dist/chunks/{git-vymzd7ej.js → state-s3dw44fc.js} +32 -32
- package/dist/chunks/{git-43st4rky.js → state-sapn1ja6.js} +13 -13
- package/dist/chunks/{git-h3df4jtv.js → state-sxe8pyvn.js} +17 -17
- package/dist/chunks/{git-rys2qa45.js → state-syrrgdn4.js} +29 -29
- package/dist/chunks/{git-q9df8xkf.js → state-sywfsqmm.js} +28 -28
- package/dist/chunks/{git-4bxxhqwz.js → state-t3he66w2.js} +19 -19
- package/dist/chunks/{git-aj065mjf.js → state-t50p445y.js} +6 -6
- package/dist/chunks/{git-d9skpm4z.js → state-t5mbwcqt.js} +30 -30
- package/dist/chunks/{git-hg1650sb.js → state-t86zkmz1.js} +44 -44
- package/dist/chunks/{git-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-p28j5sbe.js → state-tbz0fdvh.js} +5 -5
- package/dist/chunks/{git-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{git-4e8vs6eh.js → state-thjxzeng.js} +8 -8
- package/dist/chunks/{git-qa3qhgw8.js → state-tkmwgdpd.js} +7 -7
- package/dist/chunks/{git-td0n94qx.js → state-tnz9rdk5.js} +13 -13
- package/dist/chunks/{git-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{git-b11ys966.js → state-twk0bc43.js} +17 -17
- package/dist/chunks/{git-4gtmt3my.js → state-twtg7g1r.js} +9 -9
- package/dist/chunks/{git-yr0pwqb0.js → state-ty5rq330.js} +1 -1
- package/dist/chunks/{git-dfx8dwsp.js → state-vac75nvd.js} +3 -3
- package/dist/chunks/{git-h29bkcyj.js → state-vahzvnrh.js} +15 -15
- package/dist/chunks/{git-rzvbcmqs.js → state-vcep48s5.js} +20 -20
- package/dist/chunks/{git-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{git-r98e92ep.js → state-vncycja5.js} +4 -4
- package/dist/chunks/{git-jr9kt5xd.js → state-vnp99bxh.js} +5 -5
- package/dist/chunks/{git-9syry2ev.js → state-vs49n45c.js} +34 -34
- package/dist/chunks/{git-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-06dxphr1.js → state-w1k39n5e.js} +4 -4
- package/dist/chunks/{git-dbfv870a.js → state-w3d1wx13.js} +24 -24
- package/dist/chunks/{git-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-15nepkqg.js → state-w3x9v1nk.js} +8 -8
- package/dist/chunks/{git-1s3p39g4.js → state-w4arg62q.js} +6 -6
- package/dist/chunks/{git-039wtrre.js → state-waym30vw.js} +17 -17
- package/dist/chunks/{git-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{git-srmfg1be.js → state-wfea6jy1.js} +4 -4
- package/dist/chunks/{git-t0a8ey22.js → state-wnt0n0xb.js} +42 -42
- package/dist/chunks/{git-c0scma1y.js → state-x0vavgn5.js} +19 -19
- package/dist/chunks/{git-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-j7s8a3y2.js → state-x1vjt85b.js} +23 -23
- package/dist/chunks/{git-fhz5gfgy.js → state-x2d9qy7d.js} +5 -5
- package/dist/chunks/{git-bq7ckpt2.js → state-xa5vzajb.js} +21 -21
- package/dist/chunks/{git-q8nspep2.js → state-xbq29fg5.js} +12 -12
- package/dist/chunks/{git-xfkkasph.js → state-xfkkasph.js} +1 -1
- package/dist/chunks/{git-acpcwzyg.js → state-xgqe14p2.js} +3 -3
- package/dist/chunks/{git-ybg6ac8c.js → state-xp1ezwwp.js} +18 -18
- package/dist/chunks/{git-0fv61ecr.js → state-xqr0k8gk.js} +22 -22
- package/dist/chunks/{git-pt0j3tr7.js → state-xs7q27km.js} +17 -17
- package/dist/chunks/{git-d5ebx1tt.js → state-xw29n0bq.js} +17 -17
- package/dist/chunks/{git-6tbkcq8e.js → state-xwkvp7ty.js} +5 -5
- package/dist/chunks/{git-34ss5zky.js → state-y08awjjx.js} +10 -10
- package/dist/chunks/{git-649zx5ph.js → state-y1b03k3j.js} +49 -49
- package/dist/chunks/{git-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-dpkg50ah.js → state-y71avatq.js} +4 -4
- package/dist/chunks/{git-b3kcpas4.js → state-y811x3x5.js} +31 -31
- package/dist/chunks/{git-wbkyxrgf.js → state-yjptyezs.js} +5 -5
- package/dist/chunks/{git-xwvzvhz2.js → state-ypncs580.js} +20 -20
- package/dist/chunks/{git-p5dd841b.js → state-yr9qftvg.js} +21 -21
- package/dist/chunks/{git-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-yrznvahk.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{git-98mg7qvv.js → state-ywfcz4kd.js} +24 -24
- package/dist/chunks/{git-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-fafk06hg.js → state-z42db625.js} +29 -29
- package/dist/chunks/{git-z63w68vq.js → state-z63w68vq.js} +2 -2
- package/dist/chunks/{git-v7g90mm9.js → state-z6bwbw5f.js} +15 -15
- package/dist/chunks/{git-mrenjtm5.js → state-zdd71wfk.js} +28 -28
- package/dist/chunks/{git-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{git-94tx7stp.js → state-zn3ftspj.js} +8 -8
- package/dist/chunks/{git-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- 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 +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- 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 +84 -84
- 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 +368 -368
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- 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 +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- 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 +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- 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 +330 -330
- 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 +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- 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 +4 -4
- 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 +125 -125
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +171 -171
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- 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 +219 -219
- 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 +9 -9
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- 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 +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +3 -3
- 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 +2 -2
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +1 -1
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +73 -73
- 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/git-1tm0r3ht.js +0 -4
- package/dist/chunks/git-atagsz1a.js +0 -26
- package/dist/chunks/git-ttez9jgf.js +0 -252
- /package/dist/chunks/{git-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-twg0f83k.js → state-twg0f83k.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node83
|
|
5
|
+
} from "./state-nvbct2xq.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./state-sapn1ja6.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event10,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service48,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node51,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service48 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event10 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service68;
|
|
81
|
+
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event10.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service48.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event10.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event10.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node51 = makeGlobalNode({ service: Service48, layer, deps: [httpClient, node71, node83] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service48, Event10, inspect2, resolve2, node51, exports_wellknown };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-y1b03k3j.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin41
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin41 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin41, exports_plan };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-fd4fwae4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./state-nvbct2xq.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./state-qjn69esg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-bwy0wnve.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID8
|
|
20
|
+
} from "./state-3w9dm1p6.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-2q15ef5p.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,9 +43,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID8.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service79;
|
|
49
49
|
const tokens = new Map;
|
|
50
50
|
const loading = Semaphore.makeUnsafe(1);
|
|
51
51
|
const loaded = {};
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID8.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID8.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID8.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID8.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID8.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID8.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service82,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node86
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service82 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service82.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node86 = makeLocationNode({ service: Service82, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service82, node86, exports_image2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service12
|
|
3
|
+
} from "./state-y811x3x5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/compaction.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
NativeCompactionPlugin: () =>
|
|
12
|
-
Plugin: () =>
|
|
9
|
+
var exports_compaction2 = {};
|
|
10
|
+
__export(exports_compaction2, {
|
|
11
|
+
NativeCompactionPlugin: () => exports_compaction2,
|
|
12
|
+
Plugin: () => Plugin43
|
|
13
13
|
});
|
|
14
14
|
import { LLMClient, Message } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect } from "effect";
|
|
17
|
-
var
|
|
17
|
+
var Plugin43 = define({
|
|
18
18
|
id: "opencode.compaction.native",
|
|
19
19
|
effect: Effect.fn("NativeCompactionPlugin")(function* () {
|
|
20
20
|
const llm = yield* LLMClient.Service;
|
|
21
|
-
const compaction = yield*
|
|
21
|
+
const compaction = yield* Service12;
|
|
22
22
|
yield* compaction.transform((editor) => {
|
|
23
23
|
editor.native((input) => {
|
|
24
24
|
const request = input.request;
|
|
@@ -36,4 +36,4 @@ var Plugin18 = define({
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
export {
|
|
39
|
+
export { Plugin43, exports_compaction2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./state-etp4kp2m.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service79,
|
|
10
|
+
node83
|
|
11
|
+
} from "./state-nvbct2xq.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service78,
|
|
14
|
+
node82
|
|
15
|
+
} from "./state-6t298p2h.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-dj2t23y0.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-m0jqrx5p.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info33,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node81,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,12 +93,12 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service78;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
101
|
-
const db = (yield*
|
|
100
|
+
const bus = yield* Service79;
|
|
101
|
+
const db = (yield* Service80).db;
|
|
102
102
|
const announcing = new Set;
|
|
103
103
|
const persist = Effect.fnUntraced(function* (project) {
|
|
104
104
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -270,12 +270,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service77.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node81 = makeGlobalNode({
|
|
276
|
+
service: Service77,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node83, node84, FSUtil.node, node82, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2,
|
|
281
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service77, node81, exports_project };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Info17
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-jw80jp6b.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./state-0b59w6b8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service69
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-y1b03k3j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin49,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin49 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
56
|
+
const forms = yield* Service67;
|
|
57
57
|
const permission = yield* Service69;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-3w9dm1p6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service60,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node63
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -130,7 +130,7 @@ function prepareOptions(model, pkg) {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
133
|
-
providerID:
|
|
133
|
+
providerID: ID8,
|
|
134
134
|
cause: Schema.Defect()
|
|
135
135
|
}) {
|
|
136
136
|
}
|
|
@@ -138,9 +138,9 @@ function initError(providerID) {
|
|
|
138
138
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
class
|
|
141
|
+
class Service60 extends Context.Service()("@opencode/AISDK") {
|
|
142
142
|
}
|
|
143
|
-
var locationLayer2 = Layer.effect(
|
|
143
|
+
var locationLayer2 = Layer.effect(Service60, Effect.gen(function* () {
|
|
144
144
|
let sdkHooks = [];
|
|
145
145
|
let languageHooks = [];
|
|
146
146
|
const languages = new Map;
|
|
@@ -178,7 +178,7 @@ var locationLayer2 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
178
178
|
}
|
|
179
179
|
return event;
|
|
180
180
|
});
|
|
181
|
-
const service =
|
|
181
|
+
const service = Service60.of({
|
|
182
182
|
hook: {
|
|
183
183
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
184
184
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -819,6 +819,6 @@ function providerErrorMessage(error) {
|
|
|
819
819
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
820
820
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
821
821
|
}
|
|
822
|
-
var
|
|
822
|
+
var node63 = makeLocationNode({ service: Service60, layer: locationLayer2, deps: [] });
|
|
823
823
|
|
|
824
|
-
export { InitError2,
|
|
824
|
+
export { InitError2, Service60, locationLayer2, node63, exports_aisdk };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|