@opencode/core 0.0.0-dev-20586 → 0.0.0-dev-20592
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 +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{schema-2s93m5wx.js → location-04b814vj.js} +29 -29
- package/dist/chunks/{schema-7nfz7vry.js → location-054tnc23.js} +6 -6
- package/dist/chunks/{schema-t7n9q6bq.js → location-06x8he3q.js} +4 -4
- package/dist/chunks/{schema-y730841x.js → location-0dg42ne5.js} +24 -24
- package/dist/chunks/{schema-y5k41zqf.js → location-0frxavx5.js} +10 -10
- package/dist/chunks/{schema-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-vmx43xs3.js → location-0q4asv20.js} +15 -15
- package/dist/chunks/{schema-gj71zhbs.js → location-0r3c1bmw.js} +5 -5
- package/dist/chunks/{schema-ry4cmxgm.js → location-0v8cvypb.js} +10 -10
- package/dist/chunks/{schema-0vbcp93d.js → location-0vbcp93d.js} +2 -2
- package/dist/chunks/{schema-8xgppe8x.js → location-0zhyzqfm.js} +8 -8
- package/dist/chunks/{schema-tra9m5aj.js → location-12jzj71f.js} +38 -38
- package/dist/chunks/{schema-1dangqhw.js → location-18rp1xkf.js} +8 -8
- package/dist/chunks/{schema-dtmn9m2k.js → location-1cfxdkjr.js} +24 -24
- package/dist/chunks/{schema-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-1dvck2a7.js → location-1dvck2a7.js} +2 -2
- package/dist/chunks/{schema-0nrdtycv.js → location-1ebfveph.js} +50 -50
- package/dist/chunks/{schema-ghpd4fr7.js → location-1fq1yvq8.js} +40 -40
- package/dist/chunks/{schema-cfsekr6v.js → location-1p07q0wb.js} +4 -4
- package/dist/chunks/{schema-z71avzk1.js → location-1rax0fa3.js} +25 -25
- package/dist/chunks/{schema-kg6ewcnz.js → location-1vn7zg0x.js} +5 -5
- package/dist/chunks/{schema-aczmxqpc.js → location-1vt8akqd.js} +8 -8
- package/dist/chunks/{schema-vwk1vad2.js → location-208m000x.js} +1 -1
- package/dist/chunks/{schema-18a3shtt.js → location-28hqb7n1.js} +16 -16
- package/dist/chunks/{schema-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-skzfdnfe.js → location-2f6pnyrz.js} +5 -5
- package/dist/chunks/{schema-7dqw4kz8.js → location-2k8khapm.js} +5 -5
- package/dist/chunks/{schema-s0yv6qk4.js → location-2xxcqrcn.js} +13 -13
- package/dist/chunks/{schema-f5gz5swa.js → location-36tzexw9.js} +14 -14
- package/dist/chunks/{schema-ga67qtkk.js → location-38ds4vsh.js} +16 -16
- package/dist/chunks/{schema-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-w65mgvd1.js → location-3fkr87zm.js} +26 -26
- package/dist/chunks/{schema-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-4ytb3748.js → location-3kd47etn.js} +3 -3
- package/dist/chunks/{schema-bdpzzc2x.js → location-3maez1s4.js} +11 -11
- package/dist/chunks/{schema-gzh3bm7x.js → location-3s266rdz.js} +5 -5
- package/dist/chunks/{schema-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-15s9b7tq.js → location-49a9rwdn.js} +16 -16
- package/dist/chunks/{schema-fjb35128.js → location-4aa0vhjx.js} +46 -46
- package/dist/chunks/{schema-pkqfn6w5.js → location-4fk05cts.js} +12 -12
- package/dist/chunks/{schema-vjmmbq9h.js → location-4hb6xf6n.js} +88 -88
- package/dist/chunks/{schema-kzsy6v0s.js → location-4ndfp6x1.js} +11 -11
- package/dist/chunks/{schema-4ts7tf6z.js → location-4ts7tf6z.js} +2 -2
- package/dist/chunks/{schema-czxrm6cp.js → location-54e3h8mr.js} +18 -18
- package/dist/chunks/{schema-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{schema-1ygqh575.js → location-56gdpj1q.js} +9 -9
- package/dist/chunks/{schema-g5w8qwbj.js → location-57b9ws8p.js} +7 -7
- package/dist/chunks/{schema-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-461mwfvs.js → location-5f6vg0rf.js} +33 -33
- package/dist/chunks/{schema-hj5fbf02.js → location-5gvcwmqt.js} +9 -9
- package/dist/chunks/{schema-an2v7pwn.js → location-5ps1pq9q.js} +4 -4
- package/dist/chunks/{schema-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-9kwc633n.js → location-5vv7abyh.js} +21 -21
- package/dist/chunks/{schema-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{schema-7k951zm2.js → location-68fe01gc.js} +8 -8
- package/dist/chunks/{schema-n3q2c8vm.js → location-6nad0zcg.js} +20 -20
- package/dist/chunks/{schema-x9300pb6.js → location-6tgppvyb.js} +15 -15
- package/dist/chunks/{schema-6xb47vfp.js → location-6xb47vfp.js} +1 -1
- package/dist/chunks/{schema-71az546q.js → location-71az546q.js} +2 -2
- package/dist/chunks/{schema-a8rjsjfn.js → location-744k6ap7.js} +21 -21
- package/dist/chunks/{schema-b5pm0qd4.js → location-753002kn.js} +8 -8
- package/dist/chunks/{schema-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-j129swd2.js → location-7entjh6g.js} +15 -15
- package/dist/chunks/{schema-tqk33c0s.js → location-7ghtbgxd.js} +3 -3
- package/dist/chunks/{schema-xb9ezq08.js → location-7rgnchn8.js} +30 -30
- package/dist/chunks/{schema-bvbtfhva.js → location-7xenbtvb.js} +9 -9
- package/dist/chunks/{schema-w1eejvng.js → location-84txncab.js} +5 -5
- package/dist/chunks/{schema-pvxscb8w.js → location-862a9g3e.js} +1 -1
- package/dist/chunks/{schema-b7a8j68b.js → location-885cwhyg.js} +8 -8
- package/dist/chunks/{schema-hmv4j20b.js → location-889f7s8w.js} +11 -11
- package/dist/chunks/{schema-89bb6baa.js → location-8aaqm6qj.js} +8 -8
- package/dist/chunks/{schema-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-ate656c3.js → location-8m3heav3.js} +11 -11
- package/dist/chunks/{schema-398sja33.js → location-8mwfgycy.js} +22 -22
- package/dist/chunks/{schema-bv266yyp.js → location-8nb6jekc.js} +7 -7
- package/dist/chunks/{schema-tjedn1bk.js → location-8tsdq50x.js} +4 -4
- package/dist/chunks/{schema-fkhfs56y.js → location-9a22g0r7.js} +28 -28
- package/dist/chunks/{schema-rypd5ndp.js → location-9bdbrtbd.js} +2 -2
- package/dist/chunks/{schema-y5t28hz6.js → location-9ccmvy08.js} +19 -19
- package/dist/chunks/{schema-9e5bzkjp.js → location-9e5bzkjp.js} +3 -3
- package/dist/chunks/{schema-kjhtpa86.js → location-9fg8585h.js} +3 -3
- package/dist/chunks/{schema-8c6aeth0.js → location-9mrc6n03.js} +28 -28
- package/dist/chunks/{schema-bw8pdnvy.js → location-9r3ewnwy.js} +23 -23
- package/dist/chunks/{schema-rhjbct0v.js → location-9t7a50xb.js} +4 -4
- package/dist/chunks/{schema-fbhsdg98.js → location-9tkeg271.js} +45 -45
- package/dist/chunks/{schema-hvywv52v.js → location-a1f7asmn.js} +5 -5
- package/dist/chunks/{schema-z2nx0y2v.js → location-a36b5m4e.js} +12 -12
- package/dist/chunks/{schema-cavr175a.js → location-a8bn8zg0.js} +4 -4
- package/dist/chunks/{schema-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-qdgd7pts.js → location-aanyagtj.js} +40 -40
- package/dist/chunks/{schema-6xg4x7p4.js → location-acwa04xh.js} +19 -19
- package/dist/chunks/{schema-kp7w4w0c.js → location-adysfw09.js} +20 -20
- package/dist/chunks/{schema-df0ykk77.js → location-agf2dshv.js} +9 -9
- package/dist/chunks/{schema-b3f8fkhc.js → location-b3f8fkhc.js} +2 -2
- package/dist/chunks/{schema-kbm049ab.js → location-b4e1wnd3.js} +13 -13
- package/dist/chunks/{schema-b69jv39p.js → location-b69jv39p.js} +1 -1
- package/dist/chunks/{schema-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-5zeh3nq2.js → location-bg5zqpce.js} +46 -46
- package/dist/chunks/{schema-ecpsh8rg.js → location-bj6es22j.js} +3 -3
- package/dist/chunks/{schema-sd9a6snf.js → location-c2sed5cq.js} +3 -3
- package/dist/chunks/{schema-f7m4gqsr.js → location-c7v6zzq0.js} +31 -31
- package/dist/chunks/{schema-qj8bvm0v.js → location-c909q0sd.js} +55 -55
- package/dist/chunks/{schema-y3739sk3.js → location-cezy49kc.js} +12 -12
- package/dist/chunks/{schema-vejndnrc.js → location-cpgfv9g7.js} +22 -22
- package/dist/chunks/{schema-3757zhg2.js → location-cs7mqzsj.js} +10 -10
- package/dist/chunks/{schema-15h6fegf.js → location-cs7pc868.js} +13 -13
- package/dist/chunks/{schema-r2m716tb.js → location-cwa6csj7.js} +9 -9
- package/dist/chunks/{schema-34tsw91e.js → location-cy72xyjc.js} +19 -19
- package/dist/chunks/{schema-2aajs87z.js → location-d0xn2485.js} +27 -27
- package/dist/chunks/{schema-rhms3hdd.js → location-d6kqysqe.js} +19 -19
- package/dist/chunks/{schema-shny27f7.js → location-d6v3shm0.js} +37 -37
- package/dist/chunks/{schema-3k1ktder.js → location-d6zb4spv.js} +4 -4
- package/dist/chunks/{schema-dpkg50ah.js → location-dpkg50ah.js} +1 -1
- package/dist/chunks/{schema-x0m3x8cn.js → location-dprde2v8.js} +44 -44
- package/dist/chunks/{schema-4xxxtaen.js → location-dwq6ryhm.js} +8 -8
- package/dist/chunks/{schema-89vjf07m.js → location-e89xj288.js} +5 -5
- package/dist/chunks/{schema-ryr25ayn.js → location-edrmdtr5.js} +7 -7
- package/dist/chunks/{schema-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-mpyv0gjv.js → location-eh8c2qmt.js} +17 -17
- package/dist/chunks/{schema-zw122828.js → location-ejtxpja9.js} +39 -39
- package/dist/chunks/{schema-kcn8d4wf.js → location-etfnbv3k.js} +13 -13
- package/dist/chunks/{schema-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-e7kdnfv2.js → location-f44pehqa.js} +35 -35
- package/dist/chunks/{schema-1zf23djs.js → location-f67x1zy2.js} +4 -4
- package/dist/chunks/{schema-9swdtjav.js → location-f9fc5v37.js} +11 -11
- package/dist/chunks/{schema-pkn3rqad.js → location-fftyvp1m.js} +18 -18
- package/dist/chunks/{schema-tz8q98pd.js → location-fps9xx4y.js} +3 -3
- package/dist/chunks/{schema-qnpbp7f6.js → location-fq21f7h4.js} +3 -3
- package/dist/chunks/{schema-mxfx3p70.js → location-fxk0vaaw.js} +23 -23
- package/dist/chunks/{schema-6v4rkqn9.js → location-fy2r8eyy.js} +22 -22
- package/dist/chunks/{schema-x68tzkrm.js → location-g76set46.js} +11 -11
- package/dist/chunks/{schema-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-0jm58kyp.js → location-ghe85yh1.js} +9 -9
- package/dist/chunks/{schema-1z8bakdw.js → location-gj3rjvxa.js} +11 -11
- package/dist/chunks/{schema-84c5kt73.js → location-gje7t6g4.js} +4 -4
- package/dist/chunks/{schema-3rjzkyns.js → location-gmmmxht9.js} +12 -12
- package/dist/chunks/{schema-rxsn8x9d.js → location-gnnxh0et.js} +24 -24
- package/dist/chunks/{schema-gtmvshrw.js → location-gxs67awe.js} +7 -7
- package/dist/chunks/{schema-mygtg7h0.js → location-gzfwptkh.js} +22 -22
- package/dist/chunks/{schema-f2030xt1.js → location-h04255kf.js} +35 -35
- package/dist/chunks/{schema-h2b79v29.js → location-h2b79v29.js} +2 -2
- package/dist/chunks/{schema-3zbwexce.js → location-h4ckqw4f.js} +8 -8
- package/dist/chunks/{schema-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-k70p9jzb.js → location-hb84g3y6.js} +9 -9
- package/dist/chunks/{schema-vtt0yr3x.js → location-hgtd7sxh.js} +15 -15
- package/dist/chunks/{schema-7vv0vsc5.js → location-hq6260kp.js} +10 -10
- package/dist/chunks/{schema-jba7mbpp.js → location-hxqastbg.js} +5 -5
- package/dist/chunks/{schema-nhzfetse.js → location-hznm6a07.js} +13 -13
- package/dist/chunks/{schema-eq1pz5kg.js → location-j028xdjb.js} +3 -3
- package/dist/chunks/{schema-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-g4ec7k1p.js → location-j94h2k4s.js} +24 -24
- package/dist/chunks/{schema-9gjfbdts.js → location-jaj6bpj0.js} +23 -23
- package/dist/chunks/{schema-f6zdzjx0.js → location-jca9gg5p.js} +49 -49
- package/dist/chunks/{schema-0brrbz7a.js → location-jh5x1drn.js} +14 -14
- package/dist/chunks/{schema-h52xp8p4.js → location-jsy5swvm.js} +9 -9
- package/dist/chunks/{schema-dnxygc0x.js → location-jx0hr23r.js} +9 -9
- package/dist/chunks/{schema-ga0tfepk.js → location-k3snbwks.js} +6 -6
- package/dist/chunks/{schema-espr1ah5.js → location-kasw4fnh.js} +5 -5
- package/dist/chunks/{schema-tg9q7e94.js → location-kp7xp7zq.js} +48 -48
- package/dist/chunks/{schema-rb8mch2y.js → location-krh5ag8n.js} +35 -35
- package/dist/chunks/{schema-e98kd4sq.js → location-kt94w41r.js} +29 -29
- package/dist/chunks/{schema-2ty9snxt.js → location-kyym90d5.js} +17 -17
- package/dist/chunks/{schema-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-d8mep6qx.js → location-m67a48vq.js} +6 -6
- package/dist/chunks/{schema-g8j2n5ph.js → location-m6x09j7z.js} +9 -9
- package/dist/chunks/{schema-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-sdsbj08z.js → location-mb14aw74.js} +2 -2
- package/dist/chunks/{schema-srdpzyxc.js → location-mdcmsqgv.js} +7 -7
- package/dist/chunks/{schema-de52ckkz.js → location-mhgx8wws.js} +4 -4
- package/dist/chunks/{schema-fe7qsfpk.js → location-mkw4htn4.js} +20 -20
- package/dist/chunks/{schema-1279vwrw.js → location-mms20fb7.js} +5 -5
- package/dist/chunks/location-mtpf0eaq.js +26 -0
- package/dist/chunks/{schema-1x37w07y.js → location-mw8x7xmb.js} +20 -20
- package/dist/chunks/{schema-taw4b7j9.js → location-my7xq1gk.js} +17 -17
- package/dist/chunks/{schema-ykjpaak5.js → location-n50d1mbn.js} +15 -15
- package/dist/chunks/{schema-ayx7vafe.js → location-nzytz929.js} +329 -329
- package/dist/chunks/{schema-pnkbpv6t.js → location-patgj9rf.js} +9 -9
- package/dist/chunks/{schema-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{schema-cjw2sxyz.js → location-pr8n2gpy.js} +58 -58
- package/dist/chunks/{schema-sy8hwy21.js → location-ptr9j6f1.js} +17 -17
- package/dist/chunks/{schema-rhxwzm2w.js → location-pxgdc7gq.js} +29 -29
- package/dist/chunks/{schema-yk45h2rs.js → location-pyg8na7s.js} +15 -15
- package/dist/chunks/{schema-q0xm7vwc.js → location-q0xm7vwc.js} +2 -2
- package/dist/chunks/{schema-fhh3yeyh.js → location-q1rbzsas.js} +23 -23
- package/dist/chunks/{schema-nqee14cx.js → location-q35vxh5k.js} +13 -13
- package/dist/chunks/{schema-yk5nserk.js → location-q9bsambt.js} +4 -4
- package/dist/chunks/{schema-c81ezzqg.js → location-qdkhcs1j.js} +16 -16
- package/dist/chunks/{schema-sbdntvmw.js → location-qf0ka5h8.js} +26 -26
- package/dist/chunks/{schema-qnc92qwc.js → location-qnc92qwc.js} +1 -1
- package/dist/chunks/{schema-6je3rcen.js → location-qp2k86zs.js} +23 -23
- package/dist/chunks/{schema-v3cgeczt.js → location-qpbcz52v.js} +3 -3
- package/dist/chunks/{schema-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-rjt6kdv6.js → location-qtt91nwf.js} +11 -11
- package/dist/chunks/{schema-9y0w708y.js → location-qwjmgwmn.js} +8 -8
- package/dist/chunks/{schema-r3q6pmcz.js → location-r04gnbv5.js} +8 -8
- package/dist/chunks/{schema-pgb4114y.js → location-r7z4zpnk.js} +6 -6
- package/dist/chunks/{schema-fk3men0g.js → location-r9r9k7q8.js} +35 -35
- package/dist/chunks/{schema-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-r51ygcfp.js → location-rj343a89.js} +44 -44
- package/dist/chunks/{schema-1j43e8h9.js → location-rj6r6gv2.js} +18 -18
- package/dist/chunks/{schema-pkdmza6n.js → location-rknj2zf3.js} +8 -8
- package/dist/chunks/{schema-e8v72fmy.js → location-rnr5nq63.js} +13 -13
- package/dist/chunks/{schema-pt6d7ckw.js → location-rsc59hem.js} +14 -14
- package/dist/chunks/{schema-c8k34h4t.js → location-rvpc5zrz.js} +18 -18
- package/dist/chunks/{schema-8gn32dwp.js → location-rw98h6j7.js} +95 -95
- package/dist/chunks/{schema-5f5fdjjg.js → location-rx8vmh8h.js} +33 -33
- package/dist/chunks/{schema-wrqwmc22.js → location-rz58q6yw.js} +24 -24
- package/dist/chunks/{schema-8j43q005.js → location-s61s5w7f.js} +7 -7
- package/dist/chunks/{schema-rttzrg3r.js → location-s800pt51.js} +12 -12
- package/dist/chunks/{schema-wdhp2wqx.js → location-sdvk2ad6.js} +22 -22
- package/dist/chunks/{schema-p7f50jp2.js → location-sr6vbnxh.js} +7 -7
- package/dist/chunks/{schema-fq9618wy.js → location-swabsky0.js} +6 -6
- package/dist/chunks/{schema-0tjvnj70.js → location-sxgab442.js} +9 -9
- package/dist/chunks/{schema-tcay1cqt.js → location-sxzvkvgj.js} +6 -6
- package/dist/chunks/{schema-ggdj6b59.js → location-sz5ygx6f.js} +23 -23
- package/dist/chunks/{schema-5ccwcxf7.js → location-t4y3srrf.js} +14 -14
- package/dist/chunks/{schema-gwm757wf.js → location-t6f0ehky.js} +18 -18
- package/dist/chunks/{schema-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{schema-8d5nx7er.js → location-tdqwxjwb.js} +180 -180
- package/dist/chunks/{schema-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{schema-55m450pe.js → location-tez6vn9k.js} +11 -11
- package/dist/chunks/{schema-hg3614cy.js → location-tg7bkhef.js} +5 -5
- package/dist/chunks/{schema-66f72jf0.js → location-tkq3xk61.js} +26 -26
- package/dist/chunks/{schema-p37cw4rj.js → location-tpw6cwsb.js} +8 -8
- package/dist/chunks/{schema-q7cgqs0q.js → location-ts68ycfj.js} +28 -28
- package/dist/chunks/location-v1faaxn9.js +18 -0
- package/dist/chunks/{schema-j75c4hzg.js → location-v3tqgmst.js} +28 -28
- package/dist/chunks/{schema-he39p88c.js → location-v6f01h6h.js} +14 -14
- package/dist/chunks/{schema-msjz9fyp.js → location-v7dthscp.js} +40 -40
- package/dist/chunks/{schema-xgam4qj3.js → location-va45sze5.js} +26 -26
- package/dist/chunks/{schema-609c7rjf.js → location-vazrgfpm.js} +8 -8
- package/dist/chunks/{schema-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-cnnankxx.js → location-vkb7t2qc.js} +10 -10
- package/dist/chunks/{schema-785emzww.js → location-vm0nw8c4.js} +17 -17
- package/dist/chunks/{schema-as7cf5zz.js → location-vn72gsba.js} +4 -4
- package/dist/chunks/{schema-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-w39jehkq.js → location-w39jehkq.js} +2 -2
- package/dist/chunks/{schema-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-z8x71xh1.js → location-w5t5kzd9.js} +5 -5
- package/dist/chunks/{schema-aff3a7hd.js → location-w69p11eg.js} +16 -16
- package/dist/chunks/{schema-ayqs46pg.js → location-w84mnb9g.js} +20 -20
- package/dist/chunks/{schema-drda7tq8.js → location-w8qpna6r.js} +35 -35
- package/dist/chunks/{schema-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/location-wn9z1chv.js +253 -0
- package/dist/chunks/{schema-jyxk3ed8.js → location-wrxqmzes.js} +28 -28
- package/dist/chunks/{schema-0knh1j5d.js → location-wt0s9j3r.js} +18 -18
- package/dist/chunks/{schema-fhz5gfgy.js → location-x2d9qy7d.js} +5 -5
- package/dist/chunks/{schema-21z0btgx.js → location-x2w20ksh.js} +11 -11
- package/dist/chunks/{schema-a3c7ahw6.js → location-x3gqap9d.js} +4 -4
- package/dist/chunks/{schema-mxvxcxwy.js → location-x661k3y3.js} +4 -4
- package/dist/chunks/{schema-nsjtt5er.js → location-x7fd5fgg.js} +25 -25
- package/dist/chunks/{schema-xkntkrq7.js → location-xkntkrq7.js} +2 -2
- package/dist/chunks/{schema-qsmpxerm.js → location-xvc21b3d.js} +12 -12
- package/dist/chunks/{schema-qxjc9qry.js → location-xyafkbt0.js} +3 -3
- package/dist/chunks/{schema-dr6jkw1e.js → location-xyh3p86x.js} +36 -36
- package/dist/chunks/{schema-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-7gewva0j.js → location-y2ve5wpy.js} +3 -3
- package/dist/chunks/{schema-71v7metp.js → location-y8h45gdm.js} +21 -21
- package/dist/chunks/{schema-892k6z1j.js → location-y90f3fk4.js} +11 -11
- package/dist/chunks/{schema-1acjjqhc.js → location-yp2x3t23.js} +4 -4
- package/dist/chunks/{schema-yrcj3v3g.js → location-yrcj3v3g.js} +1 -1
- package/dist/chunks/{schema-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-prq7hedt.js → location-z4ztj7g0.js} +9 -9
- package/dist/chunks/{schema-th268h5n.js → location-za3xpkyj.js} +32 -32
- package/dist/chunks/{schema-3jqk5x8p.js → location-zbt8hm9w.js} +69 -69
- package/dist/chunks/{schema-e3gj9zxp.js → location-zegnn946.js} +40 -40
- package/dist/chunks/{schema-6p0hs1pc.js → location-zes232r0.js} +13 -13
- package/dist/chunks/{schema-m761qzqs.js → location-znxafpy1.js} +15 -15
- package/dist/chunks/{schema-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-5xbqt2y0.js → location-zvej5ecj.js} +26 -26
- package/dist/chunks/{schema-mt9f3aka.js → location-zvvxcepe.js} +31 -31
- package/dist/chunks/{schema-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- 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 +363 -363
- 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 +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/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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- 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 +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- 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 +107 -107
- 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 +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- 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 +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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 +2 -2
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/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 +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- 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 +77 -77
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- 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 +224 -224
- 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 +2 -2
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +9 -9
- package/dist/shell.js +132 -132
- 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 +126 -126
- package/dist/tool/plugin/edit.js +114 -114
- 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 +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- 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 +4 -4
- package/dist/variant.js +93 -93
- 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 +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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/schema-35668my4.js +0 -26
- package/dist/chunks/schema-dxj72tfx.js +0 -18
- package/dist/chunks/schema-ywtmtjc3.js +0 -253
- /package/dist/chunks/{schema-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service61,
|
|
3
|
+
node65
|
|
4
|
+
} from "./location-hq6260kp.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-c2sed5cq.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service43,
|
|
20
|
+
make: () => make18,
|
|
21
|
+
node: () => node45
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service43 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make18 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service61;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make22 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service43.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make22 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service43, make18);
|
|
358
|
+
var node45 = makeGlobalNode({ service: Service43, layer, deps: [node65] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service43, make18, node45, exports_job };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./location-jh5x1drn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service15,
|
|
12
|
+
node17
|
|
13
|
+
} from "./location-7rgnchn8.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event2,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
ListInput: () => ListInput2,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service14,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node16
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event2 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service79;
|
|
115
|
+
const search = yield* Service15;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
129
129
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
130
130
|
return { absolute, real, directory: location.directory };
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service14.of({
|
|
133
133
|
find: search.find,
|
|
134
134
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
135
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
136
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
135
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
136
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
137
137
|
if (info.type !== "File")
|
|
138
138
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
139
139
|
return {
|
|
140
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
140
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
141
141
|
mime: FSUtil.mimeType(target.real)
|
|
142
142
|
};
|
|
143
143
|
}),
|
|
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
166
166
|
})
|
|
167
167
|
});
|
|
168
168
|
}));
|
|
169
|
-
var
|
|
170
|
-
service:
|
|
169
|
+
var node16 = makeLocationNode({
|
|
170
|
+
service: Service14,
|
|
171
171
|
layer: baseLayer,
|
|
172
|
-
deps: [FSUtil.node,
|
|
172
|
+
deps: [FSUtil.node, node83, node17]
|
|
173
173
|
});
|
|
174
174
|
|
|
175
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
175
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-5f6vg0rf.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID13.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service56,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node59
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service56 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service56.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node59 = makeLocationNode({
|
|
137
|
+
service: Service56,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service56, node59, exports_tool_output2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-m67a48vq.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-c909q0sd.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-kt94w41r.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-rj343a89.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-zes232r0.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info12
|
|
9
|
-
} from "./schema-3zbwexce.js";
|
|
6
|
+
} from "./location-a8bn8zg0.js";
|
|
10
7
|
import {
|
|
11
8
|
Info11
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./location-h4ckqw4f.js";
|
|
10
|
+
import {
|
|
11
|
+
Info10
|
|
12
|
+
} from "./location-edrmdtr5.js";
|
|
13
13
|
import {
|
|
14
14
|
Info9
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-w39jehkq.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-2k8khapm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info13
|
|
21
|
+
} from "./location-0r3c1bmw.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-q9bsambt.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info10, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
413
413
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
414
414
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
415
415
|
return [];
|
|
416
|
-
const provider = decodeValue(
|
|
416
|
+
const provider = decodeValue(Info13, raw, path, diagnostics);
|
|
417
417
|
if (provider === undefined)
|
|
418
418
|
return [];
|
|
419
419
|
const destination = providerID2(name);
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service49
|
|
7
|
+
} from "./location-dprde2v8.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service51
|
|
13
|
+
} from "./location-0dg42ne5.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service43
|
|
16
|
+
} from "./location-38ds4vsh.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service64
|
|
19
|
+
} from "./location-c909q0sd.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service57,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-fftyvp1m.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service54,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-rnr5nq63.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service47
|
|
37
|
+
} from "./location-1ebfveph.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service22
|
|
40
|
+
} from "./location-rw98h6j7.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-d6zb4spv.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin3,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name3 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input3 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin3 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service22;
|
|
123
|
+
const jobs = yield* Service43;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service51;
|
|
126
|
+
const access = yield* Service57;
|
|
127
|
+
const shell = yield* Service47;
|
|
128
|
+
const shellSelect = yield* Service54;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service64;
|
|
131
|
+
const config = yield* Service49;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin43 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name3,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin43 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name3,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input3,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin43 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name3,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name3];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin3, exports_shell };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./location-cezy49kc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service53,
|
|
6
|
+
Event10
|
|
7
|
+
} from "./location-fy2r8eyy.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin49,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin49 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service83;
|
|
24
|
+
const wellknown = yield* Service53;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin36 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin49, exports_plugin };
|