@opencode/core 0.0.0-dev-20265 → 0.0.0-dev-20271
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{instruction-discovery-4m2ax75s.js → schema-02fx2esq.js} +9 -9
- package/dist/chunks/{instruction-discovery-kjk4f8se.js → schema-03rhqhz8.js} +16 -16
- package/dist/chunks/{instruction-discovery-xj9hgx3w.js → schema-0455hjbt.js} +44 -44
- package/dist/chunks/{instruction-discovery-hbs2xy63.js → schema-04pw375h.js} +10 -10
- package/dist/chunks/{instruction-discovery-cw4qawdd.js → schema-057vntkv.js} +20 -20
- package/dist/chunks/{instruction-discovery-a9zhqkh4.js → schema-0eq7hms9.js} +3 -3
- package/dist/chunks/{instruction-discovery-473yxhcv.js → schema-0gxqnvpq.js} +47 -43
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-2syk99rx.js → schema-0pj8398s.js} +27 -27
- package/dist/chunks/{instruction-discovery-0v53mg2y.js → schema-0v53mg2y.js} +1 -1
- package/dist/chunks/{instruction-discovery-97akkmbe.js → schema-0vq4p6sw.js} +11 -11
- package/dist/chunks/{instruction-discovery-22x1keze.js → schema-1380s59h.js} +36 -36
- package/dist/chunks/{instruction-discovery-kcp0xdhb.js → schema-153vd5vc.js} +3 -3
- package/dist/chunks/{instruction-discovery-hzrqtver.js → schema-17d68tkq.js} +20 -20
- package/dist/chunks/{instruction-discovery-1cakvm3y.js → schema-1bt4s3y9.js} +26 -26
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-0s2j72ky.js → schema-1xys0ebv.js} +11 -11
- package/dist/chunks/{instruction-discovery-ynn26mj8.js → schema-20mv48v8.js} +10 -10
- package/dist/chunks/{instruction-discovery-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-z63w68vq.js → schema-29x78va6.js} +6 -6
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-1vzw8yhg.js → schema-2fjb1j7y.js} +13 -13
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → schema-2k8khapm.js} +5 -5
- package/dist/chunks/{instruction-discovery-1hcjf4ej.js → schema-2nhp9p6w.js} +20 -20
- package/dist/chunks/{instruction-discovery-6sfywj03.js → schema-2phhkb6s.js} +16 -16
- package/dist/chunks/{instruction-discovery-rcf7gz4p.js → schema-2qfec9vm.js} +15 -15
- package/dist/chunks/{instruction-discovery-jj2cz9da.js → schema-2vxy01ew.js} +9 -9
- package/dist/chunks/{instruction-discovery-h2d9aakw.js → schema-32ygzjnf.js} +10 -10
- package/dist/chunks/{instruction-discovery-vcfhc88h.js → schema-34jh91rq.js} +3 -3
- package/dist/chunks/{instruction-discovery-gg3hnhsj.js → schema-3556dn8t.js} +1 -1
- package/dist/chunks/{instruction-discovery-43sv4aqe.js → schema-37y8hjd0.js} +9 -9
- package/dist/chunks/{instruction-discovery-g96gh810.js → schema-3d5p9naq.js} +16 -16
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-fqk9fphv.js → schema-3m8k6a97.js} +39 -39
- package/dist/chunks/{instruction-discovery-dkzq4e42.js → schema-3r8mb62a.js} +22 -22
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-0kzn65ts.js → schema-4c27qttd.js} +11 -11
- package/dist/chunks/{instruction-discovery-cpj0znwe.js → schema-4dgbcxzg.js} +4 -4
- package/dist/chunks/schema-4nsycqaw.js +507 -0
- package/dist/chunks/{instruction-discovery-rask17kc.js → schema-4py3js73.js} +9 -9
- package/dist/chunks/{instruction-discovery-q3q4fawj.js → schema-4sn99hha.js} +7 -7
- package/dist/chunks/{instruction-discovery-3rpjb0m5.js → schema-4vcqcfh5.js} +3 -3
- package/dist/chunks/{instruction-discovery-895w93kx.js → schema-4y0jsvk1.js} +20 -20
- package/dist/chunks/{instruction-discovery-a81kfqvn.js → schema-4z58m4b4.js} +4 -4
- package/dist/chunks/{instruction-discovery-2xt5mgkb.js → schema-53fn2v7c.js} +21 -21
- package/dist/chunks/schema-54ma36ye.js +13 -0
- package/dist/chunks/{instruction-discovery-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-3p7veh30.js → schema-5q0dqpvd.js} +21 -21
- package/dist/chunks/{instruction-discovery-a00r67f6.js → schema-5szbf8m3.js} +22 -22
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-6cqrwtgh.js → schema-5z9p70xw.js} +23 -23
- package/dist/chunks/{instruction-discovery-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-2v08avye.js → schema-6cknckpe.js} +51 -51
- package/dist/chunks/{instruction-discovery-j17xhp8k.js → schema-6kmx0kce.js} +8 -8
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-djktq2qc.js → schema-6q1fpb12.js} +15 -15
- package/dist/chunks/{instruction-discovery-h6310vsd.js → schema-6t4hr8r6.js} +4 -4
- package/dist/chunks/{instruction-discovery-xbqt463g.js → schema-6xvpa3dg.js} +22 -22
- package/dist/chunks/{instruction-discovery-595j6h3z.js → schema-6yfh064v.js} +5 -5
- package/dist/chunks/{instruction-discovery-cytmn42c.js → schema-72b9nwr9.js} +12 -12
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-tmezhr7e.js → schema-7bshkk6c.js} +7 -7
- package/dist/chunks/schema-7ggrqnkf.js +252 -0
- package/dist/chunks/{instruction-discovery-6vhktk4v.js → schema-7h24643z.js} +4 -4
- package/dist/chunks/{instruction-discovery-yx62cr6m.js → schema-7kaezs2e.js} +11 -11
- package/dist/chunks/{instruction-discovery-70gtrbvz.js → schema-7mrx23rq.js} +4 -4
- package/dist/chunks/{instruction-discovery-7j2qha59.js → schema-7s2tn799.js} +8 -8
- package/dist/chunks/{instruction-discovery-z5ntc05q.js → schema-7w99qc9d.js} +3 -3
- package/dist/chunks/{instruction-discovery-v0534hbg.js → schema-7x2w03m2.js} +32 -32
- package/dist/chunks/{instruction-discovery-xnbjqws6.js → schema-7xsd729g.js} +6 -6
- package/dist/chunks/{instruction-discovery-w1eejvng.js → schema-84txncab.js} +5 -5
- package/dist/chunks/{instruction-discovery-5e10wf8f.js → schema-84zcxbc9.js} +5 -5
- package/dist/chunks/{instruction-discovery-ab9238g2.js → schema-89e39zcy.js} +6 -6
- package/dist/chunks/{instruction-discovery-je1ehb5s.js → schema-89yhyecc.js} +15 -15
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → schema-89znhe33.js} +4 -4
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-dhzgzdmj.js → schema-8dt2nhtf.js} +27 -27
- package/dist/chunks/{instruction-discovery-ashvnr8e.js → schema-8p8sbe40.js} +2 -2
- package/dist/chunks/{instruction-discovery-vyfbn2ge.js → schema-8phqmggh.js} +8 -8
- package/dist/chunks/{instruction-discovery-8ppxfrtw.js → schema-8s4fd4h0.js} +20 -20
- package/dist/chunks/{instruction-discovery-6pc27hjz.js → schema-8sze2n9a.js} +2 -2
- package/dist/chunks/{instruction-discovery-xvp1j2dc.js → schema-8zh4h089.js} +5 -5
- package/dist/chunks/{instruction-discovery-46j82pgy.js → schema-92qe48v5.js} +9 -9
- package/dist/chunks/{instruction-discovery-94ek1h2f.js → schema-94ek1h2f.js} +2 -2
- package/dist/chunks/{instruction-discovery-e5jqtwc8.js → schema-9sp4j3g7.js} +11 -11
- package/dist/chunks/{instruction-discovery-s4frkg89.js → schema-9wcc5pj1.js} +22 -22
- package/dist/chunks/{instruction-discovery-nfk828h3.js → schema-9xq4rgak.js} +4 -4
- package/dist/chunks/{instruction-discovery-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-yja9z5zb.js → schema-abbdd1c6.js} +5 -5
- package/dist/chunks/{instruction-discovery-n3cgjj67.js → schema-af49n079.js} +8 -8
- package/dist/chunks/{instruction-discovery-53y6m0t7.js → schema-aqkyva7e.js} +35 -35
- package/dist/chunks/{instruction-discovery-e5x0150z.js → schema-b24dgscy.js} +12 -12
- package/dist/chunks/{instruction-discovery-v5dkyp31.js → schema-b27vhd2z.js} +4 -4
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-zzct4swk.js → schema-b7ze0h6m.js} +11 -11
- package/dist/chunks/{instruction-discovery-tzct1v5g.js → schema-b9marwrz.js} +5 -5
- package/dist/chunks/{instruction-discovery-fkg6hj3y.js → schema-bb6qd770.js} +60 -60
- package/dist/chunks/{instruction-discovery-rweyf2z5.js → schema-bbgyx2ca.js} +25 -25
- package/dist/chunks/{instruction-discovery-e5bvbpgf.js → schema-bsthxcff.js} +15 -15
- package/dist/chunks/{instruction-discovery-9ce6tkzz.js → schema-c2ystsw5.js} +11 -11
- package/dist/chunks/{instruction-discovery-pt6k735w.js → schema-c3yncfhe.js} +18 -18
- package/dist/chunks/{instruction-discovery-6rcz3ycw.js → schema-c6qrx7z0.js} +25 -26
- package/dist/chunks/{instruction-discovery-6qs14qev.js → schema-c9c9gefm.js} +93 -93
- package/dist/chunks/{instruction-discovery-vkwyc6cx.js → schema-ccqrgpfr.js} +28 -28
- package/dist/chunks/{instruction-discovery-863rh99d.js → schema-cd1ha9xt.js} +12 -12
- package/dist/chunks/{instruction-discovery-ckecvw8r.js → schema-ckecvw8r.js} +2 -2
- package/dist/chunks/{instruction-discovery-j817qy9h.js → schema-ckz290np.js} +8 -8
- package/dist/chunks/{instruction-discovery-mjtjsyjj.js → schema-cr5r5t3v.js} +5 -5
- package/dist/chunks/{instruction-discovery-mdkfxwd5.js → schema-ctf78ks7.js} +32 -29
- package/dist/chunks/{instruction-discovery-cfqj2t13.js → schema-d20e8vw1.js} +12 -12
- package/dist/chunks/{instruction-discovery-xmfjrgmy.js → schema-d81r50pr.js} +11 -11
- package/dist/chunks/{instruction-discovery-bsqx64w4.js → schema-d9sgy5v4.js} +4 -4
- package/dist/chunks/{instruction-discovery-84trvwea.js → schema-dc6xss86.js} +23 -23
- package/dist/chunks/{instruction-discovery-5n469ean.js → schema-dh89yxex.js} +25 -25
- package/dist/chunks/{instruction-discovery-dmqcgk4z.js → schema-dmqcgk4z.js} +2 -2
- package/dist/chunks/{instruction-discovery-sbpfgvw3.js → schema-dq6warjh.js} +32 -32
- package/dist/chunks/{instruction-discovery-dj9sq318.js → schema-dqmwfghx.js} +5 -5
- package/dist/chunks/{instruction-discovery-c8wg0b7m.js → schema-dya6s92k.js} +18 -18
- package/dist/chunks/{instruction-discovery-5qd3pb7m.js → schema-e3qxr5gk.js} +2 -2
- package/dist/chunks/{instruction-discovery-1wg8se0x.js → schema-e5x26qyz.js} +4 -4
- package/dist/chunks/{instruction-discovery-8mxhwd9p.js → schema-eap6v6ka.js} +37 -34
- package/dist/chunks/{instruction-discovery-ecfe7b91.js → schema-ecfe7b91.js} +2 -2
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-17razrp5.js → schema-ehpxdd9r.js} +35 -35
- package/dist/chunks/{instruction-discovery-za6yq9hg.js → schema-engkm2d6.js} +5 -5
- package/dist/chunks/{instruction-discovery-s62vt9wz.js → schema-erdgy6bb.js} +29 -29
- package/dist/chunks/{instruction-discovery-tjedn1bk.js → schema-ermxvwhp.js} +4 -4
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-av73v616.js → schema-ey8a4wge.js} +8 -8
- package/dist/chunks/{instruction-discovery-d3eanfb0.js → schema-f1dxnh8x.js} +45 -45
- package/dist/chunks/{instruction-discovery-537d2h8y.js → schema-f4ktwvph.js} +17 -17
- package/dist/chunks/{instruction-discovery-817gm3bf.js → schema-fb08v964.js} +18 -18
- package/dist/chunks/{instruction-discovery-591s59y8.js → schema-fdhjyf6e.js} +26 -20
- package/dist/chunks/{instruction-discovery-e1rt1ry9.js → schema-feegf67a.js} +32 -32
- package/dist/chunks/{instruction-discovery-2kvq420b.js → schema-fgdrjr7g.js} +37 -37
- package/dist/chunks/{instruction-discovery-hj0fmptj.js → schema-fgdzjjn8.js} +10 -10
- package/dist/chunks/{instruction-discovery-6n4dhht5.js → schema-fma9b9zx.js} +48 -48
- package/dist/chunks/{instruction-discovery-xt3nzz9d.js → schema-fn5s1xt4.js} +5 -5
- package/dist/chunks/{instruction-discovery-7sf65sz4.js → schema-fwzh61wc.js} +6 -6
- package/dist/chunks/{instruction-discovery-s2k53bmx.js → schema-fzhk56mq.js} +24 -24
- package/dist/chunks/{instruction-discovery-trjjaw7x.js → schema-fzxn0rpd.js} +15 -15
- package/dist/chunks/schema-g6zjmjz7.js +65 -0
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-9v1ppqd2.js → schema-gjyhvyzk.js} +11 -11
- package/dist/chunks/{instruction-discovery-j3vzqyes.js → schema-gr5dc40r.js} +14 -14
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instruction-discovery-qz9hsrda.js → schema-gznm14y3.js} +34 -34
- package/dist/chunks/{instruction-discovery-4bt591nm.js → schema-h1nersjm.js} +31 -31
- package/dist/chunks/{instruction-discovery-w34c8dxf.js → schema-h57gm808.js} +15 -15
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-0hf9g8pg.js → schema-hdab2k61.js} +6 -6
- package/dist/chunks/{instruction-discovery-2y34zzjz.js → schema-hdzt82x2.js} +4 -4
- package/dist/chunks/{instruction-discovery-r7hsk55y.js → schema-hefng7ga.js} +9 -9
- package/dist/chunks/{instruction-discovery-83c1zak0.js → schema-hh8v5qpg.js} +28 -28
- package/dist/chunks/{instruction-discovery-2qym09dt.js → schema-hm7qa9sr.js} +41 -41
- package/dist/chunks/{instruction-discovery-6g9h627f.js → schema-hs5b19ez.js} +23 -23
- package/dist/chunks/{instruction-discovery-8kg848v7.js → schema-hspndzgs.js} +8 -8
- package/dist/chunks/{instruction-discovery-gprqxqyp.js → schema-htk8gamf.js} +13 -13
- package/dist/chunks/{instruction-discovery-apyhsggy.js → schema-hx3vx9sm.js} +1 -1
- package/dist/chunks/{instruction-discovery-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-xxf3qkd3.js → schema-j575tj3n.js} +89 -89
- package/dist/chunks/{instruction-discovery-90t6c8wy.js → schema-j6de23b5.js} +17 -17
- package/dist/chunks/{instruction-discovery-wqpxpbjy.js → schema-j7wxbxne.js} +11 -11
- package/dist/chunks/{instruction-discovery-yf10kn3d.js → schema-k1qrnqst.js} +8 -8
- package/dist/chunks/{instruction-discovery-2zx654xv.js → schema-k1xs71rw.js} +31 -31
- package/dist/chunks/{instruction-discovery-k3c624dm.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-6yrwvege.js → schema-kadj03x1.js} +12 -12
- package/dist/chunks/{instruction-discovery-kvfg1y8a.js → schema-kaqvhan9.js} +57 -57
- package/dist/chunks/{instruction-discovery-sddzfvn4.js → schema-kg3nfyrf.js} +8 -8
- package/dist/chunks/{instruction-discovery-35edcz9a.js → schema-kwp4z5r0.js} +15 -15
- package/dist/chunks/{instruction-discovery-8x6s24qq.js → schema-kykxfaeb.js} +14 -14
- package/dist/chunks/{instruction-discovery-qg5st3y5.js → schema-m1v72ch8.js} +21 -21
- package/dist/chunks/{instruction-discovery-2fnzb52j.js → schema-m36xmz2a.js} +27 -27
- package/dist/chunks/{instruction-discovery-yx96p73j.js → schema-m3aacv1r.js} +11 -11
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-05dd0hqh.js → schema-m8psntbj.js} +31 -31
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-z88c1cht.js → schema-mdhbd56y.js} +7 -7
- package/dist/chunks/{instruction-discovery-1ygqh575.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{instruction-discovery-mhkvc446.js → schema-mhkvc446.js} +1 -1
- package/dist/chunks/{instruction-discovery-w4cn5rjk.js → schema-mwjz0nk2.js} +13 -13
- package/dist/chunks/{instruction-discovery-41fyejek.js → schema-mx6ypyf3.js} +13 -13
- package/dist/chunks/{instruction-discovery-kdvzk119.js → schema-n1ka8r9d.js} +4 -4
- package/dist/chunks/{instruction-discovery-xqgw658g.js → schema-n4mhh8dh.js} +27 -27
- package/dist/chunks/{instruction-discovery-rs5ja1ks.js → schema-ncfrwhmr.js} +75 -75
- package/dist/chunks/{instruction-discovery-ggwd74jc.js → schema-nng2ktcm.js} +2 -2
- package/dist/chunks/{instruction-discovery-jvf906gc.js → schema-p1xcnqpd.js} +8 -8
- package/dist/chunks/{instruction-discovery-7k0nb5a1.js → schema-p7jp4nkc.js} +5 -5
- package/dist/chunks/{instruction-discovery-s4f9hgft.js → schema-p810a5w3.js} +15 -15
- package/dist/chunks/{instruction-discovery-53qm6swg.js → schema-p97jtcyh.js} +24 -24
- package/dist/chunks/{instruction-discovery-pnvk1zxf.js → schema-phpw85vv.js} +4 -4
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-hn28mh03.js → schema-pr2shm86.js} +36 -36
- package/dist/chunks/{instruction-discovery-zpjshyj8.js → schema-pstmv2d8.js} +11 -11
- package/dist/chunks/{instruction-discovery-wym4yngj.js → schema-ptstaxe9.js} +6 -6
- package/dist/chunks/{instruction-discovery-t909565e.js → schema-ptt6m9gv.js} +3 -3
- package/dist/chunks/{instruction-discovery-2336b01z.js → schema-q6d53jre.js} +8 -8
- package/dist/chunks/{instruction-discovery-jj6m7t8m.js → schema-q7d6akyq.js} +24 -24
- package/dist/chunks/{instruction-discovery-pper4dcb.js → schema-q8wjb94d.js} +38 -38
- package/dist/chunks/{instruction-discovery-yw8t9dwe.js → schema-qby9dwvd.js} +8 -8
- package/dist/chunks/{instruction-discovery-fhs97t90.js → schema-qg0jgkcp.js} +9 -9
- package/dist/chunks/{instruction-discovery-qmqgtz8f.js → schema-qmqgtz8f.js} +2 -2
- package/dist/chunks/{instruction-discovery-5qe4ms5y.js → schema-qnyr447v.js} +33 -33
- package/dist/chunks/{instruction-discovery-h2r7bbkd.js → schema-qs001aqx.js} +11 -11
- package/dist/chunks/{instruction-discovery-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-jv01nqvq.js → schema-qte5z7bc.js} +5 -5
- package/dist/chunks/{instruction-discovery-fw1dm0ew.js → schema-qtgetkc5.js} +11 -11
- package/dist/chunks/{instruction-discovery-2ngyvhah.js → schema-qvs3yrx0.js} +29 -29
- package/dist/chunks/{instruction-discovery-cyxgkn8e.js → schema-qxs49gs0.js} +22 -22
- package/dist/chunks/{instruction-discovery-1h7vkbsh.js → schema-qze8mdqk.js} +13 -13
- package/dist/chunks/{instruction-discovery-c4tcxkt3.js → schema-r5398wsk.js} +10 -10
- package/dist/chunks/{instruction-discovery-04tp0yna.js → schema-r79r0pmw.js} +18 -18
- package/dist/chunks/schema-rap9a73h.js +18 -0
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-76ymgwed.js → schema-rpjgfq5s.js} +9 -9
- package/dist/chunks/{instruction-discovery-0p5r855a.js → schema-rz3d44tq.js} +47 -47
- package/dist/chunks/{instruction-discovery-yrznvahk.js → schema-s4enseaf.js} +2 -2
- package/dist/chunks/{instruction-discovery-vybhs2ww.js → schema-s532705d.js} +9 -9
- package/dist/chunks/{instruction-discovery-664gwng4.js → schema-s5cvb66r.js} +20 -20
- package/dist/chunks/{instruction-discovery-mq1rpz34.js → schema-scw85daj.js} +13 -13
- package/dist/chunks/{instruction-discovery-qzs5w1kq.js → schema-sgj69q70.js} +10 -10
- package/dist/chunks/{instruction-discovery-g73rfvt8.js → schema-szt33nzv.js} +26 -26
- package/dist/chunks/{instruction-discovery-dbrspz9p.js → schema-t1vq5jda.js} +178 -178
- package/dist/chunks/{instruction-discovery-0cg4n3gd.js → schema-t1zhpzyh.js} +23 -23
- package/dist/chunks/{instruction-discovery-gbt6w4kb.js → schema-t550f9t1.js} +6 -6
- package/dist/chunks/{instruction-discovery-a2knq7mb.js → schema-t89k7t2n.js} +3 -3
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/schema-tbcx5g6b.js +26 -0
- package/dist/chunks/{instruction-discovery-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-7c1hha0p.js → schema-tffeed3q.js} +12 -12
- package/dist/chunks/{instruction-discovery-p37cw4rj.js → schema-tpw6cwsb.js} +8 -8
- package/dist/chunks/{instruction-discovery-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-jazqgan2.js → schema-tvzckvfh.js} +19 -19
- package/dist/chunks/{instruction-discovery-1gnz4btn.js → schema-v1z5k6ya.js} +41 -41
- package/dist/chunks/{instruction-discovery-eqggwkkj.js → schema-v4khfddp.js} +24 -24
- package/dist/chunks/{instruction-discovery-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-rjatp68y.js → schema-vfb18kab.js} +15 -15
- package/dist/chunks/{instruction-discovery-kb3k4m85.js → schema-vhe05b2j.js} +18 -18
- package/dist/chunks/{instruction-discovery-bm55brr3.js → schema-vm9szz2v.js} +43 -43
- package/dist/chunks/{instruction-discovery-9ze7f770.js → schema-vnq9hngb.js} +31 -31
- package/dist/chunks/{instruction-discovery-p7xmn451.js → schema-vvyaap0j.js} +1 -1
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-0fs6c5ns.js → schema-vzrrchan.js} +17 -17
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-mfrn2wd3.js → schema-w3xe5wx0.js} +32 -32
- package/dist/chunks/{instruction-discovery-wd3x2cqz.js → schema-wd3x2cqz.js} +2 -2
- package/dist/chunks/{instruction-discovery-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-s9z9hht1.js → schema-wfnwj6ew.js} +16 -16
- package/dist/chunks/{instruction-discovery-0jq9fyba.js → schema-wk5z6jzv.js} +9 -9
- package/dist/chunks/{instruction-discovery-23354q28.js → schema-wk7amq94.js} +26 -26
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-gy42h51d.js → schema-x5rm1qcs.js} +9 -9
- package/dist/chunks/{instruction-discovery-c80srvkw.js → schema-x9685y9e.js} +43 -43
- package/dist/chunks/{instruction-discovery-02hh4n40.js → schema-x9cd31tj.js} +6 -6
- package/dist/chunks/{instruction-discovery-d65zzxh9.js → schema-xdjq0qq8.js} +9 -9
- package/dist/chunks/{instruction-discovery-jw80jp6b.js → schema-xdk9p2qn.js} +21 -21
- package/dist/chunks/{instruction-discovery-drwq78ky.js → schema-xfkkasph.js} +4 -4
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-x3r0xrsa.js → schema-y3hxgm3d.js} +15 -15
- package/dist/chunks/{instruction-discovery-73n7g0g0.js → schema-y6b4mn53.js} +23 -23
- package/dist/chunks/{instruction-discovery-y71avatq.js → schema-y71avatq.js} +1 -1
- package/dist/chunks/{instruction-discovery-jx4220gq.js → schema-y7dmryf8.js} +17 -17
- package/dist/chunks/{instruction-discovery-kjxkqgqq.js → schema-y99khw21.js} +3 -3
- package/dist/chunks/{instruction-discovery-r8y742f5.js → schema-yh9brxq5.js} +10 -10
- package/dist/chunks/{instruction-discovery-zdy9tpyw.js → schema-yhka94gb.js} +28 -28
- package/dist/chunks/{instruction-discovery-a46t4z4t.js → schema-ykkt2z7t.js} +19 -19
- package/dist/chunks/{instruction-discovery-0121bcaw.js → schema-ymfmgbr6.js} +10 -10
- package/dist/chunks/{instruction-discovery-ynys59px.js → schema-yntqjfz5.js} +16 -16
- package/dist/chunks/{instruction-discovery-1acjjqhc.js → schema-yp2x3t23.js} +4 -4
- package/dist/chunks/{instruction-discovery-0qmc57sd.js → schema-yr2s5jbd.js} +11 -11
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-7gvwkz6m.js → schema-yt0fqk68.js} +5 -5
- package/dist/chunks/{instruction-discovery-z07pqspn.js → schema-z07pqspn.js} +3 -3
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-nejch2yn.js → schema-za86s8b3.js} +9 -9
- package/dist/chunks/{instruction-discovery-baaqp4zd.js → schema-zav06jzw.js} +4 -4
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-sa7x69qd.js → schema-zfzv19x2.js} +35 -35
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-7pb776yk.js → schema-zrmtt4x8.js} +3 -3
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → schema-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 +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -214
- package/dist/config/plugin/compaction.js +161 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +228 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -361
- package/dist/instruction-discovery.js +85 -85
- 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 +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +8 -0
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -132
- package/dist/session/context.js +153 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +112 -112
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/instructions/builtins.d.ts +1 -2
- package/dist/types/session/affinity.d.ts +4 -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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-726w9f8r.js +0 -26
- package/dist/chunks/instruction-discovery-ce6f651r.js +0 -252
- package/dist/chunks/instruction-discovery-ezddc45f.js +0 -507
- package/dist/chunks/instruction-discovery-pf31ssb9.js +0 -18
- package/dist/chunks/instruction-discovery-tee9eybj.js +0 -63
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node84
|
|
7
|
+
} from "./schema-d20e8vw1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service73,
|
|
16
|
+
node76
|
|
17
|
+
} from "./schema-ymfmgbr6.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-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: () => Service43,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node46,
|
|
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 Service43 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,25 +101,25 @@ 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(Service43, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service73;
|
|
110
|
+
return Service43.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node46 = makeGlobalNode({
|
|
171
|
+
service: Service43,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node76]
|
|
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, Service43, isError2, validateBranch2, node46, exports_repository_cache };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./schema-v4khfddp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service19,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-mwjz0nk2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service21
|
|
11
|
+
} from "./schema-kwp4z5r0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service53
|
|
14
|
+
} from "./schema-bb6qd770.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service20
|
|
17
|
+
} from "./schema-fb08v964.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
@@ -52,11 +52,11 @@ var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file
|
|
|
52
52
|
var Plugin38 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service20;
|
|
56
|
+
const fileMutation = yield* Service19;
|
|
57
|
+
const environment = yield* Service78;
|
|
58
|
+
const formatter = yield* Service21;
|
|
59
|
+
const permission = yield* Service53;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
61
|
name: name3,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-t89k7t2n.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-0eq7hms9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./schema-2phhkb6s.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service79;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names3, discover3, exports_discovery2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./schema-gr5dc40r.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-t550f9t1.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event12,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options5,
|
|
30
|
+
Service: () => Service60,
|
|
31
|
+
configured: () => configured5,
|
|
32
|
+
layer: () => layer20,
|
|
33
|
+
node: () => node62
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event12 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service60 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer20 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,7 +72,7 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make19({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service60.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service60,
|
|
110
|
+
layer: layer20(options),
|
|
111
|
+
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node62 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event12, Options5, Service60, layer20, configured5, node62, exports_instruction_discovery };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-y99khw21.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service83,
|
|
8
|
+
node87
|
|
9
|
+
} from "./schema-gr5dc40r.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-dmqcgk4z.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-wd3x2cqz.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-z07pqspn.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./schema-0pj8398s.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./schema-n1ka8r9d.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./schema-kykxfaeb.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./schema-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./schema-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node32
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -276,7 +276,7 @@ function projectIdle(db, event) {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
279
|
-
const bus = yield*
|
|
279
|
+
const bus = yield* Service83;
|
|
280
280
|
const db = (yield* Service84).db;
|
|
281
281
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
282
282
|
const stored = yield* db.insert(SessionTable2).values({
|
|
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
459
459
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
460
460
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
461
461
|
}));
|
|
462
|
-
var
|
|
462
|
+
var node32 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
|
|
463
463
|
|
|
464
|
-
export { SessionAlreadyProjected2,
|
|
464
|
+
export { SessionAlreadyProjected2, node32, exports_projector };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-y99khw21.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service73,
|
|
17
|
+
node: () => node76
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service73 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service73.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node76 = makeGlobalNode({ service: Service73, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service73, node76, exports_kv };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-y99khw21.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-z07pqspn.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load4
|
|
12
|
+
} from "./schema-m3aacv1r.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-nng2ktcm.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput3,
|
|
24
|
+
Service: () => Service54,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node56
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service54 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service54.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node56 = makeGlobalNode({ service: Service54, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput3, Service54, node56, exports_store };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service63
|
|
4
|
+
} from "./schema-rz3d44tq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./schema-tffeed3q.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin2
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin2 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service63;
|
|
27
|
+
const output = yield* Service65;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin32 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin2, exports_tool_output };
|