@opencode/core 0.0.0-dev-20399 → 0.0.0-dev-20401
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 +3 -3
- package/dist/bus.js +69 -69
- package/dist/chunks/{state-8rnn6t2g.js → wellknown-08f2t3aa.js} +16 -16
- package/dist/chunks/{state-avm8jn6n.js → wellknown-0f9afca0.js} +5 -5
- package/dist/chunks/{state-sm77csgv.js → wellknown-0hrf2yhq.js} +3 -3
- package/dist/chunks/{state-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-x1c67pw4.js → wellknown-0q1f136w.js} +53 -53
- package/dist/chunks/{state-ve4pfa0n.js → wellknown-0v53mg2y.js} +4 -4
- package/dist/chunks/{state-0bsghn5e.js → wellknown-0w11ndwm.js} +8 -8
- package/dist/chunks/{state-rwbt1vvv.js → wellknown-1a854nj1.js} +5 -5
- package/dist/chunks/{state-e6jwgc59.js → wellknown-1ap25sbt.js} +30 -30
- package/dist/chunks/{state-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-sfn0p3x3.js → wellknown-1eh65fmh.js} +12 -12
- package/dist/chunks/{state-h6bjgbqg.js → wellknown-1jgmt200.js} +17 -17
- package/dist/chunks/{state-jj6avjan.js → wellknown-1s6gcy5s.js} +43 -43
- package/dist/chunks/{state-7dabebq9.js → wellknown-1sa7dz1e.js} +16 -16
- package/dist/chunks/{state-32s37th8.js → wellknown-1xp5crwf.js} +32 -32
- package/dist/chunks/{state-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{state-spb6tddc.js → wellknown-21t3v64e.js} +29 -29
- package/dist/chunks/{state-5ynfe8h2.js → wellknown-21tvsb8b.js} +149 -149
- package/dist/chunks/{state-fh2tfnch.js → wellknown-260gyq39.js} +23 -23
- package/dist/chunks/{state-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-xe9sg8zb.js → wellknown-2bdw8h48.js} +11 -11
- package/dist/chunks/{state-zxs6a24a.js → wellknown-2k64ycz1.js} +8 -8
- package/dist/chunks/{state-sa273yf3.js → wellknown-2mqye2yj.js} +10 -10
- package/dist/chunks/{state-b3x448qn.js → wellknown-2x9aqbrw.js} +18 -18
- package/dist/chunks/{state-vg6qrb8m.js → wellknown-354df1dc.js} +24 -24
- package/dist/chunks/{state-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-d72h0ct2.js → wellknown-3hrymav8.js} +22 -22
- package/dist/chunks/{state-0p4abda4.js → wellknown-3n9eh797.js} +5 -5
- package/dist/chunks/{state-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-026a3pxx.js → wellknown-3zjyq5kp.js} +11 -11
- package/dist/chunks/{state-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
- package/dist/chunks/wellknown-443fwh93.js +252 -0
- package/dist/chunks/{state-jewzahs7.js → wellknown-4bm5ja14.js} +4 -4
- package/dist/chunks/{state-vajs8ne8.js → wellknown-4df3h35c.js} +9 -9
- package/dist/chunks/{state-m48gk93k.js → wellknown-4e0602pb.js} +23 -23
- package/dist/chunks/{state-cmmdg65p.js → wellknown-4e8vs6eh.js} +4 -4
- package/dist/chunks/{state-qk0w6ykp.js → wellknown-4hzg1grx.js} +3 -3
- package/dist/chunks/{state-4z58m4b4.js → wellknown-4j4tgtq5.js} +4 -4
- package/dist/chunks/{state-zzd0v6bh.js → wellknown-4s51ma40.js} +16 -16
- package/dist/chunks/{state-zf62gzsh.js → wellknown-52my5p2r.js} +1 -1
- package/dist/chunks/{state-54ma36ye.js → wellknown-54ma36ye.js} +1 -1
- package/dist/chunks/{state-ckecvw8r.js → wellknown-54tcyq79.js} +2 -2
- package/dist/chunks/{state-kkpyfm5t.js → wellknown-55kxqpgg.js} +32 -32
- package/dist/chunks/{state-56gdpj1q.js → wellknown-56gdpj1q.js} +2 -2
- package/dist/chunks/{state-fsyf11as.js → wellknown-5747269g.js} +4 -4
- package/dist/chunks/{state-57ez7d0k.js → wellknown-57ez7d0k.js} +2 -2
- package/dist/chunks/{state-jytterhh.js → wellknown-5bzm3rcx.js} +4 -4
- package/dist/chunks/{state-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{state-h2aqvaqe.js → wellknown-5mp13bbv.js} +11 -11
- package/dist/chunks/{state-bdqrk2vk.js → wellknown-5phqnecy.js} +9 -9
- package/dist/chunks/{state-e3qxr5gk.js → wellknown-5qd3pb7m.js} +2 -2
- package/dist/chunks/{state-hsr4f390.js → wellknown-5r2av5gd.js} +12 -12
- package/dist/chunks/{state-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-y8t82fx5.js → wellknown-642recst.js} +12 -12
- package/dist/chunks/{state-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{state-a8k20txy.js → wellknown-67cr51g4.js} +8 -8
- package/dist/chunks/{state-hqqvrbf6.js → wellknown-6ebn15x8.js} +3 -3
- package/dist/chunks/{state-6h3wybc7.js → wellknown-6h3wybc7.js} +6 -6
- package/dist/chunks/{state-xk6fmnkg.js → wellknown-6kqa1629.js} +9 -9
- package/dist/chunks/{state-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-ww4pz79z.js → wellknown-6yaj9rt4.js} +6 -6
- package/dist/chunks/{state-a1cedfep.js → wellknown-71zbrv9g.js} +16 -16
- package/dist/chunks/{state-kn5am6yy.js → wellknown-744r2be4.js} +34 -34
- package/dist/chunks/{state-vfgebdsx.js → wellknown-768rm808.js} +18 -18
- package/dist/chunks/{state-3w4da0bf.js → wellknown-7a838fem.js} +18 -18
- package/dist/chunks/{state-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-c2qp786d.js → wellknown-7q1q4j24.js} +24 -24
- package/dist/chunks/{state-84txncab.js → wellknown-84txncab.js} +1 -1
- package/dist/chunks/{state-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-3xkzbdqd.js → wellknown-8hydgdhp.js} +6 -6
- package/dist/chunks/{state-g1ced42j.js → wellknown-8jjxrpth.js} +13 -13
- package/dist/chunks/{state-41h2mdr0.js → wellknown-9534deet.js} +32 -32
- package/dist/chunks/{state-jp4bxf0b.js → wellknown-97qfe4sr.js} +48 -48
- package/dist/chunks/{state-1fw2a5v8.js → wellknown-9qny7dd3.js} +17 -17
- package/dist/chunks/{state-9sh4wc5j.js → wellknown-9sh4wc5j.js} +1 -1
- package/dist/chunks/{state-s8d7rejh.js → wellknown-9t7a50xb.js} +4 -4
- package/dist/chunks/{state-475vsxfq.js → wellknown-a0gecma7.js} +14 -14
- package/dist/chunks/{state-qxz26mk9.js → wellknown-a2em79jn.js} +38 -38
- package/dist/chunks/{state-ff0svapt.js → wellknown-a3r4dcrj.js} +2 -2
- package/dist/chunks/{state-emfaaa2t.js → wellknown-a6gmg8e2.js} +9 -9
- package/dist/chunks/{state-76x0exek.js → wellknown-a8xwqxmq.js} +7 -7
- package/dist/chunks/{state-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{state-q5gv92h7.js → wellknown-aan7x28a.js} +85 -85
- package/dist/chunks/{state-md2ktbcf.js → wellknown-adcm3a54.js} +12 -12
- package/dist/chunks/{state-yvq8qe6t.js → wellknown-akzntyag.js} +17 -17
- package/dist/chunks/{state-fgprdtmf.js → wellknown-aqyyhm0b.js} +15 -15
- package/dist/chunks/{state-9n655km2.js → wellknown-atm8t10z.js} +5 -5
- package/dist/chunks/{state-c7rpvq7c.js → wellknown-ax139gcc.js} +32 -32
- package/dist/chunks/{state-cv56zjsy.js → wellknown-ax5feq3k.js} +15 -15
- package/dist/chunks/{state-22t6ymqa.js → wellknown-b0wk2k2j.js} +7 -7
- package/dist/chunks/{state-g82hej27.js → wellknown-b3s8px0x.js} +6 -6
- package/dist/chunks/{state-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-4238gvvk.js → wellknown-bfqjkbr4.js} +24 -24
- package/dist/chunks/{state-z07pqspn.js → wellknown-bjtzbw4r.js} +3 -3
- package/dist/chunks/{state-9ehh8z5c.js → wellknown-bn97v1ss.js} +1 -1
- package/dist/chunks/{state-xx0efrt7.js → wellknown-bqar0n6y.js} +5 -5
- package/dist/chunks/{state-pa8pe2x7.js → wellknown-br0tr5aq.js} +8 -8
- package/dist/chunks/{state-030jzqrs.js → wellknown-bsnpd98z.js} +1 -1
- package/dist/chunks/{state-cgpscxj9.js → wellknown-bv20hq7b.js} +18 -18
- package/dist/chunks/{state-hbjnfksx.js → wellknown-c231s8ta.js} +10 -10
- package/dist/chunks/wellknown-c6jdrc5c.js +26 -0
- package/dist/chunks/{state-cwa6csj7.js → wellknown-c765mh8b.js} +9 -9
- package/dist/chunks/{state-z3pw5915.js → wellknown-c78bbtc9.js} +5 -5
- package/dist/chunks/{state-crbh5ayy.js → wellknown-c8g3m7qr.js} +17 -17
- package/dist/chunks/{state-mxy2bzd7.js → wellknown-ca3j46nd.js} +34 -34
- package/dist/chunks/{state-6zma4dqp.js → wellknown-cq038mp1.js} +6 -6
- package/dist/chunks/{state-p77z413r.js → wellknown-css27r41.js} +10 -10
- package/dist/chunks/{state-gz4t4j50.js → wellknown-d57jdqnp.js} +11 -11
- package/dist/chunks/{state-9g1bwmtd.js → wellknown-d7hrbx3g.js} +39 -39
- package/dist/chunks/{state-xjtv0ejd.js → wellknown-damkmrvb.js} +20 -20
- package/dist/chunks/{state-chasyyfh.js → wellknown-dbf65cva.js} +21 -21
- package/dist/chunks/{state-zh8n6fvg.js → wellknown-dgeqw13h.js} +3 -3
- package/dist/chunks/{state-e7710hd6.js → wellknown-dh75pk8w.js} +8 -8
- package/dist/chunks/{state-gx3a42a4.js → wellknown-dnxkq42g.js} +4 -4
- package/dist/chunks/{state-dpkg50ah.js → wellknown-dpkg50ah.js} +1 -1
- package/dist/chunks/{state-hgzmshwk.js → wellknown-dtq5dwqq.js} +26 -26
- package/dist/chunks/{state-cm2g4gk6.js → wellknown-e3farn9z.js} +15 -15
- package/dist/chunks/{state-9cc4b95v.js → wellknown-e6m8eg10.js} +8 -8
- package/dist/chunks/{state-e1d45rdw.js → wellknown-e7vk2sgk.js} +15 -15
- package/dist/chunks/{state-g6yxzqxx.js → wellknown-ebxxptf3.js} +17 -17
- package/dist/chunks/{state-rmyrmc3b.js → wellknown-eep4qv10.js} +35 -35
- package/dist/chunks/{state-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-hnr5yq9h.js → wellknown-eq23s0y6.js} +5 -5
- package/dist/chunks/{state-5stztzc8.js → wellknown-eqntm3rh.js} +26 -26
- package/dist/chunks/{state-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-kb4we5bm.js → wellknown-f5xysmby.js} +5 -5
- package/dist/chunks/{state-vz2meb4r.js → wellknown-f6bdtgrs.js} +17 -17
- package/dist/chunks/{state-h1yrgtr6.js → wellknown-ff98bvnp.js} +16 -16
- package/dist/chunks/{state-pxz53wth.js → wellknown-g1q8vb0g.js} +4 -4
- package/dist/chunks/{state-bvgg99d4.js → wellknown-g4fbrt4z.js} +7 -7
- package/dist/chunks/{state-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-3tt1qkhr.js → wellknown-gebtr55s.js} +5 -5
- package/dist/chunks/{state-94ek1h2f.js → wellknown-gfvb90ym.js} +2 -2
- package/dist/chunks/{state-gv6a8nnw.js → wellknown-gv6a8nnw.js} +2 -2
- package/dist/chunks/{state-b9tbzjbv.js → wellknown-gx58f99x.js} +13 -13
- package/dist/chunks/{state-r11gfdxy.js → wellknown-h09p1vgn.js} +4 -4
- package/dist/chunks/{state-cwjmqj7d.js → wellknown-h2h81cz1.js} +14 -14
- package/dist/chunks/{state-qvc7rwfe.js → wellknown-h4jx48xg.js} +10 -10
- package/dist/chunks/{state-gptt3tzt.js → wellknown-h5k0xyz2.js} +15 -15
- package/dist/chunks/{state-7pr2hkwv.js → wellknown-h6b02349.js} +5 -5
- package/dist/chunks/{state-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-eyh1y9f4.js → wellknown-hbgyr91g.js} +3 -3
- package/dist/chunks/{state-3556dn8t.js → wellknown-hd8vw2pw.js} +1 -1
- package/dist/chunks/{state-byw7mfcf.js → wellknown-henaaq5n.js} +10 -10
- package/dist/chunks/{state-5ptk6qrn.js → wellknown-hm6dp6d2.js} +304 -304
- package/dist/chunks/{state-thkpyy1e.js → wellknown-hs334ye3.js} +18 -18
- package/dist/chunks/{state-h73fwzy4.js → wellknown-hsed1dh0.js} +6 -6
- package/dist/chunks/{state-ka9kg3q0.js → wellknown-hsteyg0z.js} +36 -36
- package/dist/chunks/{state-3wtv5frj.js → wellknown-hvv902j1.js} +16 -16
- package/dist/chunks/{state-325vrkv0.js → wellknown-hwa5qdjj.js} +5 -5
- package/dist/chunks/{state-k1yhx0mf.js → wellknown-hysx2fj2.js} +20 -20
- package/dist/chunks/{state-s3cc2cs9.js → wellknown-j02apccs.js} +3 -3
- package/dist/chunks/{state-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{state-6j71bdrn.js → wellknown-j594h3t6.js} +4 -4
- package/dist/chunks/{state-n73fkcwy.js → wellknown-jbxd6gbx.js} +11 -11
- package/dist/chunks/{state-6bsje7ws.js → wellknown-jexxy024.js} +3 -3
- package/dist/chunks/{state-gwna2mhe.js → wellknown-jhcj5yx9.js} +22 -22
- package/dist/chunks/{state-y5rf7nzv.js → wellknown-jpqeh2wc.js} +4 -4
- package/dist/chunks/{state-k5ghjtzv.js → wellknown-jzmza1h1.js} +22 -22
- package/dist/chunks/{state-ym7mf8x8.js → wellknown-k12yqhfe.js} +13 -13
- package/dist/chunks/{state-rzke9gk0.js → wellknown-k1s1cxft.js} +51 -51
- package/dist/chunks/{state-4wgy5v9e.js → wellknown-k25a84m3.js} +24 -24
- package/dist/chunks/{state-k3c624dm.js → wellknown-k3c624dm.js} +3 -3
- package/dist/chunks/{state-b8vgw5fj.js → wellknown-k3zp8qmd.js} +12 -12
- package/dist/chunks/{state-jgt16j01.js → wellknown-k4tadaxs.js} +19 -19
- package/dist/chunks/{state-cp8b7tfh.js → wellknown-k74fhpa0.js} +4 -4
- package/dist/chunks/{state-axs6pdy0.js → wellknown-kbqjp078.js} +5 -5
- package/dist/chunks/{state-gnwckkcb.js → wellknown-kccjvgj9.js} +20 -20
- package/dist/chunks/{state-6s6k8698.js → wellknown-kcg2nfx1.js} +9 -9
- package/dist/chunks/{state-w969batc.js → wellknown-kf8xccby.js} +20 -20
- package/dist/chunks/{state-7a5vwq9w.js → wellknown-kfr3jwev.js} +11 -11
- package/dist/chunks/{state-3hts4nh5.js → wellknown-kg8gd9a1.js} +24 -24
- package/dist/chunks/{state-06x8he3q.js → wellknown-kne8f3cn.js} +4 -4
- package/dist/chunks/{state-gwdrm622.js → wellknown-kydcancx.js} +7 -7
- package/dist/chunks/{state-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
- package/dist/chunks/{state-m58kmhef.js → wellknown-m58kmhef.js} +2 -2
- package/dist/chunks/{state-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-jvp68s7q.js → wellknown-mj4mdxkv.js} +32 -32
- package/dist/chunks/{state-vsp1fds9.js → wellknown-mjymc32g.js} +21 -21
- package/dist/chunks/{state-44pdqs77.js → wellknown-mwwxnxty.js} +4 -4
- package/dist/chunks/{state-zgzqctvw.js → wellknown-n513yaqk.js} +11 -11
- package/dist/chunks/{state-d1xrdev2.js → wellknown-n5hqsxyz.js} +27 -27
- package/dist/chunks/{state-xq5cbp2j.js → wellknown-nap4pwna.js} +9 -9
- package/dist/chunks/{state-s2rv4ncm.js → wellknown-ncqsayf8.js} +3 -3
- package/dist/chunks/{state-d8nxzx5d.js → wellknown-nngs6syj.js} +12 -12
- package/dist/chunks/{state-zgc61ws8.js → wellknown-npn1b5xx.js} +5 -5
- package/dist/chunks/{state-etzxwssw.js → wellknown-ns267dy3.js} +38 -38
- package/dist/chunks/{state-pnv527nz.js → wellknown-nscznvay.js} +9 -9
- package/dist/chunks/{state-d1fv27qq.js → wellknown-p73e7djm.js} +20 -20
- package/dist/chunks/{state-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{state-jxebx42g.js → wellknown-pqvx7e34.js} +38 -49
- package/dist/chunks/{state-wd3x2cqz.js → wellknown-psazpmmj.js} +2 -2
- package/dist/chunks/{state-cfsekr6v.js → wellknown-py3kkmfq.js} +2 -2
- package/dist/chunks/{state-wfwxzv8g.js → wellknown-q07vqkz7.js} +5 -5
- package/dist/chunks/{state-8ckcg3zf.js → wellknown-q2vdjp2s.js} +9 -9
- package/dist/chunks/{state-vbmd7ks8.js → wellknown-q4mn6wkk.js} +6 -6
- package/dist/chunks/{state-kmy8da6b.js → wellknown-q4pkjmzp.js} +12 -12
- package/dist/chunks/{state-fhff0x2d.js → wellknown-q58mka6k.js} +9 -9
- package/dist/chunks/{state-2k8khapm.js → wellknown-qgn6gcr1.js} +5 -5
- package/dist/chunks/{state-fm2qvscf.js → wellknown-qm0v3jhh.js} +7 -7
- package/dist/chunks/{state-ns8ct35d.js → wellknown-qn6tktv7.js} +30 -30
- package/dist/chunks/{state-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{state-7yh4e7ss.js → wellknown-r5x6zcsm.js} +3 -3
- package/dist/chunks/{state-5t6w898y.js → wellknown-r7yf4sta.js} +10 -10
- package/dist/chunks/{state-1acjjqhc.js → wellknown-r8xr0va3.js} +4 -4
- package/dist/chunks/{state-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-cc9yd0np.js → wellknown-rh7p7pce.js} +15 -15
- package/dist/chunks/{state-aqxjtcsj.js → wellknown-rjyargxg.js} +11 -11
- package/dist/chunks/{state-0awtbsan.js → wellknown-rmp2r1td.js} +11 -11
- package/dist/chunks/{state-5d6rpvta.js → wellknown-rybxqfgf.js} +27 -27
- package/dist/chunks/{state-7rwqf82v.js → wellknown-rzs3gq0x.js} +8 -8
- package/dist/chunks/{state-xt29f2pd.js → wellknown-s595vrx0.js} +27 -27
- package/dist/chunks/{state-vm3v4gr3.js → wellknown-scn1m38n.js} +13 -13
- package/dist/chunks/{state-m5skzvyv.js → wellknown-sf76q7np.js} +6 -6
- package/dist/chunks/{state-518c5t7m.js → wellknown-sfe33gz0.js} +8 -8
- package/dist/chunks/{state-qbm7jezs.js → wellknown-sfkbasvm.js} +9 -9
- package/dist/chunks/{state-s41z59kz.js → wellknown-sjn3sca5.js} +19 -19
- package/dist/chunks/{state-t6kcjggt.js → wellknown-str9awg2.js} +24 -24
- package/dist/chunks/{state-82nf7ed8.js → wellknown-sy8pvrsp.js} +20 -20
- package/dist/chunks/{state-pr5bwn0j.js → wellknown-szbq6dpj.js} +2 -2
- package/dist/chunks/{state-53t1r0k7.js → wellknown-t12g5egd.js} +43 -43
- package/dist/chunks/{state-dt3wvx3f.js → wellknown-t4nchsx9.js} +22 -22
- package/dist/chunks/{state-6t6v3d0p.js → wellknown-t7cg42xb.js} +13 -13
- package/dist/chunks/{state-tag6x3x4.js → wellknown-t9ew0xaf.js} +11 -11
- package/dist/chunks/{state-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-dhwr7h25.js → wellknown-tdhe5xga.js} +11 -11
- package/dist/chunks/{state-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{state-ns8p33ds.js → wellknown-tneh0x7b.js} +15 -15
- package/dist/chunks/{state-kg9rvkrr.js → wellknown-tnvxdpm3.js} +5 -5
- package/dist/chunks/{state-63jfhv3x.js → wellknown-tq61de9h.js} +21 -21
- package/dist/chunks/{state-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{state-jzgb5xky.js → wellknown-v0kzg6mz.js} +13 -13
- package/dist/chunks/{state-m9s7qv8x.js → wellknown-v359qcvd.js} +30 -30
- package/dist/chunks/{state-jhb9dspf.js → wellknown-vach4kr4.js} +11 -11
- package/dist/chunks/{state-f9wz3e2s.js → wellknown-vc0vbezj.js} +11 -11
- package/dist/chunks/{state-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{state-wyetx6hk.js → wellknown-vjjxy6yb.js} +9 -9
- package/dist/chunks/{state-m6vzghbm.js → wellknown-vn5vaeq1.js} +11 -11
- package/dist/chunks/{state-ydhe5npn.js → wellknown-vp65ztdf.js} +37 -37
- package/dist/chunks/{state-6h3ncj6c.js → wellknown-vsxynn42.js} +30 -30
- package/dist/chunks/{state-xsd4ddn1.js → wellknown-vv07ew10.js} +8 -8
- package/dist/chunks/{state-f9h36e2w.js → wellknown-vys9s7rq.js} +18 -18
- package/dist/chunks/{state-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-vzs5sf6e.js → wellknown-vzs5sf6e.js} +1 -1
- package/dist/chunks/{state-sxzvkvgj.js → wellknown-w21bzq9q.js} +6 -6
- package/dist/chunks/{state-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-7yqjxrmz.js → wellknown-w4arg62q.js} +6 -6
- package/dist/chunks/{state-3h8f8rgq.js → wellknown-w4mba9tq.js} +17 -17
- package/dist/chunks/{state-xcd3tayp.js → wellknown-wckr6wjf.js} +13 -13
- package/dist/chunks/{state-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{state-wh176n5n.js → wellknown-wh176n5n.js} +5 -5
- package/dist/chunks/{state-an0fjdax.js → wellknown-whrrw1yc.js} +23 -23
- package/dist/chunks/{state-e9akvjhf.js → wellknown-wj3fzgk4.js} +12 -12
- package/dist/chunks/{state-0wev32e0.js → wellknown-wkh0553f.js} +24 -24
- package/dist/chunks/{state-wh8p5p12.js → wellknown-wpsrzqaa.js} +44 -44
- package/dist/chunks/{state-j3d0563g.js → wellknown-wrvpnekj.js} +80 -80
- package/dist/chunks/{state-m67aag9e.js → wellknown-wt5vxt9k.js} +24 -24
- package/dist/chunks/{state-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-s72bj1y6.js → wellknown-x70jfmtc.js} +9 -9
- package/dist/chunks/{state-wvvff302.js → wellknown-x9zaehp5.js} +8 -8
- package/dist/chunks/{state-g5w8qwbj.js → wellknown-xfkkasph.js} +4 -4
- package/dist/chunks/{state-t0r3rek8.js → wellknown-xjjqthj5.js} +3 -3
- package/dist/chunks/{state-xkntkrq7.js → wellknown-xkntkrq7.js} +2 -2
- package/dist/chunks/{state-bwa7sjpv.js → wellknown-xphsq29y.js} +5 -5
- package/dist/chunks/{state-q8f45dp9.js → wellknown-xywe86jr.js} +63 -63
- package/dist/chunks/{state-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-5xpznt2d.js → wellknown-y1gke2m2.js} +4 -4
- package/dist/chunks/{state-cbjpdsvm.js → wellknown-y4aaa54v.js} +39 -39
- package/dist/chunks/{state-y56ehv6b.js → wellknown-y56ehv6b.js} +2 -2
- package/dist/chunks/{state-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-s4enseaf.js → wellknown-yrznvahk.js} +2 -2
- package/dist/chunks/{state-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-0j6y2kgk.js → wellknown-z0gc4jcf.js} +11 -11
- package/dist/chunks/{state-29x78va6.js → wellknown-z63w68vq.js} +6 -6
- package/dist/chunks/{state-d3nanzm1.js → wellknown-z8jvdxfg.js} +6 -6
- package/dist/chunks/{state-1rfara83.js → wellknown-z8qfc15h.js} +20 -20
- package/dist/chunks/{state-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{state-anz1zs5v.js → wellknown-zggzp6kd.js} +33 -33
- package/dist/chunks/{state-xt02y0n1.js → wellknown-zj9f3ba2.js} +10 -10
- package/dist/chunks/{state-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-dwsv6nwq.js → wellknown-zsmpz0g2.js} +41 -41
- package/dist/chunks/{state-9tsamph0.js → wellknown-zvsfaaqm.js} +19 -19
- package/dist/chunks/{state-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +123 -123
- 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 +120 -120
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +75 -75
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +93 -93
- 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/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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +72 -72
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +99 -99
- 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 +363 -363
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +81 -81
- package/dist/job.js +77 -77
- 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-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- 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 +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +100 -100
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- 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 +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- 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 +93 -93
- 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 +79 -79
- 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 +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- 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 +2 -2
- 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 +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- 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 +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +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 +232 -232
- 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 +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +122 -122
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +106 -106
- 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 +16 -16
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/state-92scpske.js +0 -26
- package/dist/chunks/state-txavf3vy.js +0 -252
- /package/dist/chunks/{state-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-34c7v6d4.js → wellknown-34c7v6d4.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → wellknown-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID6,
|
|
6
|
+
Service49
|
|
7
|
+
} from "./wellknown-vsxynn42.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-jexxy024.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-vjjxy6yb.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-bjtzbw4r.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service49;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID6.make(from),
|
|
91
|
+
to: ID6.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-h09p1vgn.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-9qny7dd3.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service63,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured10,
|
|
25
|
+
layer: () => layer24,
|
|
26
|
+
node: () => node67
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service63 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service63, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service63.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer24 = makeLayer();
|
|
259
|
+
var configured10 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service63,
|
|
261
|
+
layer: options === undefined ? layer24 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node67 = configured10();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError3, NotFoundError7, Service63, layer24, configured10, node67, exports_persistent_pty, Handoff2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service37,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node40
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service37 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service37, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service37.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service65, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node40 = makeGlobalNode({ service: Service37, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service37, node40, exports_environment };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./wellknown-wckr6wjf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service17
|
|
9
|
+
} from "./wellknown-2x9aqbrw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./wellknown-k4tadaxs.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service10
|
|
27
|
+
} from "./wellknown-w4mba9tq.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Plugin: () => Plugin22,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name3,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name3 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input3 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin22 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service10;
|
|
62
|
+
const access = yield* Service17;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name3,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input3,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin31 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent3 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name3, Input3, Plugin22, toModelContent3, exports_read };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./wellknown-wckr6wjf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service38
|
|
9
|
+
} from "./wellknown-ns267dy3.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-kg8gd9a1.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin15
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin15 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service38;
|
|
35
|
+
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin15, exports_reference };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-h09p1vgn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service20,
|
|
6
|
+
Event4
|
|
7
|
+
} from "./wellknown-pqvx7e34.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service20;
|
|
33
33
|
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./wellknown-str9awg2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./wellknown-w21bzq9q.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service46;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./wellknown-wckr6wjf.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-z8qfc15h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-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: () => Plugin35,
|
|
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 Plugin35 = 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 { Plugin35, exports_hg };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./wellknown-bfqjkbr4.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./wellknown-wckr6wjf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service38
|
|
12
|
+
} from "./wellknown-ns267dy3.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-jzmza1h1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service11
|
|
20
|
+
} from "./wellknown-nscznvay.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-8hydgdhp.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill = {};
|
|
30
30
|
__export(exports_skill, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin18
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin18 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service38;
|
|
43
|
+
const discovery = yield* Service11;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service80;
|
|
47
|
+
const watcher = yield* Service39;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin10 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin18, exports_skill };
|