@opencode/core 0.0.0-dev-20114 → 0.0.0-dev-20115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{workspace-jt0ae3x5.js → generate-058r5a9s.js} +16 -16
- package/dist/chunks/{workspace-v0qyj49f.js → generate-05v90r5t.js} +32 -32
- package/dist/chunks/{workspace-8mjagv5b.js → generate-0cazcqtd.js} +13 -13
- package/dist/chunks/{workspace-xmpfc1gs.js → generate-0cgtmc8a.js} +12 -12
- package/dist/chunks/{workspace-prq7hedt.js → generate-0jq9fyba.js} +2 -2
- package/dist/chunks/generate-0mesazry.js +4 -0
- package/dist/chunks/{workspace-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0r7yqxbf.js → generate-0r7yqxbf.js} +2 -2
- package/dist/chunks/{workspace-tnkedzgy.js → generate-0rkxpd3w.js} +16 -16
- package/dist/chunks/{workspace-3mdqjwjq.js → generate-0z594a3n.js} +85 -85
- package/dist/chunks/{workspace-6f51hy00.js → generate-135dqwpd.js} +6 -6
- package/dist/chunks/{workspace-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-aesn9jmf.js → generate-1wj59nq5.js} +11 -11
- package/dist/chunks/{workspace-xm9ad1cr.js → generate-1wqg2ck8.js} +20 -20
- package/dist/chunks/{workspace-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-2402vzrj.js → generate-2402vzrj.js} +1 -1
- package/dist/chunks/{workspace-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-h747f910.js → generate-2fghpfkp.js} +45 -45
- package/dist/chunks/{workspace-2w6fc0zt.js → generate-2fgn2we9.js} +5 -5
- package/dist/chunks/{workspace-466thwct.js → generate-2qd48t7m.js} +15 -15
- package/dist/chunks/{workspace-qmqgtz8f.js → generate-2sejkfem.js} +9 -9
- package/dist/chunks/{workspace-pztc22em.js → generate-2tdwad47.js} +17 -17
- package/dist/chunks/generate-2tf17v0s.js +26 -0
- package/dist/chunks/{workspace-n6f91730.js → generate-2y92msa0.js} +8 -8
- package/dist/chunks/{workspace-knht3pjq.js → generate-2z03bkx6.js} +5 -5
- package/dist/chunks/{workspace-505kak1q.js → generate-312csvmh.js} +6 -6
- package/dist/chunks/{workspace-1ygqh575.js → generate-33w4ejhs.js} +6 -6
- package/dist/chunks/{workspace-4jk4wxge.js → generate-36nf603s.js} +33 -33
- package/dist/chunks/{workspace-cy02d2xc.js → generate-3bw4v39f.js} +6 -6
- package/dist/chunks/{workspace-q53vqx2z.js → generate-3dx765w3.js} +16 -16
- package/dist/chunks/{workspace-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-60an1160.js → generate-3gc9tq7p.js} +17 -17
- package/dist/chunks/{workspace-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-2xn6s27p.js → generate-3ka6c8fj.js} +46 -46
- package/dist/chunks/{workspace-45d0fyve.js → generate-3n114cxc.js} +17 -17
- package/dist/chunks/{workspace-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-h7e5g0tn.js → generate-3v0kbfet.js} +6 -6
- package/dist/chunks/{workspace-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{workspace-7gc9qn53.js → generate-408p2t6a.js} +29 -29
- package/dist/chunks/{workspace-1qx820s6.js → generate-4478d6jr.js} +20 -20
- package/dist/chunks/{workspace-h6r3nrb9.js → generate-44h5tttr.js} +4 -4
- package/dist/chunks/{workspace-az1ye58n.js → generate-48yaw2g6.js} +34 -34
- package/dist/chunks/{workspace-p9pz7yr4.js → generate-4krywg4p.js} +8 -8
- package/dist/chunks/{workspace-sz8868xq.js → generate-4sx6m46k.js} +7 -7
- package/dist/chunks/{workspace-0za9f44n.js → generate-4vd7n6yw.js} +1 -1
- package/dist/chunks/{workspace-bxhncv17.js → generate-4wgvb1zg.js} +8 -8
- package/dist/chunks/{workspace-7m8xajth.js → generate-4yqq56vx.js} +22 -22
- package/dist/chunks/{workspace-rv3ajkkz.js → generate-4z9rzteq.js} +22 -22
- package/dist/chunks/{workspace-hvf24zfz.js → generate-500fmqbd.js} +11 -11
- package/dist/chunks/{workspace-3pbxz7sh.js → generate-50d7ccq3.js} +18 -18
- package/dist/chunks/{workspace-kb9jw9za.js → generate-5c9sd73s.js} +5 -5
- package/dist/chunks/{workspace-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-5ekn9679.js → generate-5ekn9679.js} +1 -1
- package/dist/chunks/{workspace-ca8b9jkw.js → generate-5na67w3t.js} +4 -4
- package/dist/chunks/{workspace-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-fhwjz7ks.js → generate-5vs0p599.js} +27 -27
- package/dist/chunks/{workspace-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{workspace-q60sw46r.js → generate-6dxb6f6k.js} +28 -28
- package/dist/chunks/{workspace-red9fndq.js → generate-6fra3cd5.js} +5 -5
- package/dist/chunks/{workspace-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-py3kkmfq.js → generate-6pc27hjz.js} +6 -6
- package/dist/chunks/{workspace-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-pw8h7q9e.js → generate-7d7mc7nn.js} +30 -30
- package/dist/chunks/{workspace-2k8khapm.js → generate-7dqw4kz8.js} +5 -5
- package/dist/chunks/{workspace-hgazxmwb.js → generate-7fzbbf6p.js} +22 -22
- package/dist/chunks/{workspace-9ted079k.js → generate-7p3fcf52.js} +27 -27
- package/dist/chunks/{workspace-sfcb33kz.js → generate-7rats573.js} +17 -17
- package/dist/chunks/{workspace-ygb2gymn.js → generate-7vv29s32.js} +29 -29
- package/dist/chunks/{workspace-bxkg3gdp.js → generate-7w8dz25z.js} +18 -18
- package/dist/chunks/{workspace-vwpcpzep.js → generate-8aaqm6qj.js} +8 -8
- package/dist/chunks/{workspace-t5rx070x.js → generate-8bpcqbtr.js} +36 -36
- package/dist/chunks/{workspace-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-p1anhhew.js → generate-8exb21m6.js} +22 -22
- package/dist/chunks/{workspace-swfc4c09.js → generate-8j75q05v.js} +50 -50
- package/dist/chunks/{workspace-5rg82yfa.js → generate-8k1taj4b.js} +23 -23
- package/dist/chunks/{workspace-zh0w19mw.js → generate-8whe1ftd.js} +7 -7
- package/dist/chunks/{workspace-gfvb90ym.js → generate-94ek1h2f.js} +2 -2
- package/dist/chunks/{workspace-msnexz9t.js → generate-96av1tye.js} +33 -33
- package/dist/chunks/{workspace-td0mb8yv.js → generate-9chjmrjd.js} +19 -19
- package/dist/chunks/{workspace-b7vpt2tp.js → generate-9gz4pnve.js} +14 -14
- package/dist/chunks/{workspace-0spbe0cp.js → generate-9hqhm2d2.js} +33 -33
- package/dist/chunks/{workspace-ddevztyh.js → generate-9sp5ch6w.js} +35 -35
- package/dist/chunks/{workspace-aahyy29f.js → generate-a1fy41p6.js} +80 -80
- package/dist/chunks/{workspace-9vb8s0ef.js → generate-a22s65z7.js} +32 -32
- package/dist/chunks/{workspace-n0xkpwp9.js → generate-a54cg76a.js} +26 -26
- package/dist/chunks/{workspace-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-18gvgcyb.js → generate-ahwm19b7.js} +36 -36
- package/dist/chunks/{workspace-9c463c3v.js → generate-arzv5pyn.js} +21 -21
- package/dist/chunks/{workspace-7kq06j26.js → generate-aw6rh0e0.js} +18 -18
- package/dist/chunks/{workspace-e13yqjz3.js → generate-b0rvnc5h.js} +49 -49
- package/dist/chunks/{workspace-583w8zzc.js → generate-b5vd5f2s.js} +3 -3
- package/dist/chunks/{workspace-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-e0rvhg7q.js → generate-ba3st6n3.js} +2 -2
- package/dist/chunks/{workspace-myfy8bwe.js → generate-basnvkrt.js} +3 -3
- package/dist/chunks/{workspace-c67sf3ms.js → generate-bfhawprk.js} +9 -9
- package/dist/chunks/{workspace-nn09g6m5.js → generate-bgbs76xx.js} +24 -24
- package/dist/chunks/{workspace-zm1yvs5r.js → generate-bmbezxvj.js} +12 -12
- package/dist/chunks/{workspace-xa8fzrz4.js → generate-bt5w0njk.js} +24 -24
- package/dist/chunks/{workspace-4v7ngy20.js → generate-btbmdjwj.js} +4 -4
- package/dist/chunks/{workspace-g190xswt.js → generate-cavr175a.js} +4 -4
- package/dist/chunks/{workspace-vj0qrmre.js → generate-cfsjmcx3.js} +19 -19
- package/dist/chunks/{workspace-54tcyq79.js → generate-ckecvw8r.js} +2 -2
- package/dist/chunks/{workspace-qec8xvn0.js → generate-cpx588df.js} +318 -318
- package/dist/chunks/{workspace-p0b4ytnr.js → generate-cpy6gm2a.js} +4 -4
- package/dist/chunks/{workspace-g9177ymk.js → generate-cv19meg5.js} +7 -7
- package/dist/chunks/{workspace-e57pv4wg.js → generate-cybk5p7c.js} +73 -73
- package/dist/chunks/{workspace-m2tre556.js → generate-d6bnq78f.js} +42 -42
- package/dist/chunks/{workspace-a09v9r2j.js → generate-d97kjvmj.js} +13 -13
- package/dist/chunks/{workspace-tka7gdsf.js → generate-djdxfn23.js} +35 -35
- package/dist/chunks/{workspace-xfkkasph.js → generate-drwq78ky.js} +4 -4
- package/dist/chunks/{workspace-6x6zqcbs.js → generate-dsh6f6yj.js} +40 -40
- package/dist/chunks/{workspace-mxrrxz3e.js → generate-dtp9vetf.js} +12 -12
- package/dist/chunks/{workspace-r4b24f36.js → generate-e0xdgz0m.js} +11 -11
- package/dist/chunks/{workspace-791jfm05.js → generate-e40qhhm8.js} +11 -11
- package/dist/chunks/{workspace-v7bxjhmx.js → generate-e4670fxf.js} +7 -7
- package/dist/chunks/{workspace-2wy0jzng.js → generate-e7shfttd.js} +6 -6
- package/dist/chunks/{workspace-rhjbct0v.js → generate-eaj1djv9.js} +8 -8
- package/dist/chunks/{workspace-z92dbfgq.js → generate-ebhw3mq4.js} +4 -4
- package/dist/chunks/{workspace-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-g44g4t6r.js → generate-er4hwy7c.js} +15 -15
- package/dist/chunks/{workspace-erw5rpbs.js → generate-erw5rpbs.js} +2 -2
- package/dist/chunks/{workspace-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-6bwbzvbk.js → generate-ev27g8wa.js} +32 -32
- package/dist/chunks/{workspace-9n3yh9qe.js → generate-ewvdpzth.js} +19 -19
- package/dist/chunks/{workspace-asrf6d4d.js → generate-ey7ggjjv.js} +35 -35
- package/dist/chunks/{workspace-pkzcwsw4.js → generate-f9qkrfrz.js} +23 -23
- package/dist/chunks/{workspace-2yqk5d2g.js → generate-fgbmk54h.js} +11 -11
- package/dist/chunks/{workspace-pnkd16h0.js → generate-fjq2vs6z.js} +6 -6
- package/dist/chunks/{workspace-pqt57qxs.js → generate-fpm8vwy4.js} +37 -37
- package/dist/chunks/{workspace-5yzzbxa7.js → generate-g0445xdp.js} +8 -8
- package/dist/chunks/{workspace-z97kzzt3.js → generate-g25em2wa.js} +6 -6
- package/dist/chunks/{workspace-b601atsc.js → generate-g26gfjk9.js} +12 -12
- package/dist/chunks/{workspace-55q8s0tq.js → generate-g7nv64e4.js} +22 -22
- package/dist/chunks/{workspace-0dp24jhc.js → generate-g8f2cmxd.js} +22 -22
- package/dist/chunks/{workspace-8076am3r.js → generate-gcqgchj4.js} +41 -41
- package/dist/chunks/{workspace-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-6xhyt350.js → generate-ge5cpj3r.js} +5 -5
- package/dist/chunks/{workspace-wg0qqct4.js → generate-gghkw5p5.js} +24 -24
- package/dist/chunks/{workspace-0e81x99y.js → generate-gmjjhz4f.js} +3 -3
- package/dist/chunks/{workspace-khmhvwbd.js → generate-gr6sts3c.js} +25 -25
- package/dist/chunks/{workspace-akzjf690.js → generate-gsxdchbh.js} +9 -9
- package/dist/chunks/{workspace-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-c4cdms68.js → generate-gzafw2k2.js} +17 -17
- package/dist/chunks/{workspace-kd2jg7wg.js → generate-gzre948x.js} +10 -10
- package/dist/chunks/{workspace-rmj3p531.js → generate-gzvxer3a.js} +5 -5
- package/dist/chunks/{workspace-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-gc4fb455.js → generate-hehaxqkv.js} +4 -4
- package/dist/chunks/{workspace-s8x1qprv.js → generate-hgs5ny64.js} +11 -11
- package/dist/chunks/{workspace-s30pz1fr.js → generate-hpjt3c9f.js} +18 -18
- package/dist/chunks/{workspace-hccbp3fd.js → generate-hqax1sk6.js} +11 -11
- package/dist/chunks/{workspace-ww89ca1r.js → generate-hs0gycjv.js} +22 -22
- package/dist/chunks/{workspace-9cdcmxar.js → generate-htfm5hm2.js} +13 -13
- package/dist/chunks/{workspace-ja6mtjvc.js → generate-hzp6wvvn.js} +18 -18
- package/dist/chunks/{workspace-9bysvk2w.js → generate-j2gexte7.js} +15 -15
- package/dist/chunks/{workspace-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-vqfzq50h.js → generate-j5w2yx54.js} +6 -6
- package/dist/chunks/{workspace-wqc6684y.js → generate-jca4demv.js} +2 -2
- package/dist/chunks/{workspace-yd89mvd7.js → generate-jpv1641y.js} +8 -8
- package/dist/chunks/{workspace-vs560t14.js → generate-jrwd5gjp.js} +13 -13
- package/dist/chunks/{workspace-k1qrnqst.js → generate-k1qrnqst.js} +1 -1
- package/dist/chunks/{workspace-sxz6gkc3.js → generate-k8962brh.js} +4 -4
- package/dist/chunks/{workspace-56m60q16.js → generate-k8dasee7.js} +5 -5
- package/dist/chunks/{workspace-dwyehvxd.js → generate-kh5864kc.js} +19 -19
- package/dist/chunks/{workspace-6p5b6z32.js → generate-kjqhhdrj.js} +6 -6
- package/dist/chunks/{workspace-vmmqyyr9.js → generate-km5mjpbt.js} +5 -5
- package/dist/chunks/{workspace-6qrmzyn8.js → generate-kmdz5r4y.js} +22 -22
- package/dist/chunks/{workspace-ksytkaze.js → generate-kw185j9a.js} +21 -21
- package/dist/chunks/{workspace-56dkfrzf.js → generate-kwrf6mrp.js} +4 -4
- package/dist/chunks/{workspace-bqxbmhwc.js → generate-m2yg46wj.js} +11 -11
- package/dist/chunks/{workspace-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-0e0z5yt4.js → generate-m40fkmb4.js} +15 -15
- package/dist/chunks/{workspace-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-pyp5frad.js → generate-mg9my19h.js} +19 -19
- package/dist/chunks/{workspace-eq1pz5kg.js → generate-mhkvc446.js} +3 -3
- package/dist/chunks/{workspace-b8xr8rbz.js → generate-mnp2fbq7.js} +18 -18
- package/dist/chunks/{workspace-6wg7wrda.js → generate-mqzwkyay.js} +6 -6
- package/dist/chunks/{workspace-ty6tacf3.js → generate-mvk2jfk4.js} +5 -5
- package/dist/chunks/{workspace-sg1hzg94.js → generate-n46we7c3.js} +44 -44
- package/dist/chunks/{workspace-xv6wg3rm.js → generate-n6f6v89y.js} +11 -11
- package/dist/chunks/{workspace-rhj3j0xw.js → generate-n78y29v0.js} +6 -6
- package/dist/chunks/{workspace-y4b1sr7g.js → generate-na4s0x3w.js} +18 -18
- package/dist/chunks/{workspace-c5c81y3p.js → generate-nkttmmpy.js} +4 -4
- package/dist/chunks/{workspace-pkaafs0j.js → generate-nnh0aynp.js} +22 -22
- package/dist/chunks/{workspace-s8zy8myc.js → generate-nxhqveyz.js} +5 -5
- package/dist/chunks/{workspace-k3c624dm.js → generate-nzks3jc8.js} +3 -3
- package/dist/chunks/{workspace-83me60hv.js → generate-p0b30zvt.js} +11 -11
- package/dist/chunks/{workspace-438c5wf5.js → generate-p6frwh1y.js} +32 -32
- package/dist/chunks/{workspace-3zvpgha1.js → generate-pbt7bx9c.js} +22 -22
- package/dist/chunks/{workspace-ncfym1m4.js → generate-pek3718z.js} +14 -14
- package/dist/chunks/{workspace-9zbzdfgd.js → generate-peprph1j.js} +32 -32
- package/dist/chunks/generate-phz3h32g.js +18 -0
- package/dist/chunks/{workspace-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-1816vhxd.js → generate-pmw6zdhr.js} +4 -4
- package/dist/chunks/{workspace-78hnnhxt.js → generate-pn9jkae5.js} +11 -11
- package/dist/chunks/{workspace-rhr7kre3.js → generate-pwaxk50r.js} +19 -19
- package/dist/chunks/generate-q1k3p0aj.js +252 -0
- package/dist/chunks/{workspace-k6yq57aq.js → generate-q3t37ft6.js} +3 -3
- package/dist/chunks/{workspace-e89xj288.js → generate-q4fmv0xv.js} +5 -5
- package/dist/chunks/{workspace-7hxn90bs.js → generate-q4qc13yr.js} +41 -41
- package/dist/chunks/{workspace-7tp3f5r3.js → generate-q8n9d2sh.js} +8 -8
- package/dist/chunks/{workspace-k2wyf9h9.js → generate-qb1vw869.js} +42 -42
- package/dist/chunks/{workspace-m2d0j7c0.js → generate-qg0jgkcp.js} +9 -9
- package/dist/chunks/{workspace-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-71f1cn11.js → generate-r03v0hjj.js} +34 -34
- package/dist/chunks/{workspace-ae72ha8b.js → generate-r06z5h03.js} +25 -25
- package/dist/chunks/{workspace-9a5xrdm0.js → generate-r3889vak.js} +20 -20
- package/dist/chunks/{workspace-az5cyybe.js → generate-rcjabzwr.js} +5 -5
- package/dist/chunks/{workspace-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-qdbakdjh.js → generate-reg6q42h.js} +5 -5
- package/dist/chunks/{workspace-z873mpyh.js → generate-rj7bpn2q.js} +11 -11
- package/dist/chunks/{workspace-0yeq2kq4.js → generate-rmebftez.js} +174 -174
- package/dist/chunks/{workspace-vkfdnwpx.js → generate-s26hbv8p.js} +4 -4
- package/dist/chunks/{workspace-37sfe3bm.js → generate-s375a249.js} +13 -13
- package/dist/chunks/{workspace-re06hfb4.js → generate-sn6ab8mn.js} +26 -26
- package/dist/chunks/{workspace-schrbh41.js → generate-srn8r8jz.js} +21 -21
- package/dist/chunks/{workspace-mcyzx8fc.js → generate-sve65ey2.js} +11 -11
- package/dist/chunks/{workspace-zpser4p9.js → generate-swgq8cqr.js} +9 -9
- package/dist/chunks/{workspace-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-5z6rwdjk.js → generate-tcdcapjr.js} +3 -3
- package/dist/chunks/{workspace-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-ydq9gdxv.js → generate-tjbwbrpf.js} +7 -7
- package/dist/chunks/{workspace-t0fxg8b9.js → generate-tn0aqsam.js} +5 -5
- package/dist/chunks/{workspace-30a43rch.js → generate-tv09qagv.js} +50 -50
- package/dist/chunks/{workspace-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-1gfgk62c.js → generate-tx9w5tca.js} +8 -8
- package/dist/chunks/{workspace-2z54xyv0.js → generate-txcvczgx.js} +26 -26
- package/dist/chunks/{workspace-06x8he3q.js → generate-tz4n1mmd.js} +4 -4
- package/dist/chunks/{workspace-h9ssxcjg.js → generate-v1sqp18z.js} +10 -10
- package/dist/chunks/{workspace-5ksqsxw4.js → generate-v44xvwz4.js} +27 -27
- package/dist/chunks/{workspace-tq2sjk2m.js → generate-v7twaqy7.js} +24 -24
- package/dist/chunks/{workspace-ve4pfa0n.js → generate-ve4pfa0n.js} +1 -1
- package/dist/chunks/{workspace-183dvndp.js → generate-vek5t477.js} +9 -9
- package/dist/chunks/{workspace-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-kkvt8xjw.js → generate-vnpwkwtz.js} +17 -17
- package/dist/chunks/{workspace-9x5r1zhq.js → generate-vpr681xz.js} +8 -8
- package/dist/chunks/{workspace-kr59axht.js → generate-vrjazymd.js} +1 -1
- package/dist/chunks/{workspace-sfntmzm9.js → generate-vtpkq4qf.js} +1 -1
- package/dist/chunks/{workspace-fjvydvzm.js → generate-vyqn3nqs.js} +4 -4
- package/dist/chunks/{workspace-a9qpy9ng.js → generate-vz9yhsd3.js} +20 -20
- package/dist/chunks/{workspace-357vwvaw.js → generate-vzbekny8.js} +13 -13
- package/dist/chunks/{workspace-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-9z7cfjnw.js → generate-w9m1hehb.js} +31 -31
- package/dist/chunks/{workspace-em664rth.js → generate-wb66k78e.js} +20 -20
- package/dist/chunks/{workspace-5mqgys5q.js → generate-wcrxxh2z.js} +35 -35
- package/dist/chunks/{workspace-psazpmmj.js → generate-wd3x2cqz.js} +2 -2
- package/dist/chunks/{workspace-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-jhte7jv1.js → generate-wgzm9wz2.js} +11 -11
- package/dist/chunks/{workspace-fds0942a.js → generate-wp7yrr8t.js} +24 -24
- package/dist/chunks/{workspace-bk7jaeqh.js → generate-wq4mmp7m.js} +4 -4
- package/dist/chunks/{workspace-9q0fe16k.js → generate-wtgzqz62.js} +15 -15
- package/dist/chunks/{workspace-b23ngztz.js → generate-wwgrxbk4.js} +8 -8
- package/dist/chunks/{workspace-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-xkntkrq7.js → generate-xkntkrq7.js} +2 -2
- package/dist/chunks/{workspace-e62vcbxn.js → generate-xx13ga85.js} +5 -5
- package/dist/chunks/{workspace-91e2qxf2.js → generate-xxyw0hgj.js} +33 -33
- package/dist/chunks/{workspace-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-bzbmha14.js → generate-y4n2nqts.js} +10 -10
- package/dist/chunks/{workspace-7wc442ye.js → generate-y52aqrcn.js} +5 -5
- package/dist/chunks/{workspace-ypzhfwa9.js → generate-y5df08dr.js} +12 -12
- package/dist/chunks/{workspace-dpkg50ah.js → generate-y71avatq.js} +4 -4
- package/dist/chunks/{workspace-0g0t9165.js → generate-y7t0d5q6.js} +4 -4
- package/dist/chunks/{workspace-0qfaha1m.js → generate-y8adhbbs.js} +3 -3
- package/dist/chunks/{workspace-tvj5t05b.js → generate-ydpvnw0r.js} +10 -10
- package/dist/chunks/{workspace-ft8my87t.js → generate-ynpb9wcp.js} +11 -11
- package/dist/chunks/{workspace-yp2x3t23.js → generate-yp2x3t23.js} +1 -1
- package/dist/chunks/{workspace-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-yrznvahk.js → generate-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-1cxs6ddq.js → generate-ysa4kjbr.js} +26 -26
- package/dist/chunks/{workspace-27za9r5g.js → generate-yxn70j2j.js} +48 -48
- package/dist/chunks/{workspace-bjtzbw4r.js → generate-z07pqspn.js} +3 -3
- package/dist/chunks/{workspace-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-975r8ezm.js → generate-z2wn3pyy.js} +35 -35
- package/dist/chunks/{workspace-kgen349b.js → generate-z3nay82g.js} +9 -9
- package/dist/chunks/{workspace-z63w68vq.js → generate-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-wjds8tjc.js → generate-z8m5seqj.js} +25 -25
- package/dist/chunks/{workspace-818pfwc9.js → generate-za9cx4qh.js} +8 -8
- package/dist/chunks/{workspace-13q1kvsh.js → generate-zcjrg8ya.js} +6 -6
- package/dist/chunks/{workspace-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-4zetm0jd.js → generate-zxfgyqze.js} +9 -9
- package/dist/chunks/{workspace-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +13 -13
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/workspace-6kdq0pjd.js +0 -4
- package/dist/chunks/workspace-a9862w5q.js +0 -26
- package/dist/chunks/workspace-cm00fmja.js +0 -252
- package/dist/chunks/workspace-v1faaxn9.js +0 -18
- /package/dist/chunks/{workspace-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-1wj59nq5.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin21,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin21 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin5 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin5 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint5, Plugin21, exports_tinyfish };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./generate-gghkw5p5.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info11
|
|
9
|
+
} from "./generate-za9cx4qh.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-pmw6zdhr.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./generate-qb1vw869.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin41
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin41 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service51;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin30 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID14.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID14.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin41, exports_agent2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./generate-qb1vw869.js";
|
|
4
4
|
import {
|
|
5
5
|
Service13
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-k1qrnqst.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin40
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin40 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service51;
|
|
29
29
|
const managed = yield* Service13;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
@@ -57,4 +57,4 @@ var Plugin20 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin40, exports_policy };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./generate-ey7ggjjv.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-hjbc5kem.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 !== ID9.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 !== ID9.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin12,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin12 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin40 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin12, exports_opencode };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./generate-txcvczgx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./generate-8j75q05v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service82;
|
|
57
|
+
const permission = yield* Service74;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./generate-hqax1sk6.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-ckecvw8r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
|
+
Info: () => Info28,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service76,
|
|
21
|
+
node: () => node80
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
|
+
var Info28 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service76 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID13.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service76.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID13, Info28, ListInput5, AddInput2, Service76, node80, exports_saved };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-zcjrg8ya.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-y8adhbbs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service84,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node88
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service84 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service84, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service84, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service84,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node88 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service84, layer26, layerFromClient2, configured13, configuredClient2, node88, exports_database };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service40,
|
|
12
|
+
node42
|
|
13
|
+
} from "./generate-ysa4kjbr.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions5 = {};
|
|
20
|
+
__export(exports_instructions5, {
|
|
21
|
+
Service: () => Service27,
|
|
22
|
+
SkillInstructions: () => exports_instructions5,
|
|
23
|
+
node: () => node30
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service27 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service40;
|
|
67
|
+
return Service27.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
71
|
-
key:
|
|
70
|
+
return make21({
|
|
71
|
+
key: Key4.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node30 = makeLocationNode({ service: Service27, layer, deps: [node42] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service27, node30, exports_instructions5 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service73,
|
|
3
|
+
node77,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-vek5t477.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service36,
|
|
8
|
+
node38
|
|
9
|
+
} from "./generate-j5w2yx54.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service71
|
|
12
|
+
} from "./generate-48yaw2g6.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-q1k3p0aj.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service73, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service71);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node38.replace(Layer.succeed(Service36, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node77.replace(Layer.succeed(Service73, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|