@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
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node83
|
|
9
|
+
} from "./instance-5zbw8dq9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./instance-saq4k3ef.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service13,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node15,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service13 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service80;
|
|
335
|
+
return Service13.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [node83] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service13, read2, node15, exports_read_filesystem };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service85,
|
|
4
|
+
node89
|
|
5
|
+
} from "./instance-c0jw7tng.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service58,
|
|
8
|
+
node60
|
|
9
|
+
} from "./instance-pwws2hp2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event9,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service55,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node57,
|
|
26
26
|
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service55 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event9 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
85
|
-
const bus = yield*
|
|
84
|
+
const kv = yield* Service58;
|
|
85
|
+
const bus = yield* Service85;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
88
88
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event9.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service55.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event9.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event9.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node57 = makeGlobalNode({ service: Service55, layer, deps: [httpClient, node60, node89] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service55, Event9, inspect2, resolve4, node57, exports_wellknown };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-qzfs27nc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID6.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node83
|
|
9
|
+
} from "./instance-5zbw8dq9.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service77,
|
|
24
|
+
node: () => node80
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service77 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service80;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service77.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node80 = makeLocationNode({ service: Service77, layer, deps: [node83, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service77, node80, exports_ripgrep };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./instance-t5d9whg0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./instance-4y7j986s.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin16
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin16 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service53;
|
|
26
|
+
const image = yield* Service78;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin47 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin16, exports_image };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-bcrfy1e8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./instance-c0jw7tng.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service67
|
|
11
|
+
} from "./instance-8mprknbj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-6vzwhms5.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID8,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-2ysm8pgm.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID7,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info16
|
|
24
|
+
} from "./instance-p6p9qpe8.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./instance-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instance-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./instance-pwjs67dv.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID8.openai;
|
|
47
|
+
var integrationID = ID9.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -179,8 +179,8 @@ function listen(server) {
|
|
|
179
179
|
var ChatGPTPlugin2 = define({
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
|
-
const bus = yield*
|
|
183
|
-
const credentials = yield*
|
|
182
|
+
const bus = yield* Service85;
|
|
183
|
+
const credentials = yield* Service67;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID9.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID7.make(model.slug))).map((model) => deriveModel(model, Info16.default(ID8.openai, ID7.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./instance-hy029169.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info27,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service82,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node86,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service82 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node86 = LayerNode.unbound(Service82, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service83;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service82.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service82,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node87]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info27, Ref4, response2, Service82, node86, boundNode2, exports_location };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-0aedf7nq.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent2 = {};
|
|
12
|
+
__export(exports_agent2, {
|
|
13
|
+
AgentPlugin: () => exports_agent2,
|
|
14
|
+
Plugin: () => Plugin32
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin32 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -91,32 +91,32 @@ var Plugin28 = define({
|
|
|
91
91
|
item.mode = "primary";
|
|
92
92
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
93
93
|
});
|
|
94
|
-
editor.update(
|
|
94
|
+
editor.update(ID15.make("general"), (item) => {
|
|
95
95
|
item.name = Name3.make("General");
|
|
96
96
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
97
97
|
item.mode = "subagent";
|
|
98
98
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
99
99
|
});
|
|
100
|
-
editor.update(
|
|
100
|
+
editor.update(ID15.make("explore"), (item) => {
|
|
101
101
|
item.name = Name3.make("Explore");
|
|
102
102
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
103
103
|
item.system = PROMPT_EXPLORE;
|
|
104
104
|
item.mode = "subagent";
|
|
105
105
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
106
106
|
});
|
|
107
|
-
editor.update(
|
|
107
|
+
editor.update(ID15.make("compaction"), (item) => {
|
|
108
108
|
item.name = Name3.make("Compaction");
|
|
109
109
|
item.mode = "primary";
|
|
110
110
|
item.hidden = true;
|
|
111
111
|
});
|
|
112
|
-
editor.update(
|
|
112
|
+
editor.update(ID15.make("title"), (item) => {
|
|
113
113
|
item.name = Name3.make("Title");
|
|
114
114
|
item.mode = "primary";
|
|
115
115
|
item.hidden = true;
|
|
116
116
|
item.system = PROMPT_TITLE;
|
|
117
117
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
118
118
|
});
|
|
119
|
-
editor.update(
|
|
119
|
+
editor.update(ID15.make("summary"), (item) => {
|
|
120
120
|
item.name = Name3.make("Summary");
|
|
121
121
|
item.mode = "primary";
|
|
122
122
|
item.hidden = true;
|
|
@@ -127,4 +127,4 @@ var Plugin28 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin32, exports_agent2 };
|