@opencode/core 0.0.0-dev-20827 → 0.0.0-dev-20829
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 +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{instance-e55zmt9g.js → pty-0cnykqaq.js} +14 -14
- package/dist/chunks/{instance-p8kjk1y4.js → pty-0f36crf5.js} +57 -57
- package/dist/chunks/{instance-8pa4512d.js → pty-0hbbthgq.js} +5 -5
- package/dist/chunks/{instance-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{instance-x2h9ec76.js → pty-0vygd7f8.js} +21 -21
- package/dist/chunks/{instance-vct9a0jq.js → pty-0xcfrkz9.js} +13 -13
- package/dist/chunks/{instance-p37cw4rj.js → pty-1ajx6rf5.js} +8 -8
- package/dist/chunks/{instance-de4tk2kz.js → pty-1dmh880y.js} +16 -16
- package/dist/chunks/{instance-r3pqm3re.js → pty-1gpb38yh.js} +9 -9
- package/dist/chunks/{instance-w2h15q85.js → pty-1pxz8ven.js} +5 -5
- package/dist/chunks/{instance-kbvqrc92.js → pty-1qxv4gah.js} +18 -18
- package/dist/chunks/{instance-a7bcxdzj.js → pty-1rh4yqvv.js} +9 -9
- package/dist/chunks/{instance-pddvn4ak.js → pty-1sheza49.js} +39 -39
- package/dist/chunks/{instance-ecb995cy.js → pty-281xas1t.js} +20 -20
- package/dist/chunks/{instance-9y3hqzrg.js → pty-28rwbfbs.js} +18 -18
- package/dist/chunks/{instance-qgn6gcr1.js → pty-2k8khapm.js} +5 -5
- package/dist/chunks/{instance-fxt8cxhv.js → pty-2kpekj74.js} +29 -29
- package/dist/chunks/{instance-029pw59f.js → pty-2n79zsqk.js} +3 -3
- package/dist/chunks/{instance-z5pd7bnx.js → pty-2rqksdxh.js} +31 -31
- package/dist/chunks/{instance-2vvh33eb.js → pty-2vvh33eb.js} +2 -2
- package/dist/chunks/{instance-6mt73k75.js → pty-32cjn77w.js} +9 -9
- package/dist/chunks/{instance-pvb6eze4.js → pty-32tw229e.js} +18 -18
- package/dist/chunks/{instance-33rvgmcv.js → pty-33gphc4y.js} +2 -2
- package/dist/chunks/{instance-kb81nczd.js → pty-34dz50e5.js} +21 -21
- package/dist/chunks/{instance-txdkr3s4.js → pty-3f2jm17j.js} +11 -11
- package/dist/chunks/{instance-w8rbtm3j.js → pty-3fbg59cn.js} +16 -16
- package/dist/chunks/{instance-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-pt21w9jz.js → pty-3h6fbjms.js} +10 -10
- package/dist/chunks/{instance-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3hwn7j4h.js → pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{instance-9jaqn8p5.js → pty-3pkc36ya.js} +7 -7
- package/dist/chunks/{instance-eywxhyst.js → pty-3pq4wa5c.js} +9 -9
- package/dist/chunks/{instance-t93akgjb.js → pty-3qddgp4y.js} +27 -27
- package/dist/chunks/{instance-qh8vdwx1.js → pty-3rqkssp8.js} +6 -6
- package/dist/chunks/{instance-2dh2xdbt.js → pty-3s8fpsh7.js} +50 -50
- package/dist/chunks/{instance-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-zhtvqevc.js → pty-3zg7z3bw.js} +15 -15
- package/dist/chunks/{instance-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{instance-fbdvw7d5.js → pty-4qb8ma89.js} +29 -29
- package/dist/chunks/{instance-r2c0cc8a.js → pty-4rd96g3b.js} +18 -18
- package/dist/chunks/{instance-q1vnr78s.js → pty-4rt7dqfm.js} +5 -5
- package/dist/chunks/{instance-2ccvkpx1.js → pty-4ts7tf6z.js} +2 -2
- package/dist/chunks/{instance-kte28av3.js → pty-4wp3e6bz.js} +8 -8
- package/dist/chunks/{instance-acrgyb43.js → pty-4zyzs0ed.js} +23 -23
- package/dist/chunks/{instance-m8z4j9he.js → pty-508e6s6p.js} +4 -4
- package/dist/chunks/{instance-pe0vaf1g.js → pty-5315f502.js} +9 -9
- package/dist/chunks/{instance-gjwgx2c5.js → pty-5d607bsg.js} +9 -9
- package/dist/chunks/{instance-y7zbaxef.js → pty-5e3qmt7f.js} +1 -1
- package/dist/chunks/{instance-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{instance-hem2fds5.js → pty-5n9cp24j.js} +16 -16
- package/dist/chunks/{instance-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instance-r82vzbv4.js → pty-5xfmpj1j.js} +8 -8
- package/dist/chunks/{instance-1e3tja1f.js → pty-5zkvyedw.js} +30 -30
- package/dist/chunks/{instance-5kbwm9w7.js → pty-61r3a0pq.js} +3 -3
- package/dist/chunks/{instance-83gvq0ye.js → pty-62g730j6.js} +4 -4
- package/dist/chunks/{instance-3dxwnv9s.js → pty-62gtt4vs.js} +26 -26
- package/dist/chunks/{instance-6n70g1xh.js → pty-688cz1j9.js} +13 -13
- package/dist/chunks/{instance-jp4d7tph.js → pty-6dp5gy92.js} +6 -6
- package/dist/chunks/{instance-1agwckrn.js → pty-6h6xfm99.js} +11 -11
- package/dist/chunks/{instance-wmmcjnbx.js → pty-6ma4rgg5.js} +28 -28
- package/dist/chunks/{instance-12khtxcx.js → pty-6q9eydss.js} +5 -5
- package/dist/chunks/{instance-4v7ngy20.js → pty-6rm5yzkt.js} +4 -4
- package/dist/chunks/{instance-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{instance-rgec3vff.js → pty-736mwy1a.js} +33 -33
- package/dist/chunks/{instance-eebbcbg0.js → pty-75ejmma1.js} +7 -7
- package/dist/chunks/{instance-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-b487sczv.js → pty-7e6328vk.js} +7 -7
- package/dist/chunks/{instance-rkprpv83.js → pty-7fkffz83.js} +4 -4
- package/dist/chunks/{instance-vmg6wk38.js → pty-7g19e4tp.js} +91 -91
- package/dist/chunks/{instance-zqv63ykn.js → pty-7ssckh79.js} +11 -11
- package/dist/chunks/{instance-0trfysrn.js → pty-7twrzkxr.js} +20 -20
- package/dist/chunks/{instance-q1tvsmm7.js → pty-803mzads.js} +11 -11
- package/dist/chunks/{instance-yyn6mvd2.js → pty-816wh8nz.js} +13 -13
- package/dist/chunks/{instance-4ac1hn9f.js → pty-819j0yj5.js} +21 -21
- package/dist/chunks/{instance-a34xer23.js → pty-82ayfpam.js} +18 -18
- package/dist/chunks/{instance-rdec90m5.js → pty-835y4q1g.js} +13 -13
- package/dist/chunks/pty-882ve7ed.js +253 -0
- package/dist/chunks/{instance-5cj9vq0j.js → pty-8bzfeptx.js} +143 -143
- package/dist/chunks/{instance-48r0wrnn.js → pty-8fqzmfzp.js} +10 -10
- package/dist/chunks/{instance-8m6m0r52.js → pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{instance-3mtcg1ph.js → pty-8ppnx5kq.js} +3 -3
- package/dist/chunks/{instance-3smzvwmj.js → pty-9m0tzg6a.js} +12 -12
- package/dist/chunks/{instance-7mkz6cpd.js → pty-9p8g6ccm.js} +1 -1
- package/dist/chunks/{instance-gw7gqfev.js → pty-9q77khpg.js} +3 -3
- package/dist/chunks/{instance-zny7atnq.js → pty-9qgy8jr1.js} +9 -9
- package/dist/chunks/{instance-y81ryenr.js → pty-9xf5g41x.js} +32 -32
- package/dist/chunks/{instance-9wqt6yc5.js → pty-a053vxgn.js} +16 -16
- package/dist/chunks/{instance-eahhehpg.js → pty-a89e0tac.js} +4 -4
- package/dist/chunks/{instance-2c3anf0v.js → pty-a9vjqg87.js} +4 -4
- package/dist/chunks/{instance-32des0by.js → pty-af1eyefv.js} +32 -32
- package/dist/chunks/{instance-8wp5nj2m.js → pty-axbkptea.js} +2 -2
- package/dist/chunks/{instance-kb7tk14c.js → pty-az7915bh.js} +18 -18
- package/dist/chunks/{instance-47jkzegy.js → pty-b674v2dg.js} +5 -5
- package/dist/chunks/{instance-bxqk5pf5.js → pty-bxqk5pf5.js} +2 -2
- package/dist/chunks/{instance-es1vcfrp.js → pty-c1fqxshp.js} +3 -3
- package/dist/chunks/{instance-rq1k9zhx.js → pty-c2z82zd3.js} +4 -4
- package/dist/chunks/{instance-xatakwe1.js → pty-c84f5e61.js} +13 -13
- package/dist/chunks/{instance-c2kw168f.js → pty-cnhye612.js} +14 -14
- package/dist/chunks/{instance-fe39dvrz.js → pty-cyfy6ny6.js} +20 -20
- package/dist/chunks/{instance-5qw0f10w.js → pty-d57w54x3.js} +16 -16
- package/dist/chunks/{instance-pmdm3hax.js → pty-d5h7yrcx.js} +45 -45
- package/dist/chunks/{instance-ppc4rg1w.js → pty-dcy4apwd.js} +11 -11
- package/dist/chunks/{instance-h9y3gc81.js → pty-dffyxrs7.js} +18 -18
- package/dist/chunks/{instance-0t8zfa62.js → pty-djsf3ra4.js} +20 -20
- package/dist/chunks/{instance-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{instance-h70qh0pf.js → pty-drmqggy3.js} +8 -8
- package/dist/chunks/{instance-vjjaysxc.js → pty-drnf6xwf.js} +2 -2
- package/dist/chunks/{instance-6wmwxeyx.js → pty-dxep3sqh.js} +26 -26
- package/dist/chunks/{instance-4c1c6x0j.js → pty-dxx87avg.js} +17 -17
- package/dist/chunks/{instance-ynmknp8q.js → pty-dys7k0s0.js} +11 -11
- package/dist/chunks/{instance-nma959mg.js → pty-e80seqcp.js} +3 -3
- package/dist/chunks/{instance-06y773be.js → pty-e920mvbt.js} +28 -28
- package/dist/chunks/{instance-cfx9nmr8.js → pty-ebqxd2ph.js} +24 -24
- package/dist/chunks/{instance-eej6y6fw.js → pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{instance-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-73z18d76.js → pty-efbe88xk.js} +21 -21
- package/dist/chunks/{instance-dqrdxvr6.js → pty-es811akx.js} +17 -17
- package/dist/chunks/{instance-c667ea02.js → pty-ev663pnx.js} +3 -3
- package/dist/chunks/{instance-knx1mpgn.js → pty-extdh6e7.js} +17 -17
- package/dist/chunks/{instance-dx0ahrbs.js → pty-f2mw6jyj.js} +11 -11
- package/dist/chunks/{instance-wqzzjrnt.js → pty-f3zadn6b.js} +15 -15
- package/dist/chunks/{instance-skv3wcb4.js → pty-fd80m7p3.js} +34 -34
- package/dist/chunks/{instance-xzfz3f2s.js → pty-fqq9xsk7.js} +11 -11
- package/dist/chunks/{instance-fgem0d3n.js → pty-fqtvmpfq.js} +8 -8
- package/dist/chunks/{instance-610qr0kb.js → pty-fzd7gkan.js} +97 -97
- package/dist/chunks/{instance-xp066kac.js → pty-fzep1s2p.js} +13 -13
- package/dist/chunks/{instance-vrga0r6z.js → pty-g2x3q6j9.js} +19 -19
- package/dist/chunks/{instance-xt3y6wcz.js → pty-g3er6je0.js} +1 -1
- package/dist/chunks/{instance-dpk9s60g.js → pty-g7g2pdja.js} +4 -4
- package/dist/chunks/{instance-1359n4t6.js → pty-g8e6zt8f.js} +11 -11
- package/dist/chunks/{instance-w2ccq8fn.js → pty-g8yq79xy.js} +20 -20
- package/dist/chunks/pty-gb9jrr1j.js +26 -0
- package/dist/chunks/{instance-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-9mgbv78s.js → pty-gjscf0hp.js} +21 -21
- package/dist/chunks/{instance-gk8qb678.js → pty-gk8qb678.js} +1 -1
- package/dist/chunks/{instance-rzjekkwt.js → pty-gn2rf22p.js} +11 -11
- package/dist/chunks/{instance-gshs7jb6.js → pty-gncde6fa.js} +4 -4
- package/dist/chunks/{instance-gmxdk168.js → pty-gnp9y88q.js} +27 -27
- package/dist/chunks/{instance-pq5v3pd8.js → pty-gskmna2p.js} +25 -25
- package/dist/chunks/{instance-b7kxsjye.js → pty-gwkq74jr.js} +32 -32
- package/dist/chunks/{instance-kssbe8nb.js → pty-h64c4a83.js} +8 -8
- package/dist/chunks/{instance-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-7kxapdtj.js → pty-h6ztf8yp.js} +1 -1
- package/dist/chunks/{instance-h7s7r6s9.js → pty-h7s7r6s9.js} +2 -2
- package/dist/chunks/{instance-hgz4x7wa.js → pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{instance-hqhp0zxs.js → pty-hkffa77z.js} +4 -4
- package/dist/chunks/{instance-bz3703j4.js → pty-hnym75r4.js} +4 -4
- package/dist/chunks/{instance-2n295dmf.js → pty-hpfvhvya.js} +8 -8
- package/dist/chunks/{instance-91qna3x0.js → pty-j09zfasm.js} +3 -3
- package/dist/chunks/{instance-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-1zpxtp3m.js → pty-j7d1263c.js} +10 -10
- package/dist/chunks/{instance-qmkfnjtm.js → pty-jbt4rr2d.js} +42 -42
- package/dist/chunks/{instance-39t8n9ky.js → pty-jefh3zb1.js} +19 -19
- package/dist/chunks/{instance-d96awtdb.js → pty-jf6x9176.js} +14 -14
- package/dist/chunks/{instance-kch01m1z.js → pty-jtgbyr4a.js} +28 -28
- package/dist/chunks/{instance-ja6nd376.js → pty-jvcn2d3z.js} +61 -61
- package/dist/chunks/{instance-pgxhr7ry.js → pty-jzg6w2y0.js} +9 -9
- package/dist/chunks/{instance-vxn6q82b.js → pty-k1y0s7m5.js} +38 -38
- package/dist/chunks/{instance-zmzkayzc.js → pty-k1zym2rk.js} +21 -21
- package/dist/chunks/{instance-dpwn1cem.js → pty-k3m00qb7.js} +11 -11
- package/dist/chunks/{instance-wjsxeca6.js → pty-k4ek9np0.js} +15 -15
- package/dist/chunks/{instance-eewvv2kc.js → pty-kf5rw7j4.js} +46 -46
- package/dist/chunks/{instance-fxaymqdw.js → pty-khmqacep.js} +4 -4
- package/dist/chunks/{instance-8mxs6q5q.js → pty-kj20kd1j.js} +41 -41
- package/dist/chunks/{instance-gst7axd9.js → pty-kne8f3cn.js} +4 -4
- package/dist/chunks/{instance-z5b3en8r.js → pty-kr6f0vqs.js} +25 -25
- package/dist/chunks/{instance-gsxqm9kc.js → pty-ks0ccrx6.js} +8 -8
- package/dist/chunks/{instance-a28eztqj.js → pty-kxkrnkd5.js} +40 -40
- package/dist/chunks/{instance-qepgs3zw.js → pty-m2ca2kay.js} +10 -10
- package/dist/chunks/{instance-81fjg4yx.js → pty-m329mjby.js} +12 -12
- package/dist/chunks/{instance-11626hss.js → pty-m632hd4m.js} +15 -15
- package/dist/chunks/{instance-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-rkdvqggb.js → pty-ma48de29.js} +5 -5
- package/dist/chunks/{instance-0k1qxdkc.js → pty-mrhpe6wz.js} +9 -9
- package/dist/chunks/{instance-3ppptnan.js → pty-mx9vqzsb.js} +6 -6
- package/dist/chunks/{instance-kt2xfrns.js → pty-mxcn0d43.js} +77 -77
- package/dist/chunks/{instance-mxvxcxwy.js → pty-mxvxcxwy.js} +1 -1
- package/dist/chunks/{instance-hzrfc1p4.js → pty-my4zabxr.js} +3 -3
- package/dist/chunks/{instance-zgnxgcd3.js → pty-mzw0q7vr.js} +9 -9
- package/dist/chunks/{instance-zn53zvnm.js → pty-n8xxfej3.js} +32 -32
- package/dist/chunks/{instance-63a469gh.js → pty-na80sj88.js} +30 -30
- package/dist/chunks/{instance-vmw2309x.js → pty-nfs59v65.js} +30 -30
- package/dist/chunks/{instance-q7tf21sk.js → pty-ngjdjm4k.js} +12 -12
- package/dist/chunks/{instance-07jbz131.js → pty-ngvyj94h.js} +12 -12
- package/dist/chunks/{instance-j5q539aw.js → pty-nrekvyfh.js} +17 -17
- package/dist/chunks/{instance-111chvv6.js → pty-nv00r1cz.js} +3 -3
- package/dist/chunks/{instance-3c29hp53.js → pty-nyczhf3x.js} +4 -4
- package/dist/chunks/{instance-js94w814.js → pty-p0anqt4a.js} +33 -33
- package/dist/chunks/{instance-35xs4z06.js → pty-p8aeyc23.js} +25 -25
- package/dist/chunks/{instance-dd39q6h3.js → pty-pdc17wm4.js} +316 -316
- package/dist/chunks/{instance-xfewft5k.js → pty-pdz1473m.js} +2 -2
- package/dist/chunks/{instance-whjf4gy9.js → pty-pey5f48j.js} +1 -1
- package/dist/chunks/{instance-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{instance-68wqtz75.js → pty-pnzf6mjf.js} +1 -1
- package/dist/chunks/{instance-em38mb3z.js → pty-pwzbey2q.js} +50 -50
- package/dist/chunks/{instance-rq46pevd.js → pty-pxj76zhh.js} +36 -36
- package/dist/chunks/{instance-98pzc9xt.js → pty-py0hhzem.js} +30 -30
- package/dist/chunks/{instance-ht9x2vd6.js → pty-pzfg0ztk.js} +11 -11
- package/dist/chunks/{instance-0j77ygfz.js → pty-q0xm7vwc.js} +6 -6
- package/dist/chunks/{instance-r9dk3pzz.js → pty-q2v8m3fk.js} +13 -13
- package/dist/chunks/{instance-z25cqdnr.js → pty-qazrcecv.js} +11 -11
- package/dist/chunks/pty-qc068m1q.js +18 -0
- package/dist/chunks/{instance-v5c6barj.js → pty-qcya3rg4.js} +22 -22
- package/dist/chunks/{instance-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{instance-drwq78ky.js → pty-qqeeq2t9.js} +7 -7
- package/dist/chunks/{instance-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-6am9e49w.js → pty-qz98z2ah.js} +9 -9
- package/dist/chunks/{instance-yjbszvmy.js → pty-r44wx0p4.js} +14 -14
- package/dist/chunks/{instance-r2mctg0a.js → pty-r6pqh68g.js} +14 -14
- package/dist/chunks/{instance-54ma36ye.js → pty-r94pvvab.js} +4 -4
- package/dist/chunks/{instance-y85gn7vd.js → pty-razh9zgp.js} +36 -36
- package/dist/chunks/{instance-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-dgcvqrm7.js → pty-re8fv4z8.js} +6 -6
- package/dist/chunks/{instance-tkb22qbm.js → pty-rert0e01.js} +2 -2
- package/dist/chunks/{instance-c41wscbt.js → pty-rj3eygr5.js} +2 -2
- package/dist/chunks/{instance-h92pexg6.js → pty-rqjzxqxs.js} +11 -11
- package/dist/chunks/{instance-0pv72p9d.js → pty-rrcp1k08.js} +11 -11
- package/dist/chunks/{instance-52gfmpss.js → pty-rwa6rxfx.js} +10 -10
- package/dist/chunks/{instance-6xp5z83v.js → pty-rwc2pc3v.js} +11 -11
- package/dist/chunks/{instance-6hh8tjw2.js → pty-ryr25ayn.js} +4 -4
- package/dist/chunks/{instance-x113b0xz.js → pty-s08bddtt.js} +17 -17
- package/dist/chunks/{instance-j3gj8bpw.js → pty-s0c7z8s7.js} +20 -20
- package/dist/chunks/{instance-rbrz49bg.js → pty-s17w1n1e.js} +26 -26
- package/dist/chunks/{instance-mf3tt33a.js → pty-s1sr5m6z.js} +12 -12
- package/dist/chunks/{instance-j60gn3pj.js → pty-s80jrect.js} +20 -20
- package/dist/chunks/{instance-t550f9t1.js → pty-s8d7rejh.js} +4 -4
- package/dist/chunks/{instance-bz0esz96.js → pty-s8qr3ezm.js} +32 -32
- package/dist/chunks/{instance-f383z995.js → pty-s9435745.js} +25 -25
- package/dist/chunks/{instance-c8ax2afj.js → pty-sa8ekw3f.js} +2 -2
- package/dist/chunks/{instance-b3f8fkhc.js → pty-scgrse2b.js} +5 -5
- package/dist/chunks/{instance-1c29c2dv.js → pty-sdmzpsns.js} +34 -34
- package/dist/chunks/{instance-znfzh5t4.js → pty-sh68mvxb.js} +33 -33
- package/dist/chunks/{instance-syv4x271.js → pty-syv4x271.js} +1 -1
- package/dist/chunks/{instance-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-j1p9px45.js → pty-tbr92r1g.js} +13 -13
- package/dist/chunks/{instance-89znhe33.js → pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{instance-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{instance-x5h44zm2.js → pty-thtzhryg.js} +15 -15
- package/dist/chunks/{instance-sqhmztbs.js → pty-tsf8s7tw.js} +38 -38
- package/dist/chunks/{instance-tyytaxap.js → pty-tyytaxap.js} +1 -1
- package/dist/chunks/{instance-mfhppze3.js → pty-v01rw2zy.js} +23 -23
- package/dist/chunks/{instance-v0es1rhs.js → pty-v0es1rhs.js} +2 -2
- package/dist/chunks/{instance-y0afz0bn.js → pty-v68v43a8.js} +22 -22
- package/dist/chunks/{instance-v7p4zvkq.js → pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{instance-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-ng3918dk.js → pty-vh716j4k.js} +8 -8
- package/dist/chunks/{instance-rpwdzjd4.js → pty-vkp0w3yf.js} +14 -14
- package/dist/chunks/{instance-9vmcz4h6.js → pty-vqwz5fgy.js} +22 -22
- package/dist/chunks/{instance-kprj14vv.js → pty-vynmhvtw.js} +13 -13
- package/dist/chunks/{instance-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instance-kszv5zxs.js → pty-w0y00tyh.js} +15 -15
- package/dist/chunks/{instance-84txncab.js → pty-w1eejvng.js} +5 -5
- package/dist/chunks/{instance-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-5fec3t3w.js → pty-waskdk5r.js} +9 -9
- package/dist/chunks/{instance-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{instance-bjx1sjef.js → pty-wjr9rjd7.js} +6 -6
- package/dist/chunks/{instance-ykswskn7.js → pty-wjtb6svr.js} +32 -32
- package/dist/chunks/{instance-7n2qgph2.js → pty-wze0qs61.js} +28 -28
- package/dist/chunks/{instance-x36jn30v.js → pty-x24b9x88.js} +23 -23
- package/dist/chunks/{instance-k1n01d0g.js → pty-xbt9ga98.js} +18 -18
- package/dist/chunks/{instance-6hysr14g.js → pty-xkb1khsr.js} +26 -26
- package/dist/chunks/{instance-11dqjexa.js → pty-xrpg47n6.js} +9 -9
- package/dist/chunks/{instance-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-z5pgf1ry.js → pty-y94gemam.js} +10 -10
- package/dist/chunks/{instance-wn3t7bpb.js → pty-yak2w91k.js} +3 -3
- package/dist/chunks/{instance-c75knw3b.js → pty-yj1m88h6.js} +11 -11
- package/dist/chunks/{instance-153cwxcv.js → pty-ynnr5y5c.js} +4 -4
- package/dist/chunks/{instance-yp2x3t23.js → pty-yp2x3t23.js} +1 -1
- package/dist/chunks/{instance-3d182hk5.js → pty-ypeaesjs.js} +3 -3
- package/dist/chunks/{instance-1rn5pcm9.js → pty-yrcj3v3g.js} +4 -4
- package/dist/chunks/{instance-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-n9n1my3y.js → pty-z2sr2ytx.js} +11 -11
- package/dist/chunks/{instance-5nsk3cgd.js → pty-zjm5cem5.js} +18 -18
- package/dist/chunks/{instance-461nxmbv.js → pty-zmhzecev.js} +5 -5
- package/dist/chunks/{instance-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- 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/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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +102 -102
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +101 -101
- 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 +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- 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 +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +97 -97
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- 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 +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +92 -92
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +116 -116
- 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 +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- 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 +137 -137
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- 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 +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- 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 +109 -109
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/instance-5cvbdt3t.js +0 -253
- package/dist/chunks/instance-65q80m5k.js +0 -26
- package/dist/chunks/instance-by5v678g.js +0 -18
- /package/dist/chunks/{instance-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2bv980vf.js → pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-84wd9syh.js → pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-bw78ga2c.js → pty-bw78ga2c.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jze0r7bz.js → pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-m18g726c.js → pty-m18g726c.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-pkyv6v7h.js → pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instance-pyv0edze.js → pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service81
|
|
14
|
+
} from "./pty-cnhye612.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-0vygd7f8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin20,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin20 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service81;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin20, exports_git };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-3pkc36ya.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-pey5f48j.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./pty-1dmh880y.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-mxvxcxwy.js";
|
|
7
7
|
import {
|
|
8
8
|
Event18
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-xkb1khsr.js";
|
|
10
10
|
import {
|
|
11
11
|
ID12
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-a053vxgn.js";
|
|
13
13
|
import {
|
|
14
14
|
ID11,
|
|
15
15
|
Service65
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-28rwbfbs.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./pty-819j0yj5.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -27,7 +27,7 @@ var ModalPlugin2 = define({
|
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
29
|
const providers = yield* Service65;
|
|
30
|
-
const bus = yield*
|
|
30
|
+
const bus = yield* Service84;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,7 +62,7 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-pey5f48j.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-8ppnx5kq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./pty-mx9vqzsb.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-qc068m1q.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./pty-d5h7yrcx.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service45;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service53), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service83,
|
|
9
|
+
node87
|
|
10
|
+
} from "./pty-m329mjby.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service81,
|
|
13
|
+
node85
|
|
14
|
+
} from "./pty-cnhye612.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service49,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node51,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service49 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service83;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service81;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID5.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node51 = makeLocationNode({
|
|
153
|
+
service: Service49,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node87, Global.node, node85]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer3 = Layer.succeed(
|
|
157
|
+
var noopLayer3 = Layer.succeed(Service49, Service49.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer3 = Layer.succeed(Service52, Service52.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error3({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID5, Error3, Service49, node51, noopLayer3, exports_snapshot2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./pty-1dmh880y.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service71,
|
|
9
|
+
node75
|
|
10
|
+
} from "./pty-xkb1khsr.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-mxvxcxwy.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-dxep3sqh.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event15,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
40
|
ID: () => ID12,
|
|
41
41
|
Info: () => Info21,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
71
|
+
import { Event as Event15 } from "@opencode/schema/integration";
|
|
72
72
|
var ID12 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -113,8 +113,8 @@ var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
115
|
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
116
|
+
const credentials = yield* Service71;
|
|
117
|
+
const bus = yield* Service84;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -632,7 +632,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
632
632
|
var node69 = makeLocationNode({
|
|
633
633
|
service: Service66,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node75, node88, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service66, node69, exports_integration,
|
|
638
|
+
export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service66, node69, exports_integration, Event15 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./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: () => Plugin28,
|
|
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 Plugin28 = 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 Plugin11 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin28, exports_identity };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-fqq9xsk7.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./pty-cnhye612.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service27,
|
|
10
|
+
node30
|
|
11
|
+
} from "./pty-xbt9ga98.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./pty-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options4,
|
|
25
|
+
Service: () => Service26,
|
|
26
|
+
configured: () => configured4,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer12,
|
|
29
|
+
node: () => node29,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service26 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service26, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service81;
|
|
63
|
+
const ripgrep = yield* Service27;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service26.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service26, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service81;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service26.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service26.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer12 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service81;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured4(options) {
|
|
186
|
+
return makeLocationNode({ service: Service26, layer: layer12(options), deps: [node85, node30] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node29 = configured4();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options4, Service26, ripgrepLayer2, fffLayer2, layer12, configured4, node29, exports_search };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-3pkc36ya.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|