@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,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./instance-gxvgt8t9.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service85,
|
|
8
|
+
node89
|
|
9
|
+
} from "./instance-c0jw7tng.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-h7s7r6s9.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instance-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instance-rj3eygr5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-c1fqxshp.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./instance-vd5a229f.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./instance-c9wbyant.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./instance-s1xtywav.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./instance-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./instance-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node31
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -279,8 +279,8 @@ function projectIdle(db, event) {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
282
|
-
const bus = yield*
|
|
283
|
-
const db = (yield*
|
|
282
|
+
const bus = yield* Service85;
|
|
283
|
+
const db = (yield* Service86).db;
|
|
284
284
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
285
285
|
const stored = yield* db.insert(SessionTable2).values({
|
|
286
286
|
id: event.data.sessionID,
|
|
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
467
467
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
468
468
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
469
469
|
}));
|
|
470
|
-
var
|
|
470
|
+
var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node89, node90] });
|
|
471
471
|
|
|
472
|
-
export { SessionAlreadyProjected2,
|
|
472
|
+
export { SessionAlreadyProjected2, node31, exports_projector };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./instance-jhx7q1qc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service77,
|
|
10
|
+
node80
|
|
11
|
+
} from "./instance-j4d2njm3.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./instance-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options10,
|
|
25
|
+
Service: () => Service76,
|
|
26
|
+
configured: () => configured10,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer28,
|
|
29
|
+
node: () => node79,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options10 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service76 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service76, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service82;
|
|
63
|
+
const ripgrep = yield* Service77;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service76.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service76, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service82;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service76.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service76.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer28 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service82;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured10(options) {
|
|
186
|
+
return makeLocationNode({ service: Service76, layer: layer28(options), deps: [node86, node80] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node79 = configured10();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options10, Service76, ripgrepLayer2, fffLayer2, layer28, configured10, node79, exports_search };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin26
|
|
3
|
+
} from "./instance-s9w6dcwz.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin24
|
|
6
|
+
} from "./instance-a450qmf9.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin23
|
|
9
|
+
} from "./instance-h82zpv65.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin25
|
|
12
|
+
} from "./instance-wfmvav8k.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin22
|
|
15
|
+
} from "./instance-9nypp77e.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin26,
|
|
20
|
+
Plugin24,
|
|
21
|
+
Plugin23,
|
|
22
|
+
Plugin25,
|
|
23
|
+
Plugin22
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./instance-c0jw7tng.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-ypc4xgvm.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service21,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured3,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
node: () => node24
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,25 +36,25 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options3 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service21 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service85;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service41, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service41, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service41, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service21.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service41, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer12 = makeLayer();
|
|
263
|
+
var configured3 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service21,
|
|
265
|
+
layer: options === undefined ? layer12 : makeLayer(options),
|
|
266
|
+
deps: [node89, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node24 = configured3();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options3, UnavailableError3, NotFoundError3, Service21, layer12, configured3, node24, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./instance-jhx7q1qc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./instance-t5d9whg0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service18
|
|
9
|
+
} from "./instance-snpj5a6q.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make4
|
|
12
|
+
} from "./instance-sxcaecc0.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/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin2
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin2 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service53;
|
|
36
|
+
const formatter = yield* Service18;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service82;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin34 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make4({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin2, exports_formatter };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service82
|
|
14
|
+
} from "./instance-jhx7q1qc.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-jxa15a22.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin21,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin21 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service82;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin21, exports_git };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./instance-c0jw7tng.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service67,
|
|
9
|
+
node70
|
|
10
|
+
} from "./instance-8mprknbj.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-gqtdsdt7.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-xzyvagpz.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event14,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID9,
|
|
41
|
+
Info: () => Info18,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service66,
|
|
49
|
+
node: () => node69
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
72
|
+
var ID9 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info18 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID9,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service66 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service67;
|
|
117
|
+
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info18.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service66.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node69 = makeLocationNode({
|
|
633
|
+
service: Service66,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node70, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info18, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service66, node69, exports_integration, Event14 };
|