@opencode/core 0.0.0-dev-21059 → 0.0.0-dev-21062
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{agent-x39k8923.js → git-00b36z4k.js} +49 -49
- package/dist/chunks/{agent-3ke0h2vq.js → git-00kba7x3.js} +23 -23
- package/dist/chunks/{agent-3nt2w26v.js → git-02fz4yjj.js} +1 -1
- package/dist/chunks/{agent-9j3abkkx.js → git-08mr04zk.js} +3 -3
- package/dist/chunks/{agent-70y17xeh.js → git-0nde5ztd.js} +5 -5
- package/dist/chunks/{agent-qnmgnxnk.js → git-0qymy61s.js} +34 -34
- package/dist/chunks/{agent-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{agent-y06egy23.js → git-0wgmrba7.js} +13 -13
- package/dist/chunks/{agent-8jjtjp8k.js → git-0y0ec6ym.js} +50 -50
- package/dist/chunks/{agent-x2p9rnd2.js → git-0y6maag9.js} +30 -30
- package/dist/chunks/{agent-cp2e2e5x.js → git-133h4rxs.js} +13 -13
- package/dist/chunks/{agent-n7gz7dkb.js → git-161hqbep.js} +19 -19
- package/dist/chunks/{agent-zfm7v8bv.js → git-19720hhg.js} +11 -11
- package/dist/chunks/{agent-zvj6924a.js → git-1a515dmz.js} +5 -5
- package/dist/chunks/{agent-1acjjqhc.js → git-1acjjqhc.js} +1 -1
- package/dist/chunks/{agent-jfrhrggt.js → git-1e8qp1yh.js} +26 -26
- package/dist/chunks/{agent-1ffvrpkg.js → git-1ffvrpkg.js} +2 -2
- package/dist/chunks/{agent-7j38m80p.js → git-1hnmhrtt.js} +21 -21
- package/dist/chunks/{agent-w8frm7c7.js → git-1zz9rj5d.js} +5 -5
- package/dist/chunks/{agent-qwean1e1.js → git-2052heee.js} +14 -14
- package/dist/chunks/{agent-x4fsxtvp.js → git-27sw9x7x.js} +18 -18
- package/dist/chunks/{agent-npza5r50.js → git-28t5xsh3.js} +8 -8
- package/dist/chunks/{agent-vmbjch0v.js → git-28w77qnw.js} +13 -13
- package/dist/chunks/{agent-a3vhmvx0.js → git-2cahkbfy.js} +44 -44
- package/dist/chunks/{agent-vjjaysxc.js → git-2d0p9y9z.js} +2 -2
- package/dist/chunks/{agent-y4j9axvr.js → git-2gbz9bkd.js} +4 -4
- package/dist/chunks/{agent-07y8yssa.js → git-2qm80vd6.js} +13 -13
- package/dist/chunks/{agent-08fthye5.js → git-2tj3byjt.js} +43 -43
- package/dist/chunks/{agent-1zgm74j7.js → git-2z976w7f.js} +1 -1
- package/dist/chunks/{agent-9wpgc5d2.js → git-2zs3ps38.js} +17 -17
- package/dist/chunks/{agent-31xfzrxg.js → git-31xfzrxg.js} +2 -2
- package/dist/chunks/{agent-y7p2skpd.js → git-352j6603.js} +15 -15
- package/dist/chunks/{agent-1hj14pj4.js → git-39381q6g.js} +21 -21
- package/dist/chunks/{agent-ap7erzbb.js → git-3es4phk5.js} +41 -41
- package/dist/chunks/{agent-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{agent-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-84mt6kxk.js → git-3hk2ztfw.js} +10 -10
- package/dist/chunks/{agent-3hwn7j4h.js → git-3hwn7j4h.js} +2 -2
- package/dist/chunks/{agent-g8pbgkrs.js → git-3jq4fafe.js} +17 -17
- package/dist/chunks/{agent-n52ad204.js → git-3md19t04.js} +17 -17
- package/dist/chunks/{agent-an57bb0v.js → git-3rx778rd.js} +21 -14
- package/dist/chunks/{agent-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{agent-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{agent-z9tz5eek.js → git-3xn4xn8n.js} +6 -6
- package/dist/chunks/{agent-mxvxcxwy.js → git-3y377wv9.js} +4 -4
- package/dist/chunks/{agent-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{agent-p59b6n5j.js → git-4327w5ky.js} +11 -11
- package/dist/chunks/{agent-6g7e4dd5.js → git-4434d9q2.js} +9 -9
- package/dist/chunks/{agent-cnw0s3pm.js → git-4a2776we.js} +11 -11
- package/dist/chunks/{agent-sgz82gsd.js → git-4gw7zdme.js} +19 -19
- package/dist/chunks/{agent-tgvn7qv7.js → git-4kvk04s5.js} +8 -8
- package/dist/chunks/{agent-6r7wd4s9.js → git-4p6eznaa.js} +20 -20
- package/dist/chunks/{agent-t7rvx3z8.js → git-4q8aq0yj.js} +5 -5
- package/dist/chunks/{agent-73kdj4zj.js → git-4w5f3qm5.js} +8 -8
- package/dist/chunks/{agent-emtj3tbf.js → git-4yt2kt0b.js} +16 -16
- package/dist/chunks/{agent-mjc8m2em.js → git-510fpdjj.js} +34 -34
- package/dist/chunks/{agent-bh0zzf2s.js → git-52fpbh6z.js} +8 -8
- package/dist/chunks/{agent-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{agent-sqgae8e7.js → git-55s65rp4.js} +17 -17
- package/dist/chunks/{agent-3v1rmssb.js → git-58w8wmj1.js} +18 -18
- package/dist/chunks/{agent-yynp9xvp.js → git-59gkzr6d.js} +26 -26
- package/dist/chunks/{agent-j4mjvx72.js → git-5e3m6ttb.js} +16 -16
- package/dist/chunks/{agent-me8drbfe.js → git-5jebk2rh.js} +21 -21
- package/dist/chunks/{agent-dn7ydhqs.js → git-5jhv0vnb.js} +299 -299
- package/dist/chunks/{agent-5m9w47nd.js → git-5m9w47nd.js} +1 -1
- package/dist/chunks/{agent-vqd49qwt.js → git-5mnnp3cw.js} +47 -47
- package/dist/chunks/{agent-w1eqcter.js → git-5te1apv5.js} +29 -29
- package/dist/chunks/{agent-btjxhes9.js → git-5v8fgs5z.js} +16 -16
- package/dist/chunks/{agent-0datvkzx.js → git-5y1ssq42.js} +27 -27
- package/dist/chunks/{agent-3dacjcw5.js → git-63d46qpn.js} +12 -12
- package/dist/chunks/{agent-b8s5yqvg.js → git-64wjsvpw.js} +11 -11
- package/dist/chunks/{agent-mvnt7d01.js → git-66mwys5v.js} +9 -9
- package/dist/chunks/{agent-xryj725v.js → git-6ees7pqa.js} +5 -5
- package/dist/chunks/{agent-v0v9zhgd.js → git-6mp3ggm1.js} +34 -34
- package/dist/chunks/{agent-5sq35qhm.js → git-6n0ste9k.js} +20 -20
- package/dist/chunks/{agent-ww5bxnkm.js → git-6vmt1kdw.js} +13 -13
- package/dist/chunks/{agent-6xb47vfp.js → git-6xb47vfp.js} +1 -1
- package/dist/chunks/{agent-r8eecgca.js → git-747advjj.js} +20 -20
- package/dist/chunks/{agent-775gj3j1.js → git-775gj3j1.js} +2 -2
- package/dist/chunks/{agent-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-j55ztwk7.js → git-7bznv11x.js} +22 -22
- package/dist/chunks/{agent-fcrkznn8.js → git-7dqw4kz8.js} +5 -5
- package/dist/chunks/{agent-6k0cajn2.js → git-7kp85qqg.js} +11 -11
- package/dist/chunks/{agent-t59vet7a.js → git-7th6dh9e.js} +7 -7
- package/dist/chunks/{agent-0mp3yd4y.js → git-7vdkza44.js} +11 -11
- package/dist/chunks/{agent-m48ydh7z.js → git-7vtrn64f.js} +50 -50
- package/dist/chunks/{agent-gftv0dff.js → git-7wvrqce5.js} +19 -19
- package/dist/chunks/{agent-9t0y1ztz.js → git-7xe39psp.js} +3 -3
- package/dist/chunks/{agent-nhfjry95.js → git-8159bw5m.js} +26 -26
- package/dist/chunks/{agent-84txncab.js → git-84txncab.js} +1 -1
- package/dist/chunks/{agent-fx9jxwhh.js → git-89embc53.js} +6 -6
- package/dist/chunks/{agent-9656bada.js → git-8e2wevyg.js} +31 -31
- package/dist/chunks/{agent-4cx4cnzf.js → git-8jwr2qnf.js} +19 -19
- package/dist/chunks/{agent-8m6m0r52.js → git-8m6m0r52.js} +1 -1
- package/dist/chunks/{agent-fr4rxre2.js → git-8myf2bph.js} +29 -29
- package/dist/chunks/{agent-py3kkmfq.js → git-8sze2n9a.js} +6 -6
- package/dist/chunks/{agent-91qna3x0.js → git-91qna3x0.js} +3 -3
- package/dist/chunks/{agent-k6q0jycv.js → git-96k8c7ca.js} +35 -34
- package/dist/chunks/{agent-hmf6h8tj.js → git-9bb8qht6.js} +14 -14
- package/dist/chunks/{agent-1k68ks32.js → git-9hke9rzz.js} +1 -1
- package/dist/chunks/{agent-pz17d9xg.js → git-9rqfv6yv.js} +5 -5
- package/dist/chunks/{agent-120mm9fe.js → git-9tv8kj20.js} +23 -23
- package/dist/chunks/{agent-bv8c7vet.js → git-a09dvcfs.js} +9 -9
- package/dist/chunks/{agent-e314xmzp.js → git-a16f6bk4.js} +2 -2
- package/dist/chunks/{agent-f5gzyxsv.js → git-a8037f1v.js} +3 -3
- package/dist/chunks/{agent-tvktx62v.js → git-aj2sbhs3.js} +3 -3
- package/dist/chunks/{agent-76gx3gef.js → git-asvx1cy5.js} +43 -43
- package/dist/chunks/{agent-475aaysq.js → git-at7t4gwn.js} +5 -5
- package/dist/chunks/{agent-s5bmn3fh.js → git-at87fsc1.js} +30 -30
- package/dist/chunks/{agent-13egsp17.js → git-azh057g0.js} +16 -16
- package/dist/chunks/{agent-st9476f7.js → git-b6an89mh.js} +24 -24
- package/dist/chunks/{agent-m341j4am.js → git-bcys5w9d.js} +20 -20
- package/dist/chunks/{agent-1mh1r30f.js → git-bv2ny28d.js} +14 -14
- package/dist/chunks/{agent-es1vcfrp.js → git-c1fqxshp.js} +3 -3
- package/dist/chunks/{agent-40ze75wf.js → git-c4nsn6b8.js} +32 -32
- package/dist/chunks/{agent-a49by44p.js → git-c7rx12mq.js} +10 -10
- package/dist/chunks/{agent-j88gsrc2.js → git-c872t358.js} +6 -6
- package/dist/chunks/{agent-3zst7r5n.js → git-chgyesm2.js} +4 -4
- package/dist/chunks/{agent-4at5033j.js → git-chhj7fee.js} +32 -32
- package/dist/chunks/{agent-bb86f272.js → git-cm5f7pma.js} +11 -11
- package/dist/chunks/{agent-0vk3wfpr.js → git-cmqxwqzx.js} +5 -5
- package/dist/chunks/{agent-7j2vym7r.js → git-ct2atp7x.js} +34 -24
- package/dist/chunks/{agent-pxnnf3sj.js → git-ct331857.js} +10 -10
- package/dist/chunks/{agent-ft3hqk2c.js → git-cwa6csj7.js} +9 -9
- package/dist/chunks/{agent-yrcj3v3g.js → git-d2czbp48.js} +4 -4
- package/dist/chunks/{agent-9ejc3kek.js → git-d69z9xpr.js} +11 -11
- package/dist/chunks/{agent-7zpkz1ag.js → git-djyswthr.js} +35 -35
- package/dist/chunks/{agent-rrd63aa5.js → git-dmecs3pv.js} +21 -21
- package/dist/chunks/{agent-25zgp73e.js → git-dnn66tcs.js} +30 -30
- package/dist/chunks/{agent-y71avatq.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/{agent-dqxsqydv.js → git-dqxsqydv.js} +1 -1
- package/dist/chunks/{agent-ykn3eabp.js → git-ds58hxpb.js} +38 -38
- package/dist/chunks/{agent-tpw6cwsb.js → git-dv1qgsyq.js} +8 -8
- package/dist/chunks/{agent-176qrfyr.js → git-e67s7wnb.js} +8 -8
- package/dist/chunks/{agent-r2z489rp.js → git-e80seqcp.js} +3 -3
- package/dist/chunks/{agent-qbas706v.js → git-e9v5qsfh.js} +17 -17
- package/dist/chunks/{agent-eej6y6fw.js → git-eej6y6fw.js} +2 -2
- package/dist/chunks/{agent-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-gza6rqz1.js → git-eq1gkzp1.js} +9 -9
- package/dist/chunks/{agent-7q9429tc.js → git-etnbc6at.js} +14 -14
- package/dist/chunks/{agent-c96shp8w.js → git-ev8bzsg1.js} +7 -7
- package/dist/chunks/{agent-ycw2k4m5.js → git-f78dsz6n.js} +11 -11
- package/dist/chunks/git-f81tjggh.js +18 -0
- package/dist/chunks/{agent-0dq5ytza.js → git-fe2th2wh.js} +4 -4
- package/dist/chunks/{agent-p68t7hkv.js → git-fe40c1g9.js} +158 -158
- package/dist/chunks/{agent-tf2nhsz8.js → git-fh3h2rrs.js} +11 -11
- package/dist/chunks/{agent-x6ekcm9n.js → git-fn9hs14h.js} +4 -4
- package/dist/chunks/{agent-hfbyhya8.js → git-fww2ha2b.js} +9 -9
- package/dist/chunks/{agent-fxaymqdw.js → git-fxaymqdw.js} +1 -1
- package/dist/chunks/{agent-n3df6fgn.js → git-fyn09b5n.js} +64 -64
- package/dist/chunks/{agent-57myy5jh.js → git-g6yfr6ja.js} +5 -5
- package/dist/chunks/{agent-t5yst9z9.js → git-g97vj1p3.js} +7 -7
- package/dist/chunks/{agent-59pb1bst.js → git-ga0xp5gq.js} +73 -73
- package/dist/chunks/{agent-ns8hhn76.js → git-gayeec0v.js} +7 -7
- package/dist/chunks/{agent-t9157dv5.js → git-gd01rr9s.js} +23 -23
- package/dist/chunks/{agent-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{agent-3e3ts2k0.js → git-ge8zn40h.js} +6 -6
- package/dist/chunks/{agent-v73vpk9k.js → git-geje6z9c.js} +5 -5
- package/dist/chunks/{agent-x05pdjgt.js → git-gjcxsqdv.js} +11 -11
- package/dist/chunks/{agent-6fcpqzzd.js → git-gpqws9nq.js} +4 -4
- package/dist/chunks/{agent-70acndry.js → git-gwcrv1gc.js} +47 -47
- package/dist/chunks/{agent-q519ga1a.js → git-gyxaygr4.js} +44 -44
- package/dist/chunks/{agent-azndqj98.js → git-h1n9eedh.js} +13 -13
- package/dist/chunks/{agent-qpqsqxka.js → git-h1wet0ag.js} +22 -22
- package/dist/chunks/{agent-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{agent-hgz4x7wa.js → git-hgz4x7wa.js} +1 -1
- package/dist/chunks/{agent-71byd0nn.js → git-hjwvg3qx.js} +40 -39
- package/dist/chunks/{agent-2ryng5r3.js → git-hkffa77z.js} +4 -4
- package/dist/chunks/{agent-b99nrxjj.js → git-hqbqqsx7.js} +23 -23
- package/dist/chunks/{agent-bbgs6xmq.js → git-j85zdcpy.js} +14 -14
- package/dist/chunks/{agent-xp6nq9tj.js → git-j9tkb0kk.js} +78 -78
- package/dist/chunks/{agent-4py5fpra.js → git-jnrq1n4d.js} +38 -38
- package/dist/chunks/{agent-43m0923n.js → git-jq5qpyxf.js} +20 -20
- package/dist/chunks/{agent-j6gr24hv.js → git-jt1egq2b.js} +13 -13
- package/dist/chunks/{agent-8920dkqx.js → git-jw0xc3ac.js} +136 -136
- package/dist/chunks/{agent-rc0eda3w.js → git-jx6k168v.js} +7 -7
- package/dist/chunks/{agent-mxabp7zc.js → git-jyc9d1z3.js} +18 -18
- package/dist/chunks/{agent-hrcr6mwe.js → git-k1am5yw9.js} +11 -11
- package/dist/chunks/{agent-pdz643x3.js → git-kckqmhre.js} +10 -10
- package/dist/chunks/{agent-bxdp1qj4.js → git-kdazpp6j.js} +30 -30
- package/dist/chunks/{agent-c1ezcj9p.js → git-kftjr2e3.js} +13 -13
- package/dist/chunks/{agent-hy5rne45.js → git-kprygma0.js} +24 -24
- package/dist/chunks/{agent-kwb1v3vj.js → git-kwb1v3vj.js} +1 -1
- package/dist/chunks/{agent-26c5b08v.js → git-m7xf8rkm.js} +22 -22
- package/dist/chunks/{agent-p68x8en9.js → git-m9pkn1rm.js} +17 -17
- package/dist/chunks/{agent-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-pqk7fwvb.js → git-mafhwm8q.js} +9 -9
- package/dist/chunks/{agent-maspj1v3.js → git-maspj1v3.js} +1 -1
- package/dist/chunks/{agent-acgt48p6.js → git-mnns84tq.js} +22 -22
- package/dist/chunks/{agent-v7m0z00c.js → git-mqzqahne.js} +10 -10
- package/dist/chunks/{agent-0v56fe9p.js → git-mshkz34v.js} +8 -8
- package/dist/chunks/{agent-q88xdd0q.js → git-myzt0ztr.js} +13 -13
- package/dist/chunks/{agent-fbq8j98h.js → git-n0freqwz.js} +14 -14
- package/dist/chunks/{agent-z0aj456m.js → git-n2srvep7.js} +4 -4
- package/dist/chunks/{agent-phz50fbd.js → git-nd4tfyg0.js} +9 -9
- package/dist/chunks/{agent-npw39rc8.js → git-npw39rc8.js} +3 -3
- package/dist/chunks/{agent-axn1dk7m.js → git-nx34zgwq.js} +17 -17
- package/dist/chunks/{agent-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{agent-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{agent-fbeb1wa5.js → git-pmexrvbd.js} +11 -11
- package/dist/chunks/{agent-dwm3anjr.js → git-pvkdhk7d.js} +24 -24
- package/dist/chunks/{agent-6hk8xqds.js → git-q39cs03p.js} +4 -4
- package/dist/chunks/{agent-ryr25ayn.js → git-qa3qhgw8.js} +4 -4
- package/dist/chunks/{agent-qe7caw4f.js → git-qh6v5qqy.js} +30 -30
- package/dist/chunks/{agent-qnc92qwc.js → git-qnc92qwc.js} +1 -1
- package/dist/chunks/{agent-hk5w54gx.js → git-qnjzkknc.js} +9 -9
- package/dist/chunks/{agent-58dzcpvt.js → git-qpm7s57z.js} +11 -11
- package/dist/chunks/{agent-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{agent-c9e0ykqz.js → git-r186t613.js} +28 -28
- package/dist/chunks/{agent-10mgaypy.js → git-r81t6b6n.js} +11 -11
- package/dist/chunks/{agent-yf1wa02y.js → git-raz7n7tw.js} +7 -7
- package/dist/chunks/{agent-xx5ebepc.js → git-rbpvdgf0.js} +8 -8
- package/dist/chunks/{agent-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{agent-tkb22qbm.js → git-rert0e01.js} +2 -2
- package/dist/chunks/{agent-c41wscbt.js → git-rj3eygr5.js} +2 -2
- package/dist/chunks/{agent-v2mxr9ph.js → git-rr1z7ahj.js} +20 -20
- package/dist/chunks/{agent-q159fzra.js → git-rybfjp7a.js} +15 -15
- package/dist/chunks/{agent-5ffyefh4.js → git-s84ry3mb.js} +11 -11
- package/dist/chunks/{agent-rhjbct0v.js → git-s8d7rejh.js} +4 -4
- package/dist/chunks/{agent-c8ax2afj.js → git-sa8ekw3f.js} +2 -2
- package/dist/chunks/{agent-b3f8fkhc.js → git-scgrse2b.js} +5 -5
- package/dist/chunks/{agent-g6ncrc2a.js → git-ssaywjka.js} +14 -14
- package/dist/chunks/{agent-gwkjka7r.js → git-ssf4yhs8.js} +10 -10
- package/dist/chunks/{agent-kzcb1jca.js → git-svvm20fx.js} +5 -5
- package/dist/chunks/{agent-syv4x271.js → git-syv4x271.js} +1 -1
- package/dist/chunks/{agent-sz15zhhw.js → git-sz15zhhw.js} +1 -1
- package/dist/chunks/{agent-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{agent-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{agent-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{agent-tm0kqsz3.js → git-tm0kqsz3.js} +1 -1
- package/dist/chunks/{agent-3aqvrwqh.js → git-ts0sm5wa.js} +3 -3
- package/dist/chunks/{agent-rwm5vee1.js → git-ttqh24zm.js} +4 -4
- package/dist/chunks/{agent-09dwq0k8.js → git-ttqw03tt.js} +8 -8
- package/dist/chunks/{agent-tyytaxap.js → git-tyytaxap.js} +1 -1
- package/dist/chunks/{agent-vn5kn1xa.js → git-v3qh3xqk.js} +15 -5
- package/dist/chunks/{agent-v7p4zvkq.js → git-v7p4zvkq.js} +2 -2
- package/dist/chunks/{agent-zy43x3f1.js → git-ve85v3xb.js} +4 -4
- package/dist/chunks/{agent-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-wjtwcy2c.js → git-vhnmz40v.js} +13 -13
- package/dist/chunks/{agent-k8z8vrp8.js → git-vkjty8zp.js} +5 -5
- package/dist/chunks/{agent-hzrfc1p4.js → git-vpm8vpz0.js} +3 -3
- package/dist/chunks/{agent-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{agent-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-d3x6x8ct.js → git-w6gd0mvv.js} +23 -23
- package/dist/chunks/{agent-wgahhr0x.js → git-w6zk8pbt.js} +8 -8
- package/dist/chunks/{agent-3770a3t0.js → git-w91axksf.js} +10 -10
- package/dist/chunks/{agent-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{agent-j0mtf0c9.js → git-wjk3jbnn.js} +44 -44
- package/dist/chunks/{agent-r365gfv3.js → git-wtk2ksb2.js} +24 -24
- package/dist/chunks/{agent-2tba787a.js → git-wwx8h3qn.js} +9 -9
- package/dist/chunks/{agent-2cz1eswr.js → git-x2hbrvsn.js} +4 -4
- package/dist/chunks/{agent-fkhcryxm.js → git-x61k1gv7.js} +9 -9
- package/dist/chunks/{agent-xfkkasph.js → git-xfkkasph.js} +1 -1
- package/dist/chunks/{agent-tdqj5rj9.js → git-xj1aydcy.js} +5 -5
- package/dist/chunks/{agent-9yxrcrk2.js → git-xq7d7py0.js} +22 -22
- package/dist/chunks/{agent-6tw9cd06.js → git-xt6nrjvw.js} +15 -15
- package/dist/chunks/{agent-pnzf6mjf.js → git-xybefm6f.js} +1 -1
- package/dist/chunks/{agent-6g1cr3nb.js → git-xyq213da.js} +12 -12
- package/dist/chunks/{agent-2dw3jvkf.js → git-y0p3px76.js} +22 -22
- package/dist/chunks/{agent-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{agent-df900zta.js → git-y1gc13fs.js} +13 -13
- package/dist/chunks/{agent-yesqerhw.js → git-y32r5m3m.js} +5 -5
- package/dist/chunks/{agent-598gff9k.js → git-y3m021e8.js} +31 -31
- package/dist/chunks/{agent-dvep9rg9.js → git-y54hr7f3.js} +9 -9
- package/dist/chunks/{agent-h71w788e.js → git-y56ehv6b.js} +9 -9
- package/dist/chunks/{agent-fn4x26t7.js → git-y8jmcg8k.js} +4 -4
- package/dist/chunks/{agent-r5wgqceq.js → git-yf4jcbx9.js} +6 -6
- package/dist/chunks/{agent-7mq7nmkg.js → git-yrw4mpv0.js} +12 -12
- package/dist/chunks/{agent-8ytc3qm4.js → git-ytcapqcx.js} +19 -19
- package/dist/chunks/{agent-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-b8n2r79a.js → git-z44656xp.js} +35 -35
- package/dist/chunks/{agent-gj71zhbs.js → git-z6c3x22d.js} +5 -5
- package/dist/chunks/{agent-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{agent-mw9nhf2x.js → git-zt0d3ekd.js} +3 -3
- package/dist/chunks/{agent-desw8mjx.js → git-zvm05j0q.js} +27 -27
- package/dist/chunks/{agent-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- 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 +73 -73
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +92 -92
- 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 +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +357 -357
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +354 -354
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- 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 +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- 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 +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 +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- 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 +4 -4
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -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 +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -167
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- 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 +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +84 -84
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- 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 +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- 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 +222 -222
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- 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 +15 -15
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +95 -95
- 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 +126 -126
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +204 -204
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +204 -204
- package/dist/tool/plugin/webfetch.js +112 -112
- 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 +14 -14
- package/dist/types/model.d.ts +3 -0
- package/dist/types/variant.d.ts +3 -0
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- 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 +96 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +76 -76
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +87 -87
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/agent-n95b3jav.js +0 -18
- /package/dist/chunks/{agent-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{agent-2bv980vf.js → git-2bv980vf.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-84wd9syh.js → git-84wd9syh.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hcxmzztb.js → git-hcxmzztb.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jze0r7bz.js → git-jze0r7bz.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-m18g726c.js → git-m18g726c.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-pkyv6v7h.js → git-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{agent-pyv0edze.js → git-pyv0edze.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-ve7vex1e.js → git-ve7vex1e.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wjj7prxr.js → git-wjj7prxr.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-s8d7rejh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-c1fqxshp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-c4nsn6b8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID7,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info17,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-96k8c7ca.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID7.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info17.make({
|
|
98
|
+
...Info17.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID7.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./git-y54hr7f3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./git-yf4jcbx9.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-f81tjggh.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service72
|
|
15
|
+
} from "./git-4w5f3qm5.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-aj2sbhs3.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
22
|
Service45
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-28t5xsh3.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service54;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service72;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service51;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID10,
|
|
3
|
+
Info20,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-vpm8vpz0.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service85,
|
|
11
11
|
node89
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-zt0d3ekd.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service84,
|
|
16
|
+
node88
|
|
17
|
+
} from "./git-n0freqwz.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./git-00b36z4k.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service54,
|
|
24
|
+
node56
|
|
25
|
+
} from "./git-yf4jcbx9.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./git-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./git-c1fqxshp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node57
|
|
34
|
+
} from "./git-zvm05j0q.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./git-hkffa77z.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./git-y1gc13fs.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node42
|
|
47
|
+
} from "./git-161hqbep.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node60
|
|
51
|
+
} from "./git-qpm7s57z.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./git-aj2sbhs3.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service71,
|
|
68
|
+
node75
|
|
69
|
+
} from "./git-2052heee.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service57,
|
|
72
|
+
node59
|
|
73
|
+
} from "./git-4yt2kt0b.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service52,
|
|
76
|
+
node55
|
|
77
|
+
} from "./git-jnrq1n4d.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./git-775gj3j1.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service42,
|
|
83
|
+
node45
|
|
84
|
+
} from "./git-a09dvcfs.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./git-mqzqahne.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./git-3xn4xn8n.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service74,
|
|
93
|
+
node78
|
|
94
|
+
} from "./git-fh3h2rrs.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
99
|
Service32,
|
|
100
100
|
node35
|
|
101
|
-
} from "./
|
|
101
|
+
} from "./git-0y0ec6ym.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service47,
|
|
104
|
+
node50
|
|
105
|
+
} from "./git-52fpbh6z.js";
|
|
106
106
|
import {
|
|
107
107
|
make14
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./git-at87fsc1.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./git-4a2776we.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./git-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,9 +123,9 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID10,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info20,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
@@ -148,24 +148,24 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
151
|
+
var ListInput3 = ListInput5;
|
|
152
152
|
class Service31 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
154
|
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service85;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service84;
|
|
159
|
+
const projects = yield* Service79;
|
|
160
|
+
const execution = yield* Service52;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
162
|
+
const transport = yield* Service42;
|
|
163
|
+
const store = yield* Service71;
|
|
164
|
+
const instances = yield* Service54;
|
|
165
165
|
const moves = yield* Service32;
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
166
|
+
const jobs = yield* Service57;
|
|
167
|
+
const environments = yield* Service47;
|
|
168
|
+
const locations = yield* Service74;
|
|
169
169
|
const sessions = yield* make14();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
171
|
const result = Service31.of({
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service54, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service54, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -331,22 +331,22 @@ var node34 = Node.makeGlobalNode({
|
|
|
331
331
|
service: Service31,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node59,
|
|
335
|
+
node50,
|
|
336
336
|
node89,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
337
|
+
node88,
|
|
338
|
+
node83,
|
|
339
|
+
node55,
|
|
340
|
+
node45,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
342
|
+
node75,
|
|
343
|
+
node56,
|
|
344
|
+
node57,
|
|
345
345
|
node35,
|
|
346
|
-
|
|
347
|
-
|
|
346
|
+
node42,
|
|
347
|
+
node78,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node60
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-zt0d3ekd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./git-n0freqwz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service57,
|
|
11
|
+
node59
|
|
12
|
+
} from "./git-4yt2kt0b.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service54,
|
|
15
|
+
node56
|
|
16
|
+
} from "./git-yf4jcbx9.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./git-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service53
|
|
26
|
+
} from "./git-ttqh24zm.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service71,
|
|
29
|
+
node75
|
|
30
|
+
} from "./git-2052heee.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-svvm20fx.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./git-zvm05j0q.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./git-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service52,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer20,
|
|
47
|
+
node: () => node55,
|
|
48
|
+
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service52 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
62
|
+
var layer20 = Layer.effect(Service52, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service71;
|
|
64
|
+
const instances = yield* Service54;
|
|
65
|
+
const bus = yield* Service84;
|
|
66
|
+
const jobs = yield* Service57;
|
|
67
67
|
const db = (yield* Service85).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,7 +76,7 @@ var layer24 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service53.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -104,7 +104,7 @@ var layer24 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service52.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer24 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node55 = makeGlobalNode({
|
|
127
|
+
service: Service52,
|
|
128
|
+
layer: layer20,
|
|
129
|
+
deps: [node75, node56, node88, node89, node59]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service52, Service52.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service60, Service60.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service52, terminal2, layer20, node55, noopLayer2, exports_execution };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./git-63d46qpn.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service75,
|
|
16
|
+
node79
|
|
17
|
+
} from "./git-3hk2ztfw.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service50,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node53,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service50 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service80;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service75;
|
|
110
|
+
return Service50.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node53 = makeGlobalNode({
|
|
171
|
+
service: Service50,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node79]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service50, isError2, validateBranch2, node53, exports_repository_cache };
|