@opencode/core 0.0.0-dev-20067 → 0.0.0-dev-20068
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-es9eybw2.js → schema-04t6vhh2.js} +11 -11
- package/dist/chunks/{repository-3s43hn5t.js → schema-0ak0g8qp.js} +3 -3
- package/dist/chunks/{repository-g0kgf922.js → schema-0eppds2k.js} +6 -6
- package/dist/chunks/schema-0et57d8k.js +252 -0
- package/dist/chunks/{repository-rph3zd4r.js → schema-0ft9cg2j.js} +4 -4
- package/dist/chunks/{repository-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-naep0e5n.js → schema-0wddnwfq.js} +20 -20
- package/dist/chunks/{repository-rp43rah6.js → schema-1365j5nm.js} +13 -13
- package/dist/chunks/{repository-7s2tn799.js → schema-15nepkqg.js} +8 -8
- package/dist/chunks/{repository-p37cw4rj.js → schema-1ajx6rf5.js} +8 -8
- package/dist/chunks/{repository-3rk7bqzq.js → schema-1brzvxsn.js} +8 -8
- package/dist/chunks/{repository-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-3yv9m03g.js → schema-1fgq5ex7.js} +26 -26
- package/dist/chunks/{repository-6wg7wrda.js → schema-1fmrbde1.js} +6 -6
- package/dist/chunks/{repository-0c1nc1g2.js → schema-1rd6czrg.js} +4 -4
- package/dist/chunks/{repository-9e0shq8y.js → schema-21kk9ey9.js} +2 -2
- package/dist/chunks/{repository-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{repository-x5x7d8yk.js → schema-21xm8fz3.js} +10 -10
- package/dist/chunks/{repository-g2066sd0.js → schema-22y0n5cd.js} +11 -11
- package/dist/chunks/{repository-40dfcbtc.js → schema-23sw09pj.js} +5 -5
- package/dist/chunks/{repository-6h73sxmp.js → schema-2402vzrj.js} +5 -5
- package/dist/chunks/{repository-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-115t4k1h.js → schema-2gv5qy1y.js} +12 -12
- package/dist/chunks/{repository-h2qs67km.js → schema-2krp1dn7.js} +11 -11
- package/dist/chunks/{repository-7nf3ddzq.js → schema-2s9emtnm.js} +13 -13
- package/dist/chunks/{repository-rt22yq9v.js → schema-2xanj3y6.js} +25 -25
- package/dist/chunks/{repository-9f40cav3.js → schema-32ngwk73.js} +13 -13
- package/dist/chunks/{repository-khm1sf7f.js → schema-3djsbczj.js} +4 -4
- package/dist/chunks/{repository-p57dvf2n.js → schema-3e147rt9.js} +7 -7
- package/dist/chunks/{repository-ajdggk3v.js → schema-3e5hztjw.js} +4 -4
- package/dist/chunks/{repository-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-rxzqzsj3.js → schema-3n6q8bv2.js} +15 -15
- package/dist/chunks/{repository-kx253xx8.js → schema-3pgqp7v9.js} +4 -4
- package/dist/chunks/{repository-nz569jqt.js → schema-3qaj82j9.js} +5 -5
- package/dist/chunks/{repository-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-rb1ekxdp.js → schema-43vj5j1g.js} +42 -42
- package/dist/chunks/{repository-bhxp9hdq.js → schema-4cmte46y.js} +6 -6
- package/dist/chunks/{repository-72p6r3xc.js → schema-4etra8x0.js} +13 -13
- package/dist/chunks/{repository-bd3nb3vt.js → schema-4g0aw377.js} +8 -8
- package/dist/chunks/{repository-djwrd78c.js → schema-4m11sss1.js} +34 -34
- package/dist/chunks/{repository-9h1eecz9.js → schema-4p60s6mc.js} +84 -84
- package/dist/chunks/{repository-855aw91c.js → schema-4pe5mkqw.js} +16 -16
- package/dist/chunks/{repository-gby7h8ab.js → schema-4pkmhnfb.js} +12 -12
- package/dist/chunks/{repository-k5dsc5hs.js → schema-4r89mkx8.js} +6 -6
- package/dist/chunks/{repository-55t602r9.js → schema-4tzv48n0.js} +33 -33
- package/dist/chunks/{repository-nxc66smq.js → schema-4xstzax4.js} +17 -17
- package/dist/chunks/{repository-actq9frn.js → schema-51dx2b5g.js} +15 -15
- package/dist/chunks/{repository-0pr3hkd7.js → schema-53fyba40.js} +4 -4
- package/dist/chunks/{repository-xfkkasph.js → schema-57b9ws8p.js} +7 -7
- package/dist/chunks/{repository-rrqraew9.js → schema-57ez7d0k.js} +9 -9
- package/dist/chunks/{repository-6bsje7ws.js → schema-5cmxdwv8.js} +3 -3
- package/dist/chunks/{repository-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-5ekn9679.js → schema-5ekn9679.js} +1 -1
- package/dist/chunks/{repository-5re94sxb.js → schema-5p1sgbr7.js} +9 -9
- package/dist/chunks/{repository-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
- package/dist/chunks/{repository-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-faxz800z.js → schema-607q5haz.js} +12 -12
- package/dist/chunks/{repository-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{repository-vka4dmj0.js → schema-6a6hn4p4.js} +20 -20
- package/dist/chunks/{repository-s28bjvt5.js → schema-6htx4nwr.js} +18 -18
- package/dist/chunks/{repository-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-wmq3bkd4.js → schema-6ysrkrkr.js} +8 -8
- package/dist/chunks/{repository-my3s7g2v.js → schema-71g12y8g.js} +6 -6
- package/dist/chunks/{repository-fxr6x0aq.js → schema-750bqw08.js} +13 -13
- package/dist/chunks/{repository-0cry2zrq.js → schema-798v7mfg.js} +11 -11
- package/dist/chunks/{repository-1d8ygdpn.js → schema-79y3jrde.js} +17 -17
- package/dist/chunks/{repository-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-mpqj6jx7.js → schema-7mqqegap.js} +7 -7
- package/dist/chunks/{repository-yz4vzcv9.js → schema-8349yjnv.js} +17 -17
- package/dist/chunks/{repository-kpwmpstw.js → schema-84s1vm7q.js} +11 -11
- package/dist/chunks/{repository-wrtzz9dy.js → schema-854y6ept.js} +36 -36
- package/dist/chunks/{repository-4nddn0b6.js → schema-86n5f4j7.js} +6 -6
- package/dist/chunks/{repository-3y7z246r.js → schema-8a9kwrve.js} +26 -26
- package/dist/chunks/{repository-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-0e3mg8wg.js → schema-8qmjzw20.js} +18 -18
- package/dist/chunks/{repository-94ek1h2f.js → schema-94ek1h2f.js} +2 -2
- package/dist/chunks/{repository-kk7xnzba.js → schema-99249730.js} +1 -1
- package/dist/chunks/{repository-t2rxy3d5.js → schema-99647hmk.js} +32 -32
- package/dist/chunks/{repository-emevknz1.js → schema-9jm5k1pc.js} +8 -8
- package/dist/chunks/{repository-2zbc03eg.js → schema-9jn1v8n4.js} +24 -24
- package/dist/chunks/{repository-f90zn7ca.js → schema-9n8ak2h1.js} +4 -4
- package/dist/chunks/{repository-gwp4cf3v.js → schema-a1w0bh0r.js} +35 -35
- package/dist/chunks/{repository-0xezjjjn.js → schema-a2qe2ev9.js} +8 -8
- package/dist/chunks/{repository-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-n2ahj3nb.js → schema-azejft3h.js} +13 -13
- package/dist/chunks/{repository-7cc8avcc.js → schema-azgx1nga.js} +19 -19
- package/dist/chunks/{repository-cm70vevn.js → schema-b26at605.js} +11 -11
- package/dist/chunks/{repository-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-j0vh8jjz.js → schema-b74jhqyh.js} +25 -25
- package/dist/chunks/{repository-1dnqgg3s.js → schema-bc8ybda4.js} +9 -9
- package/dist/chunks/{repository-hngsf9ze.js → schema-bfsvxfz0.js} +24 -24
- package/dist/chunks/{repository-mtjp9z6s.js → schema-bkk1ay02.js} +14 -14
- package/dist/chunks/{repository-vsp4125s.js → schema-bq4g5957.js} +4 -4
- package/dist/chunks/{repository-h297ymck.js → schema-bttjrvqw.js} +11 -11
- package/dist/chunks/{repository-gr0jztbm.js → schema-bxav69s2.js} +18 -18
- package/dist/chunks/{repository-660wmw6d.js → schema-c0knr1es.js} +19 -19
- package/dist/chunks/{repository-1t7xnya2.js → schema-c21zn749.js} +11 -11
- package/dist/chunks/{repository-bmhahcnt.js → schema-c3whs05w.js} +3 -3
- package/dist/chunks/{repository-4ragw8tk.js → schema-c99cqkw7.js} +24 -24
- package/dist/chunks/{repository-xbw2xfj9.js → schema-cbmy1d4v.js} +5 -5
- package/dist/chunks/{repository-ckecvw8r.js → schema-ckecvw8r.js} +2 -2
- package/dist/chunks/{repository-h6r3nrb9.js → schema-cpj0znwe.js} +4 -4
- package/dist/chunks/{repository-1g9ztc78.js → schema-cvcncckx.js} +41 -41
- package/dist/chunks/{repository-1e86tkh9.js → schema-cvekkaw8.js} +11 -11
- package/dist/chunks/{repository-5rk57adz.js → schema-d08f925z.js} +5 -5
- package/dist/chunks/{repository-bprjk2xr.js → schema-d0jrvpgb.js} +27 -27
- package/dist/chunks/{repository-hysnaan8.js → schema-d0wejq28.js} +3 -3
- package/dist/chunks/{repository-t0sqncza.js → schema-d9wzmzc3.js} +5 -5
- package/dist/chunks/{repository-05nshcdg.js → schema-dgb7xf30.js} +24 -24
- package/dist/chunks/{repository-r2m716tb.js → schema-djszqvmq.js} +9 -9
- package/dist/chunks/{repository-y71avatq.js → schema-dpkg50ah.js} +4 -4
- package/dist/chunks/{repository-gwmntvvs.js → schema-dq5ym5fs.js} +37 -37
- package/dist/chunks/{repository-5ah4ptg6.js → schema-dtnx79zk.js} +21 -21
- package/dist/chunks/{repository-a0s974gf.js → schema-dvgd3rha.js} +3 -3
- package/dist/chunks/{repository-3nwqvhst.js → schema-dwpj3xc6.js} +11 -11
- package/dist/chunks/{repository-ya6d81gt.js → schema-dx61neqa.js} +20 -20
- package/dist/chunks/schema-dxj72tfx.js +18 -0
- package/dist/chunks/{repository-x7zswy26.js → schema-e89kpxws.js} +11 -11
- package/dist/chunks/{repository-t1tem6a2.js → schema-e8f8pgjf.js} +27 -27
- package/dist/chunks/{repository-fs4kxnc4.js → schema-e9k66s6p.js} +5 -5
- package/dist/chunks/{repository-eaj1djv9.js → schema-eaj1djv9.js} +1 -1
- package/dist/chunks/{repository-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-8czqb76g.js → schema-egc3yevh.js} +14 -14
- package/dist/chunks/{repository-erw5rpbs.js → schema-erw5rpbs.js} +2 -2
- package/dist/chunks/{repository-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-qh54trmw.js → schema-ev08srva.js} +17 -17
- package/dist/chunks/{repository-c78bbtc9.js → schema-evbgk2k8.js} +5 -5
- package/dist/chunks/{repository-hz151azf.js → schema-ey28dp55.js} +13 -13
- package/dist/chunks/{repository-9btcgg48.js → schema-f5thdj5b.js} +44 -44
- package/dist/chunks/{repository-jhmd4ezs.js → schema-f6p0q2g2.js} +15 -15
- package/dist/chunks/{repository-jdzrt0z1.js → schema-f724bymh.js} +24 -24
- package/dist/chunks/{repository-srfhtv6w.js → schema-f9t32q2w.js} +9 -9
- package/dist/chunks/{repository-5md3tagz.js → schema-feqe9m6b.js} +24 -24
- package/dist/chunks/{repository-gcmeeq5b.js → schema-fnxsaa4j.js} +22 -22
- package/dist/chunks/{repository-0yf2ggb4.js → schema-g17ae1qh.js} +3 -3
- package/dist/chunks/{repository-kgeqhxvw.js → schema-g3mqb04e.js} +11 -11
- package/dist/chunks/{repository-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-pgej9n36.js → schema-gdt8128r.js} +18 -18
- package/dist/chunks/{repository-67rsx3vb.js → schema-gs95kj1c.js} +24 -24
- package/dist/chunks/{repository-dmzyn4sw.js → schema-gsac5713.js} +23 -23
- package/dist/chunks/{repository-25wpb8ep.js → schema-gsk7mn2e.js} +177 -177
- package/dist/chunks/{repository-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-9dkxgaaz.js → schema-hbecebtg.js} +10 -10
- package/dist/chunks/{repository-3sy2qy7n.js → schema-hd6mtbc2.js} +1 -1
- package/dist/chunks/{repository-enk2rrcf.js → schema-hj3kzhjm.js} +17 -17
- package/dist/chunks/{repository-xq7r4p5w.js → schema-hnc22933.js} +33 -33
- package/dist/chunks/{repository-5qedxm44.js → schema-hqtqhwxa.js} +7 -7
- package/dist/chunks/{repository-vftkj9v3.js → schema-hqztqa4w.js} +16 -16
- package/dist/chunks/{repository-qwb2h62g.js → schema-hwh6dse8.js} +18 -18
- package/dist/chunks/{repository-y3f887mz.js → schema-hxx1gems.js} +10 -10
- package/dist/chunks/{repository-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-dxz6h2zt.js → schema-j7xxj57g.js} +5 -5
- package/dist/chunks/{repository-trfxp1r8.js → schema-jesqq2b8.js} +17 -17
- package/dist/chunks/{repository-pgrpmprb.js → schema-jj43yjqp.js} +11 -11
- package/dist/chunks/{repository-j3s2z371.js → schema-jjs74g98.js} +5 -5
- package/dist/chunks/{repository-15rr61m4.js → schema-jkq931gc.js} +17 -17
- package/dist/chunks/{repository-vmq7ehpy.js → schema-jv01nqvq.js} +5 -5
- package/dist/chunks/{repository-zvt5dnpc.js → schema-jvf3yq6v.js} +4 -4
- package/dist/chunks/{repository-5wtwrezn.js → schema-jw80jp6b.js} +19 -19
- package/dist/chunks/{repository-51bq5gc4.js → schema-jwpzwwy6.js} +16 -16
- package/dist/chunks/{repository-m1fqb20v.js → schema-jyrfr5z0.js} +3 -3
- package/dist/chunks/{repository-k3c624dm.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-z3dqhhkj.js → schema-k3dr35yq.js} +6 -6
- package/dist/chunks/{repository-mwwxnxty.js → schema-kb6gw2zp.js} +4 -4
- package/dist/chunks/{repository-wy75xbqv.js → schema-ke47ra3q.js} +47 -47
- package/dist/chunks/{repository-jrb0xr74.js → schema-ksngh15a.js} +15 -15
- package/dist/chunks/{repository-bayr7sdc.js → schema-kvb5pf0f.js} +7 -7
- package/dist/chunks/{repository-8hgfhrm0.js → schema-kwb80b5k.js} +9 -9
- package/dist/chunks/{repository-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-e4bv3p7h.js → schema-m8q517q3.js} +24 -24
- package/dist/chunks/{repository-zfjfs7fw.js → schema-m9dec5st.js} +28 -28
- package/dist/chunks/{repository-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-25rd3h41.js → schema-mff6ah6z.js} +60 -60
- package/dist/chunks/{repository-dzk3ryj8.js → schema-mfh2s9n9.js} +20 -20
- package/dist/chunks/{repository-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{repository-mvfsc1pv.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{repository-5qb1g724.js → schema-mksgfzgs.js} +5 -5
- package/dist/chunks/{repository-qakz50hz.js → schema-mtptma85.js} +20 -20
- package/dist/chunks/{repository-2a6rn6yr.js → schema-mx9vqzsb.js} +6 -6
- package/dist/chunks/{repository-gtckgk66.js → schema-n2rked60.js} +10 -10
- package/dist/chunks/{repository-s5d9hk7s.js → schema-n37c4crj.js} +9 -9
- package/dist/chunks/{repository-7yscfpph.js → schema-nbgtvmt2.js} +7 -7
- package/dist/chunks/{repository-65xxhm4m.js → schema-ngaq65z3.js} +23 -23
- package/dist/chunks/{repository-311gkrra.js → schema-nkh7hwh6.js} +5 -5
- package/dist/chunks/{repository-n72a9sqp.js → schema-nrf9nkf4.js} +46 -46
- package/dist/chunks/{repository-d2aac7k2.js → schema-nxhqveyz.js} +5 -5
- package/dist/chunks/{repository-dq2gf7dd.js → schema-p173zzzp.js} +84 -84
- package/dist/chunks/{repository-zszwk29h.js → schema-p70m8tan.js} +299 -299
- package/dist/chunks/schema-pemgqcj3.js +26 -0
- package/dist/chunks/{repository-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{repository-de3mgeae.js → schema-pmrtsbw6.js} +14 -14
- package/dist/chunks/{repository-gv6qzrxf.js → schema-pxar5t5x.js} +35 -35
- package/dist/chunks/{repository-nayt11ps.js → schema-q1wd5bqe.js} +6 -6
- package/dist/chunks/{repository-tsa77ep8.js → schema-q23t71ky.js} +19 -19
- package/dist/chunks/{repository-16fz2w0a.js → schema-qf9g56f3.js} +55 -55
- package/dist/chunks/{repository-qgn6gcr1.js → schema-qgn6gcr1.js} +1 -1
- package/dist/chunks/{repository-7td85jfa.js → schema-qnn3verk.js} +9 -9
- package/dist/chunks/{repository-7n420167.js → schema-qpqjws28.js} +11 -11
- package/dist/chunks/{repository-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-gxd07ah8.js → schema-qx20pxr4.js} +48 -48
- package/dist/chunks/{repository-pwqr28vb.js → schema-r1t33gv4.js} +26 -26
- package/dist/chunks/{repository-pnqe9gv0.js → schema-r3c4069c.js} +1 -1
- package/dist/chunks/{repository-672f612c.js → schema-rd930brt.js} +43 -43
- package/dist/chunks/{repository-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-tx02rs4k.js → schema-rk8hkmen.js} +35 -35
- package/dist/chunks/{repository-ejrhby57.js → schema-rr1xtvmv.js} +40 -40
- package/dist/chunks/{repository-3qw0meeq.js → schema-rs4ad808.js} +18 -18
- package/dist/chunks/{repository-xq6svqxg.js → schema-rtrqs7aw.js} +32 -32
- package/dist/chunks/{repository-5psjtcc4.js → schema-s1n69xg5.js} +25 -25
- package/dist/chunks/{repository-ygxwf2ce.js → schema-sgds5tk2.js} +20 -20
- package/dist/chunks/{repository-gx8hye9g.js → schema-spqcpneg.js} +6 -6
- package/dist/chunks/{repository-j40a86xr.js → schema-stgrmxrp.js} +10 -10
- package/dist/chunks/{repository-skykqwxk.js → schema-stka8cwy.js} +26 -26
- package/dist/chunks/{repository-a7ya2t55.js → schema-szbdaj22.js} +4 -4
- package/dist/chunks/{repository-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{repository-vxzf7v58.js → schema-tfw5vp5y.js} +5 -5
- package/dist/chunks/{repository-g9qh6fen.js → schema-tfz8ht6g.js} +11 -11
- package/dist/chunks/{repository-3ewed21c.js → schema-tfzngn12.js} +4 -4
- package/dist/chunks/{repository-kkybr322.js → schema-trgn506r.js} +10 -10
- package/dist/chunks/{repository-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-bwyp434w.js → schema-twax0pxr.js} +23 -23
- package/dist/chunks/{repository-bwe1n6j9.js → schema-tyqw9b1a.js} +7 -7
- package/dist/chunks/{repository-4yyfqv5e.js → schema-v00q4dqv.js} +11 -11
- package/dist/chunks/{repository-9cz3xmmc.js → schema-v53t4mb7.js} +20 -20
- package/dist/chunks/{repository-19vf66h0.js → schema-v5dkyp31.js} +4 -4
- package/dist/chunks/{repository-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-ff0svapt.js → schema-vmgq4x8b.js} +2 -2
- package/dist/chunks/{repository-f1zbxv7x.js → schema-vmwh049b.js} +9 -9
- package/dist/chunks/{repository-r98e92ep.js → schema-vncycja5.js} +4 -4
- package/dist/chunks/{repository-g4fxz0gt.js → schema-vt5nkxs5.js} +25 -25
- package/dist/chunks/{repository-vtxr0yy2.js → schema-vtxr0yy2.js} +2 -2
- package/dist/chunks/{repository-50sbk7kr.js → schema-vz4jg4k9.js} +8 -8
- package/dist/chunks/{repository-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-r256v5vh.js → schema-w9xbefsq.js} +19 -19
- package/dist/chunks/{repository-wd3x2cqz.js → schema-wd3x2cqz.js} +2 -2
- package/dist/chunks/{repository-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{repository-32h82zqh.js → schema-we5e1hqv.js} +5 -5
- package/dist/chunks/{repository-cng14k4f.js → schema-wfvmvx5v.js} +33 -33
- package/dist/chunks/{repository-1te7cy4s.js → schema-wq4mmp7m.js} +4 -4
- package/dist/chunks/{repository-98da7btb.js → schema-wvm3e786.js} +10 -10
- package/dist/chunks/{repository-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-fg50bsfr.js → schema-x21w7dsp.js} +20 -20
- package/dist/chunks/{repository-vb0c2wr9.js → schema-x7pgzbrc.js} +13 -13
- package/dist/chunks/{repository-c1kskfb6.js → schema-x98p3fja.js} +44 -44
- package/dist/chunks/{repository-69fj14ep.js → schema-xa30xd5p.js} +22 -22
- package/dist/chunks/{repository-n6scd4pv.js → schema-xbdvvged.js} +12 -12
- package/dist/chunks/{repository-kjfdeayr.js → schema-xbrnje9f.js} +8 -8
- package/dist/chunks/{repository-k9kj6xed.js → schema-xfdrc2qg.js} +8 -8
- package/dist/chunks/{repository-4sthw002.js → schema-xxxgmpnp.js} +5 -5
- package/dist/chunks/{repository-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-xkqrr95v.js → schema-y7c4883m.js} +67 -67
- package/dist/chunks/{repository-mgdyehf1.js → schema-y8pznszf.js} +15 -15
- package/dist/chunks/{repository-a1nprqvr.js → schema-ya2xvy3r.js} +11 -11
- package/dist/chunks/{repository-0rr436fd.js → schema-yb29xp2t.js} +12 -12
- package/dist/chunks/{repository-6301jba8.js → schema-yb3bnh53.js} +38 -38
- package/dist/chunks/{repository-hbehhpwg.js → schema-yme4tm39.js} +37 -37
- package/dist/chunks/{repository-1acjjqhc.js → schema-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-5r9k8zx2.js → schema-yq6rdmt7.js} +7 -7
- package/dist/chunks/{repository-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-s4enseaf.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-285t386e.js → schema-ywppm7yh.js} +39 -39
- package/dist/chunks/{repository-v4cj4tts.js → schema-yyc7yft3.js} +15 -15
- package/dist/chunks/{repository-z07pqspn.js → schema-z07pqspn.js} +3 -3
- package/dist/chunks/{repository-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-29x78va6.js → schema-z63w68vq.js} +6 -6
- package/dist/chunks/{repository-qx9nwsft.js → schema-z6970k62.js} +22 -22
- package/dist/chunks/{repository-j1711vkv.js → schema-z6y9e2r8.js} +30 -30
- package/dist/chunks/{repository-ypwah405.js → schema-z8p0mpvq.js} +17 -17
- package/dist/chunks/schema-z926abd4.js +4 -0
- package/dist/chunks/{repository-dvep9rg9.js → schema-zab19jja.js} +9 -9
- package/dist/chunks/{repository-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-18e56dsp.js → schema-zj09a0ew.js} +4 -4
- package/dist/chunks/{repository-0vecsj11.js → schema-zk4010xf.js} +10 -10
- package/dist/chunks/{repository-2xqh5gj0.js → schema-zpfyxn6c.js} +22 -22
- package/dist/chunks/{repository-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-kb4rpjaq.js → schema-zsnrp8c7.js} +324 -324
- package/dist/chunks/{repository-stvp1p58.js → schema-zx2f5h1h.js} +19 -19
- package/dist/chunks/{repository-zxq2ej10.js → schema-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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +83 -83
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +5 -5
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-0mesazry.js +0 -4
- package/dist/chunks/repository-619r8v3y.js +0 -18
- package/dist/chunks/repository-b8kezapz.js +0 -26
- package/dist/chunks/repository-vz0qs4v4.js +0 -252
- /package/dist/chunks/{repository-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service65,
|
|
8
|
+
node68
|
|
9
|
+
} from "./schema-dgb7xf30.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-r1t33gv4.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service65;
|
|
331
|
+
return Service12.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [node68] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-g17ae1qh.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node70
|
|
12
|
+
} from "./schema-1fmrbde1.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info26,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service66,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured10,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node69
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID11 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info26 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID11,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info23 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID11,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service66 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured10 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service66,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node70]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info26({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service66.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID11.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node69 = configured10();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID11, Info26, NotFound3, CreateConflict2, Service66, configured10, node69, exports_workspace };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./schema-jesqq2b8.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-sgds5tk2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin27,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin27 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service80;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin27, exports_hg };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-1rd6czrg.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID15,
|
|
19
|
+
Info: () => Info30,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service78,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node82
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event20 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID15 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID15.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info30 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service78 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info30.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID15.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service78.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID15.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID15.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID15, Name3, defaultID2, Color2, Info30, Service78, node82, exports_agent4, Event20 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-1rd6czrg.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-mff6ah6z.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event10,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info19,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service57,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node60,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event10 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info19 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service57 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service57.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node60 = makeLocationNode({
|
|
112
|
+
service: Service57,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info19, ID5, Name2, available2, toModelOutput3, prepare3, Service57, node60, exports_skill5, Event10 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-q1wd5bqe.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-jyrfr5z0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer23,
|
|
12
|
+
make: () => make19,
|
|
13
|
+
node: () => node57,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make19()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make19(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make18(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer23 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
|
|
33
|
+
var node57 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer23, configured8, node57, exports_app };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-43vj5j1g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./schema-jesqq2b8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node79
|
|
14
|
+
} from "./schema-mff6ah6z.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service74,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node78,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service74 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service80;
|
|
61
|
+
const permission = yield* Service75;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service74.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [FSUtil.node, node84, node79] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service74, resolvePath2, node78, exports_file_access };
|