@opencode/core 0.0.0-dev-20187 → 0.0.0-dev-20188
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{file-access-za77p82n.js → worktree-020j3mp2.js} +6 -6
- package/dist/chunks/{file-access-8gxqpgph.js → worktree-06x8he3q.js} +4 -4
- package/dist/chunks/{file-access-8d0p2m37.js → worktree-0kvqmx4f.js} +6 -6
- package/dist/chunks/worktree-0mesazry.js +4 -0
- package/dist/chunks/{file-access-c9mjmcgp.js → worktree-0pa72kx5.js} +3 -3
- package/dist/chunks/{file-access-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-pcmh8n4s.js → worktree-0rvaxq3r.js} +15 -15
- package/dist/chunks/{file-access-shcbc0mr.js → worktree-11qj5279.js} +47 -47
- package/dist/chunks/{file-access-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-zq6stcrg.js → worktree-1h80sv90.js} +5 -5
- package/dist/chunks/{file-access-9xe9qmj9.js → worktree-1hj8qdg9.js} +29 -29
- package/dist/chunks/{file-access-x8b8vvbw.js → worktree-1rrnyw52.js} +13 -13
- package/dist/chunks/{file-access-0ban4q7j.js → worktree-1vezjmp5.js} +16 -16
- package/dist/chunks/{file-access-dq0v80fr.js → worktree-20zz1ang.js} +8 -8
- package/dist/chunks/{file-access-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-mktjswcw.js → worktree-2320a07y.js} +33 -33
- package/dist/chunks/{file-access-2402vzrj.js → worktree-2402vzrj.js} +1 -1
- package/dist/chunks/{file-access-6ba3re5s.js → worktree-28dctkqw.js} +18 -18
- package/dist/chunks/{file-access-nb97snw5.js → worktree-29hn33b2.js} +13 -13
- package/dist/chunks/{file-access-b5jzj1yj.js → worktree-29w74my6.js} +4 -4
- package/dist/chunks/{file-access-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-fdth3mr3.js → worktree-2a6vj052.js} +10 -10
- package/dist/chunks/{file-access-ksear8pa.js → worktree-2ffy1121.js} +27 -27
- package/dist/chunks/{file-access-y4w844dc.js → worktree-2hf6az8f.js} +84 -84
- package/dist/chunks/{file-access-cnmnpfzq.js → worktree-2jvd2xkt.js} +46 -46
- package/dist/chunks/{file-access-9syxb0r3.js → worktree-2vjymgz4.js} +11 -11
- package/dist/chunks/{file-access-vfn0gt82.js → worktree-2w3tjptc.js} +5 -5
- package/dist/chunks/{file-access-gtecn56v.js → worktree-31ywg3jd.js} +14 -14
- package/dist/chunks/{file-access-mkd90k1k.js → worktree-32m0rg18.js} +14 -14
- package/dist/chunks/{file-access-mfqp6xfm.js → worktree-33w4ejhs.js} +9 -9
- package/dist/chunks/{file-access-ratrq7cm.js → worktree-34rkz0x9.js} +7 -7
- package/dist/chunks/{file-access-h6gdmyf8.js → worktree-3521mr9s.js} +26 -26
- package/dist/chunks/worktree-37xvps52.js +26 -0
- package/dist/chunks/{file-access-cfgmghb0.js → worktree-37z41h2b.js} +27 -27
- package/dist/chunks/{file-access-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-xz29hvcb.js → worktree-3pe3bqaw.js} +11 -11
- package/dist/chunks/{file-access-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-9924wf9r.js → worktree-3t5az78k.js} +10 -10
- package/dist/chunks/{file-access-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-3cfzdc8e.js → worktree-3w0fmcng.js} +5 -5
- package/dist/chunks/{file-access-3334155c.js → worktree-3z2pry7k.js} +8 -8
- package/dist/chunks/{file-access-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-access-4acqjqp7.js → worktree-484bq32a.js} +24 -24
- package/dist/chunks/{file-access-8skxcr47.js → worktree-4p0mh606.js} +12 -12
- package/dist/chunks/worktree-4v7qdvcn.js +18 -0
- package/dist/chunks/{file-access-wefk1wqt.js → worktree-4xwskevg.js} +44 -44
- package/dist/chunks/{file-access-337y9ajx.js → worktree-5445nesp.js} +14 -14
- package/dist/chunks/{file-access-0pr3hkd7.js → worktree-56dkfrzf.js} +4 -4
- package/dist/chunks/{file-access-57ez7d0k.js → worktree-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-access-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-95ep91d8.js → worktree-5gpad69q.js} +23 -23
- package/dist/chunks/{file-access-hr1w2mm6.js → worktree-5m20xtfs.js} +21 -21
- package/dist/chunks/{file-access-5jmp07yj.js → worktree-5pc61bqy.js} +28 -28
- package/dist/chunks/{file-access-e3qxr5gk.js → worktree-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-access-xxndcd6m.js → worktree-5qwkxp89.js} +4 -4
- package/dist/chunks/{file-access-t638vh07.js → worktree-5rbhaw37.js} +17 -17
- package/dist/chunks/{file-access-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{file-access-0h3wrvqa.js → worktree-6bh1zc7k.js} +1 -1
- package/dist/chunks/{file-access-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-s6cz2hhw.js → worktree-6q03a5wq.js} +19 -19
- package/dist/chunks/{file-access-x4sthz2w.js → worktree-6wqfvy1r.js} +21 -21
- package/dist/chunks/{file-access-xsxds6qn.js → worktree-70b2t1mc.js} +134 -134
- package/dist/chunks/{file-access-ww2xgyza.js → worktree-720pgjf4.js} +31 -31
- package/dist/chunks/{file-access-2rb43g2j.js → worktree-73rm0k6w.js} +1 -1
- package/dist/chunks/{file-access-mvfsc1pv.js → worktree-73tb2d7t.js} +3 -3
- package/dist/chunks/{file-access-qfwq9sf6.js → worktree-75w1k5vs.js} +16 -16
- package/dist/chunks/{file-access-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-4x8kksgb.js → worktree-7ebfd3s5.js} +11 -11
- package/dist/chunks/{file-access-ynz8wf59.js → worktree-7k4j4fqt.js} +27 -27
- package/dist/chunks/{file-access-1q0j3phs.js → worktree-7p71tqc9.js} +16 -16
- package/dist/chunks/{file-access-4e8vs6eh.js → worktree-7s451enq.js} +8 -8
- package/dist/chunks/{file-access-hrehjthg.js → worktree-7v9khnky.js} +8 -8
- package/dist/chunks/{file-access-qvrs9pm7.js → worktree-7wndjkhp.js} +40 -40
- package/dist/chunks/{file-access-18yef4q6.js → worktree-8695v8ev.js} +26 -26
- package/dist/chunks/{file-access-d5ggx3gj.js → worktree-87cgy5hv.js} +3 -3
- package/dist/chunks/{file-access-7rwqf82v.js → worktree-89bb6baa.js} +8 -8
- package/dist/chunks/{file-access-75gb3hq5.js → worktree-89z5ntxh.js} +5 -5
- package/dist/chunks/{file-access-5vrnswt1.js → worktree-8cv5adkj.js} +11 -11
- package/dist/chunks/{file-access-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-vx9wnsws.js → worktree-8k7kyfyn.js} +6 -6
- package/dist/chunks/{file-access-bdy3xwvm.js → worktree-8w5jxq7f.js} +9 -9
- package/dist/chunks/{file-access-f7zky7ve.js → worktree-8z6bjbtb.js} +22 -22
- package/dist/chunks/{file-access-94ek1h2f.js → worktree-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-access-bep57vhd.js → worktree-9f3zk6vx.js} +17 -17
- package/dist/chunks/{file-access-962mx99c.js → worktree-9kr90avb.js} +22 -22
- package/dist/chunks/{file-access-negvxphk.js → worktree-9me17b34.js} +39 -39
- package/dist/chunks/{file-access-e7b5xck2.js → worktree-9tefhynz.js} +8 -8
- package/dist/chunks/{file-access-6mvtq6c7.js → worktree-9zvrdw08.js} +16 -16
- package/dist/chunks/{file-access-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-k88pt7np.js → worktree-ajt6jt3w.js} +3 -3
- package/dist/chunks/{file-access-me78x99w.js → worktree-b24016yy.js} +42 -42
- package/dist/chunks/{file-access-wd1jg618.js → worktree-b2d04wat.js} +11 -11
- package/dist/chunks/{file-access-t8ssh1sh.js → worktree-b6bm2ck9.js} +16 -16
- package/dist/chunks/{file-access-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-mcg4cdmb.js → worktree-bbp6pymt.js} +33 -33
- package/dist/chunks/{file-access-z8ckggf1.js → worktree-be2558nw.js} +19 -19
- package/dist/chunks/{file-access-4w5bpbdf.js → worktree-be4hb00e.js} +6 -6
- package/dist/chunks/{file-access-j83wewfm.js → worktree-begby2a8.js} +20 -20
- package/dist/chunks/{file-access-9as0zx85.js → worktree-bh2nsqp8.js} +26 -26
- package/dist/chunks/{file-access-4p4fv3qj.js → worktree-bk66cvw8.js} +10 -10
- package/dist/chunks/{file-access-c3jkddnq.js → worktree-bp18y4ry.js} +6 -6
- package/dist/chunks/{file-access-3r09dpjk.js → worktree-bqkvb2j5.js} +4 -4
- package/dist/chunks/{file-access-tvve5xjy.js → worktree-c2pw6yvc.js} +4 -4
- package/dist/chunks/{file-access-zrfdpbnq.js → worktree-cahryj50.js} +17 -17
- package/dist/chunks/{file-access-t51qk8jz.js → worktree-cavr175a.js} +21 -21
- package/dist/chunks/{file-access-zsycvhqj.js → worktree-cd6xvapc.js} +7 -7
- package/dist/chunks/{file-access-ckecvw8r.js → worktree-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-access-k2w2e4qt.js → worktree-cp4cyprf.js} +3 -3
- package/dist/chunks/{file-access-pekdjahx.js → worktree-czczktcr.js} +9 -9
- package/dist/chunks/{file-access-frvysw6e.js → worktree-czx3r0mk.js} +13 -13
- package/dist/chunks/{file-access-j07veqf6.js → worktree-d1v6nj19.js} +32 -32
- package/dist/chunks/{file-access-z6p2s66k.js → worktree-d9j01kt6.js} +11 -11
- package/dist/chunks/{file-access-efq6bxpk.js → worktree-dh8jqdrh.js} +1 -1
- package/dist/chunks/{file-access-xfkkasph.js → worktree-drwq78ky.js} +4 -4
- package/dist/chunks/{file-access-efd5z8ny.js → worktree-dwn1dze5.js} +9 -9
- package/dist/chunks/{file-access-hb9qvk7n.js → worktree-e4jktww8.js} +34 -34
- package/dist/chunks/{file-access-3cbqyyyx.js → worktree-e7pxnx0w.js} +13 -13
- package/dist/chunks/{file-access-ecfe7b91.js → worktree-ecfe7b91.js} +2 -2
- package/dist/chunks/{file-access-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-27f0zk48.js → worktree-ezkyf0b6.js} +48 -48
- package/dist/chunks/{file-access-1acjjqhc.js → worktree-f2n192rq.js} +4 -4
- package/dist/chunks/{file-access-p2drbkg5.js → worktree-f2t31f47.js} +20 -20
- package/dist/chunks/{file-access-r4k1wyhr.js → worktree-fgq08y9p.js} +5 -5
- package/dist/chunks/{file-access-mce70z9k.js → worktree-fgxhpymv.js} +2 -2
- package/dist/chunks/{file-access-w9xbefsq.js → worktree-fknhp1f0.js} +19 -19
- package/dist/chunks/{file-access-p0b4ytnr.js → worktree-fvanntqq.js} +4 -4
- package/dist/chunks/{file-access-vttwzxbr.js → worktree-fwbkdqa5.js} +6 -6
- package/dist/chunks/{file-access-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-1mk6sdbt.js → worktree-gesdtaaj.js} +9 -9
- package/dist/chunks/{file-access-5cb5swh5.js → worktree-gjd67er9.js} +8 -8
- package/dist/chunks/{file-access-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-ec0abva6.js → worktree-gvx64vq2.js} +84 -84
- package/dist/chunks/{file-access-4sjwj7n7.js → worktree-gy2xc5tx.js} +19 -19
- package/dist/chunks/{file-access-rjsh0779.js → worktree-gy767g1q.js} +8 -8
- package/dist/chunks/{file-access-8jjtxg0s.js → worktree-h0syphj7.js} +24 -24
- package/dist/chunks/{file-access-h6r3nrb9.js → worktree-h6r3nrb9.js} +1 -1
- package/dist/chunks/{file-access-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-q98mvgyg.js → worktree-hbt46k8x.js} +13 -13
- package/dist/chunks/{file-access-mts3tp2a.js → worktree-hcpeyj26.js} +28 -28
- package/dist/chunks/{file-access-az20cacd.js → worktree-hgnyvjm7.js} +315 -315
- package/dist/chunks/{file-access-hcz3zddy.js → worktree-hnr5yq9h.js} +5 -5
- package/dist/chunks/worktree-hq0gjsme.js +252 -0
- package/dist/chunks/{file-access-0egx9fcg.js → worktree-j26sntzs.js} +12 -12
- package/dist/chunks/{file-access-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-bfpeh5ef.js → worktree-j9ayj4zc.js} +31 -31
- package/dist/chunks/{file-access-skrn7tyk.js → worktree-janr2w61.js} +10 -10
- package/dist/chunks/{file-access-09p5dswj.js → worktree-jnbt5kke.js} +32 -32
- package/dist/chunks/{file-access-nen0t6m1.js → worktree-jq2khwfm.js} +18 -18
- package/dist/chunks/{file-access-7f2vjcwv.js → worktree-jt1zekb2.js} +12 -12
- package/dist/chunks/{file-access-y71avatq.js → worktree-jwcy2c2z.js} +4 -4
- package/dist/chunks/{file-access-7z82321y.js → worktree-jxben73j.js} +11 -11
- package/dist/chunks/{file-access-31sqvd3m.js → worktree-k15ab44n.js} +6 -6
- package/dist/chunks/{file-access-k3c624dm.js → worktree-k3c624dm.js} +3 -3
- package/dist/chunks/{file-access-49exe669.js → worktree-k8hpw67k.js} +5 -5
- package/dist/chunks/{file-access-1gd8g1kd.js → worktree-kdw1p45x.js} +21 -21
- package/dist/chunks/{file-access-b8me5nm1.js → worktree-ke9wcgg9.js} +6 -6
- package/dist/chunks/{file-access-rxpah76v.js → worktree-kgkh60qc.js} +29 -29
- package/dist/chunks/{file-access-e9j2rb6f.js → worktree-kmntd6fa.js} +10 -10
- package/dist/chunks/{file-access-93g208q1.js → worktree-kqa3zwqq.js} +16 -16
- package/dist/chunks/{file-access-fhwwmt3w.js → worktree-kvdx9qh0.js} +25 -25
- package/dist/chunks/{file-access-z3nay82g.js → worktree-kw9xdzv2.js} +9 -9
- package/dist/chunks/{file-access-65p03r80.js → worktree-kwyat364.js} +30 -30
- package/dist/chunks/{file-access-a3r4dcrj.js → worktree-ky3seynh.js} +2 -2
- package/dist/chunks/{file-access-21z43ch8.js → worktree-m08wkhy0.js} +11 -11
- package/dist/chunks/{file-access-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-access-mxr1v1s0.js → worktree-m6f3t844.js} +8 -8
- package/dist/chunks/{file-access-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-vrpz8t5t.js → worktree-ma48de29.js} +5 -5
- package/dist/chunks/{file-access-qnshbhpz.js → worktree-mbycs7xn.js} +8 -8
- package/dist/chunks/{file-access-ahj96hsx.js → worktree-mc8dzm2m.js} +6 -6
- package/dist/chunks/{file-access-q9nke688.js → worktree-mdskkmyq.js} +15 -15
- package/dist/chunks/{file-access-yjgdj1z3.js → worktree-mfhjs9pf.js} +4 -4
- package/dist/chunks/{file-access-0jq9fyba.js → worktree-mkw5hrks.js} +9 -9
- package/dist/chunks/{file-access-mvksx64m.js → worktree-mvksx64m.js} +4 -4
- package/dist/chunks/{file-access-6jq3w683.js → worktree-mwtjvb3s.js} +53 -53
- package/dist/chunks/{file-access-2qq7qy34.js → worktree-mwz6j41z.js} +7 -7
- package/dist/chunks/{file-access-9jcbxg0k.js → worktree-mxjy4sk4.js} +14 -14
- package/dist/chunks/{file-access-m7ygnyv0.js → worktree-n093hytc.js} +74 -74
- package/dist/chunks/{file-access-x3avqwht.js → worktree-n1f7dk7k.js} +11 -11
- package/dist/chunks/{file-access-34d8h93h.js → worktree-n2fgpkxf.js} +17 -17
- package/dist/chunks/{file-access-hnwbm56y.js → worktree-n6yw1bmz.js} +4 -4
- package/dist/chunks/{file-access-1sbn9mmf.js → worktree-n79fjaqn.js} +14 -14
- package/dist/chunks/{file-access-v9pkbxww.js → worktree-n8epb2f3.js} +24 -24
- package/dist/chunks/{file-access-z9mg39zm.js → worktree-n99xb23m.js} +9 -9
- package/dist/chunks/{file-access-5h27d9rq.js → worktree-na68e3aj.js} +17 -17
- package/dist/chunks/{file-access-rjq7qqfa.js → worktree-naew6wv7.js} +43 -43
- package/dist/chunks/{file-access-118e1mbr.js → worktree-newx50ce.js} +3 -3
- package/dist/chunks/{file-access-qg0jgkcp.js → worktree-nscznvay.js} +9 -9
- package/dist/chunks/{file-access-z19z2vt9.js → worktree-nx4vh8py.js} +13 -13
- package/dist/chunks/{file-access-d2aac7k2.js → worktree-p44d8wdy.js} +5 -5
- package/dist/chunks/{file-access-906a7jx9.js → worktree-p4ngywjt.js} +3 -3
- package/dist/chunks/{file-access-154cngd0.js → worktree-p9g6edyn.js} +9 -9
- package/dist/chunks/{file-access-ksxfp18t.js → worktree-pcsd5hvp.js} +30 -30
- package/dist/chunks/{file-access-v4jzz8kz.js → worktree-pe8mbhm6.js} +9 -9
- package/dist/chunks/{file-access-hg429xeg.js → worktree-pewkkx94.js} +5 -5
- package/dist/chunks/{file-access-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pgwpntn4.js → worktree-pjzg4rs2.js} +4 -4
- package/dist/chunks/{file-access-me9yfmm8.js → worktree-pkbn8ntv.js} +2 -2
- package/dist/chunks/{file-access-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-wkwjecr6.js → worktree-pmpthfvp.js} +18 -18
- package/dist/chunks/{file-access-1258x4qk.js → worktree-pp758716.js} +3 -3
- package/dist/chunks/{file-access-k1s0srkb.js → worktree-pqjrvzcw.js} +11 -11
- package/dist/chunks/{file-access-m6yz57p5.js → worktree-ps7587j7.js} +21 -21
- package/dist/chunks/{file-access-8txb2b8x.js → worktree-q3eynse1.js} +9 -9
- package/dist/chunks/{file-access-2yf0aazv.js → worktree-qfhs05fv.js} +15 -15
- package/dist/chunks/{file-access-2k8khapm.js → worktree-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-access-r2m716tb.js → worktree-qmqgtz8f.js} +9 -9
- package/dist/chunks/{file-access-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-7nn57yq6.js → worktree-qt2a2r7m.js} +6 -6
- package/dist/chunks/{file-access-gpk600j1.js → worktree-qz02d4gv.js} +7 -7
- package/dist/chunks/{file-access-eb4gdybs.js → worktree-qzdhq6gs.js} +20 -20
- package/dist/chunks/{file-access-rw4r7gj7.js → worktree-qzzxwa2f.js} +11 -11
- package/dist/chunks/{file-access-ctsbw3ys.js → worktree-r7thwgs5.js} +16 -16
- package/dist/chunks/{file-access-tdhdvv51.js → worktree-ra57bp20.js} +9 -9
- package/dist/chunks/{file-access-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-zcdn9qkv.js → worktree-rfb9sreq.js} +46 -46
- package/dist/chunks/{file-access-rhjbct0v.js → worktree-rhjbct0v.js} +1 -1
- package/dist/chunks/{file-access-sb2mhttb.js → worktree-rk8vfsg9.js} +15 -15
- package/dist/chunks/{file-access-8sze2n9a.js → worktree-rkprpv83.js} +6 -6
- package/dist/chunks/{file-access-yw2ajja7.js → worktree-s3sfgg05.js} +1 -1
- package/dist/chunks/{file-access-drq6bgth.js → worktree-s4bg3x1g.js} +39 -39
- package/dist/chunks/{file-access-5zarf4w6.js → worktree-s61wkdxb.js} +11 -11
- package/dist/chunks/{file-access-jahf9mby.js → worktree-sf02ybzk.js} +31 -31
- package/dist/chunks/{file-access-pnqe9gv0.js → worktree-sfntmzm9.js} +1 -1
- package/dist/chunks/{file-access-zr4a2xz6.js → worktree-sg55x592.js} +48 -48
- package/dist/chunks/{file-access-5btey1ak.js → worktree-st0wxvz0.js} +10 -10
- package/dist/chunks/{file-access-1a6p2twq.js → worktree-sx1n432n.js} +4 -4
- package/dist/chunks/{file-access-xcd0eash.js → worktree-sxzvkvgj.js} +6 -6
- package/dist/chunks/{file-access-s9q1cvsk.js → worktree-t2h3929f.js} +18 -18
- package/dist/chunks/{file-access-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-gzq5apsj.js → worktree-tb1cafh6.js} +4 -4
- package/dist/chunks/{file-access-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-23a4zp69.js → worktree-tkv06rt5.js} +10 -10
- package/dist/chunks/{file-access-p37cw4rj.js → worktree-tpw6cwsb.js} +8 -8
- package/dist/chunks/{file-access-0trjvgwz.js → worktree-ttf2sjfk.js} +9 -9
- package/dist/chunks/{file-access-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-j34awfj4.js → worktree-txhsw5z1.js} +8 -8
- package/dist/chunks/{file-access-98zr84gz.js → worktree-v38nc8kc.js} +28 -28
- package/dist/chunks/{file-access-nddt17wd.js → worktree-vdgcnvxy.js} +15 -15
- package/dist/chunks/{file-access-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-4aq4ypfe.js → worktree-vf3zqv76.js} +27 -27
- package/dist/chunks/{file-access-p9p4b71m.js → worktree-vfkxywyq.js} +22 -22
- package/dist/chunks/{file-access-nfhxq8kb.js → worktree-vwwmtnca.js} +20 -20
- package/dist/chunks/{file-access-fjvydvzm.js → worktree-vyqn3nqs.js} +4 -4
- package/dist/chunks/{file-access-0gtypekj.js → worktree-vz9haa5b.js} +15 -15
- package/dist/chunks/{file-access-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-access-7gy1ktzc.js → worktree-w17508vf.js} +12 -12
- package/dist/chunks/{file-access-5982ss3w.js → worktree-w1j9nm09.js} +13 -13
- package/dist/chunks/{file-access-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-wd3x2cqz.js → worktree-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-access-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-hzmns3wg.js → worktree-wkx5ts7j.js} +1 -1
- package/dist/chunks/{file-access-ssfqen5b.js → worktree-x0sgcbm0.js} +23 -23
- package/dist/chunks/{file-access-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-0bp4e21p.js → worktree-x2fe1d14.js} +1 -1
- package/dist/chunks/{file-access-dwgwpymj.js → worktree-x5qaxq4m.js} +14 -14
- package/dist/chunks/{file-access-qje44bf3.js → worktree-x6pndzmr.js} +11 -11
- package/dist/chunks/{file-access-w7kk730q.js → worktree-x7a8dc8r.js} +33 -33
- package/dist/chunks/{file-access-sd5ayyvb.js → worktree-xhsn75b2.js} +10 -10
- package/dist/chunks/{file-access-xkntkrq7.js → worktree-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-access-f4mxeny4.js → worktree-xnrrqkxx.js} +7 -7
- package/dist/chunks/{file-access-jexxy024.js → worktree-xxynqx5z.js} +2 -2
- package/dist/chunks/{file-access-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-pdh0wy3m.js → worktree-y2d6hc89.js} +20 -20
- package/dist/chunks/{file-access-w5fm9rj9.js → worktree-y3ntbath.js} +15 -15
- package/dist/chunks/{file-access-akhdm1q5.js → worktree-y6yanky9.js} +16 -16
- package/dist/chunks/{file-access-vsx3errm.js → worktree-yhqrd6s3.js} +12 -12
- package/dist/chunks/{file-access-gas93twd.js → worktree-ykpsr87k.js} +33 -33
- package/dist/chunks/{file-access-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-s4enseaf.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{file-access-bm9d9rgc.js → worktree-yvppbn9c.js} +9 -9
- package/dist/chunks/{file-access-z07pqspn.js → worktree-z07pqspn.js} +3 -3
- package/dist/chunks/{file-access-ermxvwhp.js → worktree-z0aj456m.js} +4 -4
- package/dist/chunks/{file-access-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-e12qqq59.js → worktree-z2q1945k.js} +25 -25
- package/dist/chunks/{file-access-yp1ke19a.js → worktree-z4nhvzkj.js} +15 -15
- package/dist/chunks/{file-access-29x78va6.js → worktree-z63w68vq.js} +6 -6
- package/dist/chunks/{file-access-sea28k5q.js → worktree-za9cx4qh.js} +11 -11
- package/dist/chunks/{file-access-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-access-mvfdckk2.js → worktree-zz9f7sca.js} +6 -6
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +78 -78
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +80 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +92 -92
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +80 -80
- 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 +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/file-access-37gbyejr.js +0 -26
- package/dist/chunks/file-access-6kdq0pjd.js +0 -4
- package/dist/chunks/file-access-7fj5dwt0.js +0 -18
- package/dist/chunks/file-access-8bx98dp2.js +0 -252
- /package/dist/chunks/{file-access-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node87
|
|
4
|
+
} from "./worktree-x6pndzmr.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node86
|
|
8
|
+
} from "./worktree-n1f7dk7k.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-56dkfrzf.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load5
|
|
23
|
+
} from "./worktree-8cv5adkj.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./worktree-sfntmzm9.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-v38nc8kc.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./worktree-bqkvb2j5.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./worktree-fwbkdqa5.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./worktree-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./worktree-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./worktree-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service10,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer6,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node12,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer6 = Layer.effect(
|
|
301
|
+
var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service83;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service84).db;
|
|
@@ -377,7 +377,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
377
377
|
webSocket
|
|
378
378
|
});
|
|
379
379
|
};
|
|
380
|
-
const original = (sessionID) =>
|
|
380
|
+
const original = (sessionID) => load5(db, sessionID, "local").pipe(Effect.orDie);
|
|
381
381
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
382
382
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
383
383
|
const context = input.context;
|
|
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service10.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
618
|
+
var node12 = makeLocationNode({
|
|
619
|
+
service: Service10,
|
|
620
620
|
layer: layer6,
|
|
621
|
-
deps: [
|
|
621
|
+
deps: [node86, node87, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction3 };
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node87
|
|
4
|
+
} from "./worktree-x6pndzmr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service80,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-s61wkdxb.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
12
|
+
Service75,
|
|
13
13
|
node78
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-y6yanky9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID10,
|
|
17
|
+
Service70,
|
|
18
|
+
node73
|
|
19
|
+
} from "./worktree-5gpad69q.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-mwz6j41z.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-rhjbct0v.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-56dkfrzf.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-8cv5adkj.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service68,
|
|
34
|
+
node71
|
|
35
|
+
} from "./worktree-y3ntbath.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./worktree-ezkyf0b6.js";
|
|
39
39
|
import {
|
|
40
40
|
make13
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./worktree-qz02d4gv.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service52,
|
|
44
|
+
node54
|
|
45
|
+
} from "./worktree-h0syphj7.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service32,
|
|
48
|
+
node35
|
|
49
|
+
} from "./worktree-4p0mh606.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service44,
|
|
52
|
+
node46
|
|
53
|
+
} from "./worktree-8z6bjbtb.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service31,
|
|
56
|
+
node34
|
|
57
|
+
} from "./worktree-pcsd5hvp.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
59
|
+
Service30,
|
|
60
|
+
node33
|
|
61
|
+
} from "./worktree-kdw1p45x.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
63
|
+
Service36,
|
|
64
|
+
node39
|
|
65
|
+
} from "./worktree-9zvrdw08.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service27,
|
|
68
|
+
node31
|
|
69
|
+
} from "./worktree-1vezjmp5.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service28,
|
|
72
|
+
node32
|
|
73
|
+
} from "./worktree-n79fjaqn.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service34,
|
|
76
|
+
node37
|
|
77
|
+
} from "./worktree-v38nc8kc.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service41,
|
|
80
|
+
node43
|
|
81
|
+
} from "./worktree-1rrnyw52.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./worktree-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service26,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node30
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service26 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
97
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service70;
|
|
99
|
+
const builtins = yield* Service32;
|
|
100
|
+
const model = yield* Service75;
|
|
101
101
|
const db = (yield* Service84).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
102
|
+
const discovery = yield* Service52;
|
|
103
|
+
const entries = yield* Service28;
|
|
104
|
+
const location = yield* Service80;
|
|
105
|
+
const mcpInstructions = yield* Service30;
|
|
106
|
+
const mcpTools = yield* Service31;
|
|
107
|
+
const models = yield* Service41;
|
|
108
|
+
const request = yield* Service34;
|
|
109
|
+
const referenceInstructions = yield* Service36;
|
|
110
|
+
const skillInstructions = yield* Service27;
|
|
111
|
+
const store = yield* Service68;
|
|
112
|
+
const registry = yield* Service44;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID10.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service26.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node30 = makeLocationNode({
|
|
195
|
+
service: Service26,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
198
|
+
node73,
|
|
199
199
|
node78,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
200
|
+
node87,
|
|
201
|
+
node35,
|
|
202
|
+
node54,
|
|
203
|
+
node32,
|
|
204
204
|
node83,
|
|
205
|
+
node33,
|
|
206
|
+
node34,
|
|
207
|
+
node39,
|
|
205
208
|
node43,
|
|
206
|
-
node44,
|
|
207
209
|
node37,
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
node42,
|
|
212
|
-
node57
|
|
210
|
+
node71,
|
|
211
|
+
node31,
|
|
212
|
+
node46
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service26, node30, exports_context };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service56
|
|
7
|
+
} from "./worktree-naew6wv7.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service58
|
|
13
|
+
} from "./worktree-x0sgcbm0.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service43
|
|
16
|
+
} from "./worktree-5rbhaw37.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service67
|
|
19
|
+
} from "./worktree-ezkyf0b6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service21,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-9f3zk6vx.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./worktree-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service63,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./worktree-fknhp1f0.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service53
|
|
37
|
+
} from "./worktree-11qj5279.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./worktree-gvx64vq2.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./worktree-pjzg4rs2.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./worktree-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input10,
|
|
53
|
+
Plugin: () => Plugin12,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name10
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name10 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input10 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin12 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service24;
|
|
123
|
+
const jobs = yield* Service43;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service58;
|
|
126
|
+
const access = yield* Service21;
|
|
127
|
+
const shell = yield* Service53;
|
|
128
|
+
const shellSelect = yield* Service63;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service67;
|
|
131
|
+
const config = yield* Service56;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin46 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name10,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin46 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name10,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input10,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -206,7 +206,7 @@ var Plugin46 = {
|
|
|
206
206
|
const run = Effect.gen(function* () {
|
|
207
207
|
const result = yield* shell.result(info);
|
|
208
208
|
if (!result.capture)
|
|
209
|
-
return yield* new
|
|
209
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
210
210
|
const output = output2(result);
|
|
211
211
|
return {
|
|
212
212
|
...output,
|
|
@@ -220,7 +220,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
220
220
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
221
221
|
const job = yield* jobs.start({
|
|
222
222
|
id: info.id,
|
|
223
|
-
type:
|
|
223
|
+
type: name10,
|
|
224
224
|
title: info.command,
|
|
225
225
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
226
226
|
recovery: {
|
|
@@ -250,7 +250,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
250
250
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
const hook = (event) => Effect.gen(function* () {
|
|
253
|
-
const tool = event.tools[
|
|
253
|
+
const tool = event.tools[name10];
|
|
254
254
|
if (!tool)
|
|
255
255
|
return;
|
|
256
256
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -261,4 +261,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
261
261
|
})
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin12, exports_shell };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured13,
|
|
11
|
+
layer: () => layer26,
|
|
12
|
+
make: () => make23,
|
|
13
|
+
node: () => node88,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make23()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make23(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer26 = (input) => Layer.succeed(Metadata2, make23(input));
|
|
32
|
+
var configured13 = (input) => makeGlobalNode({ service: Metadata2, layer: layer26(input), deps: [] });
|
|
33
|
+
var node88 = configured13();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make23, useragent2, layer26, configured13, node88, exports_app };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-ezkyf0b6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin29
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin29 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin29, exports_plan };
|