@opencode-ai/core 0.0.0-dev-19160 → 0.0.0-dev-19163
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{command-0e0xafbb.js → pty-0e0xafbb.js} +2 -2
- package/dist/chunks/{command-e6v427vd.js → pty-0ez61b8c.js} +2 -2
- package/dist/chunks/{command-tnzyjfsr.js → pty-0jhvtgy0.js} +25 -25
- package/dist/chunks/{command-7dqw4kz8.js → pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{command-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0s9ayhjt.js → pty-0s9ayhjt.js} +1 -1
- package/dist/chunks/{command-an7cqtb7.js → pty-0v53mg2y.js} +4 -4
- package/dist/chunks/{command-j5208yae.js → pty-10jtetaj.js} +4 -4
- package/dist/chunks/{command-8ehfs3z6.js → pty-13bwbegs.js} +6 -6
- package/dist/chunks/{command-7ry09vv5.js → pty-14hmenm3.js} +3 -3
- package/dist/chunks/{command-f02efhx2.js → pty-14hw9dzz.js} +25 -25
- package/dist/chunks/{command-yb3vshep.js → pty-18m7380n.js} +10 -10
- package/dist/chunks/{command-js78q0ey.js → pty-197cqqzc.js} +15 -15
- package/dist/chunks/{command-j8swj2w1.js → pty-19sjfhb0.js} +17 -17
- package/dist/chunks/{command-8d12smfc.js → pty-1a53kk3r.js} +16 -16
- package/dist/chunks/{command-1ct4r87x.js → pty-1ct4r87x.js} +1 -1
- package/dist/chunks/{command-m5045k8y.js → pty-1n116cmy.js} +9 -9
- package/dist/chunks/{command-1445ht27.js → pty-1v32g1wv.js} +31 -31
- package/dist/chunks/{command-4pgype50.js → pty-1wjnnkdq.js} +28 -28
- package/dist/chunks/pty-1x11rq2a.js +18 -0
- package/dist/chunks/{command-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{command-xa23jzcd.js → pty-23eh64wy.js} +18 -18
- package/dist/chunks/{command-rbmj63g6.js → pty-24hac89k.js} +18 -18
- package/dist/chunks/{command-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-mqd6mqcv.js → pty-2b4wwmr0.js} +9 -9
- package/dist/chunks/{command-2tse149y.js → pty-2g2ws9me.js} +6 -6
- package/dist/chunks/{command-2ht70gj7.js → pty-2ht70gj7.js} +1 -1
- package/dist/chunks/{command-3qze2g25.js → pty-2pgk7vty.js} +2 -2
- package/dist/chunks/{command-3nt7fz2d.js → pty-2xe3bfbr.js} +38 -38
- package/dist/chunks/{command-jh83r34y.js → pty-330abkrs.js} +14 -14
- package/dist/chunks/{command-cfaf1jcp.js → pty-39cxv2jc.js} +6 -6
- package/dist/chunks/{command-yecrbd4q.js → pty-3dxrpf6g.js} +23 -23
- package/dist/chunks/{command-gdvy8fx6.js → pty-3fc6dm20.js} +4 -4
- package/dist/chunks/{command-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-3qzbfqsy.js → pty-3qzbfqsy.js} +2 -2
- package/dist/chunks/{command-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-2bfwt810.js → pty-3vk4r4y0.js} +20 -20
- package/dist/chunks/{command-fgm3rptp.js → pty-3z7ymfy8.js} +11 -11
- package/dist/chunks/{command-bnd53w8e.js → pty-424y433t.js} +21 -21
- package/dist/chunks/{command-454k5vzh.js → pty-454k5vzh.js} +1 -1
- package/dist/chunks/{command-nst4gbxz.js → pty-46e97tr7.js} +10 -10
- package/dist/chunks/{command-41y5k8q3.js → pty-4ga1afgc.js} +30 -30
- package/dist/chunks/{command-shfaz11f.js → pty-4m423yy7.js} +4 -4
- package/dist/chunks/{command-3v7evdfw.js → pty-4q10ewvh.js} +37 -37
- package/dist/chunks/{command-4r2nyarf.js → pty-4r2nyarf.js} +1 -1
- package/dist/chunks/{command-403wd46a.js → pty-4vefptct.js} +14 -14
- package/dist/chunks/pty-4y7bcn0g.js +4 -0
- package/dist/chunks/{command-64z8z5x5.js → pty-4z6b0fg6.js} +6 -6
- package/dist/chunks/{command-24hkfxm1.js → pty-577kxxzn.js} +8 -8
- package/dist/chunks/pty-580rqf4t.js +247 -0
- package/dist/chunks/{command-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{command-5fmxt4p5.js → pty-5fmxt4p5.js} +1 -1
- package/dist/chunks/{command-5jvc5tg2.js → pty-5jvc5tg2.js} +1 -1
- package/dist/chunks/{command-hgeb4s25.js → pty-5k3f87xj.js} +1 -1
- package/dist/chunks/{command-2402vzrj.js → pty-6h73sxmp.js} +5 -5
- package/dist/chunks/{command-yfmpqt7t.js → pty-6hjfxebm.js} +20 -20
- package/dist/chunks/{command-067xa773.js → pty-6kqyta9q.js} +53 -53
- package/dist/chunks/{command-2bymashh.js → pty-6t4t7zkh.js} +13 -13
- package/dist/chunks/{command-6abnk40k.js → pty-6z5bwd8g.js} +9 -9
- package/dist/chunks/{command-711hfp6y.js → pty-711hfp6y.js} +2 -2
- package/dist/chunks/{command-06rbd0ds.js → pty-71528wd2.js} +7 -7
- package/dist/chunks/{command-72nftnjy.js → pty-72nftnjy.js} +2 -2
- package/dist/chunks/{command-yhzb4m19.js → pty-74hz777x.js} +20 -20
- package/dist/chunks/{command-mb3t0p3g.js → pty-79swe9gn.js} +18 -18
- package/dist/chunks/{command-rbbz1t60.js → pty-7afcqx0a.js} +26 -26
- package/dist/chunks/{command-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-dyxej0k0.js → pty-7d25qaph.js} +15 -15
- package/dist/chunks/{command-9drvvwc8.js → pty-7egpt7q5.js} +43 -43
- package/dist/chunks/{command-gh3etp9m.js → pty-7vdhmnjr.js} +14 -14
- package/dist/chunks/{command-7w74e5nf.js → pty-7w74e5nf.js} +2 -2
- package/dist/chunks/{command-r6y16npb.js → pty-7xskqjj7.js} +26 -26
- package/dist/chunks/{command-2kq1zvc1.js → pty-84hk3ncg.js} +11 -11
- package/dist/chunks/{command-f9x6rp1j.js → pty-86s3977f.js} +1 -1
- package/dist/chunks/{command-pjvn5h54.js → pty-8f4vc4xx.js} +14 -14
- package/dist/chunks/{command-pb7mhrv4.js → pty-8m98nkw1.js} +32 -32
- package/dist/chunks/{command-09e7d9vb.js → pty-8r3ep68x.js} +30 -30
- package/dist/chunks/{command-v5rb3gry.js → pty-8sjvb6k9.js} +4 -4
- package/dist/chunks/{command-7th8yg4v.js → pty-8vdjpmsk.js} +10 -10
- package/dist/chunks/{command-5ms9567n.js → pty-8wktkxzr.js} +10 -10
- package/dist/chunks/{command-myw4ak0a.js → pty-92c2hcx4.js} +17 -17
- package/dist/chunks/{command-y2cqme3r.js → pty-93a8yfjt.js} +5 -5
- package/dist/chunks/{command-k6wd3zsg.js → pty-95andwzg.js} +34 -34
- package/dist/chunks/{command-36bx4p7m.js → pty-96t26a3p.js} +11 -11
- package/dist/chunks/{command-46fb7xft.js → pty-9c013v9n.js} +28 -28
- package/dist/chunks/{command-5x809xkz.js → pty-9cb708z9.js} +10 -10
- package/dist/chunks/{command-3jj6bjb6.js → pty-9d4efts8.js} +5 -5
- package/dist/chunks/{command-9qm9egsn.js → pty-9qm9egsn.js} +2 -2
- package/dist/chunks/{command-9shezh8w.js → pty-a65r260q.js} +13 -13
- package/dist/chunks/{command-x89xc156.js → pty-a8ez5wrk.js} +35 -35
- package/dist/chunks/{command-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{command-fvanntqq.js → pty-ab9238g2.js} +4 -4
- package/dist/chunks/{command-ajtjthsy.js → pty-ajtjthsy.js} +2 -2
- package/dist/chunks/{command-1p55cq3k.js → pty-ap3jkc54.js} +14 -14
- package/dist/chunks/{command-makhhr1b.js → pty-aqf60yyg.js} +11 -11
- package/dist/chunks/{command-yaxh95xb.js → pty-b3cmtr1b.js} +9 -9
- package/dist/chunks/{command-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-v53xvqvh.js → pty-b742egg5.js} +27 -27
- package/dist/chunks/{command-b9wsbatv.js → pty-b9wsbatv.js} +1 -1
- package/dist/chunks/{command-bcam29vw.js → pty-bdzxech8.js} +9 -9
- package/dist/chunks/{command-6hxkxj5e.js → pty-bgjnmd4j.js} +15 -15
- package/dist/chunks/{command-zhwkzg3q.js → pty-bhg5kqfm.js} +14 -14
- package/dist/chunks/{command-vnwde1cm.js → pty-bp916t1p.js} +4 -4
- package/dist/chunks/{command-hnyf01b0.js → pty-bsvvsrn1.js} +5 -5
- package/dist/chunks/{command-h287670b.js → pty-c8sxadgy.js} +19 -19
- package/dist/chunks/{command-mf0qyrea.js → pty-c9xamxgt.js} +8 -8
- package/dist/chunks/{command-fn1bgv7k.js → pty-cd07jt91.js} +12 -12
- package/dist/chunks/{command-3exrkx07.js → pty-cd5w3ehc.js} +46 -46
- package/dist/chunks/{command-5yrh131y.js → pty-cjw2t2ym.js} +6 -6
- package/dist/chunks/{command-0fy0jsyf.js → pty-cqdg1gmd.js} +15 -15
- package/dist/chunks/{command-ez9t0j11.js → pty-czdk2zk8.js} +26 -26
- package/dist/chunks/{command-47c0vj8e.js → pty-d09xjcdz.js} +13 -13
- package/dist/chunks/{command-6kzfdsbw.js → pty-d2degc6b.js} +39 -39
- package/dist/chunks/{command-d72308c8.js → pty-d72308c8.js} +2 -2
- package/dist/chunks/{command-2j46d33k.js → pty-daafe3cw.js} +24 -24
- package/dist/chunks/{command-q1mp0wyr.js → pty-dajeemk8.js} +11 -11
- package/dist/chunks/{command-36jsrrnq.js → pty-dh8qxndx.js} +4 -4
- package/dist/chunks/{command-qrsmsg1a.js → pty-dqffspr6.js} +11 -11
- package/dist/chunks/{command-f1q5pqmw.js → pty-dr4sghex.js} +8 -8
- package/dist/chunks/{command-ef8sx7p3.js → pty-dw29rff5.js} +27 -27
- package/dist/chunks/{command-cf0yyv30.js → pty-e2xsqmtw.js} +13 -13
- package/dist/chunks/{command-7nxyxket.js → pty-e5b0qn1c.js} +1 -1
- package/dist/chunks/{command-avr1tyrh.js → pty-eb76gdww.js} +22 -22
- package/dist/chunks/{command-pvwc59kc.js → pty-ebavfnsr.js} +6 -6
- package/dist/chunks/{command-x4a87jpz.js → pty-edfr7fce.js} +10 -10
- package/dist/chunks/{command-5mm0tfy6.js → pty-edj46y5c.js} +4 -4
- package/dist/chunks/{command-cze25jak.js → pty-efcf8wyf.js} +8 -8
- package/dist/chunks/{command-vex81zzz.js → pty-emveyfrq.js} +23 -23
- package/dist/chunks/{command-4aej6qjt.js → pty-evgernt9.js} +9 -9
- package/dist/chunks/{command-rzejcw32.js → pty-f0v448q8.js} +5 -5
- package/dist/chunks/{command-2j14775k.js → pty-f1sefvse.js} +25 -25
- package/dist/chunks/{command-y724s5yt.js → pty-f3wdts17.js} +4 -4
- package/dist/chunks/{command-c50h3021.js → pty-f8jgm434.js} +6 -6
- package/dist/chunks/{command-ed627kzc.js → pty-fh5krs60.js} +21 -21
- package/dist/chunks/{command-rz5nyh7y.js → pty-fkjvn1ms.js} +12 -12
- package/dist/chunks/{command-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-fxypknc8.js → pty-fxypknc8.js} +1 -1
- package/dist/chunks/{command-z62pd9tg.js → pty-g0nz2j4g.js} +5 -5
- package/dist/chunks/{command-69wcn9zj.js → pty-g3m9axkp.js} +4 -4
- package/dist/chunks/{command-986p65m9.js → pty-g41n1fn3.js} +5 -5
- package/dist/chunks/{command-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-an9xa30v.js → pty-ggk3wd08.js} +7 -7
- package/dist/chunks/{command-tr0exa0z.js → pty-gm79ndkw.js} +46 -46
- package/dist/chunks/{command-k9hbvqs8.js → pty-gs214jzb.js} +26 -26
- package/dist/chunks/{command-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-eqx628er.js → pty-h7ywdgbk.js} +32 -32
- package/dist/chunks/{command-5r6zs9dp.js → pty-h9yys4qj.js} +43 -43
- package/dist/chunks/{command-a09trhwb.js → pty-hbgrn803.js} +8 -8
- package/dist/chunks/{command-2wjp2tjd.js → pty-hdjt7769.js} +28 -28
- package/dist/chunks/{command-heyhwy2w.js → pty-heyhwy2w.js} +1 -1
- package/dist/chunks/{command-2k2b0myy.js → pty-hh9b9ghc.js} +5 -5
- package/dist/chunks/{command-sb910js5.js → pty-hj3nn2ka.js} +20 -20
- package/dist/chunks/{command-67qwxm7p.js → pty-hp466exx.js} +15 -15
- package/dist/chunks/{command-hrvm11jt.js → pty-hrvm11jt.js} +3 -3
- package/dist/chunks/{command-3zzw1d29.js → pty-hspkxs5s.js} +2 -2
- package/dist/chunks/{command-9f3285wp.js → pty-htm1sggk.js} +14 -14
- package/dist/chunks/{command-p4ffxaks.js → pty-hv2h1j34.js} +19 -19
- package/dist/chunks/{command-kvsjn1dr.js → pty-hw4pv20g.js} +2 -2
- package/dist/chunks/{command-ybbfsve3.js → pty-j2w5jyet.js} +28 -28
- package/dist/chunks/{command-ww4cprnv.js → pty-ja1egbcz.js} +32 -32
- package/dist/chunks/{command-t3jgv66k.js → pty-ja7ysnjt.js} +10 -10
- package/dist/chunks/{command-2qqffpqm.js → pty-jhr1c1vq.js} +31 -31
- package/dist/chunks/{command-ag4rn41e.js → pty-jj3qxa52.js} +4 -4
- package/dist/chunks/{command-crmey8mf.js → pty-jk2agv8z.js} +3 -3
- package/dist/chunks/{command-ytrfeffg.js → pty-jkm93dg3.js} +3 -3
- package/dist/chunks/pty-jpg38yrs.js +20 -0
- package/dist/chunks/{command-3v2tg306.js → pty-jzd86gch.js} +20 -20
- package/dist/chunks/{command-aj9kw0tw.js → pty-k3ed8yxa.js} +8 -8
- package/dist/chunks/{command-k4bwy1x5.js → pty-k4bwy1x5.js} +1 -1
- package/dist/chunks/{command-t3q2ka56.js → pty-kc9eqfnd.js} +27 -27
- package/dist/chunks/{command-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{command-mq4pan8t.js → pty-kk59jywv.js} +11 -11
- package/dist/chunks/{command-57xv9dk6.js → pty-kmm37hgd.js} +24 -24
- package/dist/chunks/{command-0mxxck6s.js → pty-kmmek74m.js} +40 -40
- package/dist/chunks/{command-1y88a9y4.js → pty-kw39nwz6.js} +26 -26
- package/dist/chunks/{command-ctd4qdmr.js → pty-kx2gvdct.js} +4 -4
- package/dist/chunks/{command-wcr0959g.js → pty-m1wfp3t7.js} +7 -7
- package/dist/chunks/{command-syf0fv3f.js → pty-m8a2ky82.js} +15 -15
- package/dist/chunks/{command-vc3d140a.js → pty-m98c39mt.js} +14 -14
- package/dist/chunks/{command-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-v8gy3pjr.js → pty-mcxg6pmm.js} +1 -1
- package/dist/chunks/{command-mx0e3zaa.js → pty-mevw1mz1.js} +37 -37
- package/dist/chunks/{command-7yh4e7ss.js → pty-mhkvc446.js} +3 -3
- package/dist/chunks/{command-83564ejt.js → pty-mj1y46es.js} +15 -15
- package/dist/chunks/{command-z3s9j4q6.js → pty-mq0gvw52.js} +18 -18
- package/dist/chunks/{command-scncj5yv.js → pty-mqfwwqaz.js} +20 -20
- package/dist/chunks/{command-yhr218qz.js → pty-mtcjf44p.js} +4 -4
- package/dist/chunks/{command-mfzvtt0p.js → pty-mvw1ngtk.js} +43 -43
- package/dist/chunks/{command-gpdv1k8z.js → pty-mz3gf8c0.js} +75 -75
- package/dist/chunks/{command-p35n44y6.js → pty-n2srwrws.js} +22 -22
- package/dist/chunks/{command-ztnyd3e4.js → pty-n38qs1ar.js} +9 -9
- package/dist/chunks/{command-06qbn9zd.js → pty-n8qe30xq.js} +9 -9
- package/dist/chunks/{command-dhc125dj.js → pty-np8tmzys.js} +15 -15
- package/dist/chunks/{command-btt262ey.js → pty-nyr9gh09.js} +13 -13
- package/dist/chunks/{command-8eqyawfy.js → pty-p3wf1qr1.js} +17 -17
- package/dist/chunks/{command-cj78h4gj.js → pty-p4q7gpc5.js} +5 -5
- package/dist/chunks/{command-m4535t75.js → pty-pae9v2p1.js} +8 -8
- package/dist/chunks/{command-j935v87r.js → pty-paphc93g.js} +2 -2
- package/dist/chunks/{command-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{command-hpkxe5vf.js → pty-ps7vy79j.js} +9 -9
- package/dist/chunks/{command-xbyx40wa.js → pty-pytss4s1.js} +14 -14
- package/dist/chunks/{command-66r9f6z1.js → pty-q6yya7b3.js} +5 -5
- package/dist/chunks/{command-80gwsprg.js → pty-qatzdmex.js} +19 -19
- package/dist/chunks/{command-9p3tsgpy.js → pty-qkzfms5c.js} +4 -4
- package/dist/chunks/{command-xxz5bf5t.js → pty-qq0tkz6q.js} +3 -3
- package/dist/chunks/{command-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{command-bsnns7jw.js → pty-qv548fbc.js} +41 -41
- package/dist/chunks/{command-z7f3thhk.js → pty-qyhcknjv.js} +4 -4
- package/dist/chunks/{command-r4zdmh6q.js → pty-r23rhjn4.js} +15 -15
- package/dist/chunks/{command-fb8301na.js → pty-r59d39z4.js} +15 -15
- package/dist/chunks/{command-pgrzqq7x.js → pty-r6sc6mvs.js} +285 -285
- package/dist/chunks/{command-r8dhm0tv.js → pty-r8dhm0tv.js} +1 -1
- package/dist/chunks/{command-90apwbxv.js → pty-rakype68.js} +1 -1
- package/dist/chunks/{command-d8mkz6xq.js → pty-rhmzvdhw.js} +5 -5
- package/dist/chunks/{command-v01naqnx.js → pty-rjszc2zh.js} +32 -32
- package/dist/chunks/{command-09a6army.js → pty-rkj48kta.js} +24 -24
- package/dist/chunks/{command-apjnhj61.js → pty-rmy3e5eg.js} +3 -3
- package/dist/chunks/{command-wwskzng8.js → pty-rnswsqfz.js} +9 -9
- package/dist/chunks/{command-eze362m1.js → pty-ry0tsm5j.js} +7 -7
- package/dist/chunks/{command-6rvfg3m1.js → pty-s34rn1a3.js} +31 -31
- package/dist/chunks/{command-qbyj8qxd.js → pty-s3eqpch7.js} +1 -1
- package/dist/chunks/{command-sba4qhjf.js → pty-sba4qhjf.js} +1 -1
- package/dist/chunks/{command-6nf9m9w8.js → pty-sm7swcp1.js} +20 -20
- package/dist/chunks/{command-mvcmfyp0.js → pty-st4exd81.js} +4 -4
- package/dist/chunks/{command-vj6w85cw.js → pty-stxyg5sw.js} +13 -13
- package/dist/chunks/{command-xb02k0wq.js → pty-t2fc4mz5.js} +4 -4
- package/dist/chunks/{command-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-fx63sjjh.js → pty-tdrv38f9.js} +9 -9
- package/dist/chunks/pty-tek6fqmc.js +22 -0
- package/dist/chunks/{command-tjykrgmx.js → pty-tjykrgmx.js} +1 -1
- package/dist/chunks/{command-qz2a5vjy.js → pty-ttmf2k06.js} +11 -11
- package/dist/chunks/{command-csf1agy9.js → pty-v2yjmh4r.js} +9 -9
- package/dist/chunks/{command-3gcs5xa7.js → pty-v8qpgep3.js} +16 -16
- package/dist/chunks/{command-6h683ksm.js → pty-vcdr3jqb.js} +3 -3
- package/dist/chunks/{command-wngp9twe.js → pty-vdjb0chr.js} +4 -4
- package/dist/chunks/{command-z3xgatyd.js → pty-vep9yay1.js} +4 -4
- package/dist/chunks/{command-sdrvr6hd.js → pty-vknt59z3.js} +15 -15
- package/dist/chunks/{command-mn2fhvjf.js → pty-vvqvsvmp.js} +21 -21
- package/dist/chunks/{command-xj845f8f.js → pty-vy6rh34j.js} +51 -51
- package/dist/chunks/{command-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-y0759frv.js → pty-w53v2v29.js} +78 -78
- package/dist/chunks/{command-xg3c18md.js → pty-wb7d89zp.js} +10 -10
- package/dist/chunks/{command-4myz20e1.js → pty-wcx5mfjt.js} +25 -25
- package/dist/chunks/{command-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{command-sjpb2e72.js → pty-wfk53g9c.js} +8 -8
- package/dist/chunks/{command-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-akpttafq.js → pty-x8sc7ayy.js} +14 -14
- package/dist/chunks/{command-dnv0g493.js → pty-x97dk724.js} +20 -20
- package/dist/chunks/{command-771gpf5h.js → pty-xazv95zf.js} +10 -10
- package/dist/chunks/{command-fde3eq2m.js → pty-xb34m1tb.js} +12 -12
- package/dist/chunks/{command-2dqn2d0f.js → pty-xgdp3zrt.js} +9 -9
- package/dist/chunks/{command-xf2mx0nj.js → pty-xkc3e3r9.js} +20 -20
- package/dist/chunks/{command-7ng7exzm.js → pty-xqsy6kp0.js} +1 -1
- package/dist/chunks/{command-t3xcjejh.js → pty-xvr7v4w4.js} +21 -21
- package/dist/chunks/{command-xf5dfsz3.js → pty-xykes5tk.js} +61 -61
- package/dist/chunks/{command-penn4k5a.js → pty-y0p5t1h8.js} +17 -17
- package/dist/chunks/{command-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-y71avatq.js → pty-y71avatq.js} +1 -1
- package/dist/chunks/{command-ajcccrn0.js → pty-y7gew26p.js} +3 -3
- package/dist/chunks/{command-yfbd16n1.js → pty-yfbd16n1.js} +2 -2
- package/dist/chunks/{command-g220pns6.js → pty-yjkzbzhw.js} +54 -54
- package/dist/chunks/{command-7nhnh7r3.js → pty-ypf8xw7k.js} +4 -4
- package/dist/chunks/{command-cb182ger.js → pty-yrzsrb4b.js} +7 -7
- package/dist/chunks/{command-e4byd2f0.js → pty-ysg26a53.js} +170 -170
- package/dist/chunks/{command-eab3te1e.js → pty-yzx76hw4.js} +17 -17
- package/dist/chunks/{command-z1k01bn4.js → pty-z1k01bn4.js} +2 -2
- package/dist/chunks/{command-29x78va6.js → pty-z63w68vq.js} +6 -6
- package/dist/chunks/{command-yzd93mfj.js → pty-z78tg67p.js} +5 -5
- package/dist/chunks/{command-adtw4hjy.js → pty-z9e33hn5.js} +26 -26
- package/dist/chunks/{command-kxnt8qcg.js → pty-zn2pq4p8.js} +5 -5
- package/dist/chunks/{command-nwqthrgy.js → pty-znvcphkc.js} +4 -4
- package/dist/chunks/{command-8hczv8aq.js → pty-zrtmz43p.js} +24 -24
- package/dist/chunks/{command-cx64my21.js → pty-zt0ezf4m.js} +24 -24
- package/dist/chunks/{command-abrpakxq.js → pty-zv0yd62f.js} +11 -11
- package/dist/chunks/{command-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +2 -2
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +10 -10
- package/dist/models-dev.js +78 -78
- 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 +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +110 -110
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +112 -112
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +9 -9
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +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 +4 -4
- 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/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- 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 +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/command-kk8qrnxm.js +0 -20
- package/dist/chunks/command-nhtcvqe4.js +0 -247
- package/dist/chunks/command-qyyps5ek.js +0 -22
- package/dist/chunks/command-w3vb4krt.js +0 -4
- package/dist/chunks/command-ydckrtmx.js +0 -18
- /package/dist/chunks/{command-0fabt78z.js → pty-0fabt78z.js} +0 -0
- /package/dist/chunks/{command-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t738kvx.js → pty-3t738kvx.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-41nvscxy.js → pty-41nvscxy.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-982e01ww.js → pty-982e01ww.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mntxs535.js → pty-mntxs535.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p8qxwesx.js → pty-p8qxwesx.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-se0s1eqw.js → pty-se0s1eqw.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x1b8g1yb.js → pty-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{command-zbjnn3ac.js → pty-zbjnn3ac.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-wfk53g9c.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./pty-b742egg5.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID8,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-czdk2zk8.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID18
|
|
14
|
+
} from "./pty-4z6b0fg6.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID18.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID8.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service78;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID8.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info17
|
|
6
|
+
} from "./pty-hj3nn2ka.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info16
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info17)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info16 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info16, exports_agent3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service44,
|
|
3
|
+
node47
|
|
4
|
+
} from "./pty-rkj48kta.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service69,
|
|
7
|
+
node74
|
|
8
|
+
} from "./pty-92c2hcx4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service43,
|
|
11
|
+
node46
|
|
12
|
+
} from "./pty-7egpt7q5.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service8,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer6,
|
|
28
|
+
node: () => node11
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode-ai/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service8 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service43;
|
|
40
|
+
const watcher = yield* Service44;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service69;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service8.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node11 = makeLocationNode({
|
|
74
|
+
service: Service8,
|
|
75
|
+
layer: layer6,
|
|
76
|
+
deps: [node46, FSUtil.node, node47, node74]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service8,
|
|
80
|
+
layer: Layer.succeed(Service8, Service8.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service8, layer6, node11, empty2, exports_source };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
VariantUnavailableError3,
|
|
3
3
|
UnsupportedPackageError3,
|
|
4
4
|
UnresolvedProviderVariablesError3,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service58,
|
|
6
|
+
node62
|
|
7
|
+
} from "./pty-d2degc6b.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-qq0tkz6q.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/runner/model.ts
|
|
16
16
|
var exports_model = {};
|
|
17
17
|
__export(exports_model, {
|
|
18
18
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
19
19
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service35,
|
|
21
21
|
SessionRunnerModel: () => exports_model,
|
|
22
22
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
23
23
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
24
24
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node38,
|
|
26
26
|
resolved: () => resolved2
|
|
27
27
|
});
|
|
28
28
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var VariantUnavailableError2 = VariantUnavailableError3;
|
|
|
48
48
|
var UnsupportedPackageError2 = UnsupportedPackageError3;
|
|
49
49
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service35 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
52
52
|
}
|
|
53
53
|
var resolved2 = (model, options) => ({
|
|
54
54
|
model,
|
|
@@ -61,9 +61,9 @@ var resolved2 = (model, options) => ({
|
|
|
61
61
|
cost: options.cost,
|
|
62
62
|
limit: options.limit
|
|
63
63
|
});
|
|
64
|
-
var layer = Layer.effect(
|
|
65
|
-
const resolver = yield*
|
|
66
|
-
return
|
|
64
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
65
|
+
const resolver = yield* Service58;
|
|
66
|
+
return Service35.of({
|
|
67
67
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
68
68
|
if (!session.model) {
|
|
69
69
|
const resolved = yield* resolver.resolve();
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node38 = makeLocationNode({ service: Service35, layer, deps: [node62] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, Service35, resolved2, node38, exports_model };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-wfk53g9c.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-qyhcknjv.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./pty-b742egg5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-czdk2zk8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID18,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-4z6b0fg6.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-ry0tsm5j.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID18.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
62
|
const bus = yield* Service79;
|
|
63
63
|
const tokens = new Map;
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID18.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID18.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID18.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID18.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
170
|
-
yield* bus.subscribe(
|
|
170
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
171
171
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
172
|
-
if (evt.model.providerID !==
|
|
172
|
+
if (evt.model.providerID !== ID18.azure)
|
|
173
173
|
return;
|
|
174
|
-
const connection = yield* ctx.integration.connection.active(
|
|
174
|
+
const connection = yield* ctx.integration.connection.active(ID18.azure);
|
|
175
175
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
})) : undefined;
|
|
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID18.azure });
|
|
188
188
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
189
189
|
if (evt.package !== "@ai-sdk/azure")
|
|
190
190
|
return;
|
|
191
|
-
if (evt.model.providerID ===
|
|
191
|
+
if (evt.model.providerID === ID18.azure) {
|
|
192
192
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
193
193
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
194
194
|
}
|
|
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
|
|
|
197
197
|
evt.sdk = mod.createAzure(evt.options);
|
|
198
198
|
}));
|
|
199
199
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
200
|
-
if (evt.model.providerID !==
|
|
200
|
+
if (evt.model.providerID !== ID18.azure)
|
|
201
201
|
return;
|
|
202
202
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
203
203
|
}));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service60
|
|
4
|
+
} from "./pty-czdk2zk8.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-4z6b0fg6.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service60;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID8.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-qyhcknjv.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service2,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service2 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service79;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service2.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service2, layer4, node4, exports_sdk };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./pty-yrzsrb4b.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/system-prompt.ts
|
|
9
9
|
var exports_system_prompt = {};
|
|
@@ -402,7 +402,7 @@ function make(id, getPrompt, options) {
|
|
|
402
402
|
const template = getPrompt(model ?? Model.Info.default(event.model.providerID, event.model.id));
|
|
403
403
|
if (!template)
|
|
404
404
|
return;
|
|
405
|
-
const prompt =
|
|
405
|
+
const prompt = render3(template, Object.keys(event.tools));
|
|
406
406
|
if (options.operation === "append") {
|
|
407
407
|
event.system.splice(1, 0, SystemPart.make(prompt));
|
|
408
408
|
return;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-6z5bwd8g.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin3,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin3 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin34 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin3, exports_exa };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make18,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-mtcjf44p.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-vy6rh34j.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service33,
|
|
13
|
+
node36
|
|
14
|
+
} from "./pty-6kqyta9q.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name13
|
|
18
|
+
} from "./pty-7afcqx0a.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
24
|
+
var exports_instructions4 = {};
|
|
25
|
+
__export(exports_instructions4, {
|
|
26
|
+
McpInstructions: () => exports_instructions4,
|
|
27
|
+
Service: () => Service31,
|
|
28
|
+
layer: () => layer12,
|
|
29
|
+
node: () => node34
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service31 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service33;
|
|
69
|
+
return Service31.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make18({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node34 = makeLocationNode({ service: Service31, layer: layer12, deps: [node36] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service31, layer12, node34, exports_instructions4 };
|