@opencode/core 0.0.0-dev-20640 → 0.0.0-dev-20643
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{kv-89xk2mrn.js → repository-00e0wh3q.js} +24 -24
- package/dist/chunks/{kv-ff79g11c.js → repository-042aawn8.js} +16 -16
- package/dist/chunks/{kv-qj944938.js → repository-05t95569.js} +19 -19
- package/dist/chunks/{kv-rqwx90yh.js → repository-0f0pgr2e.js} +1 -1
- package/dist/chunks/{kv-v2yhfrn9.js → repository-0h1qn0y5.js} +10 -10
- package/dist/chunks/{kv-q0xm7vwc.js → repository-0j77ygfz.js} +6 -6
- package/dist/chunks/{kv-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-0vbcp93d.js → repository-0vbcp93d.js} +2 -2
- package/dist/chunks/{kv-1qa15gwt.js → repository-15q89ad0.js} +15 -15
- package/dist/chunks/{kv-g3ndzw54.js → repository-16558gs3.js} +52 -52
- package/dist/chunks/{kv-r8xr0va3.js → repository-1acjjqhc.js} +4 -4
- package/dist/chunks/{kv-a1gpj94z.js → repository-1bbkgx8g.js} +3 -3
- package/dist/chunks/{kv-dje26vdb.js → repository-1cw3fj19.js} +3 -3
- package/dist/chunks/{kv-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-1dvck2a7.js → repository-1dvck2a7.js} +2 -2
- package/dist/chunks/{kv-g1sxm558.js → repository-1gfgk62c.js} +4 -4
- package/dist/chunks/{kv-qqgnk5sa.js → repository-1hp58pw3.js} +6 -6
- package/dist/chunks/{kv-0knbg5a8.js → repository-1wb0x8n3.js} +5 -5
- package/dist/chunks/{kv-q95kjj2t.js → repository-23294nz8.js} +24 -24
- package/dist/chunks/{kv-3pbt6ms1.js → repository-2455wr4j.js} +15 -15
- package/dist/chunks/{kv-yd0qngcd.js → repository-27bkxtjt.js} +13 -13
- package/dist/chunks/{kv-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-4ts7tf6z.js → repository-2ccvkpx1.js} +2 -2
- package/dist/chunks/{kv-qgn6gcr1.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{kv-vn72gsba.js → repository-2m8jawch.js} +4 -4
- package/dist/chunks/{kv-pyfe26s8.js → repository-2t9hnq90.js} +10 -10
- package/dist/chunks/{kv-y2g779vb.js → repository-2texf5vf.js} +20 -20
- package/dist/chunks/{kv-fz64p049.js → repository-2tyga0yy.js} +9 -9
- package/dist/chunks/{kv-r7kk08kn.js → repository-2wredcz9.js} +20 -20
- package/dist/chunks/{kv-b1vjxa7a.js → repository-2z7ddzwf.js} +5 -5
- package/dist/chunks/{kv-1f7zsz3w.js → repository-32xj3ztx.js} +31 -31
- package/dist/chunks/{kv-ncnm8wen.js → repository-3556dn8t.js} +1 -1
- package/dist/chunks/{kv-wwctf8pa.js → repository-3cde4f3q.js} +11 -11
- package/dist/chunks/{kv-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{kv-0gscdz11.js → repository-41h22fg8.js} +46 -46
- package/dist/chunks/{kv-3ehr1n9z.js → repository-4344f0hm.js} +36 -36
- package/dist/chunks/repository-45085rbj.js +26 -0
- package/dist/chunks/{kv-ryj782zy.js → repository-483p8dcw.js} +11 -11
- package/dist/chunks/{kv-3dnqr9q0.js → repository-4azg6a58.js} +10 -10
- package/dist/chunks/{kv-291skbwy.js → repository-4cw36es0.js} +9 -9
- package/dist/chunks/{kv-evpcrbn2.js → repository-4ege8dpt.js} +10 -10
- package/dist/chunks/{kv-6858qs0d.js → repository-4y69v0zr.js} +13 -13
- package/dist/chunks/{kv-zsr4wwhv.js → repository-4z58m4b4.js} +4 -4
- package/dist/chunks/{kv-6w1vezwk.js → repository-4z7pkycv.js} +19 -19
- package/dist/chunks/{kv-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{kv-59j91h7p.js → repository-56a9smke.js} +18 -18
- package/dist/chunks/{kv-mfqp6xfm.js → repository-56gdpj1q.js} +6 -6
- package/dist/chunks/{kv-6ze8z48e.js → repository-56gyfky0.js} +5 -5
- package/dist/chunks/{kv-wh6zw745.js → repository-57myy5jh.js} +5 -5
- package/dist/chunks/{kv-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-a8vnbk5s.js → repository-5e49akah.js} +45 -45
- package/dist/chunks/{kv-05jdtgp8.js → repository-5k54pn5m.js} +7 -7
- package/dist/chunks/{kv-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
- package/dist/chunks/{kv-fsh2y1zv.js → repository-5ng375bv.js} +12 -12
- package/dist/chunks/{kv-t11fnep0.js → repository-5pptr25h.js} +4 -4
- package/dist/chunks/{kv-91xts6ft.js → repository-5r637m3f.js} +48 -48
- package/dist/chunks/{kv-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-amzhydp5.js → repository-5t80mpw4.js} +19 -19
- package/dist/chunks/{kv-5thf4vwx.js → repository-5w6ne2rj.js} +11 -11
- package/dist/chunks/{kv-tk8acvkq.js → repository-65967rh2.js} +11 -11
- package/dist/chunks/{kv-xvc4631w.js → repository-66bhq6pp.js} +13 -13
- package/dist/chunks/{kv-3fj5q6bc.js → repository-68ga000j.js} +43 -43
- package/dist/chunks/{kv-sfxc0p81.js → repository-6c2ypm1v.js} +35 -35
- package/dist/chunks/{kv-ad98q5fk.js → repository-6cdwq03r.js} +4 -4
- package/dist/chunks/{kv-hmkvz94f.js → repository-6cfn1t67.js} +14 -14
- package/dist/chunks/{kv-6xtnp6pv.js → repository-6r4hjhnf.js} +20 -20
- package/dist/chunks/{kv-n43tnyyv.js → repository-6vnaqa0k.js} +28 -28
- package/dist/chunks/{kv-gk37k7rf.js → repository-6x4qebe7.js} +35 -35
- package/dist/chunks/{kv-6xb47vfp.js → repository-6xb47vfp.js} +1 -1
- package/dist/chunks/{kv-71az546q.js → repository-71az546q.js} +2 -2
- package/dist/chunks/{kv-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-ryd2rdzb.js → repository-7c08hygz.js} +11 -11
- package/dist/chunks/{kv-pnedbpq6.js → repository-7d05dvcz.js} +6 -6
- package/dist/chunks/{kv-11nb2wm6.js → repository-7wnc14t4.js} +21 -21
- package/dist/chunks/{kv-fhq4beaq.js → repository-7z6z4pna.js} +21 -21
- package/dist/chunks/{kv-84txncab.js → repository-84txncab.js} +1 -1
- package/dist/chunks/{kv-yhq47pcp.js → repository-89za3yyg.js} +7 -7
- package/dist/chunks/{kv-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-4hsstsq2.js → repository-8e4wx4g3.js} +18 -18
- package/dist/chunks/{kv-hcbveym2.js → repository-8ee403vh.js} +11 -11
- package/dist/chunks/{kv-5h5wp7dv.js → repository-8hjmwb77.js} +16 -16
- package/dist/chunks/{kv-zsp613gn.js → repository-8jg22brg.js} +324 -324
- package/dist/chunks/{kv-1bf59rb9.js → repository-8kys6q5k.js} +9 -9
- package/dist/chunks/{kv-n2srvep7.js → repository-8tsdq50x.js} +4 -4
- package/dist/chunks/{kv-de52ckkz.js → repository-96ctqc5x.js} +4 -4
- package/dist/chunks/{kv-sanedfh0.js → repository-9815d8pv.js} +19 -19
- package/dist/chunks/{kv-9e5bzkjp.js → repository-9e5bzkjp.js} +3 -3
- package/dist/chunks/{kv-n4grcdw5.js → repository-9mhtj97w.js} +16 -16
- package/dist/chunks/{kv-797efr59.js → repository-9mxexfbd.js} +14 -14
- package/dist/chunks/{kv-504addgz.js → repository-9pymkw0x.js} +14 -14
- package/dist/chunks/{kv-ct739ed2.js → repository-9yaf30yb.js} +37 -37
- package/dist/chunks/{kv-tnxzcmvm.js → repository-9yxvhatz.js} +4 -4
- package/dist/chunks/{kv-vnnhbf40.js → repository-a199weyn.js} +6 -6
- package/dist/chunks/{kv-s1vq5vjj.js → repository-a2dv4dac.js} +2 -2
- package/dist/chunks/{kv-t6vsspdg.js → repository-a2ew8a62.js} +7 -7
- package/dist/chunks/{kv-n72xc886.js → repository-a6rczh0a.js} +44 -44
- package/dist/chunks/{kv-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-addxnjmp.js → repository-addxnjmp.js} +1 -1
- package/dist/chunks/{kv-g4sw2epc.js → repository-ajh7mqgq.js} +23 -23
- package/dist/chunks/{kv-3v7e0nj5.js → repository-aqryd466.js} +22 -22
- package/dist/chunks/{kv-t1nf5an5.js → repository-atwht7h8.js} +11 -11
- package/dist/chunks/{kv-vz9np6hr.js → repository-azmfd98g.js} +36 -36
- package/dist/chunks/{kv-q2pzxhp3.js → repository-b3cm3psy.js} +7 -7
- package/dist/chunks/{kv-drmw43ea.js → repository-b5f9cqb8.js} +18 -18
- package/dist/chunks/{kv-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-04bfvmpq.js → repository-b751st24.js} +3 -3
- package/dist/chunks/repository-bpqsrde8.js +253 -0
- package/dist/chunks/{kv-f9pxsqr6.js → repository-bzadqhw2.js} +4 -4
- package/dist/chunks/{kv-nrdmrqsx.js → repository-c20khjev.js} +21 -21
- package/dist/chunks/{kv-4mwpykj0.js → repository-c8bydgjz.js} +6 -6
- package/dist/chunks/{kv-0mxj9fd6.js → repository-c9vhjpyr.js} +9 -9
- package/dist/chunks/{kv-xbq5pdxh.js → repository-cb3fgacg.js} +25 -25
- package/dist/chunks/{kv-6443pe5d.js → repository-ccn600g9.js} +11 -11
- package/dist/chunks/{kv-1k745sen.js → repository-ce3pkz8w.js} +8 -8
- package/dist/chunks/{kv-jktqzjpa.js → repository-cfsekr6v.js} +8 -8
- package/dist/chunks/{kv-8bk2q5by.js → repository-chyvjp63.js} +16 -16
- package/dist/chunks/{kv-pgdq0m2s.js → repository-cjwramev.js} +6 -6
- package/dist/chunks/{kv-tsq8mx3a.js → repository-cs63tcvs.js} +9 -9
- package/dist/chunks/{kv-2sejkfem.js → repository-d4he2qe1.js} +9 -9
- package/dist/chunks/{kv-ygz7vdjy.js → repository-d73ss8bd.js} +17 -17
- package/dist/chunks/{kv-jg575x7y.js → repository-dbp4m4ge.js} +35 -35
- package/dist/chunks/{kv-50jx1ftv.js → repository-djyq2zct.js} +17 -17
- package/dist/chunks/{kv-dpkg50ah.js → repository-dpkg50ah.js} +1 -1
- package/dist/chunks/{kv-5pyjqqve.js → repository-drnf6xwf.js} +2 -2
- package/dist/chunks/{kv-5qd3pb7m.js → repository-e3qxr5gk.js} +2 -2
- package/dist/chunks/{kv-tdhpb3v5.js → repository-ecwx0042.js} +15 -15
- package/dist/chunks/{kv-8aj500b4.js → repository-ef2cw19s.js} +14 -14
- package/dist/chunks/{kv-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-zcrspsvn.js → repository-embw8kgh.js} +4 -4
- package/dist/chunks/{kv-906tg66d.js → repository-eqh5fpv6.js} +11 -11
- package/dist/chunks/{kv-00zna71j.js → repository-erq8vxjr.js} +1 -1
- package/dist/chunks/{kv-jpqeh2wc.js → repository-espax8zg.js} +4 -4
- package/dist/chunks/{kv-vk34wx83.js → repository-etdaqrbr.js} +32 -32
- package/dist/chunks/{kv-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-vpjxjfws.js → repository-f0pfhw3c.js} +4 -4
- package/dist/chunks/{kv-qvy3y2q7.js → repository-f0qf0nex.js} +32 -32
- package/dist/chunks/{kv-g549jxts.js → repository-f6sbv01c.js} +28 -28
- package/dist/chunks/{kv-xve1yjb3.js → repository-f8tnf7f1.js} +12 -12
- package/dist/chunks/{kv-nhkczpkc.js → repository-f8xdbq78.js} +9 -9
- package/dist/chunks/{kv-90rwhrb1.js → repository-fbefb913.js} +10 -10
- package/dist/chunks/{kv-28r17msq.js → repository-fe9ffm0w.js} +18 -18
- package/dist/chunks/{kv-qqmhc4xj.js → repository-fj3b7143.js} +42 -42
- package/dist/chunks/{kv-bx744vwq.js → repository-fjts330j.js} +3 -3
- package/dist/chunks/{kv-2xd3k6k6.js → repository-g34b934z.js} +11 -11
- package/dist/chunks/{kv-w19d8598.js → repository-g5w8qwbj.js} +7 -7
- package/dist/chunks/{kv-ew12th47.js → repository-g69c5a8v.js} +16 -16
- package/dist/chunks/{kv-wh3mwy9y.js → repository-gc135ar8.js} +8 -8
- package/dist/chunks/{kv-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-y8wcetdn.js → repository-gkcjs2dn.js} +11 -11
- package/dist/chunks/{kv-3m2w0hrx.js → repository-gpng080p.js} +18 -18
- package/dist/chunks/{kv-qdq3033d.js → repository-gry8sgkd.js} +7 -7
- package/dist/chunks/{kv-at6chbkf.js → repository-h16n41p4.js} +21 -21
- package/dist/chunks/{kv-h2b79v29.js → repository-h2b79v29.js} +2 -2
- package/dist/chunks/{kv-d1ve849e.js → repository-h2yw0gk4.js} +25 -25
- package/dist/chunks/{kv-0dm71e41.js → repository-h4jx6m0r.js} +15 -15
- package/dist/chunks/{kv-dpfrkhds.js → repository-h6c2yg5r.js} +8 -8
- package/dist/chunks/{kv-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-htjphyk5.js → repository-h6yzxz9r.js} +17 -17
- package/dist/chunks/{kv-kpg2gynq.js → repository-hdjgtqrb.js} +32 -32
- package/dist/chunks/{kv-fkzjdf45.js → repository-hffth77f.js} +131 -131
- package/dist/chunks/{kv-wmnwwwhc.js → repository-hkgfm0m5.js} +24 -24
- package/dist/chunks/{kv-9kf9wkxz.js → repository-hryrsgw2.js} +7 -7
- package/dist/chunks/{kv-0fgqvstr.js → repository-hw3ewgqj.js} +7 -7
- package/dist/chunks/{kv-0y3sqs0q.js → repository-j2htzqze.js} +2 -2
- package/dist/chunks/{kv-re39fj6q.js → repository-j3pg2mx4.js} +1 -1
- package/dist/chunks/{kv-q3djzwyg.js → repository-j4g697yf.js} +20 -20
- package/dist/chunks/{kv-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-n37c4crj.js → repository-j58c5xyq.js} +9 -9
- package/dist/chunks/{kv-9yev5r92.js → repository-jbmm1708.js} +60 -60
- package/dist/chunks/{kv-606mcbpt.js → repository-jnevnthy.js} +27 -27
- package/dist/chunks/{kv-xm2v5ye2.js → repository-jnpqgtt0.js} +11 -11
- package/dist/chunks/repository-jqh9b0xq.js +18 -0
- package/dist/chunks/{kv-xr5yvd35.js → repository-k37ga4vh.js} +8 -8
- package/dist/chunks/{kv-k70p9jzb.js → repository-k70p9jzb.js} +2 -2
- package/dist/chunks/{kv-sppc6c79.js → repository-kfj4fg87.js} +3 -3
- package/dist/chunks/{kv-s2xdefjk.js → repository-kxam66j6.js} +13 -13
- package/dist/chunks/{kv-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{kv-k318agvy.js → repository-m44fkk4m.js} +6 -6
- package/dist/chunks/{kv-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-ee8xpbar.js → repository-mfct962c.js} +18 -18
- package/dist/chunks/{kv-bebjmbk5.js → repository-mjqndqed.js} +12 -12
- package/dist/chunks/{kv-q7fq4b4a.js → repository-mn0942hp.js} +30 -30
- package/dist/chunks/{kv-hcbpprgx.js → repository-mpd66srn.js} +1 -1
- package/dist/chunks/{kv-brsymgq7.js → repository-mxr1v1s0.js} +8 -8
- package/dist/chunks/{kv-vx3jgdek.js → repository-my4zabxr.js} +3 -3
- package/dist/chunks/{kv-e8wga5c8.js → repository-ntaqe8vs.js} +21 -21
- package/dist/chunks/{kv-tpw6cwsb.js → repository-p42hj8p8.js} +8 -8
- package/dist/chunks/{kv-2fcn0a3n.js → repository-pg4zag0e.js} +22 -22
- package/dist/chunks/{kv-n9tt80yh.js → repository-pgze7171.js} +1 -1
- package/dist/chunks/{kv-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-apeyh75a.js → repository-pkct850y.js} +39 -39
- package/dist/chunks/{kv-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{kv-qfhmckpv.js → repository-q0cdrezg.js} +16 -16
- package/dist/chunks/{kv-qh99jyhd.js → repository-q1srvr66.js} +17 -17
- package/dist/chunks/{kv-kykapc73.js → repository-q76xcmv9.js} +14 -14
- package/dist/chunks/{kv-c1eyt60v.js → repository-q7jxq9y7.js} +20 -20
- package/dist/chunks/{kv-6r5yv9td.js → repository-q7ngdz78.js} +27 -27
- package/dist/chunks/{kv-qnc92qwc.js → repository-qnc92qwc.js} +1 -1
- package/dist/chunks/{kv-9hwaqfsw.js → repository-qne3fa44.js} +5 -5
- package/dist/chunks/{kv-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-hq1swd7v.js → repository-qv02qg64.js} +5 -5
- package/dist/chunks/{kv-qxjc9qry.js → repository-qxjc9qry.js} +3 -3
- package/dist/chunks/{kv-53dxyvp1.js → repository-qy06s429.js} +13 -13
- package/dist/chunks/{kv-f87x761z.js → repository-qy0n8417.js} +24 -24
- package/dist/chunks/{kv-qey3k095.js → repository-r3c58j5g.js} +3 -3
- package/dist/chunks/{kv-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-mae0k732.js → repository-rjsk0n41.js} +9 -9
- package/dist/chunks/{kv-ebwqfc2a.js → repository-rk3ekeb4.js} +5 -5
- package/dist/chunks/{kv-07t56emn.js → repository-rm4s95e7.js} +87 -87
- package/dist/chunks/{kv-r101cspy.js → repository-rpp7c75e.js} +48 -48
- package/dist/chunks/{kv-as8ynvdv.js → repository-ry0xagvq.js} +25 -25
- package/dist/chunks/{kv-a92h78km.js → repository-s4075y1x.js} +3 -3
- package/dist/chunks/{kv-314vn2g9.js → repository-s8qvywtq.js} +11 -11
- package/dist/chunks/{kv-bwaap7p9.js → repository-s8v3amej.js} +1 -1
- package/dist/chunks/{kv-v1m0bgap.js → repository-s9nwmxxs.js} +33 -33
- package/dist/chunks/{kv-weef4h0t.js → repository-t406fhy5.js} +25 -25
- package/dist/chunks/{kv-bkvz5s71.js → repository-t5483b9c.js} +4 -4
- package/dist/chunks/{kv-9t7a50xb.js → repository-t550f9t1.js} +4 -4
- package/dist/chunks/{kv-ef5xnz50.js → repository-t7wcnk30.js} +14 -14
- package/dist/chunks/{kv-nt69khzf.js → repository-t7y8x8j8.js} +16 -16
- package/dist/chunks/{kv-y2vqkag3.js → repository-t8n7ymvq.js} +6 -6
- package/dist/chunks/{kv-dpnnxfwt.js → repository-tarna68p.js} +9 -9
- package/dist/chunks/{kv-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-gxxkvswg.js → repository-tbs2jyb2.js} +7 -7
- package/dist/chunks/{kv-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{kv-rf80fxgj.js → repository-tdpndm1c.js} +5 -5
- package/dist/chunks/{kv-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{kv-ey7zsb2z.js → repository-tg6e69q8.js} +2 -2
- package/dist/chunks/{kv-c6sqj817.js → repository-tzy9a5tv.js} +29 -29
- package/dist/chunks/{kv-fpecnkgp.js → repository-v0es1rhs.js} +9 -9
- package/dist/chunks/{kv-y6d2apqa.js → repository-vdf83yyz.js} +12 -12
- package/dist/chunks/{kv-018bn4f4.js → repository-ve1j3q85.js} +15 -15
- package/dist/chunks/{kv-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-cghk8e58.js → repository-vfzczaj5.js} +18 -18
- package/dist/chunks/{kv-3axgwepp.js → repository-vngdzw63.js} +26 -26
- package/dist/chunks/{kv-v2p84kh2.js → repository-vp0q13q8.js} +86 -86
- package/dist/chunks/{kv-2qkz3cac.js → repository-vqkmcgyv.js} +3 -3
- package/dist/chunks/{kv-50202j3g.js → repository-vt8dt6j6.js} +32 -32
- package/dist/chunks/{kv-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{kv-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-hxxy4jtt.js → repository-w5ystqj3.js} +5 -5
- package/dist/chunks/{kv-rhvgmpzm.js → repository-w6gqnbcy.js} +3 -3
- package/dist/chunks/{kv-8cseh6jw.js → repository-w7a2abxy.js} +14 -14
- package/dist/chunks/{kv-hp04rdxh.js → repository-wb70vhte.js} +11 -11
- package/dist/chunks/{kv-hydafzv0.js → repository-wc5p7jf8.js} +45 -45
- package/dist/chunks/{kv-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{kv-yhgbfdfr.js → repository-wnfszx78.js} +10 -10
- package/dist/chunks/{kv-x61eq3et.js → repository-wnh11861.js} +15 -15
- package/dist/chunks/{kv-9phyjc4n.js → repository-x4k83k5f.js} +9 -9
- package/dist/chunks/{kv-ygws11mx.js → repository-xhv84ab7.js} +28 -28
- package/dist/chunks/{kv-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
- package/dist/chunks/{kv-5rmvjxjt.js → repository-xmy45d6e.js} +23 -23
- package/dist/chunks/{kv-2cwhkz2n.js → repository-xpwv3d90.js} +9 -9
- package/dist/chunks/{kv-6w9b2v2t.js → repository-xv90jz4c.js} +11 -11
- package/dist/chunks/{kv-bezhzanq.js → repository-y16p1w2y.js} +9 -9
- package/dist/chunks/{kv-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-mrwm8afd.js → repository-y1w7bwtd.js} +22 -22
- package/dist/chunks/{kv-144xedv6.js → repository-y6brtjeh.js} +30 -30
- package/dist/chunks/{kv-7c9bbt45.js → repository-ya6jwxb4.js} +4 -4
- package/dist/chunks/{kv-aa77x952.js → repository-yf33k1p3.js} +24 -24
- package/dist/chunks/{kv-a5wq81es.js → repository-yfe405ny.js} +12 -12
- package/dist/chunks/{kv-9y0z6c2k.js → repository-yn96zvvk.js} +11 -11
- package/dist/chunks/{kv-r3s59a3c.js → repository-yprc5htm.js} +20 -20
- package/dist/chunks/{kv-vy4j84c5.js → repository-yqt58wae.js} +15 -15
- package/dist/chunks/{kv-d5q12aqz.js → repository-ywf1kxhz.js} +4 -4
- package/dist/chunks/{kv-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-jn9040r2.js → repository-z6zb16gf.js} +32 -32
- package/dist/chunks/{kv-150yg2gd.js → repository-zd30eb5w.js} +5 -5
- package/dist/chunks/{kv-n0571dh0.js → repository-zhwzkc0c.js} +18 -18
- package/dist/chunks/{kv-4mtsj6py.js → repository-zk46kswf.js} +17 -17
- package/dist/chunks/{kv-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-qe26s0zb.js → repository-zvjhkatg.js} +8 -8
- package/dist/chunks/{kv-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/chunks/{kv-zyk1yjk8.js → repository-zyk1yjk8.js} +2 -2
- 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 +83 -83
- 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 +116 -116
- package/dist/config/plugin/command.js +205 -205
- 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 +123 -123
- 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 +137 -137
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- 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 +105 -105
- 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 +94 -94
- 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 +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +3 -3
- 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 +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +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/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 +116 -116
- package/dist/plugin/provider/local.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 +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- 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 +76 -76
- 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 +4 -4
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +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 +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +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 +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- 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 +162 -162
- 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 +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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/kv-4639mgfq.js +0 -26
- package/dist/chunks/kv-789vsg7z.js +0 -253
- package/dist/chunks/kv-dxj72tfx.js +0 -18
- /package/dist/chunks/{kv-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3t0ybcrp.js → repository-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load5() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load5 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-b751st24.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9e5bzkjp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make19({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make22({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node36 = makeLocationNode({ service: Service32, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node36, exports_instruction_entry };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-9815d8pv.js";
|
|
5
5
|
import {
|
|
6
6
|
ID12,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-b5f9cqb8.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,7 +71,7 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service47,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service47 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service47, exports_runner };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service35,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node39
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service35.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node39 = makeGlobalNode({ service: Service35, layer: layer12, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service35, makeLayer2, layer12, node39, exports_model_transport };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin48
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin48 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin34 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin48, exports_mcp_codemode_defaults };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./repository-hkgfm0m5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service18,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-kxam66j6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service26
|
|
11
|
+
} from "./repository-ve1j3q85.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service56
|
|
14
|
+
} from "./repository-5r637m3f.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service19
|
|
17
|
+
} from "./repository-zhwzkc0c.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input12,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin14,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name12,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name12 = "write";
|
|
39
|
+
var Input12 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin14 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service19;
|
|
56
|
+
const fileMutation = yield* Service18;
|
|
57
|
+
const environment = yield* Service66;
|
|
58
|
+
const formatter = yield* Service26;
|
|
59
|
+
const permission = yield* Service56;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name12,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input12,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name12, Input12, Output8, toModelContent6, Plugin14, exports_write };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-2z7ddzwf.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make9 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make9();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make9, OllamaPlugin2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-9yxvhatz.js";
|
|
5
|
+
import {
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./repository-mjqndqed.js";
|
|
5
9
|
import {
|
|
6
10
|
Service78,
|
|
7
11
|
node82
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service76,
|
|
11
|
-
node80
|
|
12
|
-
} from "./kv-8cseh6jw.js";
|
|
12
|
+
} from "./repository-w7a2abxy.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-jqh9b0xq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service69,
|
|
18
|
+
node71
|
|
19
|
+
} from "./repository-aqryd466.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node22
|
|
22
|
+
} from "./repository-vfzczaj5.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service8,
|
|
25
|
+
node10
|
|
26
|
+
} from "./repository-d4he2qe1.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node4
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service78;
|
|
47
|
+
const watcher = yield* Service69;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
|
+
const policy = yield* Service8;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node4 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node71, FSUtil.node, node82, node86, node87, node22, node10]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node4, exports_location_watcher };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service76,
|
|
4
|
+
node80
|
|
5
|
+
} from "./repository-mfct962c.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service75,
|
|
18
|
+
node79
|
|
19
|
+
} from "./repository-9815d8pv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service55,
|
|
22
|
+
node57
|
|
23
|
+
} from "./repository-x4k83k5f.js";
|
|
24
24
|
import {
|
|
25
25
|
ID12,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service74,
|
|
29
|
+
node78,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-b5f9cqb8.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service54,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer19,
|
|
51
|
+
node: () => node56,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service54 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -265,12 +265,12 @@ var causeMessage = (cause) => {
|
|
|
265
265
|
};
|
|
266
266
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
267
267
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
268
|
-
var
|
|
269
|
-
const providers = yield*
|
|
270
|
-
const models = yield*
|
|
271
|
-
const integrations = yield*
|
|
268
|
+
var layer19 = Layer.effect(Service54, Effect.gen(function* () {
|
|
269
|
+
const providers = yield* Service75;
|
|
270
|
+
const models = yield* Service74;
|
|
271
|
+
const integrations = yield* Service76;
|
|
272
272
|
const npm = yield* Npm.Service;
|
|
273
|
-
const aisdk = yield*
|
|
273
|
+
const aisdk = yield* Service55;
|
|
274
274
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
275
275
|
const provider = yield* providers.get(selected.providerID);
|
|
276
276
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -300,7 +300,7 @@ var layer23 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
300
300
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
301
301
|
};
|
|
302
302
|
});
|
|
303
|
-
return
|
|
303
|
+
return Service54.of({
|
|
304
304
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
305
305
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
306
306
|
if (!selected)
|
|
@@ -317,10 +317,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
317
317
|
const name = packageName2(packageName);
|
|
318
318
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
service:
|
|
322
|
-
layer:
|
|
323
|
-
deps: [
|
|
320
|
+
var node56 = makeLocationNode({
|
|
321
|
+
service: Service54,
|
|
322
|
+
layer: layer19,
|
|
323
|
+
deps: [node79, node78, node80, Npm.node, node57]
|
|
324
324
|
});
|
|
325
325
|
|
|
326
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
326
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service54, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node56, exports_model_resolver };
|