@opencode/core 2.0.31 → 2.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-5r0e9r43.js → instance-00hj6bjn.js} +36 -36
- package/dist/chunks/{location-02nrjc1r.js → instance-02nrjc1r.js} +1 -1
- package/dist/chunks/{location-wmx2yec4.js → instance-0aedf7nq.js} +24 -24
- package/dist/chunks/instance-0e3j8fc0.js +257 -0
- package/dist/chunks/{location-ptefqdz6.js → instance-0f5g2b67.js} +47 -47
- package/dist/chunks/{location-4ekscj25.js → instance-0fhevdjt.js} +5 -5
- package/dist/chunks/{location-0vbcp93d.js → instance-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-q22hcgwy.js → instance-0x6zefqk.js} +4 -4
- package/dist/chunks/{location-k6t9754k.js → instance-127b9nq3.js} +2 -2
- package/dist/chunks/{location-nmrzdgqa.js → instance-14q6b86s.js} +15 -15
- package/dist/chunks/{location-5xtgfte3.js → instance-1ajx6rf5.js} +8 -8
- package/dist/chunks/{location-ps53sfwy.js → instance-1e477vzc.js} +8 -8
- package/dist/chunks/{location-f6v6e9jj.js → instance-1kn978n9.js} +45 -45
- package/dist/chunks/{location-khmqacep.js → instance-1w2wqhfv.js} +4 -4
- package/dist/chunks/{location-0bx9ftm6.js → instance-2j1fd8ns.js} +22 -22
- package/dist/chunks/{location-fcrkznn8.js → instance-2k8khapm.js} +5 -5
- package/dist/chunks/{location-rpg9c19m.js → instance-2vs2nh1n.js} +4 -4
- package/dist/chunks/{location-zrjxanbe.js → instance-2wamsapc.js} +25 -25
- package/dist/chunks/{location-xg3acd94.js → instance-2ysm8pgm.js} +33 -33
- package/dist/chunks/{location-0gwx0s3y.js → instance-3cy08nae.js} +7 -7
- package/dist/chunks/{location-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3hwn7j4h.js → instance-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-fykrrrct.js → instance-3mksxvab.js} +9 -9
- package/dist/chunks/{location-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-t57002t3.js → instance-3x6psag0.js} +20 -20
- package/dist/chunks/{location-3zsf4n22.js → instance-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-ygdna4kr.js → instance-47jkzegy.js} +5 -5
- package/dist/chunks/{location-ad2byham.js → instance-4hxt5e23.js} +17 -17
- package/dist/chunks/{location-syf57q56.js → instance-4j4tgtq5.js} +4 -4
- package/dist/chunks/{location-5kmwyhcc.js → instance-4p9mf0mj.js} +8 -8
- package/dist/chunks/{location-p59fwf97.js → instance-4q4vnebt.js} +7 -7
- package/dist/chunks/{location-d43tgzm4.js → instance-4y7j986s.js} +9 -9
- package/dist/chunks/{location-vtv85xx9.js → instance-50a72dh7.js} +4 -4
- package/dist/chunks/{location-wgkt74tw.js → instance-52w29975.js} +8 -8
- package/dist/chunks/{location-v2hqmhsj.js → instance-5408hnnb.js} +15 -15
- package/dist/chunks/{location-54ma36ye.js → instance-54ma36ye.js} +1 -1
- package/dist/chunks/{location-drwq78ky.js → instance-57b9ws8p.js} +5 -5
- package/dist/chunks/{location-5m9w47nd.js → instance-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-7r0r50e5.js → instance-5nrew705.js} +5 -5
- package/dist/chunks/{location-3k46pnes.js → instance-5saajy9t.js} +13 -13
- package/dist/chunks/{location-ndxmvpwy.js → instance-5zbw8dq9.js} +24 -24
- package/dist/chunks/{location-bv75eenn.js → instance-6btvgc07.js} +22 -22
- package/dist/chunks/{location-xjqbcb23.js → instance-6h1sgzxr.js} +32 -32
- package/dist/chunks/instance-6hkj46ta.js +26 -0
- package/dist/chunks/{location-dn4cq3jj.js → instance-6njkejes.js} +31 -31
- package/dist/chunks/{location-xz5ete57.js → instance-6pn2td3v.js} +17 -17
- package/dist/chunks/{location-x72tgrkt.js → instance-6tnrngrh.js} +10 -10
- package/dist/chunks/{location-m464tetq.js → instance-6vzwhms5.js} +29 -29
- package/dist/chunks/{location-6xb47vfp.js → instance-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-332p2pj5.js → instance-71svxegq.js} +74 -74
- package/dist/chunks/{location-604zh56d.js → instance-74syfsk2.js} +11 -11
- package/dist/chunks/{location-yeaxfmem.js → instance-76an7qnj.js} +18 -18
- package/dist/chunks/{location-775gj3j1.js → instance-775gj3j1.js} +2 -2
- package/dist/chunks/{location-byhrkmnv.js → instance-79aanr6n.js} +23 -23
- package/dist/chunks/{location-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-5r0sd97x.js → instance-7c25kt5f.js} +14 -14
- package/dist/chunks/{location-q89amkt5.js → instance-7kf7gnm7.js} +13 -13
- package/dist/chunks/{location-2k9gth8v.js → instance-7q6nqg1g.js} +9 -9
- package/dist/chunks/{location-v5asjnvt.js → instance-84caq58q.js} +13 -13
- package/dist/chunks/{location-84txncab.js → instance-84txncab.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → instance-89znhe33.js} +4 -4
- package/dist/chunks/{location-a08hwrr8.js → instance-8dc76097.js} +23 -23
- package/dist/chunks/{location-n7zsrb9m.js → instance-8dp3pqp7.js} +5 -5
- package/dist/chunks/{location-twaq3jzm.js → instance-8j7djd22.js} +18 -18
- package/dist/chunks/{location-8m6m0r52.js → instance-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-54ekx5ae.js → instance-8mprknbj.js} +33 -33
- package/dist/chunks/{location-rexbarkw.js → instance-8q7cp091.js} +14 -14
- package/dist/chunks/{location-zbax6w3t.js → instance-8x4cb7ds.js} +22 -22
- package/dist/chunks/{location-j09zfasm.js → instance-91qna3x0.js} +3 -3
- package/dist/chunks/{location-e6hpsnvb.js → instance-94t3kz80.js} +29 -29
- package/dist/chunks/{location-y8jdt19h.js → instance-99kqc9z2.js} +3 -3
- package/dist/chunks/{location-7c6xqexj.js → instance-9ar4pza7.js} +8 -8
- package/dist/chunks/{location-8ekd6vxm.js → instance-9b8s04gb.js} +22 -22
- package/dist/chunks/{location-fgamwy3d.js → instance-9jgxs1bn.js} +11 -11
- package/dist/chunks/{location-kje2jy7e.js → instance-9k44apjz.js} +3 -3
- package/dist/chunks/{location-yz9xngpq.js → instance-9mg0ha5m.js} +5 -5
- package/dist/chunks/{location-ankyagqv.js → instance-9nypp77e.js} +12 -12
- package/dist/chunks/{location-98tg60b9.js → instance-9rd468vk.js} +32 -32
- package/dist/chunks/{location-zqkh3haf.js → instance-9s4s5645.js} +12 -12
- package/dist/chunks/{location-s42x7kbt.js → instance-9y6nqyzn.js} +5 -5
- package/dist/chunks/{location-q4ht2jz5.js → instance-a0r8rfmp.js} +9 -9
- package/dist/chunks/{location-hm3bk0p8.js → instance-a2gdg3s5.js} +34 -34
- package/dist/chunks/{location-f4pp2f84.js → instance-a2pz59r9.js} +41 -41
- package/dist/chunks/{location-agk9a7ht.js → instance-a450qmf9.js} +9 -9
- package/dist/chunks/{location-rx3mvgkr.js → instance-a7p9m6vg.js} +21 -21
- package/dist/chunks/{location-n75tjgph.js → instance-agt7xfc2.js} +16 -16
- package/dist/chunks/{location-k9axst5t.js → instance-asvc535p.js} +13 -13
- package/dist/chunks/{location-qfav9mb9.js → instance-azaahc9x.js} +20 -20
- package/dist/chunks/{location-v23zj4w8.js → instance-b4gsa26k.js} +17 -17
- package/dist/chunks/{location-htx0x9rj.js → instance-b7n2911q.js} +32 -32
- package/dist/chunks/{location-s8efh3qt.js → instance-ba4zj86y.js} +27 -27
- package/dist/chunks/{location-8n3txx1w.js → instance-bcmzxatv.js} +5 -5
- package/dist/chunks/{location-08mhz53j.js → instance-bcrfy1e8.js} +11 -11
- package/dist/chunks/{location-9ex8f1cq.js → instance-be7qvw84.js} +8 -8
- package/dist/chunks/{location-hcv80w8f.js → instance-bg9pb3hs.js} +8 -8
- package/dist/chunks/{location-32g64bfd.js → instance-bwe2bky2.js} +4 -4
- package/dist/chunks/{location-4vkzjfz1.js → instance-c01nkdt4.js} +16 -16
- package/dist/chunks/{location-wapmwjpk.js → instance-c0jw7tng.js} +16 -16
- package/dist/chunks/{location-c1fqxshp.js → instance-c1fqxshp.js} +3 -3
- package/dist/chunks/{location-7b4crnna.js → instance-c4f3nvjn.js} +17 -17
- package/dist/chunks/{location-c9wbyant.js → instance-c9wbyant.js} +4 -4
- package/dist/chunks/{location-fv1pwmey.js → instance-ckerv63d.js} +3 -3
- package/dist/chunks/{location-xshzrn6p.js → instance-cqpz2z25.js} +20 -20
- package/dist/chunks/{location-xc3gbc81.js → instance-d4n7pc7j.js} +12 -12
- package/dist/chunks/{location-y71avatq.js → instance-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-dqxsqydv.js → instance-dqxsqydv.js} +1 -1
- package/dist/chunks/{location-3vpfcmec.js → instance-dw46b8bx.js} +20 -20
- package/dist/chunks/{location-2svw76rs.js → instance-dy6575tn.js} +19 -19
- package/dist/chunks/{location-gdmbfffs.js → instance-e5wkangg.js} +45 -45
- package/dist/chunks/{location-0d5fgvs9.js → instance-eb2yw134.js} +10 -10
- package/dist/chunks/{location-e3h2tv5m.js → instance-ec8g0tcf.js} +39 -39
- package/dist/chunks/{location-wnqm0cgw.js → instance-echrm7fx.js} +9 -9
- package/dist/chunks/{location-rbdhhdfw.js → instance-edhgwctf.js} +5 -5
- package/dist/chunks/{location-eej6y6fw.js → instance-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-t3nfadhs.js → instance-egzk2yjk.js} +85 -85
- package/dist/chunks/{location-xx6gh137.js → instance-em3k6scw.js} +8 -8
- package/dist/chunks/{location-b5t06xk9.js → instance-enbw0gbw.js} +44 -44
- package/dist/chunks/{location-0k8emadn.js → instance-f4mxpp6t.js} +46 -46
- package/dist/chunks/{location-922zmdzk.js → instance-f60ec8ph.js} +11 -11
- package/dist/chunks/{location-pzq6k8vz.js → instance-fjz5gha3.js} +85 -85
- package/dist/chunks/{location-cneqc13g.js → instance-ft79q47f.js} +4 -4
- package/dist/chunks/{location-pba85c1x.js → instance-fww2ha2b.js} +10 -10
- package/dist/chunks/{location-2ajwk0j6.js → instance-fxp0jy99.js} +41 -41
- package/dist/chunks/{location-1gb4csdk.js → instance-g2wa2e5b.js} +11 -11
- package/dist/chunks/{location-cwa6csj7.js → instance-g6q9qykm.js} +9 -9
- package/dist/chunks/{location-0ngbj78w.js → instance-g6vxq4t7.js} +16 -16
- package/dist/chunks/{location-qfqwar9z.js → instance-g95hkc6v.js} +24 -24
- package/dist/chunks/{location-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-n207hqvt.js → instance-gea60fq5.js} +24 -24
- package/dist/chunks/{location-k22b66k8.js → instance-gqtdsdt7.js} +4 -4
- package/dist/chunks/{location-vafycr3d.js → instance-gvm6138t.js} +1 -1
- package/dist/chunks/{location-pyv4m8ny.js → instance-gxvgt8t9.js} +13 -13
- package/dist/chunks/{location-ef6w4cys.js → instance-h14remhy.js} +26 -26
- package/dist/chunks/{location-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-h7s7r6s9.js → instance-h7s7r6s9.js} +2 -2
- package/dist/chunks/{location-kkhv8ffc.js → instance-h82zpv65.js} +6 -6
- package/dist/chunks/{location-ac3w4tg1.js → instance-h8wg6m6b.js} +11 -11
- package/dist/chunks/{location-d5am0rpv.js → instance-hdb1y56n.js} +41 -41
- package/dist/chunks/{location-hgz4x7wa.js → instance-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-gkv0m4je.js → instance-hrtybn11.js} +3 -3
- package/dist/chunks/{location-gp4grenw.js → instance-hy029169.js} +49 -49
- package/dist/chunks/{location-zewj3pg6.js → instance-hz56gd46.js} +17 -17
- package/dist/chunks/{location-nc34fnv7.js → instance-hzzj1pg2.js} +21 -21
- package/dist/chunks/{location-jf14n6qf.js → instance-j3ftvw7y.js} +6 -6
- package/dist/chunks/{location-8945desn.js → instance-j4d2njm3.js} +18 -18
- package/dist/chunks/{location-y01krfzx.js → instance-j5s48rss.js} +11 -11
- package/dist/chunks/{location-z41z05dk.js → instance-j99dhamb.js} +6 -6
- package/dist/chunks/{location-pey7n3za.js → instance-jez41mts.js} +23 -23
- package/dist/chunks/{location-a3kydf8v.js → instance-jhx7q1qc.js} +16 -16
- package/dist/chunks/{location-jdj7c2dh.js → instance-jxa04fe5.js} +14 -14
- package/dist/chunks/{location-aqjemj7v.js → instance-jxa15a22.js} +24 -24
- package/dist/chunks/{location-dyava1km.js → instance-k3e33c9f.js} +13 -13
- package/dist/chunks/{location-jr70j6bk.js → instance-k74v33jx.js} +22 -22
- package/dist/chunks/{location-sp6sqjr9.js → instance-karq4mt3.js} +32 -32
- package/dist/chunks/{location-v41ydkwg.js → instance-kjpxk16h.js} +19 -19
- package/dist/chunks/{location-vmz83zrx.js → instance-kjzbdttd.js} +6 -6
- package/dist/chunks/{location-bfwybkmg.js → instance-kp7zea7r.js} +35 -35
- package/dist/chunks/{location-ynrbdj0p.js → instance-ksbyxnj1.js} +22 -22
- package/dist/chunks/{location-kwb1v3vj.js → instance-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-3kxs742t.js → instance-m7f5ga5x.js} +10 -10
- package/dist/chunks/{location-chbmk58x.js → instance-m82ef0kx.js} +5 -5
- package/dist/chunks/{location-0gn2wfg7.js → instance-m8p0bf8a.js} +1 -1
- package/dist/chunks/{location-d2gxvrjz.js → instance-m8qsgghe.js} +50 -50
- package/dist/chunks/{location-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-maspj1v3.js → instance-maspj1v3.js} +1 -1
- package/dist/chunks/{location-ykfvkqah.js → instance-mee8ct06.js} +2 -2
- package/dist/chunks/{location-0p4tcy8x.js → instance-mn1n5f3s.js} +3 -3
- package/dist/chunks/{location-w8yd89gy.js → instance-mtpeagzc.js} +3 -3
- package/dist/chunks/{location-kavz8ev8.js → instance-n240m50y.js} +13 -13
- package/dist/chunks/{location-j0p2n9y3.js → instance-n7jnsjte.js} +27 -27
- package/dist/chunks/{location-ed777npe.js → instance-n86j2s3s.js} +11 -11
- package/dist/chunks/{location-6je2rgp2.js → instance-n886b0hh.js} +15 -15
- package/dist/chunks/{location-dwtdh34y.js → instance-nbm6td7p.js} +4 -4
- package/dist/chunks/{location-bdva7wc0.js → instance-nfnvba5x.js} +14 -14
- package/dist/chunks/{location-q02nkz8q.js → instance-ngdgjn5a.js} +15 -15
- package/dist/chunks/{location-wpw4fxj8.js → instance-nj7hqrdc.js} +19 -14
- package/dist/chunks/{location-31sbk34f.js → instance-nnq6jpzr.js} +11 -11
- package/dist/chunks/{location-x4zxggeh.js → instance-npg16c9q.js} +35 -35
- package/dist/chunks/{location-kkv8xsc6.js → instance-nsdb0f42.js} +11 -11
- package/dist/chunks/{location-b476w8hy.js → instance-p6p9qpe8.js} +34 -34
- package/dist/chunks/{location-p0b32wnx.js → instance-pbh24ypk.js} +11 -11
- package/dist/chunks/{location-jv6mm5r1.js → instance-pbjcynf2.js} +11 -11
- package/dist/chunks/{location-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{location-kfspy82a.js → instance-prvmgnqy.js} +5 -5
- package/dist/chunks/{location-zg9mg9xh.js → instance-pwjs67dv.js} +6 -6
- package/dist/chunks/{location-30z8dtpn.js → instance-pwws2hp2.js} +13 -13
- package/dist/chunks/{location-nxwbzm2s.js → instance-q3krtzxs.js} +25 -25
- package/dist/chunks/{location-qkefedax.js → instance-q97qe3v1.js} +21 -21
- package/dist/chunks/{location-qnc92qwc.js → instance-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{location-sk8ngeq0.js → instance-qxbyfn4m.js} +12 -12
- package/dist/chunks/{location-fak546jh.js → instance-qzfs27nc.js} +26 -26
- package/dist/chunks/{location-d2kjhx1e.js → instance-r1d9yajz.js} +51 -51
- package/dist/chunks/{location-q66bexh6.js → instance-r730fk4b.js} +18 -18
- package/dist/chunks/instance-rap9a73h.js +18 -0
- package/dist/chunks/{location-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-rert0e01.js → instance-rert0e01.js} +2 -2
- package/dist/chunks/{location-rj3eygr5.js → instance-rj3eygr5.js} +2 -2
- package/dist/chunks/{location-0226ecw2.js → instance-rq74kqrf.js} +8 -8
- package/dist/chunks/{location-xdyvfy69.js → instance-rr384mgp.js} +9 -9
- package/dist/chunks/{location-edrmdtr5.js → instance-ryr25ayn.js} +7 -7
- package/dist/chunks/{location-k2a504bc.js → instance-s1kmd63q.js} +13 -13
- package/dist/chunks/{location-eykbxn2n.js → instance-s1xtywav.js} +14 -14
- package/dist/chunks/{location-7fpfrasm.js → instance-s3v8c45g.js} +31 -31
- package/dist/chunks/{location-yhntedeb.js → instance-s4bj6v34.js} +11 -11
- package/dist/chunks/{location-y8asngre.js → instance-s5jrf6ry.js} +11 -11
- package/dist/chunks/{location-wcgwrd3j.js → instance-s7ecmt2f.js} +18 -18
- package/dist/chunks/{location-e21ryx48.js → instance-s9w6dcwz.js} +8 -8
- package/dist/chunks/{location-sa8ekw3f.js → instance-sa8ekw3f.js} +2 -2
- package/dist/chunks/{location-qvbvh2j1.js → instance-saq4k3ef.js} +33 -33
- package/dist/chunks/{location-1hws7hxk.js → instance-snpj5a6q.js} +15 -15
- package/dist/chunks/{location-w8s3ffgw.js → instance-spnt6386.js} +32 -32
- package/dist/chunks/{location-r2z489rp.js → instance-sxcaecc0.js} +3 -3
- package/dist/chunks/{location-d0k1g5nx.js → instance-sxzvkvgj.js} +6 -6
- package/dist/chunks/{location-syv4x271.js → instance-syv4x271.js} +1 -1
- package/dist/chunks/{location-txm3e8qz.js → instance-sz15zhhw.js} +4 -4
- package/dist/chunks/{location-xxbhqfv7.js → instance-sz70a389.js} +13 -13
- package/dist/chunks/{location-ptva3pym.js → instance-t5d9whg0.js} +53 -53
- package/dist/chunks/{location-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-wdwn1xw9.js → instance-tdjzh3mn.js} +15 -15
- package/dist/chunks/{location-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{location-s26hbv8p.js → instance-tfzngn12.js} +4 -4
- package/dist/chunks/{location-tm0kqsz3.js → instance-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-9emww0n5.js → instance-tx5jepxr.js} +49 -49
- package/dist/chunks/{location-tyytaxap.js → instance-tyytaxap.js} +1 -1
- package/dist/chunks/{location-5v0crexd.js → instance-v0es1rhs.js} +9 -9
- package/dist/chunks/{location-gjy4e9va.js → instance-v4640cdb.js} +322 -322
- package/dist/chunks/{location-5a4fa56b.js → instance-v5qm4ejs.js} +33 -33
- package/dist/chunks/instance-v742aeg8.js +66 -0
- package/dist/chunks/{location-v7p4zvkq.js → instance-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-37dgakmz.js → instance-vcnzat6y.js} +28 -28
- package/dist/chunks/{location-4pqc6r0s.js → instance-vd5a229f.js} +30 -30
- package/dist/chunks/{location-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{location-6rm5yzkt.js → instance-vfjhn2wd.js} +4 -4
- package/dist/chunks/{location-0dnxk7rk.js → instance-vqtt4fqa.js} +13 -13
- package/dist/chunks/{location-zvn35tm5.js → instance-vz3ca5nz.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → instance-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-6pc27hjz.js → instance-w92k2e0p.js} +4 -4
- package/dist/chunks/{location-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{location-egeseaw5.js → instance-wdgmgtm0.js} +11 -11
- package/dist/chunks/{location-1qeeh34f.js → instance-wfmvav8k.js} +8 -8
- package/dist/chunks/{location-4xpgt2w9.js → instance-wh6zw745.js} +5 -5
- package/dist/chunks/{location-1ffvrpkg.js → instance-wjr9rjd7.js} +9 -9
- package/dist/chunks/{location-egy7b75h.js → instance-wjsh9s1s.js} +35 -35
- package/dist/chunks/{location-725z4hsd.js → instance-wmhjcbrh.js} +29 -29
- package/dist/chunks/{location-kdv1w5tp.js → instance-wndqf9wb.js} +10 -10
- package/dist/chunks/{location-55m3mq6h.js → instance-x20m8gm2.js} +25 -25
- package/dist/chunks/{location-v5v0w1v9.js → instance-xjvxx86v.js} +4 -4
- package/dist/chunks/{location-d08c6kge.js → instance-xn7k1yjr.js} +32 -32
- package/dist/chunks/{location-98vn5e4g.js → instance-xnn7a7ef.js} +16 -16
- package/dist/chunks/{location-bczx5ry5.js → instance-xt4njr3s.js} +1 -1
- package/dist/chunks/{location-4826d3mm.js → instance-xvr6z0ms.js} +21 -21
- package/dist/chunks/{location-z0pkcfr2.js → instance-xzyvagpz.js} +23 -23
- package/dist/chunks/{location-2s0kcc7y.js → instance-y0r048qb.js} +180 -180
- package/dist/chunks/{location-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-6fatt4mk.js → instance-y56ehv6b.js} +9 -9
- package/dist/chunks/{location-g686f6pq.js → instance-y7nndgyc.js} +9 -9
- package/dist/chunks/{location-7b3a7ss3.js → instance-ydjrys25.js} +12 -12
- package/dist/chunks/{location-sp3e7rwb.js → instance-ye119z04.js} +50 -50
- package/dist/chunks/{location-1acjjqhc.js → instance-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-qjmwhgd5.js → instance-ypc4xgvm.js} +17 -17
- package/dist/chunks/{location-mgnytpvb.js → instance-ypne3kk7.js} +28 -28
- package/dist/chunks/{location-8ank75fn.js → instance-yw8t9dwe.js} +8 -8
- package/dist/chunks/{location-had4kgfk.js → instance-yx0rmv9r.js} +4 -4
- package/dist/chunks/{location-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-rda1ncrk.js → instance-z8epvsg6.js} +5 -5
- package/dist/chunks/{location-hdyh3agd.js → instance-zdhmwdxf.js} +21 -21
- package/dist/chunks/{location-hhkvbeez.js → instance-zr0n9bt7.js} +4 -4
- package/dist/chunks/{location-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-gwf59qdk.js → instance-zy2kjt51.js} +38 -38
- package/dist/chunks/{location-b3f8fkhc.js → instance-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +74 -74
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- 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 +89 -89
- package/dist/generate.js +105 -105
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +358 -357
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +355 -354
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +84 -84
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/voice.d.ts +29 -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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +97 -0
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-b49nb10p.js +0 -253
- package/dist/chunks/location-dxj72tfx.js +0 -18
- package/dist/chunks/location-k2w6m327.js +0 -26
- /package/dist/chunks/{location-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → instance-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3t0ybcrp.js → instance-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → instance-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → instance-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → instance-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → instance-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jze0r7bz.js → instance-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → instance-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-pkyv6v7h.js → instance-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-pyv0edze.js → instance-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → instance-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wjj7prxr.js → instance-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./instance-jhx7q1qc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./instance-5zbw8dq9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service79,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-vqtt4fqa.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./instance-snpj5a6q.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service69
|
|
17
|
+
} from "./instance-f4mxpp6t.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service17,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-76an7qnj.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instance-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instance-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input7,
|
|
34
|
+
Output: () => Output5,
|
|
35
|
+
Plugin: () => Plugin44,
|
|
36
|
+
name: () => name7
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name7 = "edit";
|
|
43
|
+
var Input7 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input2 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin44 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service17;
|
|
197
|
+
const fileMutation = yield* Service79;
|
|
198
|
+
const environment = yield* Service80;
|
|
199
|
+
const formatter = yield* Service18;
|
|
200
|
+
const location = yield* Service82;
|
|
201
|
+
const permission = yield* Service69;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name7,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input7,
|
|
207
|
+
output: Output5,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin4 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name7, Input7, Output5, Plugin44, exports_edit };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
|
-
function
|
|
8
|
+
function make4(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make4 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service42,
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service42 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node44 = LayerNode.unbound(Service42, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service42, node44, exports_service2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info13,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule2
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info13 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info13, exports_permission };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./instance-t5d9whg0.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service14,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-fww2ha2b.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin17
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin17 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service53;
|
|
34
|
+
const managed = yield* Service14;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -69,4 +69,4 @@ var Plugin38 = define({
|
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Plugin17, exports_policy };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./instance-c0jw7tng.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event15,
|
|
7
|
+
Service67,
|
|
8
|
+
node70
|
|
9
|
+
} from "./instance-8mprknbj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service54,
|
|
12
|
+
node56
|
|
13
|
+
} from "./instance-k74v33jx.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service82,
|
|
19
|
+
node86
|
|
20
|
+
} from "./instance-jhx7q1qc.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-kwb1v3vj.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instance-s7ecmt2f.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instance-m7f5ga5x.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./instance-dqxsqydv.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service55,
|
|
37
|
+
Event9,
|
|
38
|
+
node57
|
|
39
|
+
} from "./instance-hzzj1pg2.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./instance-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options6,
|
|
49
|
+
Service: () => Service53,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured6,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer21,
|
|
54
|
+
node: () => node55,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options6 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -76,7 +76,7 @@ var Options8 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service53 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
94
94
|
setEntries: (next) => Ref.set(entries, next),
|
|
95
95
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
96
96
|
});
|
|
97
|
-
return Context.empty().pipe(Context.add(
|
|
97
|
+
return Context.empty().pipe(Context.add(Service53, service), Context.add(Test2, service));
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var layer21 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const watcher = yield*
|
|
103
|
-
const bus = yield*
|
|
104
|
-
const credentials = yield*
|
|
101
|
+
const location = yield* Service82;
|
|
102
|
+
const watcher = yield* Service54;
|
|
103
|
+
const bus = yield* Service85;
|
|
104
|
+
const credentials = yield* Service67;
|
|
105
105
|
const globalService = yield* Global.Service;
|
|
106
|
-
const wellknown = yield*
|
|
106
|
+
const wellknown = yield* Service55;
|
|
107
107
|
const processes = yield* AppProcess.Service;
|
|
108
108
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
109
109
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -186,7 +186,7 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
188
188
|
return [
|
|
189
|
-
...yield* Effect.forEach(
|
|
189
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
190
190
|
new Directory({ type: "directory", path: directory })
|
|
191
191
|
];
|
|
192
192
|
});
|
|
@@ -254,8 +254,8 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
254
254
|
}, (effect) => reloadLock.withPermit(effect));
|
|
255
255
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
256
256
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
257
|
-
yield* bus.subscribe(
|
|
258
|
-
yield* bus.subscribe(
|
|
257
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
258
|
+
yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
259
259
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
260
260
|
if (!wellknown.snapshot().length)
|
|
261
261
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
268
268
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
269
269
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
270
270
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
271
|
-
const candidates =
|
|
271
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
272
272
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
273
273
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
274
274
|
`;
|
|
@@ -283,7 +283,7 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
283
283
|
`);
|
|
284
284
|
yield* requestReload;
|
|
285
285
|
}, (effect) => updateLock.withPermit(effect));
|
|
286
|
-
return
|
|
286
|
+
return Service53.of({
|
|
287
287
|
entries: Effect.fnUntraced(function* () {
|
|
288
288
|
return configs;
|
|
289
289
|
}),
|
|
@@ -295,22 +295,22 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
295
295
|
update
|
|
296
296
|
});
|
|
297
297
|
}));
|
|
298
|
-
function
|
|
298
|
+
function configured6(options) {
|
|
299
299
|
return makeLocationNode({
|
|
300
|
-
service:
|
|
301
|
-
layer:
|
|
300
|
+
service: Service53,
|
|
301
|
+
layer: layer21(options),
|
|
302
302
|
deps: [
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
node56,
|
|
304
|
+
node89,
|
|
305
305
|
FSUtil.node,
|
|
306
306
|
Global.node,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
node86,
|
|
308
|
+
node70,
|
|
309
|
+
node57,
|
|
310
310
|
AppProcess.node
|
|
311
311
|
]
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var node55 = configured6();
|
|
315
315
|
|
|
316
|
-
export { latest2,
|
|
316
|
+
export { latest2, Options6, Service53, Test2, testLayer2, layer21, configured6, node55, exports_config };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./instance-jhx7q1qc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./instance-t5d9whg0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service23
|
|
12
|
+
} from "./instance-xvr6z0ms.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin5
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin5 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service53;
|
|
34
|
+
const location = yield* Service82;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service23;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin36 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin5, exports_worktree };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin35,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin35 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin23 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin35, exports_identity };
|