@opencode/core 0.0.0-dev-20217 → 0.0.0-dev-20218
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 +75 -75
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{generate-sp5zyyma.js → state-00832hy7.js} +8 -8
- package/dist/chunks/{generate-jp253xqa.js → state-03axkpd7.js} +26 -26
- package/dist/chunks/{generate-rp7q1zw1.js → state-05vsj3p7.js} +4 -4
- package/dist/chunks/{generate-zcrnxhy5.js → state-07ysamf7.js} +43 -43
- package/dist/chunks/{generate-6xw3seg4.js → state-0gapa1rm.js} +5 -5
- package/dist/chunks/{generate-bvbhr0nb.js → state-0mh48h74.js} +14 -14
- package/dist/chunks/{generate-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-qjnxxf51.js → state-0r7yqxbf.js} +5 -5
- package/dist/chunks/{generate-exm6h1mn.js → state-0xx33ygk.js} +81 -81
- package/dist/chunks/{generate-kgh91f7z.js → state-14yk5par.js} +11 -11
- package/dist/chunks/{generate-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-ya37k36g.js → state-1gya5ztd.js} +3 -3
- package/dist/chunks/{generate-4pkwzc2k.js → state-1zde08dm.js} +6 -6
- package/dist/chunks/{generate-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{generate-2402vzrj.js → state-2402vzrj.js} +1 -1
- package/dist/chunks/{generate-9051msma.js → state-25d919r2.js} +29 -29
- package/dist/chunks/{generate-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-g4amcqm5.js → state-2mkrz92g.js} +24 -24
- package/dist/chunks/{generate-32ymn5e1.js → state-32ymn5e1.js} +3 -3
- package/dist/chunks/{generate-8esc5efs.js → state-338yrj73.js} +39 -39
- package/dist/chunks/{generate-zqs4559c.js → state-347x2fmn.js} +10 -10
- package/dist/chunks/{generate-r88x53ge.js → state-3631mzea.js} +9 -9
- package/dist/chunks/{generate-07xv2kp7.js → state-3ban7q1k.js} +28 -28
- package/dist/chunks/{generate-7qr8wanm.js → state-3dhcjsqz.js} +24 -24
- package/dist/chunks/{generate-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-2ya16xyf.js → state-3fpxrx1n.js} +12 -12
- package/dist/chunks/{generate-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-9eqcqd4c.js → state-3pkc36ya.js} +7 -7
- package/dist/chunks/{generate-bqjmqm67.js → state-3qb6nqt1.js} +13 -13
- package/dist/chunks/{generate-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-01x1ys4d.js → state-3wrtxrr4.js} +6 -6
- package/dist/chunks/{generate-6rxe94kc.js → state-3x4m5qd9.js} +17 -17
- package/dist/chunks/{generate-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-3rcsyed8.js → state-405avf1k.js} +11 -11
- package/dist/chunks/{generate-9py21ez6.js → state-42hej837.js} +17 -17
- package/dist/chunks/{generate-h6r3nrb9.js → state-4dgbcxzg.js} +4 -4
- package/dist/chunks/{generate-syf57q56.js → state-4j4tgtq5.js} +4 -4
- package/dist/chunks/{generate-ga8r5h9c.js → state-4p1epq1b.js} +5 -5
- package/dist/chunks/{generate-ejradr83.js → state-4ve5k4jc.js} +8 -8
- package/dist/chunks/{generate-acy463b0.js → state-562azfy0.js} +15 -15
- package/dist/chunks/{generate-mfqp6xfm.js → state-56gdpj1q.js} +6 -6
- package/dist/chunks/{generate-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-8q07pp0g.js → state-5gpdyetc.js} +16 -16
- package/dist/chunks/{generate-ck1n40bc.js → state-5h68hgfk.js} +32 -32
- package/dist/chunks/{generate-2fdjjf2d.js → state-5mcapwzv.js} +37 -37
- package/dist/chunks/{generate-9cfetbmm.js → state-5md0szhq.js} +48 -48
- package/dist/chunks/{generate-56teqqsg.js → state-5mnv6qns.js} +17 -17
- package/dist/chunks/{generate-ntpdddm1.js → state-5n657pg2.js} +3 -3
- package/dist/chunks/{generate-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-ert96eax.js → state-5zvmc3ez.js} +20 -20
- package/dist/chunks/{generate-s78g7wkk.js → state-616betvk.js} +25 -25
- package/dist/chunks/{generate-z3nay82g.js → state-63kpjth9.js} +9 -9
- package/dist/chunks/{generate-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{generate-50ydhzxp.js → state-686tv83h.js} +37 -37
- package/dist/chunks/{generate-d9sgy5v4.js → state-697fm79x.js} +4 -4
- package/dist/chunks/{generate-e34fvbdd.js → state-6b0e6jr0.js} +52 -52
- package/dist/chunks/{generate-tw2a575y.js → state-6eqtnz3a.js} +308 -308
- package/dist/chunks/{generate-vy4zg7qh.js → state-6ge9xvdz.js} +12 -12
- package/dist/chunks/{generate-8fp4c2z7.js → state-6hyw96xs.js} +9 -9
- package/dist/chunks/{generate-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-r24g8med.js → state-6wq59zjx.js} +32 -32
- package/dist/chunks/{generate-m6f3t844.js → state-6ysrkrkr.js} +8 -8
- package/dist/chunks/{generate-gs3s1a1g.js → state-73kdj4zj.js} +8 -8
- package/dist/chunks/{generate-8ahxe1yx.js → state-764xmq7n.js} +13 -13
- package/dist/chunks/{generate-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-g8jasmdt.js → state-7bvkr4r5.js} +8 -8
- package/dist/chunks/{generate-5gtszx91.js → state-7c1t3sth.js} +5 -5
- package/dist/chunks/{generate-qgn6gcr1.js → state-7dqw4kz8.js} +5 -5
- package/dist/chunks/{generate-x3v8xk0a.js → state-7g38j68k.js} +20 -20
- package/dist/chunks/{generate-mjs36gnf.js → state-7g5bn0rc.js} +9 -9
- package/dist/chunks/{generate-pnd8syx4.js → state-7k0859n8.js} +19 -19
- package/dist/chunks/{generate-ascb784g.js → state-7ve2bcyf.js} +15 -15
- package/dist/chunks/{generate-wa6z1zpc.js → state-7yjkh209.js} +3 -3
- package/dist/chunks/{generate-842jftfa.js → state-843rktzr.js} +36 -36
- package/dist/chunks/{generate-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-5zjd4ppb.js → state-8kb9ad1g.js} +22 -22
- package/dist/chunks/{generate-ybra3gbx.js → state-8t4yhv83.js} +65 -65
- package/dist/chunks/{generate-94ek1h2f.js → state-94ek1h2f.js} +2 -2
- package/dist/chunks/{generate-q715b6mx.js → state-9e7tejnn.js} +38 -38
- package/dist/chunks/state-9zdhvgqs.js +18 -0
- package/dist/chunks/{generate-vr21nvq1.js → state-a2ax3qpg.js} +3 -3
- package/dist/chunks/{generate-w7rfck3m.js → state-a7n07cbk.js} +13 -13
- package/dist/chunks/{generate-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-311tnbd3.js → state-abyvc0ab.js} +15 -15
- package/dist/chunks/{generate-57ez7d0k.js → state-ajmg8w9c.js} +9 -9
- package/dist/chunks/{generate-vq6291rg.js → state-ajzatwsb.js} +12 -12
- package/dist/chunks/{generate-8xm938at.js → state-akx14ffq.js} +5 -5
- package/dist/chunks/{generate-cqh59s6n.js → state-anj5zhyn.js} +27 -27
- package/dist/chunks/{generate-td32dgmv.js → state-aq25p0km.js} +30 -30
- package/dist/chunks/{generate-xztnf58b.js → state-at4p1dba.js} +17 -17
- package/dist/chunks/{generate-by1j3ey7.js → state-avz33p24.js} +10 -10
- package/dist/chunks/{generate-13dh974y.js → state-axbkptea.js} +2 -2
- package/dist/chunks/{generate-ptzcsgsd.js → state-b3sqm8qs.js} +7 -7
- package/dist/chunks/{generate-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-33tnhc2v.js → state-b9cdatme.js} +24 -24
- package/dist/chunks/{generate-y3cbw9ke.js → state-bd1518y4.js} +9 -9
- package/dist/chunks/{generate-g0445xdp.js → state-br0tr5aq.js} +8 -8
- package/dist/chunks/{generate-12d20hvf.js → state-bwhv742z.js} +10 -10
- package/dist/chunks/{generate-2twqppr1.js → state-bysw588c.js} +33 -33
- package/dist/chunks/{generate-qfraas54.js → state-c2wmnxd0.js} +16 -16
- package/dist/chunks/{generate-hvf24zfz.js → state-c5885s0q.js} +11 -11
- package/dist/chunks/{generate-p5wrwqkj.js → state-cbszzs6d.js} +10 -10
- package/dist/chunks/{generate-ckecvw8r.js → state-ckecvw8r.js} +2 -2
- package/dist/chunks/{generate-xpxvvxwe.js → state-cmxzdf4d.js} +6 -6
- package/dist/chunks/{generate-t6csv5s6.js → state-cnebggg2.js} +22 -22
- package/dist/chunks/{generate-rx7m66c2.js → state-cw4h18ma.js} +27 -27
- package/dist/chunks/{generate-ahs2gfn5.js → state-d06nhcag.js} +14 -14
- package/dist/chunks/{generate-pecb0brz.js → state-d2aac7k2.js} +5 -5
- package/dist/chunks/{generate-t9zs3egg.js → state-dfe8djrf.js} +4 -4
- package/dist/chunks/{generate-djszqvmq.js → state-djszqvmq.js} +2 -2
- package/dist/chunks/{generate-k2jz26yg.js → state-dpdh24t4.js} +32 -32
- package/dist/chunks/{generate-qqeeq2t9.js → state-drwq78ky.js} +7 -7
- package/dist/chunks/{generate-ctdb5eh8.js → state-e0bbdjrn.js} +6 -6
- package/dist/chunks/{generate-05g83p89.js → state-e22zwrdw.js} +5 -5
- package/dist/chunks/{generate-sxsh3am5.js → state-eb7aytjb.js} +18 -18
- package/dist/chunks/{generate-ecfe7b91.js → state-ecfe7b91.js} +2 -2
- package/dist/chunks/{generate-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-gs9kevq0.js → state-ekw5v65w.js} +23 -23
- package/dist/chunks/{generate-wa9g86nq.js → state-espax8zg.js} +4 -4
- package/dist/chunks/{generate-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-s5aemwk0.js → state-ev7a3h22.js} +30 -30
- package/dist/chunks/{generate-tn0aqsam.js → state-evbgk2k8.js} +5 -5
- package/dist/chunks/{generate-qytgzfxz.js → state-f5q2cchh.js} +10 -10
- package/dist/chunks/{generate-g07qyce6.js → state-f6ggn7ee.js} +16 -16
- package/dist/chunks/{generate-ac05d0px.js → state-fj9t785f.js} +5 -5
- package/dist/chunks/{generate-nzxz9wjq.js → state-fjc6nchj.js} +26 -26
- package/dist/chunks/{generate-0srm5d79.js → state-fqs56ekt.js} +18 -18
- package/dist/chunks/{generate-wq9jd0w3.js → state-fvfccrab.js} +4 -4
- package/dist/chunks/{generate-0ddzsve8.js → state-fz7zprw4.js} +9 -9
- package/dist/chunks/{generate-cya50jfb.js → state-g27ndhem.js} +23 -23
- package/dist/chunks/{generate-tdrse6tx.js → state-g534k4t5.js} +13 -13
- package/dist/chunks/{generate-6bse4mnq.js → state-g8damagz.js} +11 -11
- package/dist/chunks/{generate-4b4retmw.js → state-ga2xd9w7.js} +15 -15
- package/dist/chunks/{generate-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-x4w2k346.js → state-gm9d908t.js} +18 -18
- package/dist/chunks/{generate-dkhp2rv1.js → state-gqc82067.js} +5 -5
- package/dist/chunks/{generate-gfg0xv4g.js → state-gtbg8hzf.js} +17 -17
- package/dist/chunks/{generate-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/state-gx3thcd1.js +252 -0
- package/dist/chunks/{generate-c7xb4h4h.js → state-h180zsc3.js} +10 -10
- package/dist/chunks/{generate-xge24dse.js → state-h3fwwd3m.js} +19 -19
- package/dist/chunks/{generate-3k1dm8q8.js → state-h5tv3rwb.js} +13 -13
- package/dist/chunks/{generate-xvp1j2dc.js → state-h6b02349.js} +5 -5
- package/dist/chunks/{generate-d9ncfxft.js → state-h6p9wsd3.js} +44 -44
- package/dist/chunks/{generate-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-427t97hr.js → state-hd8vw2pw.js} +1 -1
- package/dist/chunks/{generate-qy806v9e.js → state-hdne2gxf.js} +8 -8
- package/dist/chunks/{generate-8bpqntr2.js → state-he0atntt.js} +3 -3
- package/dist/chunks/{generate-8hw9841t.js → state-j30mx6hz.js} +26 -26
- package/dist/chunks/{generate-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-bd8gmehc.js → state-jc9t9v97.js} +17 -17
- package/dist/chunks/{generate-acpncztj.js → state-jcwatdg2.js} +28 -28
- package/dist/chunks/{generate-tfzngn12.js → state-jewzahs7.js} +4 -4
- package/dist/chunks/{generate-a8x64na4.js → state-jfqgnx50.js} +9 -9
- package/dist/chunks/{generate-j3s2z371.js → state-jjs74g98.js} +5 -5
- package/dist/chunks/{generate-5492h712.js → state-jpybm3yb.js} +12 -12
- package/dist/chunks/{generate-b7vfyjp8.js → state-jx4tfryq.js} +8 -8
- package/dist/chunks/{generate-qvejx1kn.js → state-k0sbk250.js} +23 -23
- package/dist/chunks/{generate-4mfjhpc7.js → state-k24hn4de.js} +6 -6
- package/dist/chunks/{generate-k3c624dm.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{generate-m06qwvac.js → state-k4eksvdb.js} +9 -9
- package/dist/chunks/{generate-8vkxkxfw.js → state-k863czh1.js} +12 -12
- package/dist/chunks/{generate-5cvwhdy7.js → state-kbetmkvn.js} +22 -22
- package/dist/chunks/{generate-reg6q42h.js → state-kbqjp078.js} +5 -5
- package/dist/chunks/{generate-hkap8016.js → state-kbv8ef41.js} +24 -24
- package/dist/chunks/{generate-4p1vpwjc.js → state-kfxz280d.js} +15 -15
- package/dist/chunks/{generate-s9nqcr01.js → state-kjdd0312.js} +10 -10
- package/dist/chunks/{generate-knzkxb6b.js → state-kjg680bv.js} +10 -10
- package/dist/chunks/{generate-tdjs8jyr.js → state-kvvpqxe2.js} +21 -21
- package/dist/chunks/{generate-fcn9dpeq.js → state-kwh57d2a.js} +8 -8
- package/dist/chunks/{generate-p7mnw8s9.js → state-kyyn4ww3.js} +12 -12
- package/dist/chunks/{generate-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{generate-mwaxn094.js → state-m4mpbz9t.js} +12 -12
- package/dist/chunks/{generate-3ezsjsrq.js → state-m8qwvxaw.js} +17 -17
- package/dist/chunks/{generate-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-apvj6j8r.js → state-mcq35w5h.js} +28 -28
- package/dist/chunks/{generate-zrh9pnak.js → state-mgqv9cjv.js} +8 -8
- package/dist/chunks/{generate-43vx0ncx.js → state-mjgn9fkd.js} +20 -20
- package/dist/chunks/{generate-xfvyxkvp.js → state-mkh9q7yy.js} +20 -20
- package/dist/chunks/{generate-18r2kxzz.js → state-mmcr6kdq.js} +18 -18
- package/dist/chunks/{generate-w398z9p4.js → state-mv23qax8.js} +24 -24
- package/dist/chunks/{generate-mvksx64m.js → state-mvksx64m.js} +4 -4
- package/dist/chunks/{generate-twzr1p2j.js → state-n35nve9s.js} +6 -6
- package/dist/chunks/{generate-e9kfhk2a.js → state-n898jteq.js} +11 -11
- package/dist/chunks/{generate-4541pte3.js → state-ndqtf2h8.js} +6 -6
- package/dist/chunks/{generate-nng2ktcm.js → state-nng2ktcm.js} +2 -2
- package/dist/chunks/{generate-a63atnq5.js → state-nt1mtbhg.js} +16 -16
- package/dist/chunks/{generate-asb11nsr.js → state-nvfvfdqj.js} +9 -9
- package/dist/chunks/{generate-rzm02ymc.js → state-p3qswy66.js} +11 -11
- package/dist/chunks/{generate-7mnmsw4a.js → state-p8x2zf1r.js} +36 -36
- package/dist/chunks/{generate-tn8xebgv.js → state-pc1a02me.js} +32 -32
- package/dist/chunks/{generate-r75q3gpe.js → state-pey5f48j.js} +1 -1
- package/dist/chunks/{generate-rph3zd4r.js → state-pf2hb43r.js} +4 -4
- package/dist/chunks/{generate-7pfvvhkc.js → state-phx87qke.js} +11 -11
- package/dist/chunks/{generate-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{generate-3znwyx7d.js → state-pm9q95bv.js} +11 -11
- package/dist/chunks/{generate-xa838nr5.js → state-pvg53n3j.js} +43 -43
- package/dist/chunks/{generate-xd34mfmm.js → state-pvmg7gn1.js} +11 -11
- package/dist/chunks/{generate-cb53fham.js → state-q6vq307s.js} +4 -4
- package/dist/chunks/{generate-gyanhw85.js → state-qhv8q597.js} +15 -15
- package/dist/chunks/{generate-cavr175a.js → state-qj8eh1ht.js} +4 -4
- package/dist/chunks/{generate-t1pd95j1.js → state-qpyfagd9.js} +8 -8
- package/dist/chunks/{generate-1e2chcff.js → state-qrkzvyze.js} +14 -14
- package/dist/chunks/{generate-rnn46403.js → state-qs75wfsq.js} +8 -8
- package/dist/chunks/{generate-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/state-qxcs1gwy.js +26 -0
- package/dist/chunks/{generate-ttxxjw3g.js → state-r3at2bs8.js} +28 -28
- package/dist/chunks/{generate-9ype0whe.js → state-r3yqybmq.js} +7 -7
- package/dist/chunks/{generate-jkp0d30b.js → state-r5wgqceq.js} +6 -6
- package/dist/chunks/{generate-mhkvc446.js → state-r5x6zcsm.js} +3 -3
- package/dist/chunks/{generate-q427x2gx.js → state-r7m9tyc3.js} +4 -4
- package/dist/chunks/{generate-1acjjqhc.js → state-r8xr0va3.js} +4 -4
- package/dist/chunks/{generate-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-rhjbct0v.js → state-rhjbct0v.js} +1 -1
- package/dist/chunks/{generate-7fkffz83.js → state-rkprpv83.js} +4 -4
- package/dist/chunks/{generate-ap4hnkh0.js → state-rtathh62.js} +8 -8
- package/dist/chunks/{generate-1g7epwpd.js → state-ryr25ayn.js} +7 -7
- package/dist/chunks/{generate-wre1nsef.js → state-s3366ge2.js} +23 -23
- package/dist/chunks/{generate-4pm1yn44.js → state-s5vp1x85.js} +6 -6
- package/dist/chunks/{generate-p0waxsk2.js → state-s87y6m3g.js} +13 -13
- package/dist/chunks/{generate-k3w3vasa.js → state-sqb9y0cm.js} +20 -20
- package/dist/chunks/{generate-91hm5t32.js → state-sresy5h2.js} +3 -3
- package/dist/chunks/{generate-nacwttbk.js → state-srs9dwz9.js} +11 -11
- package/dist/chunks/{generate-e7v8jp1m.js → state-sx3dk1aa.js} +3 -3
- package/dist/chunks/{generate-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-89znhe33.js → state-tcezcvh9.js} +4 -4
- package/dist/chunks/{generate-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{generate-a913ty5s.js → state-treznftm.js} +16 -16
- package/dist/chunks/{generate-w6dttbvj.js → state-trg22pty.js} +5 -5
- package/dist/chunks/{generate-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-4k8ah3ry.js → state-v3vry9cg.js} +12 -12
- package/dist/chunks/{generate-z3pwkdgp.js → state-v7vymymh.js} +24 -24
- package/dist/chunks/{generate-43m90sy1.js → state-v997gcsz.js} +18 -18
- package/dist/chunks/{generate-zprz1ztb.js → state-vb2kgc45.js} +5 -5
- package/dist/chunks/{generate-wcgwreqh.js → state-vb3nvgyj.js} +37 -37
- package/dist/chunks/{generate-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-51s6j6q9.js → state-vka635y3.js} +24 -24
- package/dist/chunks/{generate-kcxpvb8p.js → state-vwryqt0b.js} +15 -15
- package/dist/chunks/{generate-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-gkdtqfkd.js → state-w12jd273.js} +24 -24
- package/dist/chunks/{generate-nv0fppfx.js → state-w2ffkqsz.js} +18 -18
- package/dist/chunks/{generate-92c2ry4b.js → state-w2xscrkm.js} +78 -78
- package/dist/chunks/{generate-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-sv2872v9.js → state-w9pb4be2.js} +15 -15
- package/dist/chunks/{generate-h26v9h8p.js → state-wcj256t6.js} +42 -42
- package/dist/chunks/{generate-wd3x2cqz.js → state-wd3x2cqz.js} +2 -2
- package/dist/chunks/{generate-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{generate-450mh6qg.js → state-wjjgdhkj.js} +11 -11
- package/dist/chunks/{generate-6hjx5zpb.js → state-wk5z6jzv.js} +9 -9
- package/dist/chunks/{generate-k4sxmhnt.js → state-wkfs9xf1.js} +10 -10
- package/dist/chunks/{generate-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-er2bz0cg.js → state-x2kfg3xp.js} +11 -11
- package/dist/chunks/{generate-f2yegfjx.js → state-x7v2bm1t.js} +12 -12
- package/dist/chunks/{generate-rentz0qj.js → state-xgmh5kwe.js} +45 -45
- package/dist/chunks/{generate-k49da67q.js → state-xkahfabv.js} +21 -21
- package/dist/chunks/{generate-xkntkrq7.js → state-xkntkrq7.js} +2 -2
- package/dist/chunks/{generate-k685mvzk.js → state-xmw0p0yx.js} +22 -22
- package/dist/chunks/{generate-81pvwmvt.js → state-xqbar29h.js} +4 -4
- package/dist/chunks/{generate-84f8pt8n.js → state-xrnnsjt5.js} +4 -4
- package/dist/chunks/{generate-as9020bb.js → state-xzc7yfbq.js} +10 -10
- package/dist/chunks/{generate-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-y71avatq.js → state-y71avatq.js} +1 -1
- package/dist/chunks/{generate-dz42haa5.js → state-yn0cfv5b.js} +1 -1
- package/dist/chunks/{generate-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-yrznvahk.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{generate-x8y3gv38.js → state-ysemb9nv.js} +9 -9
- package/dist/chunks/{generate-magsh8sv.js → state-ywyx2haj.js} +10 -10
- package/dist/chunks/{generate-07770t2t.js → state-yx0rmv9r.js} +4 -4
- package/dist/chunks/{generate-z07pqspn.js → state-z07pqspn.js} +3 -3
- package/dist/chunks/{generate-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-2ba3d3jd.js → state-z1wdxvxw.js} +40 -40
- package/dist/chunks/{generate-fjmvr8bc.js → state-z380d6bz.js} +31 -31
- package/dist/chunks/{generate-z63w68vq.js → state-z63w68vq.js} +2 -2
- package/dist/chunks/{generate-m9g2aspd.js → state-za8zfcmp.js} +169 -169
- package/dist/chunks/{generate-dhmh7aw6.js → state-zee1rnkq.js} +4 -4
- package/dist/chunks/{generate-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-zbv76mee.js → state-zqktqd3m.js} +4 -4
- package/dist/chunks/{generate-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{generate-fhqwpy9z.js → state-zy4wzh65.js} +15 -15
- 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 +84 -84
- 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 +128 -128
- 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 +121 -121
- package/dist/config/plugin/source.js +126 -126
- 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 +81 -81
- 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 +371 -371
- 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 +91 -91
- 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/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 +2 -2
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +79 -79
- 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 +84 -84
- 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 +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +126 -126
- 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 +96 -96
- package/dist/model.js +96 -96
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- 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/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-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- 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 +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 +94 -94
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- 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 +92 -92
- 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 +161 -161
- package/dist/plugin/sdk.js +76 -76
- 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/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 +8 -8
- 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 +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- 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/command.js +74 -74
- package/dist/session/compaction.js +128 -128
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +119 -119
- 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 +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 +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- 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 +87 -87
- 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 +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +4 -4
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +87 -87
- 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 +123 -123
- 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 +113 -113
- package/dist/tool/plugin/subagent.js +211 -211
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +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 +81 -81
- package/dist/workspace/driver.js +3 -3
- 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/generate-4z3x0xya.js +0 -252
- package/dist/chunks/generate-gyce5qg1.js +0 -18
- package/dist/chunks/generate-q809hsec.js +0 -26
- /package/dist/chunks/{generate-0mesazry.js → state-0mesazry.js} +0 -0
- /package/dist/chunks/{generate-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-7w99qc9d.js → state-7w99qc9d.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-xrnnsjt5.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event21,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID18,
|
|
20
|
+
Info: () => Info34,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service82,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node86,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event21 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID18 = Form.ID;
|
|
39
|
+
var Info34 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID18
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID18
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID18
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID18,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service82 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service82, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID18.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service82.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node86 = makeLocationNode({ service: Service82, layer: layer25, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID18, Info34, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer25, node86, validateAnswer2, validateFields2, exports_form, Event21 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-j30mx6hz.js";
|
|
4
4
|
import {
|
|
5
5
|
Service74
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-cnebggg2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin41,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var direct = new Set([
|
|
|
23
23
|
"@opencode/ai/providers/azure/responses"
|
|
24
24
|
]);
|
|
25
25
|
var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
|
|
26
|
-
var
|
|
26
|
+
var Plugin41 = define({
|
|
27
27
|
id: "opencode.prompt.verbosity",
|
|
28
28
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
29
29
|
const models = yield* Service74;
|
|
@@ -66,4 +66,4 @@ function openAIModelID(model) {
|
|
|
66
66
|
return id.slice("openai/".length);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Plugin41, exports_verbosity };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Service44
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-w12jd273.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-7w99qc9d.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-32ymn5e1.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -87,8 +87,8 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./state-h6p9wsd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service15
|
|
6
|
+
} from "./state-6ysrkrkr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin16
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin16 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service53;
|
|
29
|
+
const managed = yield* Service15;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin8 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin16, exports_policy };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event12,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options10,
|
|
17
|
+
Service: () => Service54,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node58,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event12 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options10 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service54 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service54.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service54.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service54).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service54, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service54, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node58 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event12, hasNativeBinding2, Native3, Options10, Service54, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured10, node58, exports_watcher };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin49,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin49 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin49, exports_tool_input_repair };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service45,
|
|
17
|
+
node49
|
|
18
|
+
} from "./state-63kpjth9.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service70,
|
|
21
|
+
node73
|
|
22
|
+
} from "./state-73kdj4zj.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content2,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service38,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node42
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content2, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service38 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service70;
|
|
58
|
+
const image = yield* Service45;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service38.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node42 = makeLocationNode({
|
|
277
|
+
service: Service38,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node73, node49]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service38, node42, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./state-treznftm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./state-h6p9wsd3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service40
|
|
12
|
+
} from "./state-h3fwwd3m.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin18
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin18 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service53;
|
|
34
|
+
const location = yield* Service78;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service40;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin16 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin18, exports_worktree };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-xrnnsjt5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service55,
|
|
6
|
+
Event13
|
|
7
|
+
} from "./state-5zvmc3ez.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin24,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin24 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service83;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service55;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin36 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin24, exports_plugin };
|