@opencode/core 0.0.0-dev-20268 → 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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{pty-pt4qm015.js → schema-02fx2esq.js} +9 -9
- package/dist/chunks/{pty-m2nqxzae.js → schema-03rhqhz8.js} +16 -16
- package/dist/chunks/{pty-ykm8y97q.js → schema-0455hjbt.js} +44 -44
- package/dist/chunks/{pty-9pe3kqxd.js → schema-04pw375h.js} +10 -10
- package/dist/chunks/{pty-h8k7e6cy.js → schema-057vntkv.js} +23 -23
- package/dist/chunks/{pty-s5ezmp18.js → schema-0eq7hms9.js} +3 -3
- package/dist/chunks/{pty-73eaq82f.js → schema-0gxqnvpq.js} +50 -46
- package/dist/chunks/{pty-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-5xxdmyws.js → schema-0pj8398s.js} +27 -27
- package/dist/chunks/{pty-dfe8djrf.js → schema-0v53mg2y.js} +4 -4
- package/dist/chunks/{pty-2d8cdpea.js → schema-0vq4p6sw.js} +11 -11
- package/dist/chunks/{pty-502jrry9.js → schema-1380s59h.js} +34 -34
- package/dist/chunks/{pty-kwv0ec6e.js → schema-153vd5vc.js} +3 -3
- package/dist/chunks/{pty-xb8h79t6.js → schema-17d68tkq.js} +21 -21
- package/dist/chunks/{pty-ey798p8x.js → schema-1bt4s3y9.js} +23 -23
- package/dist/chunks/{pty-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-tjt041fv.js → schema-1xys0ebv.js} +11 -11
- package/dist/chunks/{pty-bn3y9jg9.js → schema-20mv48v8.js} +10 -10
- package/dist/chunks/{pty-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{pty-z63w68vq.js → schema-29x78va6.js} +6 -6
- package/dist/chunks/{pty-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-t5er0ca3.js → schema-2fjb1j7y.js} +13 -13
- package/dist/chunks/{pty-2k8khapm.js → schema-2k8khapm.js} +1 -1
- package/dist/chunks/{pty-9q688fhg.js → schema-2nhp9p6w.js} +17 -17
- package/dist/chunks/{pty-hm56a3s4.js → schema-2phhkb6s.js} +11 -11
- package/dist/chunks/{pty-bb3ggaws.js → schema-2qfec9vm.js} +15 -15
- package/dist/chunks/{pty-ppxmacq5.js → schema-2vxy01ew.js} +9 -9
- package/dist/chunks/{pty-ry74srx0.js → schema-32ygzjnf.js} +10 -10
- package/dist/chunks/{pty-e1ttr1vf.js → schema-34jh91rq.js} +3 -3
- package/dist/chunks/{pty-rk1r2hx8.js → schema-3556dn8t.js} +1 -1
- package/dist/chunks/{pty-49d2x1ay.js → schema-37y8hjd0.js} +9 -9
- package/dist/chunks/{pty-qk6jy71g.js → schema-3d5p9naq.js} +13 -13
- package/dist/chunks/{pty-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-g2yqr101.js → schema-3m8k6a97.js} +40 -40
- package/dist/chunks/{pty-wdm89pze.js → schema-3r8mb62a.js} +26 -26
- package/dist/chunks/{pty-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-r6yz2jv0.js → schema-4c27qttd.js} +14 -14
- package/dist/chunks/{pty-4dgbcxzg.js → schema-4dgbcxzg.js} +1 -1
- package/dist/chunks/{pty-gkkx8aj6.js → schema-4nsycqaw.js} +332 -332
- package/dist/chunks/{pty-p0hymv7m.js → schema-4py3js73.js} +9 -9
- package/dist/chunks/{pty-4sn99hha.js → schema-4sn99hha.js} +2 -2
- package/dist/chunks/{pty-w8qg93vv.js → schema-4vcqcfh5.js} +3 -3
- package/dist/chunks/{pty-krmxyf0d.js → schema-4y0jsvk1.js} +17 -17
- package/dist/chunks/{pty-f29mbr7f.js → schema-4z58m4b4.js} +4 -4
- package/dist/chunks/{pty-mmnw2dm8.js → schema-53fn2v7c.js} +16 -16
- package/dist/chunks/{pty-54ma36ye.js → schema-54ma36ye.js} +1 -1
- package/dist/chunks/{pty-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-sz559pvg.js → schema-5q0dqpvd.js} +22 -22
- package/dist/chunks/{pty-k0af0wc4.js → schema-5szbf8m3.js} +25 -25
- package/dist/chunks/{pty-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-bxg1h86k.js → schema-5z9p70xw.js} +36 -36
- package/dist/chunks/{pty-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{pty-snv4mqbq.js → schema-6cknckpe.js} +49 -49
- package/dist/chunks/{pty-8vw6f0y9.js → schema-6kmx0kce.js} +8 -8
- package/dist/chunks/{pty-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-1k60at64.js → schema-6q1fpb12.js} +15 -15
- package/dist/chunks/{pty-espax8zg.js → schema-6t4hr8r6.js} +4 -4
- package/dist/chunks/{pty-cztxt40h.js → schema-6xvpa3dg.js} +24 -24
- package/dist/chunks/{pty-jw7hkzk6.js → schema-6yfh064v.js} +5 -5
- package/dist/chunks/{pty-vvwye2nj.js → schema-72b9nwr9.js} +9 -9
- package/dist/chunks/{pty-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-atgg4bc2.js → schema-7bshkk6c.js} +7 -7
- package/dist/chunks/schema-7ggrqnkf.js +252 -0
- package/dist/chunks/{pty-7jxp6c8r.js → schema-7h24643z.js} +4 -4
- package/dist/chunks/{pty-mfz952mq.js → schema-7kaezs2e.js} +11 -11
- package/dist/chunks/{pty-ds1793d3.js → schema-7mrx23rq.js} +4 -4
- package/dist/chunks/{pty-bh0zzf2s.js → schema-7s2tn799.js} +8 -8
- package/dist/chunks/{pty-256nx13v.js → schema-7w99qc9d.js} +3 -3
- package/dist/chunks/{pty-kv8zkh1g.js → schema-7x2w03m2.js} +25 -25
- package/dist/chunks/{pty-ns15zm60.js → schema-7xsd729g.js} +6 -6
- package/dist/chunks/{pty-84txncab.js → schema-84txncab.js} +1 -1
- package/dist/chunks/{pty-yt3hy1g9.js → schema-84zcxbc9.js} +5 -5
- package/dist/chunks/{pty-6ersrjne.js → schema-89e39zcy.js} +6 -6
- package/dist/chunks/{pty-s2fe5yee.js → schema-89yhyecc.js} +15 -15
- package/dist/chunks/{pty-tcezcvh9.js → schema-89znhe33.js} +4 -4
- package/dist/chunks/{pty-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-9cgpdx50.js → schema-8dt2nhtf.js} +37 -37
- package/dist/chunks/{pty-1bb8svhn.js → schema-8p8sbe40.js} +2 -2
- package/dist/chunks/{pty-jxnddvck.js → schema-8phqmggh.js} +5 -5
- package/dist/chunks/{pty-fyr884dn.js → schema-8s4fd4h0.js} +17 -17
- package/dist/chunks/{pty-py3kkmfq.js → schema-8sze2n9a.js} +6 -6
- package/dist/chunks/{pty-8zh4h089.js → schema-8zh4h089.js} +2 -2
- package/dist/chunks/{pty-h1ccr47d.js → schema-92qe48v5.js} +9 -9
- package/dist/chunks/{pty-94ek1h2f.js → schema-94ek1h2f.js} +2 -2
- package/dist/chunks/{pty-8v3yzv2h.js → schema-9sp4j3g7.js} +11 -11
- package/dist/chunks/{pty-9r1kpfzv.js → schema-9wcc5pj1.js} +21 -21
- package/dist/chunks/{pty-5tcqb85s.js → schema-9xq4rgak.js} +4 -4
- package/dist/chunks/{pty-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-2h35z0wh.js → schema-abbdd1c6.js} +5 -5
- package/dist/chunks/{pty-amsmzym1.js → schema-af49n079.js} +11 -11
- package/dist/chunks/{pty-da3t3c1a.js → schema-aqkyva7e.js} +29 -29
- package/dist/chunks/{pty-ya6d4wsg.js → schema-b24dgscy.js} +12 -12
- package/dist/chunks/{pty-v5dkyp31.js → schema-b27vhd2z.js} +4 -4
- package/dist/chunks/{pty-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-m0afwaej.js → schema-b7ze0h6m.js} +17 -17
- package/dist/chunks/{pty-380y1y2g.js → schema-b9marwrz.js} +5 -5
- package/dist/chunks/{pty-yacpk8s2.js → schema-bb6qd770.js} +47 -47
- package/dist/chunks/{pty-7cgsffzd.js → schema-bbgyx2ca.js} +25 -25
- package/dist/chunks/{pty-13jpn9qf.js → schema-bsthxcff.js} +21 -21
- package/dist/chunks/{pty-w0fatpdm.js → schema-c2ystsw5.js} +11 -11
- package/dist/chunks/{pty-1xr69c2t.js → schema-c3yncfhe.js} +17 -17
- package/dist/chunks/{pty-a0d1xb7f.js → schema-c6qrx7z0.js} +11 -11
- package/dist/chunks/{pty-khw8rk4h.js → schema-c9c9gefm.js} +92 -92
- package/dist/chunks/{pty-v1q5vzy1.js → schema-ccqrgpfr.js} +32 -32
- package/dist/chunks/{pty-jkg30kz0.js → schema-cd1ha9xt.js} +12 -12
- package/dist/chunks/{pty-ckecvw8r.js → schema-ckecvw8r.js} +2 -2
- package/dist/chunks/{pty-0tdmjwb2.js → schema-ckz290np.js} +8 -8
- package/dist/chunks/{pty-w5tae9vr.js → schema-cr5r5t3v.js} +5 -5
- package/dist/chunks/{pty-kcrpm209.js → schema-ctf78ks7.js} +29 -29
- package/dist/chunks/{pty-yn0sp2c9.js → schema-d20e8vw1.js} +11 -11
- package/dist/chunks/{pty-jx2ev558.js → schema-d81r50pr.js} +11 -11
- package/dist/chunks/{pty-5qwkxp89.js → schema-d9sgy5v4.js} +4 -4
- package/dist/chunks/{pty-9xbw9ht5.js → schema-dc6xss86.js} +22 -22
- package/dist/chunks/{pty-jpqmydm4.js → schema-dh89yxex.js} +25 -25
- package/dist/chunks/{pty-dmqcgk4z.js → schema-dmqcgk4z.js} +2 -2
- package/dist/chunks/{pty-qn6wy31b.js → schema-dq6warjh.js} +34 -34
- package/dist/chunks/{pty-2f0bjgcj.js → schema-dqmwfghx.js} +5 -5
- package/dist/chunks/{pty-7tcwyjc5.js → schema-dya6s92k.js} +25 -25
- package/dist/chunks/{pty-5qd3pb7m.js → schema-e3qxr5gk.js} +2 -2
- package/dist/chunks/{pty-9hk91h5t.js → schema-e5x26qyz.js} +4 -4
- package/dist/chunks/{pty-sp3tb7eb.js → schema-eap6v6ka.js} +32 -32
- package/dist/chunks/{pty-ecfe7b91.js → schema-ecfe7b91.js} +2 -2
- package/dist/chunks/{pty-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-1a6dfp6a.js → schema-ehpxdd9r.js} +29 -29
- package/dist/chunks/{pty-mjagy123.js → schema-engkm2d6.js} +5 -5
- package/dist/chunks/{pty-5dhb501x.js → schema-erdgy6bb.js} +27 -27
- package/dist/chunks/{pty-1y283654.js → schema-ermxvwhp.js} +4 -4
- package/dist/chunks/{pty-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-xrdbxh55.js → schema-ey8a4wge.js} +8 -8
- package/dist/chunks/{pty-ytpc42gn.js → schema-f1dxnh8x.js} +50 -50
- package/dist/chunks/{pty-rn906758.js → schema-f4ktwvph.js} +17 -17
- package/dist/chunks/{pty-axjgxag5.js → schema-fb08v964.js} +17 -17
- package/dist/chunks/{pty-7nf46ayk.js → schema-fdhjyf6e.js} +21 -21
- package/dist/chunks/{pty-fqc83w48.js → schema-feegf67a.js} +31 -31
- package/dist/chunks/{pty-bz150c0w.js → schema-fgdrjr7g.js} +34 -34
- package/dist/chunks/{pty-4x8rwf1z.js → schema-fgdzjjn8.js} +10 -10
- package/dist/chunks/{pty-ja83vbyg.js → schema-fma9b9zx.js} +48 -48
- package/dist/chunks/{pty-1ts3bv9c.js → schema-fn5s1xt4.js} +5 -5
- package/dist/chunks/{pty-2kmckccx.js → schema-fwzh61wc.js} +6 -6
- package/dist/chunks/{pty-5crqxzqh.js → schema-fzhk56mq.js} +22 -22
- package/dist/chunks/{pty-2rpgwtpn.js → schema-fzxn0rpd.js} +15 -15
- package/dist/chunks/{pty-e6qpbzva.js → schema-g6zjmjz7.js} +4 -4
- package/dist/chunks/{pty-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-hme2pbyj.js → schema-gjyhvyzk.js} +11 -11
- package/dist/chunks/{pty-8kkrevze.js → schema-gr5dc40r.js} +12 -12
- package/dist/chunks/{pty-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-pe348q3c.js → schema-gznm14y3.js} +34 -34
- package/dist/chunks/{pty-z6wkpgve.js → schema-h1nersjm.js} +33 -33
- package/dist/chunks/{pty-2xz8gpqm.js → schema-h57gm808.js} +17 -17
- package/dist/chunks/{pty-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-bw9zjykr.js → schema-hdab2k61.js} +6 -6
- package/dist/chunks/{pty-bscb95cy.js → schema-hdzt82x2.js} +4 -4
- package/dist/chunks/{pty-h0vkjtgq.js → schema-hefng7ga.js} +9 -9
- package/dist/chunks/{pty-kjhxpvza.js → schema-hh8v5qpg.js} +23 -23
- package/dist/chunks/{pty-34e05b1q.js → schema-hm7qa9sr.js} +43 -43
- package/dist/chunks/{pty-czj2jzje.js → schema-hs5b19ez.js} +27 -27
- package/dist/chunks/{pty-cnn51gq9.js → schema-hspndzgs.js} +8 -8
- package/dist/chunks/{pty-b25kyxm0.js → schema-htk8gamf.js} +13 -13
- package/dist/chunks/{pty-1zqvwrvt.js → schema-hx3vx9sm.js} +1 -1
- package/dist/chunks/{pty-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-be2e2rmc.js → schema-j575tj3n.js} +78 -78
- package/dist/chunks/{pty-4xm1nyz8.js → schema-j6de23b5.js} +24 -24
- package/dist/chunks/{pty-1wjdvt08.js → schema-j7wxbxne.js} +9 -9
- package/dist/chunks/{pty-63j7grd1.js → schema-k1qrnqst.js} +8 -8
- package/dist/chunks/{pty-bcx8t3jh.js → schema-k1xs71rw.js} +31 -31
- package/dist/chunks/{pty-k3c624dm.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{pty-ba85j57v.js → schema-kadj03x1.js} +14 -14
- package/dist/chunks/{pty-dcq5f67f.js → schema-kaqvhan9.js} +56 -56
- package/dist/chunks/{pty-r554yfq4.js → schema-kg3nfyrf.js} +11 -11
- package/dist/chunks/{pty-sngffazn.js → schema-kwp4z5r0.js} +13 -13
- package/dist/chunks/{pty-bzsja1m4.js → schema-kykxfaeb.js} +15 -15
- package/dist/chunks/{pty-yfyxqpka.js → schema-m1v72ch8.js} +22 -22
- package/dist/chunks/{pty-dzm75127.js → schema-m36xmz2a.js} +24 -24
- package/dist/chunks/{pty-e098c5nd.js → schema-m3aacv1r.js} +11 -11
- package/dist/chunks/{pty-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-zv28qa6p.js → schema-m8psntbj.js} +30 -30
- package/dist/chunks/{pty-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-gzeebjq4.js → schema-mdhbd56y.js} +7 -7
- package/dist/chunks/{pty-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{pty-73tb2d7t.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{pty-7g8jrxe6.js → schema-mwjz0nk2.js} +13 -13
- package/dist/chunks/{pty-4mznkh6v.js → schema-mx6ypyf3.js} +13 -13
- package/dist/chunks/{pty-mvksx64m.js → schema-n1ka8r9d.js} +4 -4
- package/dist/chunks/{pty-ypfpty4j.js → schema-n4mhh8dh.js} +21 -21
- package/dist/chunks/{pty-yc98vja2.js → schema-ncfrwhmr.js} +71 -71
- package/dist/chunks/{pty-m7va1g8x.js → schema-nng2ktcm.js} +2 -2
- package/dist/chunks/{pty-gr2zgnkv.js → schema-p1xcnqpd.js} +8 -8
- package/dist/chunks/{pty-d1x2vcvb.js → schema-p7jp4nkc.js} +5 -5
- package/dist/chunks/{pty-0bgm2scx.js → schema-p810a5w3.js} +6 -6
- package/dist/chunks/{pty-t4sx140a.js → schema-p97jtcyh.js} +24 -24
- package/dist/chunks/{pty-esjfm2jj.js → schema-phpw85vv.js} +8 -8
- package/dist/chunks/{pty-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{pty-a8zzg8q6.js → schema-pr2shm86.js} +36 -36
- package/dist/chunks/{pty-yjjnrnmm.js → schema-pstmv2d8.js} +11 -11
- package/dist/chunks/{pty-w4yf5md3.js → schema-ptstaxe9.js} +6 -6
- package/dist/chunks/{pty-ejnjzycc.js → schema-ptt6m9gv.js} +3 -3
- package/dist/chunks/{pty-gv66gg0x.js → schema-q6d53jre.js} +8 -8
- package/dist/chunks/{pty-qxyg3cpe.js → schema-q7d6akyq.js} +24 -24
- package/dist/chunks/{pty-6qthb5g6.js → schema-q8wjb94d.js} +20 -20
- package/dist/chunks/{pty-qwjmgwmn.js → schema-qby9dwvd.js} +8 -8
- package/dist/chunks/{pty-pnv527nz.js → schema-qg0jgkcp.js} +9 -9
- package/dist/chunks/{pty-djszqvmq.js → schema-qmqgtz8f.js} +9 -9
- package/dist/chunks/{pty-p2zp5k1h.js → schema-qnyr447v.js} +27 -27
- package/dist/chunks/{pty-818pfwc9.js → schema-qs001aqx.js} +11 -11
- package/dist/chunks/{pty-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-0r7yqxbf.js → schema-qte5z7bc.js} +5 -5
- package/dist/chunks/{pty-86bgrgvg.js → schema-qtgetkc5.js} +11 -11
- package/dist/chunks/{pty-qc833vcy.js → schema-qvs3yrx0.js} +22 -22
- package/dist/chunks/{pty-7pgzc71a.js → schema-qxs49gs0.js} +27 -27
- package/dist/chunks/{pty-0dax1ved.js → schema-qze8mdqk.js} +10 -10
- package/dist/chunks/{pty-3x346wy7.js → schema-r5398wsk.js} +10 -10
- package/dist/chunks/{pty-x1nmkajp.js → schema-r79r0pmw.js} +22 -22
- package/dist/chunks/schema-rap9a73h.js +18 -0
- package/dist/chunks/{pty-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-dda0p7y7.js → schema-rpjgfq5s.js} +9 -9
- package/dist/chunks/{pty-sn2139ra.js → schema-rz3d44tq.js} +48 -48
- package/dist/chunks/{pty-yrznvahk.js → schema-s4enseaf.js} +2 -2
- package/dist/chunks/{pty-1nmamnpy.js → schema-s532705d.js} +11 -11
- package/dist/chunks/{pty-4p83bz2m.js → schema-s5cvb66r.js} +14 -14
- package/dist/chunks/{pty-jcng7cb1.js → schema-scw85daj.js} +13 -13
- package/dist/chunks/{pty-e3d33s46.js → schema-sgj69q70.js} +10 -10
- package/dist/chunks/{pty-5hzwz31f.js → schema-szt33nzv.js} +19 -19
- package/dist/chunks/{pty-vt3tdkn6.js → schema-t1vq5jda.js} +167 -167
- package/dist/chunks/{pty-yswe8ex8.js → schema-t1zhpzyh.js} +23 -23
- package/dist/chunks/{pty-rhjbct0v.js → schema-t550f9t1.js} +4 -4
- package/dist/chunks/{pty-2afcb8r8.js → schema-t89k7t2n.js} +3 -3
- package/dist/chunks/{pty-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/schema-tbcx5g6b.js +26 -0
- package/dist/chunks/{pty-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{pty-x6mcsa6z.js → schema-tffeed3q.js} +12 -12
- package/dist/chunks/{pty-phstrbs2.js → schema-tpw6cwsb.js} +8 -8
- package/dist/chunks/{pty-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-02kyjrrf.js → schema-tvzckvfh.js} +19 -19
- package/dist/chunks/{pty-q1fsfhde.js → schema-v1z5k6ya.js} +33 -33
- package/dist/chunks/{pty-1htqca44.js → schema-v4khfddp.js} +23 -23
- package/dist/chunks/{pty-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-6zxr1haw.js → schema-vfb18kab.js} +12 -12
- package/dist/chunks/{pty-08jzjes0.js → schema-vhe05b2j.js} +18 -18
- package/dist/chunks/{pty-1hkz1vbe.js → schema-vm9szz2v.js} +40 -40
- package/dist/chunks/{pty-qkvbc3b4.js → schema-vnq9hngb.js} +33 -33
- package/dist/chunks/{pty-pxwtvwnd.js → schema-vvyaap0j.js} +1 -1
- package/dist/chunks/{pty-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-6sjv1yn4.js → schema-vzrrchan.js} +17 -17
- package/dist/chunks/{pty-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-2hj0m5wb.js → schema-w3xe5wx0.js} +32 -32
- package/dist/chunks/{pty-wd3x2cqz.js → schema-wd3x2cqz.js} +2 -2
- package/dist/chunks/{pty-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{pty-n33g3f6z.js → schema-wfnwj6ew.js} +12 -12
- package/dist/chunks/{pty-9c5ctaw2.js → schema-wk5z6jzv.js} +9 -9
- package/dist/chunks/{pty-2carkhwg.js → schema-wk7amq94.js} +29 -29
- package/dist/chunks/{pty-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-raaksh1t.js → schema-x5rm1qcs.js} +9 -9
- package/dist/chunks/{pty-24mw9w70.js → schema-x9685y9e.js} +42 -42
- package/dist/chunks/{pty-e2e3ejy6.js → schema-x9cd31tj.js} +5 -5
- package/dist/chunks/{pty-nrp9mwhy.js → schema-xdjq0qq8.js} +5 -5
- package/dist/chunks/{pty-g190xswt.js → schema-xdk9p2qn.js} +21 -21
- package/dist/chunks/{pty-xfkkasph.js → schema-xfkkasph.js} +1 -1
- package/dist/chunks/{pty-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-5zpkgqsx.js → schema-y3hxgm3d.js} +15 -15
- package/dist/chunks/{pty-mwjfjsx4.js → schema-y6b4mn53.js} +19 -19
- package/dist/chunks/{pty-jwcy2c2z.js → schema-y71avatq.js} +4 -4
- package/dist/chunks/{pty-r1fjzajf.js → schema-y7dmryf8.js} +32 -32
- package/dist/chunks/{pty-kwq0bhn5.js → schema-y99khw21.js} +3 -3
- package/dist/chunks/{pty-6h7g19nv.js → schema-yh9brxq5.js} +10 -10
- package/dist/chunks/{pty-mfb84nzt.js → schema-yhka94gb.js} +28 -28
- package/dist/chunks/{pty-1fa79a5x.js → schema-ykkt2z7t.js} +19 -19
- package/dist/chunks/{pty-kcpkb08r.js → schema-ymfmgbr6.js} +10 -10
- package/dist/chunks/{pty-dweqnfec.js → schema-yntqjfz5.js} +16 -16
- package/dist/chunks/{pty-r8xr0va3.js → schema-yp2x3t23.js} +4 -4
- package/dist/chunks/{pty-j96vhws7.js → schema-yr2s5jbd.js} +11 -11
- package/dist/chunks/{pty-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-pecb0brz.js → schema-yt0fqk68.js} +5 -5
- package/dist/chunks/{pty-z07pqspn.js → schema-z07pqspn.js} +3 -3
- package/dist/chunks/{pty-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-dtk78y7z.js → schema-za86s8b3.js} +9 -9
- package/dist/chunks/{pty-zee1rnkq.js → schema-zav06jzw.js} +4 -4
- package/dist/chunks/{pty-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-hcspxn5n.js → schema-zfzv19x2.js} +32 -32
- package/dist/chunks/{pty-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-0g3691s2.js → schema-zrmtt4x8.js} +3 -3
- package/dist/chunks/{pty-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- 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 +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- 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 -359
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +126 -126
- 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 +98 -98
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- 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 +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 -95
- 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 +95 -95
- 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 -162
- 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 +351 -351
- 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 +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- 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 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- 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 -232
- 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 +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- 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 +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- 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 +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/pty-b5ngr1ky.js +0 -252
- package/dist/chunks/pty-f81tjggh.js +0 -18
- package/dist/chunks/pty-x0tv82ed.js +0 -26
- /package/dist/chunks/{pty-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service79,
|
|
6
6
|
node82
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-2phhkb6s.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service77,
|
|
10
|
+
node80
|
|
11
|
+
} from "./schema-vhe05b2j.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./schema-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options10,
|
|
25
|
+
Service: () => Service76,
|
|
26
|
+
configured: () => configured10,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node79,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options10 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service76 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service76, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service77;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service76.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service76, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service76.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service76.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer25 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured10(options) {
|
|
186
|
+
return makeLocationNode({ service: Service76, layer: layer25(options), deps: [node82, node80] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node79 = configured10();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options10, Service76, ripgrepLayer2, fffLayer2, layer25, configured10, node79, exports_search };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./schema-rz3d44tq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./schema-qmqgtz8f.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
+
Plugin: () => Plugin15
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin15 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service63;
|
|
26
|
+
const policy = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin33 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin15, exports_location_watcher };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-y99khw21.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./schema-gr5dc40r.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service51,
|
|
11
|
+
node53
|
|
12
|
+
} from "./schema-hdab2k61.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service80,
|
|
19
19
|
node83
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-q8wjb94d.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-2phhkb6s.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service57,
|
|
26
|
+
node59
|
|
27
|
+
} from "./schema-za86s8b3.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError7
|
|
33
|
+
} from "./schema-x5rm1qcs.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./schema-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service48
|
|
39
|
+
} from "./schema-zav06jzw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service54,
|
|
42
|
+
node56
|
|
43
|
+
} from "./schema-yntqjfz5.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service49,
|
|
48
|
+
node51,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./schema-0pj8398s.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service47,
|
|
53
|
+
node50
|
|
54
|
+
} from "./schema-3m8k6a97.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node32
|
|
57
|
+
} from "./schema-ykkt2z7t.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./schema-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service28,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node31
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service28 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service80;
|
|
92
|
+
const locations = yield* Service57;
|
|
93
|
+
const store = yield* Service54;
|
|
94
|
+
const execution = yield* Service47;
|
|
95
|
+
const instances = yield* Service51;
|
|
96
|
+
const admission = yield* Service49;
|
|
97
97
|
const database = yield* Service84;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError7({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service48.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service28.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node31 = makeGlobalNode({
|
|
167
|
+
service: Service28,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
172
|
node83,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
173
|
+
node59,
|
|
174
|
+
node56,
|
|
175
|
+
node50,
|
|
176
|
+
node53,
|
|
177
|
+
node51,
|
|
178
178
|
node88,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node87,
|
|
180
|
+
node32
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node31, exports_move };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./schema-f4ktwvph.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service27
|
|
6
|
+
} from "./schema-c9c9gefm.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service27;
|
|
24
|
+
const jobs = yield* Service52;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make5 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service79,
|
|
3
3
|
node82
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-2phhkb6s.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service21,
|
|
17
|
+
node: () => node24
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service21 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service79;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service21.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node24 = makeLocationNode({
|
|
91
|
+
service: Service21,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node82, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service21, node24, exports_formatter2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-y99khw21.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-z07pqspn.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service31 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make19({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service31.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node35 = makeLocationNode({ service: Service31, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node35, exports_instruction_entry };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-bb6qd770.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service39,
|
|
12
|
+
node42
|
|
13
|
+
} from "./schema-f1dxnh8x.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./schema-ccqrgpfr.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service34,
|
|
27
|
+
layer: () => layer13,
|
|
28
28
|
node: () => node37
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service34 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer13 = Layer.effect(Service34, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service39;
|
|
68
|
+
return Service34.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make19({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -86,7 +86,7 @@ var layer12 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer12 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var node37 = makeLocationNode({ service:
|
|
99
|
+
var node37 = makeLocationNode({ service: Service34, layer: layer13, deps: [node42] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service34, layer13, node37, exports_instructions3 };
|