@opencode/core 0.0.0-dev-21314 → 0.0.0-dev-21318
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{session-awex745w.js → persistent-pty-035sr1nw.js} +20 -20
- package/dist/chunks/{session-4nj4bn9q.js → persistent-pty-0996nyz8.js} +8 -8
- package/dist/chunks/{session-dvbx8fwf.js → persistent-pty-0fjq3n4t.js} +18 -18
- package/dist/chunks/{session-py4ydd0q.js → persistent-pty-0jmk01at.js} +17 -17
- package/dist/chunks/{session-2k8khapm.js → persistent-pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{session-7djx2bk3.js → persistent-pty-0nndfddn.js} +30 -30
- package/dist/chunks/{session-yc8hc8f5.js → persistent-pty-0rhcgknv.js} +8 -8
- package/dist/chunks/{session-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{session-swfv1pfg.js → persistent-pty-17d5gh3d.js} +32 -32
- package/dist/chunks/{session-1ffvrpkg.js → persistent-pty-1ffvrpkg.js} +2 -2
- package/dist/chunks/{session-r489rbmh.js → persistent-pty-1fj32kga.js} +18 -18
- package/dist/chunks/{session-xry9jdq8.js → persistent-pty-1p3zcfwq.js} +11 -11
- package/dist/chunks/{session-y30xd0nk.js → persistent-pty-1t2v27cd.js} +51 -51
- package/dist/chunks/{session-tnj6rg6w.js → persistent-pty-1wsnph7m.js} +9 -9
- package/dist/chunks/{session-jhy0c2w1.js → persistent-pty-20hv8fes.js} +28 -28
- package/dist/chunks/{session-xpeshqab.js → persistent-pty-23zvew7z.js} +6 -6
- package/dist/chunks/{session-4kk33tta.js → persistent-pty-24f3f4ex.js} +2 -2
- package/dist/chunks/{session-25yddszk.js → persistent-pty-25yddszk.js} +3 -3
- package/dist/chunks/{session-dhtv0h7a.js → persistent-pty-2688anfm.js} +21 -21
- package/dist/chunks/{session-stt02d3y.js → persistent-pty-2cd9y53g.js} +17 -17
- package/dist/chunks/{session-s1ejbwm9.js → persistent-pty-2jqwmjzy.js} +11 -11
- package/dist/chunks/{session-s8q9kger.js → persistent-pty-2saep75g.js} +13 -13
- package/dist/chunks/{session-71nj6hcx.js → persistent-pty-33b5xt83.js} +5 -5
- package/dist/chunks/{session-tbenmwhf.js → persistent-pty-36qpgp0j.js} +5 -5
- package/dist/chunks/{session-ma9dkv0f.js → persistent-pty-38963ezr.js} +13 -13
- package/dist/chunks/{session-x5wrmng7.js → persistent-pty-3cqwnyj9.js} +11 -11
- package/dist/chunks/{session-enk0yhn1.js → persistent-pty-3dk6vdcf.js} +10 -10
- package/dist/chunks/{session-h2qvmc2h.js → persistent-pty-3f2ed3kj.js} +45 -45
- package/dist/chunks/{session-qrqfate7.js → persistent-pty-3gdz7m67.js} +42 -42
- package/dist/chunks/{session-nmckqh63.js → persistent-pty-3h7b0ae1.js} +3 -3
- package/dist/chunks/{session-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{session-3hwn7j4h.js → persistent-pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{session-23kra5v4.js → persistent-pty-3r96jsjz.js} +12 -12
- package/dist/chunks/{session-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{session-5njtz3qm.js → persistent-pty-3ssz1k3q.js} +6 -6
- package/dist/chunks/{session-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{session-kaaz2pqz.js → persistent-pty-3y24yfnm.js} +8 -8
- package/dist/chunks/{session-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{session-0c6p43cp.js → persistent-pty-4071dj26.js} +8 -8
- package/dist/chunks/{session-pjxg738y.js → persistent-pty-45swxcnn.js} +38 -38
- package/dist/chunks/{session-zpd81yx7.js → persistent-pty-4e4yjs3s.js} +1 -1
- package/dist/chunks/{session-w3svmbxk.js → persistent-pty-4ghta6c5.js} +12 -12
- package/dist/chunks/{session-xdx7acry.js → persistent-pty-4y7j986s.js} +9 -9
- package/dist/chunks/{session-q0zspkt5.js → persistent-pty-4zvfssd5.js} +20 -20
- package/dist/chunks/{session-phrdbnb5.js → persistent-pty-514z3gf3.js} +21 -21
- package/dist/chunks/{session-r94pvvab.js → persistent-pty-54ma36ye.js} +4 -4
- package/dist/chunks/{session-ks9wygpw.js → persistent-pty-55vsgkjg.js} +19 -19
- package/dist/chunks/{session-h6smha7e.js → persistent-pty-583x3kah.js} +18 -18
- package/dist/chunks/{session-dqkkx36v.js → persistent-pty-5b77hntt.js} +4 -4
- package/dist/chunks/{session-hqv6b3hj.js → persistent-pty-5bes61s4.js} +47 -47
- package/dist/chunks/{session-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{session-xssg7psk.js → persistent-pty-5mz3x8vb.js} +21 -21
- package/dist/chunks/{session-e3qxr5gk.js → persistent-pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{session-14pg4h6h.js → persistent-pty-5r7ac250.js} +8 -8
- package/dist/chunks/{session-damjh02j.js → persistent-pty-5tad8fcc.js} +15 -15
- package/dist/chunks/{session-jsqhg9pg.js → persistent-pty-5wfxtdqx.js} +8 -8
- package/dist/chunks/persistent-pty-5wm8vv17.js +257 -0
- package/dist/chunks/{session-3yt14ahe.js → persistent-pty-5xqqgpy7.js} +3 -3
- package/dist/chunks/{session-gs3s1a1g.js → persistent-pty-5y480sgp.js} +8 -8
- package/dist/chunks/{session-kjws9vxb.js → persistent-pty-5z5javj1.js} +35 -35
- package/dist/chunks/{session-6827pfxn.js → persistent-pty-6827pfxn.js} +1 -1
- package/dist/chunks/{session-797s8g7v.js → persistent-pty-6bazcnan.js} +14 -14
- package/dist/chunks/{session-bsaxn52h.js → persistent-pty-6d7mtdks.js} +42 -42
- package/dist/chunks/{session-2420hj0p.js → persistent-pty-6e60yqyp.js} +32 -32
- package/dist/chunks/{session-ef635fzj.js → persistent-pty-6wqpa5p1.js} +15 -15
- package/dist/chunks/{session-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{session-kxst37h1.js → persistent-pty-6znwa2ze.js} +16 -16
- package/dist/chunks/{session-775gj3j1.js → persistent-pty-775gj3j1.js} +2 -2
- package/dist/chunks/{session-d9te6n0s.js → persistent-pty-77awh5p4.js} +17 -17
- package/dist/chunks/{session-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{session-3w50xvmd.js → persistent-pty-7ht1svp9.js} +11 -11
- package/dist/chunks/{session-wfm1pds2.js → persistent-pty-7k2k32yg.js} +7 -7
- package/dist/chunks/{session-f599k877.js → persistent-pty-7nskfpwv.js} +24 -24
- package/dist/chunks/{session-v64zkvxt.js → persistent-pty-8058wneq.js} +20 -20
- package/dist/chunks/{session-84txncab.js → persistent-pty-84txncab.js} +1 -1
- package/dist/chunks/{session-29kdakx0.js → persistent-pty-86sh86sv.js} +15 -15
- package/dist/chunks/{session-e2dv7ppq.js → persistent-pty-8e9wk3v6.js} +4 -4
- package/dist/chunks/{session-8m6m0r52.js → persistent-pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{session-8mywswrd.js → persistent-pty-8mywswrd.js} +1 -1
- package/dist/chunks/{session-zs6v24ss.js → persistent-pty-93c0dbkk.js} +5 -5
- package/dist/chunks/{session-f4wq5gqb.js → persistent-pty-983z13s5.js} +11 -11
- package/dist/chunks/{session-1vy01fax.js → persistent-pty-9a5j5arz.js} +6 -6
- package/dist/chunks/{session-ztady1js.js → persistent-pty-9eq17axm.js} +9 -9
- package/dist/chunks/{session-d2pksewe.js → persistent-pty-9m1d1fqb.js} +9 -9
- package/dist/chunks/{session-d8n4fhj7.js → persistent-pty-9mawegkx.js} +185 -185
- package/dist/chunks/{session-g2hf8053.js → persistent-pty-9md2mt7s.js} +24 -24
- package/dist/chunks/persistent-pty-9sh4wc5j.js +18 -0
- package/dist/chunks/{session-7v6vae4w.js → persistent-pty-a20pjse5.js} +3 -3
- package/dist/chunks/persistent-pty-a3q4bfq8.js +26 -0
- package/dist/chunks/{session-14hgbde8.js → persistent-pty-a546n9dx.js} +5 -5
- package/dist/chunks/{session-6thrtbgs.js → persistent-pty-a5v8ppv0.js} +11 -11
- package/dist/chunks/{session-6x4m2wb8.js → persistent-pty-a8nkje97.js} +11 -11
- package/dist/chunks/{session-xjjjkywx.js → persistent-pty-adeqnqa8.js} +1 -1
- package/dist/chunks/{session-9cksbnqm.js → persistent-pty-am4eehff.js} +8 -8
- package/dist/chunks/{session-43frtkeb.js → persistent-pty-amtxxzg7.js} +19 -19
- package/dist/chunks/{session-7ge0sy1k.js → persistent-pty-aqebbdxj.js} +18 -18
- package/dist/chunks/{session-cqggc1c2.js → persistent-pty-asnz67s1.js} +24 -24
- package/dist/chunks/{session-3zktm4st.js → persistent-pty-b39zvbqb.js} +11 -11
- package/dist/chunks/{session-96ks7dsb.js → persistent-pty-b5wyey98.js} +27 -27
- package/dist/chunks/{session-qdpww7hp.js → persistent-pty-bmc8ajke.js} +17 -17
- package/dist/chunks/{session-js7veaaa.js → persistent-pty-btd9bnp8.js} +10 -10
- package/dist/chunks/{session-1ep4rre3.js → persistent-pty-bzeyqsqd.js} +4 -4
- package/dist/chunks/{session-rj3eygr5.js → persistent-pty-c41wscbt.js} +2 -2
- package/dist/chunks/{session-sa8ekw3f.js → persistent-pty-c8ax2afj.js} +2 -2
- package/dist/chunks/{session-prdsqtxg.js → persistent-pty-carh3x97.js} +34 -34
- package/dist/chunks/{session-c4fk019e.js → persistent-pty-cb7pdjkb.js} +35 -35
- package/dist/chunks/{session-zk7b3ek0.js → persistent-pty-cjx84n6d.js} +23 -23
- package/dist/chunks/{session-zj1e5rys.js → persistent-pty-cpccs97c.js} +24 -24
- package/dist/chunks/{session-gjwgx2c5.js → persistent-pty-cwa6csj7.js} +9 -9
- package/dist/chunks/{session-1sgxfzw3.js → persistent-pty-d4a9a1gx.js} +8 -8
- package/dist/chunks/{session-qgj3wp86.js → persistent-pty-drdy3fh6.js} +4 -4
- package/dist/chunks/{session-drwq78ky.js → persistent-pty-drwq78ky.js} +1 -1
- package/dist/chunks/{session-qdz5k9vp.js → persistent-pty-eajddnhb.js} +10 -10
- package/dist/chunks/{session-8tv96w5n.js → persistent-pty-eamzdkr9.js} +6 -6
- package/dist/chunks/{session-sxz6gkc3.js → persistent-pty-edrmdtr5.js} +4 -4
- package/dist/chunks/{session-by8mmdze.js → persistent-pty-edx5d1yh.js} +10 -10
- package/dist/chunks/{session-eej6y6fw.js → persistent-pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{session-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{session-p8evsf9g.js → persistent-pty-ef9fmmj9.js} +11 -11
- package/dist/chunks/{session-4bcztqfp.js → persistent-pty-eksc9b63.js} +17 -17
- package/dist/chunks/{session-8akh696h.js → persistent-pty-emhr29ne.js} +15 -15
- package/dist/chunks/{session-g3yp498d.js → persistent-pty-ep3f3pzc.js} +74 -74
- package/dist/chunks/{session-vgzd9mgs.js → persistent-pty-eqefekej.js} +7 -7
- package/dist/chunks/{session-88hn0rhj.js → persistent-pty-er69x7n9.js} +44 -44
- package/dist/chunks/{session-c1fqxshp.js → persistent-pty-es1vcfrp.js} +3 -3
- package/dist/chunks/{session-zgsa76g2.js → persistent-pty-ez3v055x.js} +7 -7
- package/dist/chunks/{session-0xgrx95y.js → persistent-pty-f6pky1vc.js} +26 -26
- package/dist/chunks/{session-dxkpj95f.js → persistent-pty-fcs9x2eq.js} +12 -12
- package/dist/chunks/{session-fcy631f0.js → persistent-pty-fcy631f0.js} +1 -1
- package/dist/chunks/{session-x75bq86t.js → persistent-pty-fjr4y1sz.js} +32 -32
- package/dist/chunks/{session-ewwtztm3.js → persistent-pty-fs2f0xkk.js} +18 -18
- package/dist/chunks/{session-37zydtf8.js → persistent-pty-fx5bd5w2.js} +24 -24
- package/dist/chunks/{session-0psg52y2.js → persistent-pty-g0fh3ss2.js} +20 -20
- package/dist/chunks/{session-1nw3zm24.js → persistent-pty-g4f8ytex.js} +7 -7
- package/dist/chunks/{session-8hzf46d8.js → persistent-pty-g8mv3vbb.js} +12 -12
- package/dist/chunks/{session-ge7hzr6s.js → persistent-pty-gbe60986.js} +14 -14
- package/dist/chunks/{session-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{session-w23fc1td.js → persistent-pty-h03re434.js} +10 -10
- package/dist/chunks/{session-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{session-8dff8bqa.js → persistent-pty-h9rm1rrn.js} +5 -5
- package/dist/chunks/{session-hgz4x7wa.js → persistent-pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{session-hq3c8me3.js → persistent-pty-hq3c8me3.js} +1 -1
- package/dist/chunks/{session-dz9xz8v9.js → persistent-pty-hq42ga31.js} +4 -4
- package/dist/chunks/{session-kr7s7jw4.js → persistent-pty-hsm9kfyy.js} +17 -17
- package/dist/chunks/{session-bgdj39ha.js → persistent-pty-hsnnjyxg.js} +21 -21
- package/dist/chunks/{session-1v2qx10z.js → persistent-pty-j0aph1pe.js} +8 -8
- package/dist/chunks/{session-q34gkbzk.js → persistent-pty-j15m0rxy.js} +7 -7
- package/dist/chunks/{session-x84e8zg0.js → persistent-pty-j1ycnkr6.js} +4 -4
- package/dist/chunks/{session-qgmckqby.js → persistent-pty-j4fafyv9.js} +13 -11
- package/dist/chunks/{session-f44ek8sd.js → persistent-pty-j6hdhn3t.js} +4 -4
- package/dist/chunks/{session-rq16f1jw.js → persistent-pty-jfp883ba.js} +3 -3
- package/dist/chunks/{session-z9sbqhmm.js → persistent-pty-jg4qz7te.js} +24 -24
- package/dist/chunks/{session-gzdwz4a3.js → persistent-pty-jyj86nsz.js} +22 -22
- package/dist/chunks/{session-hmez9bs2.js → persistent-pty-k0y4bd87.js} +20 -20
- package/dist/chunks/{session-gg7n7cq5.js → persistent-pty-k2e5s4re.js} +18 -18
- package/dist/chunks/{session-d7ne5qeg.js → persistent-pty-k41hn50r.js} +29 -27
- package/dist/chunks/{session-8gxqpgph.js → persistent-pty-k76fn4kw.js} +4 -4
- package/dist/chunks/{session-dmbbmepx.js → persistent-pty-k9rjnmc5.js} +4 -4
- package/dist/chunks/{session-kwb1v3vj.js → persistent-pty-kwb1v3vj.js} +1 -1
- package/dist/chunks/{session-qr1za0rd.js → persistent-pty-m662wk7b.js} +3 -3
- package/dist/chunks/{session-shttx1tf.js → persistent-pty-m9sgcpcv.js} +4 -4
- package/dist/chunks/{session-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{session-ws8k684n.js → persistent-pty-makc3bj9.js} +33 -33
- package/dist/chunks/{session-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
- package/dist/chunks/{session-jwvqdnb4.js → persistent-pty-mb1r8vg9.js} +25 -25
- package/dist/chunks/{session-y1p6ax1j.js → persistent-pty-me0hkc2z.js} +11 -11
- package/dist/chunks/{session-r39bqfe1.js → persistent-pty-mgx30ams.js} +6 -6
- package/dist/chunks/{session-mfm47423.js → persistent-pty-mk51tt9h.js} +16 -16
- package/dist/chunks/{session-1ptcz1aw.js → persistent-pty-mm2wf4xp.js} +42 -42
- package/dist/chunks/{session-e8e679h3.js → persistent-pty-msxpg58k.js} +5 -5
- package/dist/chunks/{session-eds25nnt.js → persistent-pty-mxfgkdzc.js} +39 -39
- package/dist/chunks/{session-bbq853ba.js → persistent-pty-mxnmfhj8.js} +26 -26
- package/dist/chunks/{session-pqtwa2sg.js → persistent-pty-mywch70t.js} +36 -36
- package/dist/chunks/{session-f9yxy0m4.js → persistent-pty-n0kentm7.js} +42 -42
- package/dist/chunks/{session-wsvjh7tt.js → persistent-pty-n26v5e0b.js} +28 -28
- package/dist/chunks/{session-80scg3y3.js → persistent-pty-n2srvep7.js} +4 -4
- package/dist/chunks/{session-k3jwsnas.js → persistent-pty-n87gffhn.js} +9 -9
- package/dist/chunks/{session-5jszk2xw.js → persistent-pty-na1s3jgb.js} +21 -21
- package/dist/chunks/{session-v1vh7s4p.js → persistent-pty-nd4tfyg0.js} +9 -9
- package/dist/chunks/{session-fwwp496y.js → persistent-pty-ny7egkeb.js} +32 -32
- package/dist/chunks/{session-jzy7dktq.js → persistent-pty-nyydq7ew.js} +5 -5
- package/dist/chunks/{session-9pay6nf1.js → persistent-pty-nz47wyzy.js} +7 -7
- package/dist/chunks/{session-nz56sr1f.js → persistent-pty-nz56sr1f.js} +2 -2
- package/dist/chunks/{session-tsq4bn52.js → persistent-pty-pah6vszw.js} +64 -64
- package/dist/chunks/{session-h49q8d6s.js → persistent-pty-phvw6tnp.js} +25 -25
- package/dist/chunks/{session-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{session-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{session-02g8yb1z.js → persistent-pty-pv0cg4pn.js} +13 -13
- package/dist/chunks/{session-cxrde8tg.js → persistent-pty-pzs9fcbn.js} +82 -82
- package/dist/chunks/{session-ve0j9bk6.js → persistent-pty-q2mbf3pn.js} +17 -17
- package/dist/chunks/{session-m7w940qr.js → persistent-pty-q37amjjg.js} +8 -8
- package/dist/chunks/{session-gp46n7z2.js → persistent-pty-q7468z42.js} +23 -23
- package/dist/chunks/{session-nya7mvzv.js → persistent-pty-qaswbwd2.js} +20 -20
- package/dist/chunks/{session-sgt7k2k4.js → persistent-pty-qeee8n96.js} +2 -2
- package/dist/chunks/{session-hn4xx6fz.js → persistent-pty-qkt0m9pt.js} +27 -27
- package/dist/chunks/{session-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{session-37gc27dg.js → persistent-pty-qnjyk5by.js} +46 -46
- package/dist/chunks/{session-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{session-nma959mg.js → persistent-pty-r2z489rp.js} +3 -3
- package/dist/chunks/{session-vfdqv3ee.js → persistent-pty-r66vvgts.js} +30 -30
- package/dist/chunks/{session-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/persistent-pty-rety19fn.js +517 -0
- package/dist/chunks/{session-rkprpv83.js → persistent-pty-rkprpv83.js} +2 -2
- package/dist/chunks/{session-6w6x9nqq.js → persistent-pty-rq7yc33n.js} +5 -5
- package/dist/chunks/{session-c2sed5cq.js → persistent-pty-rrt0a0ha.js} +3 -3
- package/dist/chunks/{session-52rp03wm.js → persistent-pty-rs9qg7cf.js} +11 -11
- package/dist/chunks/{session-7rwqf82v.js → persistent-pty-rzs3gq0x.js} +8 -8
- package/dist/chunks/{session-1j6m29mr.js → persistent-pty-s2z0d44b.js} +9 -9
- package/dist/chunks/{session-pk8zaavv.js → persistent-pty-s33waz5b.js} +24 -24
- package/dist/chunks/{session-p1r0ca3p.js → persistent-pty-s670sq9m.js} +8 -8
- package/dist/chunks/{session-esnzzcyr.js → persistent-pty-s6an5wth.js} +24 -24
- package/dist/chunks/{session-g54xzkr1.js → persistent-pty-sk770vk8.js} +30 -30
- package/dist/chunks/{session-pnkgzv4a.js → persistent-pty-sm301jd3.js} +5 -5
- package/dist/chunks/{session-scfcjeer.js → persistent-pty-sqk4q3nv.js} +11 -11
- package/dist/chunks/{session-ch2bk5zb.js → persistent-pty-sqmmasjp.js} +19 -19
- package/dist/chunks/{session-qvvs38aa.js → persistent-pty-sx8q409h.js} +50 -50
- package/dist/chunks/{session-bbgk03y5.js → persistent-pty-sxvetcyn.js} +25 -25
- package/dist/chunks/{session-syv4x271.js → persistent-pty-syv4x271.js} +1 -1
- package/dist/chunks/{session-qy65zb1j.js → persistent-pty-t1ndffwz.js} +8 -8
- package/dist/chunks/{session-q0p071b0.js → persistent-pty-t4b6mted.js} +2 -2
- package/dist/chunks/{session-35epk4r0.js → persistent-pty-t4q75hqt.js} +5 -5
- package/dist/chunks/{session-0gdmqesm.js → persistent-pty-t550f9t1.js} +4 -4
- package/dist/chunks/{session-8pwke1r9.js → persistent-pty-t7errb51.js} +6 -6
- package/dist/chunks/{session-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{session-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{session-p7rgkda9.js → persistent-pty-tcyndk34.js} +13 -13
- package/dist/chunks/{session-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{session-rert0e01.js → persistent-pty-tkb22qbm.js} +2 -2
- package/dist/chunks/{session-tm0kqsz3.js → persistent-pty-tm0kqsz3.js} +1 -1
- package/dist/chunks/{session-5yzzbxa7.js → persistent-pty-tpw6cwsb.js} +8 -8
- package/dist/chunks/{session-xycyqh7m.js → persistent-pty-tv4xwgy3.js} +15 -15
- package/dist/chunks/{session-edp3xafe.js → persistent-pty-ty2f7v9a.js} +10 -10
- package/dist/chunks/{session-tyytaxap.js → persistent-pty-tyytaxap.js} +1 -1
- package/dist/chunks/{session-c54tsqp9.js → persistent-pty-v40z4tye.js} +42 -42
- package/dist/chunks/{session-v7p4zvkq.js → persistent-pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{session-46nb00bf.js → persistent-pty-v9dvedb1.js} +13 -13
- package/dist/chunks/{session-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{session-nvqs6q9m.js → persistent-pty-vh14538p.js} +17 -17
- package/dist/chunks/{session-f79cx7ac.js → persistent-pty-vhgfq7sf.js} +17 -17
- package/dist/chunks/{session-xf4kanpa.js → persistent-pty-vpzmhxff.js} +4 -4
- package/dist/chunks/{session-pgyprfwm.js → persistent-pty-vqeemvyx.js} +15 -15
- package/dist/chunks/{session-jet15fae.js → persistent-pty-vqsk1a30.js} +23 -23
- package/dist/chunks/{session-kjdm35cs.js → persistent-pty-vrrq7v3g.js} +5 -5
- package/dist/chunks/{session-np3jyw33.js → persistent-pty-vy5j2tyc.js} +1 -1
- package/dist/chunks/{session-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{session-h0a2v749.js → persistent-pty-w1w1g3rz.js} +11 -11
- package/dist/chunks/{session-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{session-r4b54d4z.js → persistent-pty-w7vq87x6.js} +10 -10
- package/dist/chunks/{session-ve85v3xb.js → persistent-pty-wa9g86nq.js} +4 -4
- package/dist/chunks/{session-86qjnnqk.js → persistent-pty-wbk0qewy.js} +11 -11
- package/dist/chunks/{session-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{session-07770t2t.js → persistent-pty-wgahhr0x.js} +4 -4
- package/dist/chunks/{session-7t2yk244.js → persistent-pty-whb9jbcp.js} +13 -13
- package/dist/chunks/{session-5eek9100.js → persistent-pty-x39rm370.js} +21 -21
- package/dist/chunks/{session-3y377wv9.js → persistent-pty-x661k3y3.js} +4 -4
- package/dist/chunks/{session-ds55a4pt.js → persistent-pty-x6msxz42.js} +21 -21
- package/dist/chunks/{session-tx0gtb9m.js → persistent-pty-x8ga927e.js} +9 -9
- package/dist/chunks/{session-1bzr682y.js → persistent-pty-x9yke5vr.js} +11 -11
- package/dist/chunks/{session-d1ehftyt.js → persistent-pty-xaazkcd4.js} +17 -17
- package/dist/chunks/{session-xcd0eash.js → persistent-pty-xcd0eash.js} +1 -1
- package/dist/chunks/{session-78jd07r2.js → persistent-pty-xda8t08s.js} +15 -15
- package/dist/chunks/{session-5h49dtg2.js → persistent-pty-xnc4q7tf.js} +16 -16
- package/dist/chunks/{session-a7v5357x.js → persistent-pty-xxsrzv4p.js} +36 -36
- package/dist/chunks/{session-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{session-kj6j32wh.js → persistent-pty-y40k0vp3.js} +28 -28
- package/dist/chunks/{session-dpkg50ah.js → persistent-pty-y71avatq.js} +4 -4
- package/dist/chunks/{session-krh48cfp.js → persistent-pty-y8p4cb47.js} +15 -15
- package/dist/chunks/{session-baht5a7f.js → persistent-pty-ydkcdr9n.js} +28 -28
- package/dist/chunks/{session-c67h1spr.js → persistent-pty-ye0tt9gc.js} +1 -1
- package/dist/chunks/{session-6zw2r5dj.js → persistent-pty-yf9n42xk.js} +6 -6
- package/dist/chunks/{session-47jkzegy.js → persistent-pty-ygdna4kr.js} +5 -5
- package/dist/chunks/{session-yp2x3t23.js → persistent-pty-yp2x3t23.js} +1 -1
- package/dist/chunks/{session-x0yhpn32.js → persistent-pty-yysedm6f.js} +28 -28
- package/dist/chunks/{session-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{session-eesy0e1p.js → persistent-pty-z0gbbqnd.js} +24 -24
- package/dist/chunks/{session-z18fegx4.js → persistent-pty-z18fegx4.js} +1 -1
- package/dist/chunks/{session-q6zp2pqa.js → persistent-pty-zft5sqdw.js} +19 -19
- package/dist/chunks/{session-4m4myvej.js → persistent-pty-zjtrsxny.js} +5 -5
- package/dist/chunks/{session-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{session-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{session-r4c363na.js → persistent-pty-zz9094w6.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +121 -121
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -359
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +127 -127
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- 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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +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 +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +212 -212
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/session-15aq8qza.js +0 -257
- package/dist/chunks/session-vsdyktar.js +0 -18
- package/dist/chunks/session-xww13zgw.js +0 -26
- package/dist/chunks/session-zh95g90e.js +0 -517
- /package/dist/chunks/{session-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{session-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{session-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{session-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{session-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{session-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{session-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{session-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{session-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{session-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{session-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{session-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{session-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{session-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{session-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{session-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{session-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{session-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{session-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{session-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{session-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{session-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{session-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{session-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{session-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{session-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{session-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{session-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{session-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{session-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{session-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{session-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{session-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{session-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{session-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{session-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{session-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{session-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{session-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{session-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{session-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{session-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{session-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{session-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{session-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{session-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{session-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{session-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{session-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{session-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{session-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{session-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{session-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{session-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{session-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{session-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{session-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{session-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{session-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{session-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{session-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{session-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{session-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{session-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{session-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{session-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{session-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{session-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{session-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{session-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{session-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{session-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{session-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{session-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{session-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{session-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{session-pyv0edze.js → persistent-pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{session-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{session-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{session-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{session-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{session-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{session-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{session-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{session-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{session-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{session-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{session-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{session-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{session-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{session-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{session-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{session-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{session-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{session-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{session-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{session-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{session-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{session-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{session-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{session-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-g8mv3vbb.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service86,
|
|
12
12
|
node90
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-3h7b0ae1.js";
|
|
14
14
|
import {
|
|
15
15
|
Service85,
|
|
16
16
|
node89
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-hq42ga31.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-c41wscbt.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-c8ax2afj.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID16,
|
|
26
|
+
NotFoundError12
|
|
27
|
+
} from "./persistent-pty-qnjyk5by.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Ref4
|
|
30
|
+
} from "./persistent-pty-vh14538p.js";
|
|
31
31
|
import {
|
|
32
32
|
Service62,
|
|
33
33
|
node64
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./persistent-pty-vpzmhxff.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./persistent-pty-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service48
|
|
41
|
+
} from "./persistent-pty-na1s3jgb.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event10,
|
|
53
|
+
Info: () => Info14,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service47,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node50
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info14 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,11 +90,11 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event10 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service47 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service86;
|
|
100
100
|
const db = database.db;
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError12({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service48).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event10.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service47.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,8 +256,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node50 = Node.makeGlobalNode({
|
|
260
|
+
service: Service47,
|
|
261
261
|
layer,
|
|
262
262
|
deps: [FSUtil.node, node89, node90, AppProcess.node, node64]
|
|
263
263
|
});
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info14, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event10, Service47, node50, exports_worktree2, OperationError2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service63
|
|
4
|
+
} from "./persistent-pty-s6an5wth.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service71
|
|
8
|
+
} from "./persistent-pty-mxnmfhj8.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service39
|
|
12
|
+
} from "./persistent-pty-er69x7n9.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-rrt0a0ha.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service55
|
|
18
|
+
} from "./persistent-pty-6znwa2ze.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service58
|
|
22
|
+
} from "./persistent-pty-v40z4tye.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service23
|
|
25
|
+
} from "./persistent-pty-ep3f3pzc.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service9
|
|
31
|
+
} from "./persistent-pty-sqmmasjp.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input8,
|
|
40
|
+
Output: () => Output5,
|
|
41
|
+
Plugin: () => Plugin8,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description4,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name8
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name8 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input8 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input11 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output5 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin8 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service23;
|
|
93
|
+
const jobs = yield* Service55;
|
|
94
|
+
const agents = yield* Service63;
|
|
95
|
+
const config = yield* Service39;
|
|
96
|
+
const permission = yield* Service58;
|
|
97
|
+
const models = yield* Service71;
|
|
98
|
+
const subagents = yield* Service9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin13 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description4,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input8,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin13 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name8,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin13 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name8 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name8];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name8, Input8, Output5, description4, Plugin8, exports_subagent };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-hq42ga31.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-x661k3y3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID13,
|
|
14
|
+
Service73,
|
|
15
|
+
node76,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./persistent-pty-yysedm6f.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node84
|
|
21
|
+
} from "./persistent-pty-vh14538p.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -40,12 +40,12 @@ __export(exports_provider3, {
|
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
42
|
Event: () => Event17,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
43
|
+
ID: () => ID12,
|
|
44
|
+
Info: () => Info21,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service72,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node75,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -72,7 +72,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
74
|
import { Event as Event17 } from "@opencode/schema/provider";
|
|
75
|
-
var
|
|
75
|
+
var ID12 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -283,9 +283,9 @@ var Request3 = Provider.Request;
|
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info21 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service72 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,10 +298,10 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
301
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service85;
|
|
303
|
-
const integrations = yield*
|
|
304
|
-
const location = yield*
|
|
303
|
+
const integrations = yield* Service73;
|
|
304
|
+
const location = yield* Service81;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
307
307
|
initial: () => new Map,
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service72.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node75 = makeLocationNode({ service: Service72, layer, deps: [node89, node76, node84] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service72, node75, exports_provider3, Event17 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin31,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin31 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin29 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin31, exports_identity };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-t1ndffwz.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-1ffvrpkg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin22,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin22 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin20 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin20 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin22, exports_firecrawl };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node86
|
|
6
|
+
} from "./persistent-pty-g8mv3vbb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node84
|
|
10
|
+
} from "./persistent-pty-vh14538p.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make15
|
|
16
|
+
} from "./persistent-pty-q37amjjg.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service48,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node51
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service48 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service81;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make15;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service48.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node51 = makeLocationNode({
|
|
61
|
+
service: Service48,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node84, Global.node, node86, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service48, node51, exports_strategies };
|