@opencode/core 0.0.0-dev-21289 → 0.0.0-dev-21307
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 +75 -75
- package/dist/chunks/{model-retry-7cx595n2.js → repository-cache-045nn9pc.js} +4 -4
- package/dist/chunks/{model-retry-f82ss59t.js → repository-cache-04se7enf.js} +5 -5
- package/dist/chunks/{model-retry-j8jw8bvb.js → repository-cache-0ar81yxa.js} +24 -24
- package/dist/chunks/{model-retry-461nxmbv.js → repository-cache-0cg871e2.js} +5 -5
- package/dist/chunks/{model-retry-fwgra7yh.js → repository-cache-0dq0w1jq.js} +8 -8
- package/dist/chunks/{model-retry-1pr61bwh.js → repository-cache-0f8kejsb.js} +20 -20
- package/dist/chunks/{model-retry-rhjbct0v.js → repository-cache-0gdmqesm.js} +4 -4
- package/dist/chunks/{model-retry-bkb01ez0.js → repository-cache-0rytgdhm.js} +45 -45
- package/dist/chunks/{model-retry-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-retry-rf6pfzwp.js → repository-cache-161qchch.js} +1 -1
- package/dist/chunks/{model-retry-3hskxyfj.js → repository-cache-1b45vsnf.js} +16 -16
- package/dist/chunks/{model-retry-3pw8htx8.js → repository-cache-1d5acrpd.js} +1 -1
- package/dist/chunks/{model-retry-ydma693n.js → repository-cache-1n1cqex2.js} +19 -19
- package/dist/chunks/{model-retry-zkkxzzm7.js → repository-cache-1n5bn1zm.js} +19 -19
- package/dist/chunks/{model-retry-jq37yr04.js → repository-cache-1r08b1ze.js} +11 -11
- package/dist/chunks/repository-cache-1x11rq2a.js +18 -0
- package/dist/chunks/{model-retry-3htr7rzc.js → repository-cache-1xcax4md.js} +23 -23
- package/dist/chunks/{model-retry-ekp1j1b5.js → repository-cache-1yek6bdb.js} +23 -23
- package/dist/chunks/{model-retry-t39p8j64.js → repository-cache-20tcdtxb.js} +13 -13
- package/dist/chunks/{model-retry-k6jeefta.js → repository-cache-213xhah1.js} +6 -6
- package/dist/chunks/{model-retry-qj8x2vxm.js → repository-cache-21fhc1jw.js} +8 -8
- package/dist/chunks/{model-retry-13xvemqm.js → repository-cache-2hmm1e15.js} +21 -21
- package/dist/chunks/{model-retry-pp4zh5st.js → repository-cache-2kpvexxf.js} +192 -192
- package/dist/chunks/{model-retry-tz70ab5q.js → repository-cache-2r2p8fzx.js} +28 -28
- package/dist/chunks/{model-retry-nentvqe9.js → repository-cache-2xfc23b2.js} +24 -24
- package/dist/chunks/{model-retry-bhey597w.js → repository-cache-314kp7wc.js} +25 -25
- package/dist/chunks/{model-retry-jcjcjx0t.js → repository-cache-36ceq5gy.js} +12 -12
- package/dist/chunks/{model-retry-cccr210v.js → repository-cache-3cs3gdnf.js} +29 -29
- package/dist/chunks/{model-retry-3tnvd6qs.js → repository-cache-3frchmgr.js} +27 -27
- package/dist/chunks/{model-retry-s56kzkqb.js → repository-cache-3g0wgjny.js} +25 -25
- package/dist/chunks/{model-retry-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-3hwn7j4h.js → repository-cache-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-retry-m6pj9s11.js → repository-cache-3k5zc895.js} +5 -5
- package/dist/chunks/{model-retry-9p4ckb4p.js → repository-cache-3mkjzvwp.js} +6 -6
- package/dist/chunks/{model-retry-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-retry-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-retry-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-retry-5ze9zbmh.js → repository-cache-4r9nnegq.js} +23 -23
- package/dist/chunks/{model-retry-gx4mz6q7.js → repository-cache-4rjz15yc.js} +53 -53
- package/dist/chunks/{model-retry-9amv0j2y.js → repository-cache-4xahkvr1.js} +22 -22
- package/dist/chunks/{model-retry-eaz4frst.js → repository-cache-4y6kwa1w.js} +14 -14
- package/dist/chunks/{model-retry-rr55ymyq.js → repository-cache-52bg0ad9.js} +30 -30
- package/dist/chunks/{model-retry-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
- package/dist/chunks/{model-retry-xagp7a1s.js → repository-cache-56chjs90.js} +18 -18
- package/dist/chunks/{model-retry-wp3yb7k0.js → repository-cache-593nqyk2.js} +11 -11
- package/dist/chunks/{model-retry-m9c6r0nn.js → repository-cache-59m3023s.js} +13 -13
- package/dist/chunks/{model-retry-61pea42y.js → repository-cache-5cd6vznj.js} +8 -8
- package/dist/chunks/{model-retry-heq5p5e1.js → repository-cache-5d10bvnq.js} +4 -4
- package/dist/chunks/{model-retry-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-b724djfs.js → repository-cache-5mv65mph.js} +12 -12
- package/dist/chunks/{model-retry-87pge11c.js → repository-cache-5w4193mt.js} +62 -62
- package/dist/chunks/{model-retry-m0z9j2xs.js → repository-cache-5zh2xrv1.js} +37 -37
- package/dist/chunks/{model-retry-6827pfxn.js → repository-cache-6827pfxn.js} +1 -1
- package/dist/chunks/{model-retry-paykg90t.js → repository-cache-68kcj400.js} +32 -32
- package/dist/chunks/{model-retry-xjt2m7da.js → repository-cache-69wpfr64.js} +6 -6
- package/dist/chunks/{model-retry-1th0nyd1.js → repository-cache-6dg8hvxd.js} +18 -18
- package/dist/chunks/{model-retry-cm7k2cvd.js → repository-cache-6mwbv2j4.js} +11 -11
- package/dist/chunks/{model-retry-fxjva6qe.js → repository-cache-6t9tjhsk.js} +3 -3
- package/dist/chunks/{model-retry-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-retry-jv6mm5r1.js → repository-cache-6yncxzed.js} +11 -11
- package/dist/chunks/{model-retry-kjdm35cs.js → repository-cache-6yz0wx8n.js} +5 -5
- package/dist/chunks/{model-retry-e4m4ah41.js → repository-cache-76ehfx7y.js} +43 -43
- package/dist/chunks/{model-retry-775gj3j1.js → repository-cache-775gj3j1.js} +2 -2
- package/dist/chunks/{model-retry-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-fx6hsjqx.js → repository-cache-7cd0cd1q.js} +15 -15
- package/dist/chunks/{model-retry-7dqw4kz8.js → repository-cache-7dqw4kz8.js} +1 -1
- package/dist/chunks/{model-retry-0svm4j11.js → repository-cache-7ep8m250.js} +11 -11
- package/dist/chunks/{model-retry-99wvww9h.js → repository-cache-7sdjsr81.js} +21 -21
- package/dist/chunks/{model-retry-mq044fh7.js → repository-cache-7yyqgw31.js} +13 -13
- package/dist/chunks/{model-retry-f1kd18ve.js → repository-cache-80gay8fv.js} +4 -4
- package/dist/chunks/{model-retry-84txncab.js → repository-cache-84txncab.js} +1 -1
- package/dist/chunks/{model-retry-4psrcf1w.js → repository-cache-86m4f4y9.js} +4 -4
- package/dist/chunks/repository-cache-87b1qs38.js +517 -0
- package/dist/chunks/{model-retry-cv3t9aez.js → repository-cache-8bk6jfgk.js} +11 -11
- package/dist/chunks/{model-retry-c4zg4w5q.js → repository-cache-8eb4w425.js} +17 -17
- package/dist/chunks/repository-cache-8egray66.js +26 -0
- package/dist/chunks/{model-retry-vjh35t9b.js → repository-cache-8hht930z.js} +16 -16
- package/dist/chunks/{model-retry-8m6m0r52.js → repository-cache-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-retry-8mywswrd.js → repository-cache-8mywswrd.js} +1 -1
- package/dist/chunks/{model-retry-dxqvx2bd.js → repository-cache-8qk5d3q5.js} +28 -28
- package/dist/chunks/{model-retry-892mrmp0.js → repository-cache-8s4zq5p9.js} +8 -8
- package/dist/chunks/{model-retry-197b73fz.js → repository-cache-8xebk442.js} +43 -43
- package/dist/chunks/{model-retry-9pf7je19.js → repository-cache-8z19p36t.js} +3 -3
- package/dist/chunks/{model-retry-fqqv62af.js → repository-cache-92e46w1f.js} +16 -16
- package/dist/chunks/{model-retry-gcsxsjs6.js → repository-cache-92m64p6f.js} +18 -18
- package/dist/chunks/{model-retry-7sp0jpsz.js → repository-cache-95ncemsy.js} +9 -9
- package/dist/chunks/{model-retry-7fccas0j.js → repository-cache-9fkx84pm.js} +33 -33
- package/dist/chunks/{model-retry-s3j5qb0t.js → repository-cache-9mwy3bj8.js} +18 -18
- package/dist/chunks/{model-retry-7v6vae4w.js → repository-cache-a20pjse5.js} +3 -3
- package/dist/chunks/{model-retry-v7z2bvyd.js → repository-cache-a2rpfkac.js} +4 -4
- package/dist/chunks/{model-retry-z3ammv4w.js → repository-cache-abshngws.js} +17 -17
- package/dist/chunks/{model-retry-5mrmcz26.js → repository-cache-ahgrg4fe.js} +37 -37
- package/dist/chunks/{model-retry-sz6fjq3m.js → repository-cache-atfxxx72.js} +5 -5
- package/dist/chunks/{model-retry-v91zw3m9.js → repository-cache-avhvgy5k.js} +14 -14
- package/dist/chunks/{model-retry-wn3g4ypj.js → repository-cache-axharnyz.js} +28 -28
- package/dist/chunks/{model-retry-ebs8qv75.js → repository-cache-azxbdxcx.js} +10 -10
- package/dist/chunks/{model-retry-ktbcyka7.js → repository-cache-b07jp80w.js} +4 -4
- package/dist/chunks/{model-retry-km5jseh3.js → repository-cache-b2492xjg.js} +27 -27
- package/dist/chunks/{model-retry-120g7207.js → repository-cache-b3pexw4z.js} +5 -5
- package/dist/chunks/{model-retry-5c6h6vqc.js → repository-cache-b47jeb7t.js} +9 -9
- package/dist/chunks/{model-retry-4n984778.js → repository-cache-b89y6y9w.js} +32 -32
- package/dist/chunks/{model-retry-fqyqba4e.js → repository-cache-bb4j8mte.js} +18 -18
- package/dist/chunks/{model-retry-wksg1me0.js → repository-cache-bghdg7bn.js} +22 -22
- package/dist/chunks/{model-retry-cnn1wj5a.js → repository-cache-bwva9967.js} +47 -47
- package/dist/chunks/{model-retry-bzeyqsqd.js → repository-cache-bzeyqsqd.js} +1 -1
- package/dist/chunks/{model-retry-c1fqxshp.js → repository-cache-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-retry-2k0hjz8m.js → repository-cache-c38fscx1.js} +4 -4
- package/dist/chunks/{model-retry-6vmd7p6h.js → repository-cache-c63mpyjp.js} +10 -10
- package/dist/chunks/{model-retry-ft3hqk2c.js → repository-cache-c765mh8b.js} +9 -9
- package/dist/chunks/{model-retry-pfzgmgqq.js → repository-cache-cyd8k6yp.js} +30 -30
- package/dist/chunks/{model-retry-r0ena7ce.js → repository-cache-cyzjpqgc.js} +25 -25
- package/dist/chunks/{model-retry-fc3q91nw.js → repository-cache-d0ky7b2n.js} +41 -41
- package/dist/chunks/{model-retry-gchapswt.js → repository-cache-d0m33awg.js} +11 -11
- package/dist/chunks/{model-retry-ftfbzs9m.js → repository-cache-d4ex4t7m.js} +29 -29
- package/dist/chunks/{model-retry-cbrfz1mf.js → repository-cache-d5n8aweh.js} +31 -31
- package/dist/chunks/{model-retry-an6q6vkd.js → repository-cache-dn36g5j0.js} +28 -28
- package/dist/chunks/{model-retry-qwemz3ha.js → repository-cache-dp622nh3.js} +21 -21
- package/dist/chunks/{model-retry-y71avatq.js → repository-cache-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-retry-1ze9gtzp.js → repository-cache-dqkkx36v.js} +4 -4
- package/dist/chunks/{model-retry-fw7x2wjw.js → repository-cache-drfn6gwd.js} +6 -6
- package/dist/chunks/{model-retry-57b9ws8p.js → repository-cache-drwq78ky.js} +5 -5
- package/dist/chunks/{model-retry-e3jwh7ys.js → repository-cache-dsc6dxmh.js} +4 -4
- package/dist/chunks/{model-retry-2g47h04h.js → repository-cache-e1mscf3d.js} +27 -27
- package/dist/chunks/{model-retry-nma959mg.js → repository-cache-e80seqcp.js} +3 -3
- package/dist/chunks/{model-retry-eej6y6fw.js → repository-cache-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-retry-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-retry-xhhxc1wd.js → repository-cache-f1mpmm74.js} +5 -5
- package/dist/chunks/{model-retry-gxfsy275.js → repository-cache-f1qq7sr1.js} +4 -4
- package/dist/chunks/{model-retry-67zw56js.js → repository-cache-f78sms3n.js} +32 -32
- package/dist/chunks/{model-retry-8h4b0cs1.js → repository-cache-f8k7tqpr.js} +20 -20
- package/dist/chunks/{model-retry-fcy631f0.js → repository-cache-fcy631f0.js} +1 -1
- package/dist/chunks/{model-retry-kzqw00rs.js → repository-cache-fkkvv55g.js} +16 -16
- package/dist/chunks/{model-retry-b27vhd2z.js → repository-cache-fm2qvscf.js} +4 -4
- package/dist/chunks/{model-retry-4vk656gf.js → repository-cache-fnkj6y17.js} +11 -11
- package/dist/chunks/{model-retry-y3qxx51z.js → repository-cache-frp158f6.js} +9 -9
- package/dist/chunks/{model-retry-zsg3hbgq.js → repository-cache-fyv9rghq.js} +3 -3
- package/dist/chunks/{model-retry-6xsr5dks.js → repository-cache-g0yf6pzc.js} +32 -32
- package/dist/chunks/{model-retry-kvpdra3r.js → repository-cache-g14xsv6s.js} +27 -27
- package/dist/chunks/{model-retry-bxqk5pf5.js → repository-cache-g686f6pq.js} +9 -9
- package/dist/chunks/{model-retry-mhgn79e1.js → repository-cache-gbx5w9e0.js} +51 -51
- package/dist/chunks/{model-retry-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-retry-w3x15rym.js → repository-cache-ggn007s3.js} +24 -24
- package/dist/chunks/{model-retry-27dhaw8v.js → repository-cache-ghbjgsw7.js} +41 -41
- package/dist/chunks/{model-retry-8npnpzra.js → repository-cache-gy6q8pjn.js} +5 -5
- package/dist/chunks/{model-retry-q7gr6qfd.js → repository-cache-h1532brx.js} +31 -31
- package/dist/chunks/{model-retry-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-retry-hgz4x7wa.js → repository-cache-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-retry-enbzs98c.js → repository-cache-ht6gncry.js} +15 -15
- package/dist/chunks/{model-retry-wj5d0sg5.js → repository-cache-htyafsv3.js} +23 -23
- package/dist/chunks/{model-retry-b4ytdsdb.js → repository-cache-hv879400.js} +8 -8
- package/dist/chunks/{model-retry-7jdsj2a9.js → repository-cache-hzrfc1p4.js} +3 -3
- package/dist/chunks/{model-retry-b2zbab51.js → repository-cache-j2wmg2r4.js} +9 -9
- package/dist/chunks/{model-retry-v15gsnts.js → repository-cache-ja1fgew7.js} +50 -50
- package/dist/chunks/{model-retry-grv8yzns.js → repository-cache-jwc1ahma.js} +36 -36
- package/dist/chunks/{model-retry-2xr9pws4.js → repository-cache-kb4h046s.js} +13 -13
- package/dist/chunks/{model-retry-sh9986p4.js → repository-cache-kd5hk5hb.js} +15 -15
- package/dist/chunks/{model-retry-4ndyr8vy.js → repository-cache-kg45811x.js} +18 -18
- package/dist/chunks/{model-retry-khmqacep.js → repository-cache-khmqacep.js} +1 -1
- package/dist/chunks/{model-retry-25yddszk.js → repository-cache-kmj26603.js} +6 -6
- package/dist/chunks/{model-retry-4dwf0nmp.js → repository-cache-kvp13sbf.js} +11 -11
- package/dist/chunks/{model-retry-kwb1v3vj.js → repository-cache-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-retry-t01qgdv4.js → repository-cache-kxz1hg5v.js} +20 -20
- package/dist/chunks/{model-retry-a5mx5mz2.js → repository-cache-m3n8w99j.js} +2 -2
- package/dist/chunks/{model-retry-g36mkr7n.js → repository-cache-m5ac8kwq.js} +26 -26
- package/dist/chunks/{model-retry-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
- package/dist/chunks/{model-retry-dvwsp6mb.js → repository-cache-mh32msp7.js} +2 -2
- package/dist/chunks/{model-retry-qv0gwb50.js → repository-cache-mj2j2ta6.js} +26 -26
- package/dist/chunks/{model-retry-h6n0e19c.js → repository-cache-n0qazxv2.js} +96 -96
- package/dist/chunks/{model-retry-315ef24x.js → repository-cache-n2bfkdv4.js} +8 -8
- package/dist/chunks/repository-cache-n48d28kv.js +257 -0
- package/dist/chunks/{model-retry-f5rb7yq3.js → repository-cache-n882j125.js} +34 -34
- package/dist/chunks/{model-retry-v7024ht3.js → repository-cache-ne4p9z9f.js} +14 -14
- package/dist/chunks/{model-retry-q8wdfhzq.js → repository-cache-nhf4vs0f.js} +10 -10
- package/dist/chunks/{model-retry-5yx9a2ww.js → repository-cache-nqx608f1.js} +8 -8
- package/dist/chunks/{model-retry-s0s52qkt.js → repository-cache-ntcd7r2c.js} +15 -15
- package/dist/chunks/{model-retry-m4gqpe3z.js → repository-cache-ntm1cgex.js} +19 -19
- package/dist/chunks/{model-retry-h896pcm5.js → repository-cache-p7a39gy5.js} +6 -6
- package/dist/chunks/{model-retry-yxx1qbg8.js → repository-cache-p8qee5dd.js} +6 -6
- package/dist/chunks/{model-retry-9hn6k4tm.js → repository-cache-pa8pe2x7.js} +8 -8
- package/dist/chunks/{model-retry-wcgsvnj5.js → repository-cache-pdp9s7c9.js} +8 -8
- package/dist/chunks/{model-retry-93x8jgcz.js → repository-cache-pg4vymq4.js} +36 -36
- package/dist/chunks/{model-retry-k2gfd0vj.js → repository-cache-pjhexp1d.js} +13 -13
- package/dist/chunks/{model-retry-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-retry-gysb7t93.js → repository-cache-pjxggghw.js} +92 -92
- package/dist/chunks/{model-retry-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-zdqemt2t.js → repository-cache-px1ksxsk.js} +17 -17
- package/dist/chunks/{model-retry-hc9hnsc9.js → repository-cache-q3s5c4wd.js} +14 -14
- package/dist/chunks/{model-retry-gebtr55s.js → repository-cache-q4fmv0xv.js} +5 -5
- package/dist/chunks/{model-retry-vkfdnwpx.js → repository-cache-qbqbaz6q.js} +4 -4
- package/dist/chunks/{model-retry-mcgfs8g2.js → repository-cache-qdgns3yy.js} +11 -11
- package/dist/chunks/{model-retry-dkpq1bsc.js → repository-cache-qeew10aa.js} +22 -22
- package/dist/chunks/{model-retry-z2qvtray.js → repository-cache-qh8vdwx1.js} +8 -8
- package/dist/chunks/{model-retry-ef28kdsf.js → repository-cache-qj368rjp.js} +11 -11
- package/dist/chunks/{model-retry-rv11vn85.js → repository-cache-qkpkhkva.js} +11 -11
- package/dist/chunks/{model-retry-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-retry-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{model-retry-0wcqedam.js → repository-cache-rccq1xcq.js} +30 -30
- package/dist/chunks/{model-retry-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-retry-rert0e01.js → repository-cache-rert0e01.js} +2 -2
- package/dist/chunks/{model-retry-rj3eygr5.js → repository-cache-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-retry-c3z27sd6.js → repository-cache-rjpvqnxg.js} +9 -9
- package/dist/chunks/{model-retry-1p07q0wb.js → repository-cache-rkprpv83.js} +4 -4
- package/dist/chunks/{model-retry-73wqhfdm.js → repository-cache-rma03sff.js} +9 -9
- package/dist/chunks/{model-retry-vdetfpsp.js → repository-cache-rvjhec0b.js} +23 -23
- package/dist/chunks/{model-retry-1trs7s7z.js → repository-cache-ry5vqzb9.js} +18 -18
- package/dist/chunks/{model-retry-bx29z6jj.js → repository-cache-s8pfr3sa.js} +22 -22
- package/dist/chunks/{model-retry-sa8ekw3f.js → repository-cache-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-retry-n8v5cbt0.js → repository-cache-scnkw924.js} +20 -20
- package/dist/chunks/{model-retry-0bw8y30e.js → repository-cache-sd1g7zk7.js} +51 -51
- package/dist/chunks/{model-retry-5kzpfxft.js → repository-cache-sd8vqtn7.js} +38 -38
- package/dist/chunks/{model-retry-tebr7jg9.js → repository-cache-sfq9t108.js} +20 -20
- package/dist/chunks/{model-retry-ffptefkn.js → repository-cache-sjmbs52b.js} +53 -53
- package/dist/chunks/{model-retry-qt88z79s.js → repository-cache-srv5nkk5.js} +7 -7
- package/dist/chunks/{model-retry-syv4x271.js → repository-cache-syv4x271.js} +1 -1
- package/dist/chunks/{model-retry-pm9cq2zg.js → repository-cache-t406dmjj.js} +35 -35
- package/dist/chunks/{model-retry-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-retry-tcezcvh9.js → repository-cache-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-retry-wn671ba5.js → repository-cache-td613cjm.js} +69 -69
- package/dist/chunks/{model-retry-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{model-retry-dxt0ht33.js → repository-cache-thsfkehz.js} +24 -24
- package/dist/chunks/{model-retry-tm0kqsz3.js → repository-cache-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-retry-frsszzbj.js → repository-cache-tyhwyzay.js} +14 -14
- package/dist/chunks/{model-retry-tyytaxap.js → repository-cache-tyytaxap.js} +1 -1
- package/dist/chunks/{model-retry-embw8kgh.js → repository-cache-tz4n1mmd.js} +4 -4
- package/dist/chunks/{model-retry-nz56sr1f.js → repository-cache-v13b12ef.js} +5 -5
- package/dist/chunks/{model-retry-tx0gtb9m.js → repository-cache-v210v162.js} +9 -9
- package/dist/chunks/{model-retry-8yaq5rsp.js → repository-cache-v45pkn04.js} +45 -45
- package/dist/chunks/{model-retry-c77dabg0.js → repository-cache-v5ysgbsj.js} +13 -13
- package/dist/chunks/{model-retry-v8chhsy3.js → repository-cache-v7h4apfv.js} +11 -11
- package/dist/chunks/{model-retry-v7p4zvkq.js → repository-cache-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-retry-eefqbebw.js → repository-cache-v8jthr7x.js} +24 -24
- package/dist/chunks/{model-retry-yxwmwsaj.js → repository-cache-vbybff9w.js} +21 -21
- package/dist/chunks/{model-retry-7pg7e456.js → repository-cache-vc7fmfhz.js} +12 -12
- package/dist/chunks/{model-retry-prx1gbh0.js → repository-cache-vd7s5kxy.js} +5 -5
- package/dist/chunks/{model-retry-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{model-retry-npr0wz9t.js → repository-cache-vht2c7bf.js} +6 -6
- package/dist/chunks/{model-retry-ry6831an.js → repository-cache-vktwk5kv.js} +9 -9
- package/dist/chunks/{model-retry-a1hr7aq8.js → repository-cache-vnqzk1gb.js} +3 -3
- package/dist/chunks/{model-retry-3dt4tzwg.js → repository-cache-vp0bfksy.js} +2 -2
- package/dist/chunks/{model-retry-bhk1rbmp.js → repository-cache-vppn3xvj.js} +32 -32
- package/dist/chunks/{model-retry-yg89wztc.js → repository-cache-vpshk9t2.js} +9 -9
- package/dist/chunks/{model-retry-tz35mf6x.js → repository-cache-vt8aqadh.js} +5 -5
- package/dist/chunks/{model-retry-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-retry-0cbhyycw.js → repository-cache-w29cs0xs.js} +17 -17
- package/dist/chunks/{model-retry-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-hadpnrkv.js → repository-cache-w4twd3tw.js} +23 -23
- package/dist/chunks/{model-retry-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-re80xzqk.js → repository-cache-wnr41wz0.js} +39 -39
- package/dist/chunks/{model-retry-3y377wv9.js → repository-cache-x661k3y3.js} +4 -4
- package/dist/chunks/{model-retry-7etyqpkv.js → repository-cache-x91navb3.js} +7 -7
- package/dist/chunks/{model-retry-qjch4pc3.js → repository-cache-xaf8j326.js} +15 -15
- package/dist/chunks/{model-retry-xe38j9wy.js → repository-cache-xdf0ykp7.js} +25 -25
- package/dist/chunks/{model-retry-m3vs2jhj.js → repository-cache-xf58effc.js} +16 -16
- package/dist/chunks/{model-retry-7kw0mv8e.js → repository-cache-xhfr7w54.js} +31 -31
- package/dist/chunks/{model-retry-snxa7hz3.js → repository-cache-xjqn2mzm.js} +5 -5
- package/dist/chunks/{model-retry-qq7kxqk9.js → repository-cache-xn26nr4q.js} +47 -47
- package/dist/chunks/{model-retry-scbxxt86.js → repository-cache-xt3a7zk5.js} +23 -23
- package/dist/chunks/{model-retry-02w8hjv9.js → repository-cache-xyx20s09.js} +11 -11
- package/dist/chunks/{model-retry-n6sdcjf7.js → repository-cache-y0pqx9ee.js} +40 -40
- package/dist/chunks/{model-retry-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-retry-pq9chy9c.js → repository-cache-y45edm1f.js} +10 -10
- package/dist/chunks/{model-retry-fdms3n6w.js → repository-cache-y56ehv6b.js} +9 -9
- package/dist/chunks/{model-retry-tcpq0y9r.js → repository-cache-ycy3dsx4.js} +13 -13
- package/dist/chunks/{model-retry-wxrr62q2.js → repository-cache-ye1k03a4.js} +11 -11
- package/dist/chunks/{model-retry-1acjjqhc.js → repository-cache-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-retry-vjtn814f.js → repository-cache-ysasxc1a.js} +11 -11
- package/dist/chunks/{model-retry-bjx1sjef.js → repository-cache-ywt8jp22.js} +9 -9
- package/dist/chunks/{model-retry-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-retry-z18fegx4.js → repository-cache-z18fegx4.js} +1 -1
- package/dist/chunks/{model-retry-jcen6etv.js → repository-cache-z3eyvff3.js} +33 -33
- package/dist/chunks/{model-retry-zqma82cw.js → repository-cache-z4ev155g.js} +11 -11
- package/dist/chunks/{model-retry-qne3fa44.js → repository-cache-z6c3x22d.js} +5 -5
- package/dist/chunks/{model-retry-rkmhvsr4.js → repository-cache-z6jgmdqw.js} +30 -30
- package/dist/chunks/{model-retry-5fxpne0w.js → repository-cache-zqfakkws.js} +4 -4
- package/dist/chunks/{model-retry-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-retry-hj389172.js → repository-cache-zt0s3nmc.js} +5 -5
- package/dist/chunks/{model-retry-yvvvp4gn.js → repository-cache-zvjhkatg.js} +8 -8
- package/dist/chunks/{model-retry-6xymw6hf.js → repository-cache-zxcvat1v.js} +17 -17
- package/dist/chunks/{model-retry-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- 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-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- 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 +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +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 +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- 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 +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/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 +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-retry-374yendz.js +0 -26
- package/dist/chunks/model-retry-9yd845wg.js +0 -517
- package/dist/chunks/model-retry-9zdhvgqs.js +0 -18
- package/dist/chunks/model-retry-zw8e9rvj.js +0 -257
- /package/dist/chunks/{model-retry-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-retry-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{model-retry-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-retry-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-retry-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-retry-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-retry-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e3qxr5gk.js → repository-cache-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-retry-pyv0edze.js → repository-cache-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-retry-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ID16,
|
|
3
|
-
Service80,
|
|
4
|
-
node84
|
|
5
|
-
} from "./model-retry-q7gr6qfd.js";
|
|
6
1
|
import {
|
|
7
2
|
ID13,
|
|
3
|
+
Service77,
|
|
4
|
+
node81
|
|
5
|
+
} from "./repository-cache-h1532brx.js";
|
|
6
|
+
import {
|
|
7
|
+
ID12,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node80
|
|
20
|
+
} from "./repository-cache-d5n8aweh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service49,
|
|
23
|
+
node51
|
|
24
|
+
} from "./repository-cache-8bk6jfgk.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID10,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service70,
|
|
30
|
+
node72,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-cache-52bg0ad9.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service48,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer19,
|
|
52
|
+
node: () => node50,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID12,
|
|
63
|
+
modelID: ID10,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID12,
|
|
73
|
+
modelID: ID10,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID12,
|
|
84
|
+
modelID: ID10,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID12,
|
|
95
|
+
modelID: ID10,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID12,
|
|
107
|
+
modelID: ID10,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID12,
|
|
117
|
+
modelID: ID10,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service48 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
234
234
|
return tokenSettings(specifier, credential.access);
|
|
235
235
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
236
236
|
return { auth: "sigv4" };
|
|
237
|
-
if (model.providerID ===
|
|
237
|
+
if (model.providerID === ID12.azure)
|
|
238
238
|
return tokenSettings(specifier, "azure-cli");
|
|
239
239
|
return {};
|
|
240
240
|
};
|
|
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
|
|
|
269
269
|
};
|
|
270
270
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
271
271
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
272
|
-
var
|
|
273
|
-
const providers = yield*
|
|
274
|
-
const models = yield*
|
|
275
|
-
const integrations = yield*
|
|
272
|
+
var layer19 = Layer.effect(Service48, Effect.gen(function* () {
|
|
273
|
+
const providers = yield* Service76;
|
|
274
|
+
const models = yield* Service70;
|
|
275
|
+
const integrations = yield* Service77;
|
|
276
276
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service49;
|
|
278
278
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
279
279
|
const provider = yield* providers.get(selected.providerID);
|
|
280
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
280
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
|
|
281
281
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
282
282
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
283
283
|
const runtimeInfo = {
|
|
@@ -304,7 +304,7 @@ var layer26 = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
304
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
305
305
|
};
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service48.of({
|
|
308
308
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
309
309
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
310
310
|
if (!selected)
|
|
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
321
321
|
const name = packageName2(packageName);
|
|
322
322
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
service:
|
|
326
|
-
layer:
|
|
327
|
-
deps: [
|
|
324
|
+
var node50 = makeLocationNode({
|
|
325
|
+
service: Service48,
|
|
326
|
+
layer: layer19,
|
|
327
|
+
deps: [node80, node72, node81, Npm.node, node51]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service48, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node50, exports_model_resolver };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./repository-cache-zxcvat1v.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service66
|
|
9
|
+
} from "./repository-cache-xn26nr4q.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-e1mscf3d.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin14
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin14 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service66;
|
|
35
|
+
const location = yield* Service82;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin14, exports_reference };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./repository-cache-xn26nr4q.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./repository-cache-1n1cqex2.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin16
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin16 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service66;
|
|
27
|
+
const shell = yield* Service71;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin22 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin16, exports_shell };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./repository-cache-92e46w1f.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -16,17 +16,17 @@ __export(exports_form, {
|
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info25,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service79,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer28,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node83,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
|
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info25 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service79 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer28 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer28 = Layer.effect(Service79, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service84;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service79.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node83 = makeLocationNode({ service: Service79, layer: layer28, deps: [node88] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer28, node83, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make18,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-0gdmqesm.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-sjmbs52b.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service28,
|
|
12
|
+
node31
|
|
13
|
+
} from "./repository-cache-4rjz15yc.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name15
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-axharnyz.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions4 = {};
|
|
24
|
+
__export(exports_instructions4, {
|
|
25
|
+
McpInstructions: () => exports_instructions4,
|
|
26
|
+
Service: () => Service25,
|
|
27
|
+
layer: () => layer12,
|
|
28
|
+
node: () => node29
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service25 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service28;
|
|
68
|
+
return Service25.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make18({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node29 = makeLocationNode({ service: Service25, layer: layer12, deps: [node31] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service25, layer12, node29, exports_instructions4 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service85,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node89
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
100
100
|
}) {
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service85 extends Context.Service()("@opencode/Git") {
|
|
104
104
|
}
|
|
105
|
-
var layer = Layer.effect(
|
|
105
|
+
var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const proc = yield* AppProcess.Service;
|
|
108
108
|
const locks = makeUnsafe2();
|
|
@@ -722,7 +722,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
722
722
|
kind: index === 0 ? "main" : "linked"
|
|
723
723
|
}));
|
|
724
724
|
});
|
|
725
|
-
return
|
|
725
|
+
return Service85.of({
|
|
726
726
|
repo: { discover, clone, create },
|
|
727
727
|
remote: { get: remote },
|
|
728
728
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -739,7 +739,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
739
739
|
objects: { pack: packObjects }
|
|
740
740
|
});
|
|
741
741
|
}));
|
|
742
|
-
var
|
|
742
|
+
var node89 = makeGlobalNode({ service: Service85, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
743
743
|
function run(cwd, proc, args) {
|
|
744
744
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
745
745
|
}
|
|
@@ -806,4 +806,4 @@ function resolvePath(cwd, value) {
|
|
|
806
806
|
return path.resolve(cwd, normalized);
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
809
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service85, node89, exports_git3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-sjmbs52b.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-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: () => Plugin35
|
|
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 Plugin35 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin35, exports_plan };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service76
|
|
4
|
+
} from "./repository-cache-d5n8aweh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./repository-cache-xn26nr4q.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service76;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service66);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|