@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,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node12, exports_discovery };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-2ysm8pgm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID7,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info16,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-p6p9qpe8.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID7.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info16.make({
|
|
98
|
+
...Info16.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID7.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./instance-gxvgt8t9.js";
|
|
1
5
|
import {
|
|
2
6
|
Service85,
|
|
3
7
|
node89
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service84,
|
|
7
|
-
node88
|
|
8
|
-
} from "./location-wapmwjpk.js";
|
|
8
|
+
} from "./instance-c0jw7tng.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service42,
|
|
11
|
+
node44
|
|
12
|
+
} from "./instance-sxzvkvgj.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service83,
|
|
19
|
+
node87
|
|
20
|
+
} from "./instance-hy029169.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-jhx7q1qc.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service50,
|
|
26
|
+
node52
|
|
27
|
+
} from "./instance-3mksxvab.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError9
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-9k44apjz.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./instance-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service40
|
|
39
|
+
} from "./instance-2vs2nh1n.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service70,
|
|
42
|
+
node73
|
|
43
|
+
} from "./instance-b4gsa26k.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service41,
|
|
48
|
+
node43,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./instance-vd5a229f.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service39,
|
|
53
|
+
node42
|
|
54
|
+
} from "./instance-a2pz59r9.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node31
|
|
57
|
+
} from "./instance-6btvgc07.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./instance-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -88,14 +88,14 @@ class Service26 extends Context.Service()("@opencode/SessionMove") {
|
|
|
88
88
|
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service83;
|
|
92
|
+
const locations = yield* Service50;
|
|
93
|
+
const store = yield* Service70;
|
|
94
|
+
const execution = yield* Service39;
|
|
95
|
+
const instances = yield* Service42;
|
|
96
|
+
const admission = yield* Service41;
|
|
97
|
+
const database = yield* Service86;
|
|
98
|
+
const bus = yield* Service85;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
@@ -131,7 +131,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service40.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
136
|
return Service26.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
@@ -169,15 +169,15 @@ var node29 = makeGlobalNode({
|
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node87,
|
|
173
|
+
node52,
|
|
174
|
+
node73,
|
|
175
|
+
node42,
|
|
176
|
+
node44,
|
|
177
|
+
node43,
|
|
178
|
+
node90,
|
|
178
179
|
node89,
|
|
179
|
-
|
|
180
|
-
node30
|
|
180
|
+
node31
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options5,
|
|
15
|
+
Service: () => Service51,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured5,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
24
|
node: () => node53,
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options5 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service51 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve3.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service51.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured5(options) {
|
|
210
|
+
return makeLocationNode({ service: Service51, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var node53 =
|
|
212
|
+
var node53 = configured5();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options5, Service51, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured5, node53, exports_select };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./instance-c0jw7tng.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event7,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info8,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service48,
|
|
21
|
+
layer: () => layer20,
|
|
22
|
+
node: () => node50
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event7 } from "@opencode/schema/command";
|
|
28
|
+
var Info8 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service48 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer20 = Layer.effect(Service48, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service85;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer27 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info8.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service48.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer27 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node50 = makeLocationNode({
|
|
75
|
+
service: Service48,
|
|
76
|
+
layer: layer20,
|
|
77
|
+
deps: [node89]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info8, NotFoundError6, ExecutionError2, Service48, layer20, node50, exports_command4, Event7 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service72,
|
|
10
|
+
node: () => node75
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service72 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service72.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node75 = makeLocationNode({ service: Service72, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service72, node75, exports_hooks };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_driver, {
|
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make21,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node85,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node85 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node85, exports_driver };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./instance-2ysm8pgm.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|