@opencode/core 0.0.0-dev-20442 → 0.0.0-dev-20446
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 +69 -69
- package/dist/chunks/{permission-n91my64e.js → repository-cache-091f0rd0.js} +35 -35
- package/dist/chunks/{permission-dq2wvmse.js → repository-cache-0a1ad31p.js} +25 -25
- package/dist/chunks/{permission-2rydvyqr.js → repository-cache-0j4x3pky.js} +20 -20
- package/dist/chunks/{permission-q0xm7vwc.js → repository-cache-0j77ygfz.js} +6 -6
- package/dist/chunks/{permission-1t857hjb.js → repository-cache-0mrd04w5.js} +35 -35
- package/dist/chunks/{permission-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-vy6b5em3.js → repository-cache-0qb7pa1n.js} +8 -8
- package/dist/chunks/{permission-e9vp1087.js → repository-cache-0s60x6wy.js} +18 -18
- package/dist/chunks/{permission-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
- package/dist/chunks/{permission-5pdtm3ys.js → repository-cache-0z5qyjxf.js} +4 -4
- package/dist/chunks/{permission-r1hnqs67.js → repository-cache-0zvk9z0h.js} +15 -15
- package/dist/chunks/{permission-6pmstnsj.js → repository-cache-10h2grd6.js} +11 -11
- package/dist/chunks/{permission-fnn0cp9k.js → repository-cache-169shjta.js} +11 -11
- package/dist/chunks/{permission-m8bwxwrt.js → repository-cache-1d5ct0zc.js} +12 -12
- package/dist/chunks/{permission-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-1dvck2a7.js → repository-cache-1dvck2a7.js} +2 -2
- package/dist/chunks/{permission-he05b9av.js → repository-cache-1gd6spct.js} +5 -5
- package/dist/chunks/{permission-1ygqh575.js → repository-cache-1ygqh575.js} +2 -2
- package/dist/chunks/{permission-21r38tys.js → repository-cache-21r38tys.js} +1 -1
- package/dist/chunks/{permission-32ymn5e1.js → repository-cache-22f357wt.js} +9 -9
- package/dist/chunks/{permission-0wb28b8g.js → repository-cache-25ex5bj3.js} +14 -14
- package/dist/chunks/{permission-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-4ts7tf6z.js → repository-cache-2ccvkpx1.js} +2 -2
- package/dist/chunks/{permission-086he908.js → repository-cache-2fxbb402.js} +8 -8
- package/dist/chunks/{permission-kxpygcw9.js → repository-cache-2jmaghvr.js} +4 -4
- package/dist/chunks/{permission-a80rqdat.js → repository-cache-2rk6k8vg.js} +14 -14
- package/dist/chunks/{permission-bxfv37an.js → repository-cache-2w25bewv.js} +10 -10
- package/dist/chunks/{permission-fa1txk6j.js → repository-cache-32dhwnjc.js} +11 -11
- package/dist/chunks/{permission-427t97hr.js → repository-cache-3556dn8t.js} +1 -1
- package/dist/chunks/{permission-8d4qv0d0.js → repository-cache-376dc42v.js} +24 -24
- package/dist/chunks/{permission-gs3s1a1g.js → repository-cache-37ea9c2d.js} +8 -8
- package/dist/chunks/{permission-chrxq3ex.js → repository-cache-37sfe3bm.js} +12 -12
- package/dist/chunks/{permission-kp3fwcqd.js → repository-cache-3bg5g8q7.js} +18 -18
- package/dist/chunks/{permission-05nc3te4.js → repository-cache-3by35n0t.js} +1 -1
- package/dist/chunks/{permission-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-ctcgvvdg.js → repository-cache-3g7y17n3.js} +12 -12
- package/dist/chunks/{permission-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-00z3vp5f.js → repository-cache-3j8sdtpz.js} +4 -4
- package/dist/chunks/{permission-6a32aa16.js → repository-cache-3rbph65y.js} +37 -37
- package/dist/chunks/{permission-jj2xx5sm.js → repository-cache-3s1wsaeq.js} +23 -23
- package/dist/chunks/{permission-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-9sa4gh2r.js → repository-cache-3v5tjer0.js} +7 -7
- package/dist/chunks/{permission-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-0pzcpm6t.js → repository-cache-40f2545g.js} +33 -33
- package/dist/chunks/{permission-q6nxn9wp.js → repository-cache-4429sr8a.js} +18 -18
- package/dist/chunks/{permission-ejz43770.js → repository-cache-48frr5ey.js} +24 -24
- package/dist/chunks/{permission-901b4gmn.js → repository-cache-4ag3f9xz.js} +3 -3
- package/dist/chunks/{permission-7jj6yt2j.js → repository-cache-4eda5p0n.js} +9 -9
- package/dist/chunks/{permission-bh1hbe1h.js → repository-cache-4epeq83n.js} +11 -11
- package/dist/chunks/{permission-0br3sbwn.js → repository-cache-4v7ngy20.js} +4 -4
- package/dist/chunks/{permission-syf57q56.js → repository-cache-4z58m4b4.js} +4 -4
- package/dist/chunks/{permission-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
- package/dist/chunks/{permission-0y4cgmp4.js → repository-cache-58s7bv4e.js} +34 -34
- package/dist/chunks/{permission-7an9geej.js → repository-cache-5c68v4c5.js} +13 -13
- package/dist/chunks/{permission-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-g3dykj8x.js → repository-cache-5fwyrf5z.js} +26 -26
- package/dist/chunks/{permission-fw2v9256.js → repository-cache-5m5yrm4y.js} +8 -8
- package/dist/chunks/{permission-j061j13j.js → repository-cache-5q9xfknq.js} +10 -10
- package/dist/chunks/{permission-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-m3zza4qd.js → repository-cache-5we7r0eg.js} +8 -8
- package/dist/chunks/{permission-nq2jm7wm.js → repository-cache-63s895d0.js} +20 -20
- package/dist/chunks/{permission-669tq793.js → repository-cache-669tq793.js} +1 -1
- package/dist/chunks/{permission-trs19xpw.js → repository-cache-69jzkc3x.js} +30 -30
- package/dist/chunks/{permission-1sag5cbk.js → repository-cache-6bkwpg0x.js} +12 -12
- package/dist/chunks/{permission-snn5f3r6.js → repository-cache-706phk7x.js} +2 -2
- package/dist/chunks/{permission-71az546q.js → repository-cache-71az546q.js} +2 -2
- package/dist/chunks/{permission-w3nq1sqw.js → repository-cache-76ymgwed.js} +9 -9
- package/dist/chunks/{permission-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-4kcz70rf.js → repository-cache-7fv9049a.js} +36 -36
- package/dist/chunks/{permission-w42c4fnw.js → repository-cache-7gh65m6s.js} +6 -6
- package/dist/chunks/{permission-t5mna4z2.js → repository-cache-7kfsqtmt.js} +11 -11
- package/dist/chunks/{permission-5p26dgf1.js → repository-cache-7vwcfb7e.js} +11 -11
- package/dist/chunks/{permission-t1xes4ae.js → repository-cache-7x28tdrb.js} +9 -9
- package/dist/chunks/{permission-gqnxsmqk.js → repository-cache-822vy19y.js} +13 -13
- package/dist/chunks/{permission-277eer69.js → repository-cache-86qzxe6p.js} +4 -4
- package/dist/chunks/{permission-bm1f71yt.js → repository-cache-8aaqm6qj.js} +8 -8
- package/dist/chunks/{permission-wsxa7d7s.js → repository-cache-8aw8tj9n.js} +15 -15
- package/dist/chunks/{permission-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-9847s23s.js → repository-cache-8f2ehy9w.js} +24 -24
- package/dist/chunks/{permission-8zfvddp0.js → repository-cache-8gn7nf7w.js} +11 -11
- package/dist/chunks/{permission-42q268h3.js → repository-cache-8ht81e1j.js} +11 -11
- package/dist/chunks/{permission-3szweeck.js → repository-cache-8mk2n5b3.js} +22 -22
- package/dist/chunks/{permission-v3gjzs99.js → repository-cache-8sgzw3p1.js} +3 -3
- package/dist/chunks/{permission-vkpmzzt8.js → repository-cache-8w5vxsg3.js} +15 -15
- package/dist/chunks/{permission-44c94frv.js → repository-cache-8zq1pfr0.js} +15 -15
- package/dist/chunks/repository-cache-93qh2cqg.js +507 -0
- package/dist/chunks/{permission-tp8czakk.js → repository-cache-963rbvmp.js} +9 -9
- package/dist/chunks/{permission-ty66kg1s.js → repository-cache-9aqqzffj.js} +18 -18
- package/dist/chunks/{permission-9e5bzkjp.js → repository-cache-9e5bzkjp.js} +3 -3
- package/dist/chunks/{permission-5p8agnfn.js → repository-cache-9esanb1h.js} +26 -26
- package/dist/chunks/{permission-arp0s1js.js → repository-cache-9nkwfwgn.js} +17 -17
- package/dist/chunks/{permission-23858g7y.js → repository-cache-9qk0q36h.js} +15 -15
- package/dist/chunks/{permission-mveer0r4.js → repository-cache-9tc8fk2g.js} +18 -18
- package/dist/chunks/{permission-wdntv2ya.js → repository-cache-a04262f3.js} +1 -1
- package/dist/chunks/{permission-mhkvc446.js → repository-cache-a1gpj94z.js} +3 -3
- package/dist/chunks/{permission-9sz3ns9z.js → repository-cache-a1jg4bqm.js} +6 -6
- package/dist/chunks/{permission-yxe6q6rz.js → repository-cache-a6964z1k.js} +43 -43
- package/dist/chunks/{permission-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-aex67bw0.js → repository-cache-agkhkqzj.js} +13 -13
- package/dist/chunks/{permission-13k77fha.js → repository-cache-aq1q7s3w.js} +11 -11
- package/dist/chunks/{permission-zfs8ae4p.js → repository-cache-as7cf5zz.js} +4 -4
- package/dist/chunks/repository-cache-at67ztw2.js +26 -0
- package/dist/chunks/{permission-4stm9d72.js → repository-cache-b005zpx3.js} +20 -20
- package/dist/chunks/{permission-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-93d0fgaf.js → repository-cache-b7gejjdn.js} +12 -12
- package/dist/chunks/{permission-ebenfbt3.js → repository-cache-beprb18x.js} +10 -10
- package/dist/chunks/{permission-bh4xa48x.js → repository-cache-bjzxe3qz.js} +12 -12
- package/dist/chunks/{permission-s8n6xrap.js → repository-cache-br52dth2.js} +3 -3
- package/dist/chunks/{permission-qt2z3a0z.js → repository-cache-bsxd6m7c.js} +7 -7
- package/dist/chunks/{permission-23kefcxh.js → repository-cache-btec747f.js} +5 -5
- package/dist/chunks/{permission-h7x3m8jh.js → repository-cache-c2st8pk7.js} +3 -3
- package/dist/chunks/{permission-ft3hqk2c.js → repository-cache-c765mh8b.js} +9 -9
- package/dist/chunks/{permission-baaqp4zd.js → repository-cache-ca7w653e.js} +4 -4
- package/dist/chunks/{permission-eybdwqys.js → repository-cache-cfpp34xq.js} +43 -43
- package/dist/chunks/{permission-1cfj3sz2.js → repository-cache-cgkqc5k9.js} +16 -16
- package/dist/chunks/{permission-g0445xdp.js → repository-cache-cmwkp3r5.js} +4 -4
- package/dist/chunks/repository-cache-cqtfknxy.js +252 -0
- package/dist/chunks/{permission-6q6xj6ja.js → repository-cache-d7q3t8ht.js} +9 -9
- package/dist/chunks/{permission-16k6jy0m.js → repository-cache-dg2gsbnn.js} +16 -16
- package/dist/chunks/{permission-t01vrbfq.js → repository-cache-dhr91br8.js} +5 -5
- package/dist/chunks/{permission-hkdrtcqn.js → repository-cache-dm4xrbzk.js} +8 -8
- package/dist/chunks/{permission-dpkg50ah.js → repository-cache-dpkg50ah.js} +1 -1
- package/dist/chunks/{permission-zvgtbyxv.js → repository-cache-dtrxyetv.js} +3 -3
- package/dist/chunks/{permission-x55kpgjh.js → repository-cache-dzydyd9h.js} +48 -48
- package/dist/chunks/{permission-9fcxsh5f.js → repository-cache-e35ah7hw.js} +21 -21
- package/dist/chunks/{permission-5qd3pb7m.js → repository-cache-e3qxr5gk.js} +2 -2
- package/dist/chunks/{permission-gxb2xc4n.js → repository-cache-e61dah1y.js} +24 -24
- package/dist/chunks/{permission-ckn4d4n0.js → repository-cache-e7k2h18t.js} +9 -9
- package/dist/chunks/{permission-xeex6rht.js → repository-cache-e8nmz9dx.js} +3 -3
- package/dist/chunks/{permission-4wa8rwpk.js → repository-cache-e9266ee7.js} +24 -24
- package/dist/chunks/{permission-w6fxm1kq.js → repository-cache-e93vysgz.js} +4 -4
- package/dist/chunks/{permission-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-0dany8np.js → repository-cache-ekeagaff.js} +32 -32
- package/dist/chunks/{permission-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-4ykj944w.js → repository-cache-expxz8xq.js} +4 -4
- package/dist/chunks/{permission-7bsveph7.js → repository-cache-eybz4adf.js} +10 -10
- package/dist/chunks/{permission-8dp23d5y.js → repository-cache-f0m8zgz7.js} +19 -19
- package/dist/chunks/{permission-g0jkb984.js → repository-cache-f3gqgk1j.js} +13 -13
- package/dist/chunks/{permission-86x7z8mk.js → repository-cache-f7t5kd0c.js} +19 -19
- package/dist/chunks/{permission-h7kksfxb.js → repository-cache-fjabd4vm.js} +71 -71
- package/dist/chunks/{permission-vyrwxsth.js → repository-cache-fqpgqbak.js} +20 -20
- package/dist/chunks/{permission-rkdmpg05.js → repository-cache-fsaqawm2.js} +6 -6
- package/dist/chunks/{permission-n75msvb3.js → repository-cache-g0kjp75c.js} +18 -18
- package/dist/chunks/{permission-h9wecem3.js → repository-cache-g41awwxy.js} +13 -13
- package/dist/chunks/{permission-eyhmtt9d.js → repository-cache-g63fbaar.js} +11 -11
- package/dist/chunks/{permission-dde4vtsk.js → repository-cache-g9n5gn8p.js} +2 -2
- package/dist/chunks/{permission-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-ea5khhwh.js → repository-cache-gex2px6h.js} +3 -3
- package/dist/chunks/{permission-8a6ws7jr.js → repository-cache-gh5z95q3.js} +9 -9
- package/dist/chunks/{permission-bjq9a6cv.js → repository-cache-gjnx9fp9.js} +26 -26
- package/dist/chunks/{permission-y5vss396.js → repository-cache-gpzeq7j5.js} +18 -18
- package/dist/chunks/{permission-b42h30hg.js → repository-cache-gtm34f6g.js} +24 -24
- package/dist/chunks/{permission-znz0wfdc.js → repository-cache-gzj36dnw.js} +20 -20
- package/dist/chunks/{permission-h2b79v29.js → repository-cache-h2b79v29.js} +2 -2
- package/dist/chunks/{permission-q4bbj99a.js → repository-cache-h3g3cs7p.js} +4 -4
- package/dist/chunks/{permission-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-txskj49d.js → repository-cache-ha4q6k7g.js} +23 -23
- package/dist/chunks/{permission-tqvcnter.js → repository-cache-hkyvzcah.js} +15 -15
- package/dist/chunks/{permission-mn0p8ahe.js → repository-cache-hqc76sze.js} +14 -14
- package/dist/chunks/{permission-5mrbw7fq.js → repository-cache-hrbcf8x8.js} +3 -3
- package/dist/chunks/{permission-363vysxk.js → repository-cache-hs1x7rht.js} +12 -12
- package/dist/chunks/{permission-av38vskm.js → repository-cache-htpvgqrd.js} +8 -8
- package/dist/chunks/{permission-5zha5ybh.js → repository-cache-hx7zmtxv.js} +86 -86
- package/dist/chunks/{permission-r6n7fbrs.js → repository-cache-hzbq48p7.js} +9 -9
- package/dist/chunks/{permission-kn2seknj.js → repository-cache-j0032p6g.js} +9 -9
- package/dist/chunks/{permission-117n81gn.js → repository-cache-j2nvzb5v.js} +16 -16
- package/dist/chunks/{permission-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-dzse07y5.js → repository-cache-j5w2yx54.js} +6 -6
- package/dist/chunks/{permission-wamf223s.js → repository-cache-j83nw7fd.js} +32 -32
- package/dist/chunks/{permission-5br537qr.js → repository-cache-j9me29bk.js} +11 -11
- package/dist/chunks/{permission-g8d3gcyj.js → repository-cache-jfqtm2ew.js} +7 -7
- package/dist/chunks/{permission-jjs135dp.js → repository-cache-jk54fhp7.js} +11 -11
- package/dist/chunks/{permission-w1134hzq.js → repository-cache-jk5jtrba.js} +45 -45
- package/dist/chunks/{permission-phg2e2sn.js → repository-cache-jpeemenq.js} +4 -4
- package/dist/chunks/{permission-k3c624dm.js → repository-cache-k3c624dm.js} +3 -3
- package/dist/chunks/{permission-1s40v1hq.js → repository-cache-k4vx4kqq.js} +29 -29
- package/dist/chunks/{permission-397jg4w1.js → repository-cache-k64zxjm6.js} +10 -10
- package/dist/chunks/{permission-44pdqs77.js → repository-cache-kb6vbnxp.js} +4 -4
- package/dist/chunks/{permission-wgvztds3.js → repository-cache-kpqjj4ny.js} +36 -36
- package/dist/chunks/{permission-k2cmpvcj.js → repository-cache-kq1ref1h.js} +1 -1
- package/dist/chunks/{permission-t11xq6tj.js → repository-cache-kryraq7m.js} +84 -84
- package/dist/chunks/{permission-wf4t4pr9.js → repository-cache-kxsrbhnp.js} +21 -21
- package/dist/chunks/{permission-khyefdxy.js → repository-cache-kzhakyvk.js} +2 -2
- package/dist/chunks/{permission-pjym4tm7.js → repository-cache-m0ecvezt.js} +18 -18
- package/dist/chunks/{permission-m3fdjcah.js → repository-cache-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-1yne3yyg.js → repository-cache-m4emmwet.js} +12 -12
- package/dist/chunks/{permission-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-mazbtkaa.js → repository-cache-mazbtkaa.js} +2 -2
- package/dist/chunks/{permission-gynh18kz.js → repository-cache-mk49qygx.js} +16 -16
- package/dist/chunks/{permission-2drgp2xz.js → repository-cache-mnkrz2st.js} +2 -2
- package/dist/chunks/{permission-mpk0rfs5.js → repository-cache-mpk0rfs5.js} +1 -1
- package/dist/chunks/{permission-4s3y817f.js → repository-cache-mre670nb.js} +16 -16
- package/dist/chunks/{permission-mjgpzvws.js → repository-cache-mwka8kak.js} +11 -11
- package/dist/chunks/{permission-t50re89c.js → repository-cache-myh7k9xx.js} +44 -44
- package/dist/chunks/{permission-m31p0bqh.js → repository-cache-n032fvft.js} +6 -6
- package/dist/chunks/{permission-2rxyr410.js → repository-cache-n0rv915y.js} +11 -11
- package/dist/chunks/{permission-prq7hedt.js → repository-cache-n37c4crj.js} +9 -9
- package/dist/chunks/{permission-gwzpb0ty.js → repository-cache-n48q0swr.js} +14 -14
- package/dist/chunks/{permission-hj5bkg0c.js → repository-cache-n57qrn3a.js} +4 -4
- package/dist/chunks/{permission-7w99qc9d.js → repository-cache-n7d88tpn.js} +2 -2
- package/dist/chunks/{permission-atdf7eh5.js → repository-cache-n7qbnv1j.js} +6 -6
- package/dist/chunks/{permission-awaee7qt.js → repository-cache-n8c291r7.js} +4 -4
- package/dist/chunks/{permission-wg2rg0ac.js → repository-cache-n9esafc3.js} +18 -18
- package/dist/chunks/{permission-tzj50efq.js → repository-cache-nb17w2yx.js} +9 -9
- package/dist/chunks/{permission-ry8zytx7.js → repository-cache-nfqw6mz9.js} +23 -23
- package/dist/chunks/{permission-8c7mz2f8.js → repository-cache-ngpj616s.js} +37 -37
- package/dist/chunks/{permission-s5tqmk2b.js → repository-cache-p1p3hvby.js} +1 -1
- package/dist/chunks/{permission-2wzbqb9r.js → repository-cache-pedjrwj0.js} +45 -45
- package/dist/chunks/{permission-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{permission-m7hn6a2d.js → repository-cache-pr2h8h86.js} +11 -11
- package/dist/chunks/{permission-6y7y2jq3.js → repository-cache-pw9d3wh8.js} +26 -26
- package/dist/chunks/{permission-b4twkq7r.js → repository-cache-py3kkmfq.js} +6 -6
- package/dist/chunks/{permission-t7bca8qw.js → repository-cache-q8406f75.js} +10 -10
- package/dist/chunks/{permission-sdv7bmzn.js → repository-cache-qcrnsjqj.js} +24 -24
- package/dist/chunks/{permission-2k8khapm.js → repository-cache-qgn6gcr1.js} +5 -5
- package/dist/chunks/{permission-v3a69pt1.js → repository-cache-qmp8ys2a.js} +20 -20
- package/dist/chunks/{permission-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
- package/dist/chunks/{permission-b674v2dg.js → repository-cache-qne3fa44.js} +5 -5
- package/dist/chunks/{permission-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-f62qkzqr.js → repository-cache-qsr9synt.js} +5 -5
- package/dist/chunks/{permission-fbvwn666.js → repository-cache-qxnn7y6z.js} +11 -11
- package/dist/chunks/{permission-tege4b11.js → repository-cache-r8ebqbsc.js} +5 -5
- package/dist/chunks/{permission-b5cw9vpm.js → repository-cache-rax07w26.js} +29 -29
- package/dist/chunks/{permission-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-13778wrb.js → repository-cache-re4wmejr.js} +25 -25
- package/dist/chunks/{permission-s8d7rejh.js → repository-cache-rhjbct0v.js} +4 -4
- package/dist/chunks/{permission-mg3z8eej.js → repository-cache-rtb06bvf.js} +3 -3
- package/dist/chunks/{permission-mptdxtwc.js → repository-cache-ryhnjg92.js} +28 -28
- package/dist/chunks/{permission-rxz72ejt.js → repository-cache-s39a1knw.js} +41 -41
- package/dist/chunks/{permission-16qpx7nr.js → repository-cache-s8vhzyp4.js} +53 -53
- package/dist/chunks/{permission-b3f8fkhc.js → repository-cache-scgrse2b.js} +5 -5
- package/dist/chunks/{permission-qhcgq36x.js → repository-cache-skpsgn3k.js} +33 -33
- package/dist/chunks/{permission-wmg0x48v.js → repository-cache-t4wnk216.js} +3 -3
- package/dist/chunks/{permission-rh87x932.js → repository-cache-t81m24cw.js} +9 -9
- package/dist/chunks/{permission-48kvmq2v.js → repository-cache-t9ra34wt.js} +9 -9
- package/dist/chunks/{permission-b9sh834y.js → repository-cache-tavta0y2.js} +21 -21
- package/dist/chunks/{permission-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tcezcvh9.js → repository-cache-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{permission-1pxz8ven.js → repository-cache-tk14y25j.js} +5 -5
- package/dist/chunks/{permission-vf5t0vns.js → repository-cache-tntmnmab.js} +140 -140
- package/dist/chunks/{permission-tvtrv512.js → repository-cache-tvtrv512.js} +1 -1
- package/dist/chunks/repository-cache-v1faaxn9.js +18 -0
- package/dist/chunks/{permission-v9mbw1pe.js → repository-cache-v30h9xz5.js} +20 -20
- package/dist/chunks/{permission-7mdtdzsv.js → repository-cache-v41jw1xq.js} +33 -33
- package/dist/chunks/{permission-7nq4gcwr.js → repository-cache-v49gtp01.js} +33 -33
- package/dist/chunks/{permission-20ghk96c.js → repository-cache-v6evfva1.js} +6 -6
- package/dist/chunks/{permission-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-b303bspp.js → repository-cache-vf3z480h.js} +24 -24
- package/dist/chunks/{permission-b693h93f.js → repository-cache-vgb18m5f.js} +22 -22
- package/dist/chunks/{permission-mjymc32g.js → repository-cache-vsp1fds9.js} +21 -21
- package/dist/chunks/{permission-5d37m76b.js → repository-cache-vxfyztn0.js} +10 -10
- package/dist/chunks/{permission-m9q6nt69.js → repository-cache-vxhhv58t.js} +24 -24
- package/dist/chunks/{permission-vzcthcp8.js → repository-cache-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-w1eejvng.js → repository-cache-w1eejvng.js} +1 -1
- package/dist/chunks/{permission-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{permission-pgp6m9hj.js → repository-cache-wn1kxzz7.js} +16 -16
- package/dist/chunks/{permission-hsmyces9.js → repository-cache-wqcy1a6q.js} +30 -19
- package/dist/chunks/{permission-4esdh77v.js → repository-cache-wqkf1g1x.js} +19 -19
- package/dist/chunks/{permission-snw69ebr.js → repository-cache-wscpecpd.js} +24 -24
- package/dist/chunks/{permission-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-f6zs8e9m.js → repository-cache-x3d3jna2.js} +7 -7
- package/dist/chunks/{permission-j5gvjp9k.js → repository-cache-x9qtnq71.js} +11 -11
- package/dist/chunks/{permission-g5w8qwbj.js → repository-cache-xfkkasph.js} +4 -4
- package/dist/chunks/{permission-dmqcgk4z.js → repository-cache-xkntkrq7.js} +5 -5
- package/dist/chunks/{permission-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-mryrd6tk.js → repository-cache-y23ntya0.js} +43 -43
- package/dist/chunks/{permission-c9m9gr6j.js → repository-cache-ydvbazfr.js} +38 -38
- package/dist/chunks/{permission-zgmwfj43.js → repository-cache-yfksphsg.js} +13 -13
- package/dist/chunks/{permission-fx3rfx4k.js → repository-cache-ymcgbes0.js} +4 -4
- package/dist/chunks/{permission-rhraev7y.js → repository-cache-yp2x3t23.js} +4 -4
- package/dist/chunks/{permission-5v3gccxq.js → repository-cache-yrerq1n3.js} +10 -10
- package/dist/chunks/{permission-yrhqyw5v.js → repository-cache-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-fmndxy3v.js → repository-cache-ysypycvb.js} +1 -1
- package/dist/chunks/{permission-2pxtcncc.js → repository-cache-yzt1bx7e.js} +32 -32
- package/dist/chunks/{permission-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-3w013awj.js → repository-cache-zav7rf1m.js} +23 -23
- package/dist/chunks/{permission-zx0t6fxe.js → repository-cache-zbrkq2e1.js} +10 -10
- package/dist/chunks/{permission-6fad6n0s.js → repository-cache-zdy34q02.js} +13 -13
- package/dist/chunks/{permission-4642j3vx.js → repository-cache-zmsbhx8q.js} +9 -9
- package/dist/chunks/{permission-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-ebv5g6rb.js → repository-cache-zwc7jy6c.js} +5 -5
- package/dist/chunks/{permission-zxq2ej10.js → repository-cache-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 +85 -85
- 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 +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +124 -124
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- 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 +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- 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 +78 -78
- 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 +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- 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 +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +108 -108
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- 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 +123 -123
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- 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 +14 -14
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/permission-119px638.js +0 -252
- package/dist/chunks/permission-9sh4wc5j.js +0 -18
- package/dist/chunks/permission-fjhek9c0.js +0 -26
- package/dist/chunks/permission-hmxprvew.js +0 -507
- /package/dist/chunks/{permission-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-34c7v6d4.js → repository-cache-34c7v6d4.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → repository-cache-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./repository-cache-hs1x7rht.js";
|
|
11
|
+
import {
|
|
8
12
|
Service80,
|
|
9
13
|
node84
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service78,
|
|
13
|
-
node82
|
|
14
|
-
} from "./permission-0wb28b8g.js";
|
|
14
|
+
} from "./repository-cache-25ex5bj3.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service45,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node47,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service45 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service45.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node47 = makeLocationNode({
|
|
144
|
+
service: Service45,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service45, Service45.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service48, Service48.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service45, node47, noopLayer3, exports_snapshot2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./repository-cache-e9266ee7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./repository-cache-s39a1knw.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-0z5qyjxf.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin21
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin21 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service61;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service62;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin32 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin21, exports_compatibility };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info19
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info19 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info19, exports_command5 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./repository-cache-s39a1knw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./repository-cache-ryhnjg92.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin22
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin22 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service61;
|
|
26
|
+
const compaction = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin39 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin22, exports_compaction };
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-expxz8xq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./repository-cache-25ex5bj3.js";
|
|
9
9
|
import {
|
|
10
10
|
ID9,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service57,
|
|
12
|
+
node59
|
|
13
|
+
} from "./repository-cache-9tc8fk2g.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError8
|
|
16
|
+
} from "./repository-cache-22f357wt.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service55,
|
|
19
|
+
node57
|
|
20
|
+
} from "./repository-cache-2rk6k8vg.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service56,
|
|
26
|
+
node58
|
|
27
|
+
} from "./repository-cache-1d5ct0zc.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service58,
|
|
30
|
+
node60
|
|
31
|
+
} from "./repository-cache-37ea9c2d.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
45
|
+
Event: () => Event10,
|
|
46
46
|
ID: () => ID7,
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
47
|
+
NotFoundError: () => NotFoundError7,
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service54,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node56
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event10 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
67
|
var ID7 = Permission.ID;
|
|
@@ -110,7 +110,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
113
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
114
|
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service54 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service80;
|
|
133
|
+
const agents = yield* Service57;
|
|
134
|
+
const sessions = yield* Service55;
|
|
135
|
+
const saved = yield* Service56;
|
|
136
|
+
const hooks = yield* Service58;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError8({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service54.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node56 = makeLocationNode({
|
|
303
|
+
service: Service54,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87,
|
|
305
|
+
deps: [node87, node84, node59, node57, node58, node60]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2,
|
|
308
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service54, node56, exports_permission, Rule2, Ruleset2, Event10 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-m0ecvezt.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-expxz8xq.js";
|
|
5
|
+
import {
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./repository-cache-hs1x7rht.js";
|
|
5
9
|
import {
|
|
6
10
|
Service80,
|
|
7
11
|
node84
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service78,
|
|
11
|
-
node82
|
|
12
|
-
} from "./permission-0wb28b8g.js";
|
|
12
|
+
} from "./repository-cache-25ex5bj3.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-v1faaxn9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service62,
|
|
18
|
+
node64
|
|
19
|
+
} from "./repository-cache-e9266ee7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node19
|
|
22
|
+
} from "./repository-cache-dg2gsbnn.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service7,
|
|
25
|
+
node9
|
|
26
|
+
} from "./repository-cache-c765mh8b.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node4
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service80;
|
|
47
|
+
const watcher = yield* Service62;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
|
+
const policy = yield* Service7;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node4 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node64, FSUtil.node, node84, node86, node87, node19, node9]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node4, exports_location_watcher };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-5fwyrf5z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./repository-cache-s39a1knw.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-fsaqawm2.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make8(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service61;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID11.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make8();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make8, LMStudioPlugin2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-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: () => Plugin45,
|
|
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 Plugin45 = {
|
|
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 Plugin29 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin45, exports_opencode };
|