@opencode/core 0.0.0-dev-20367 → 0.0.0-dev-20368
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{job-882jhm7b.js → reference-00zfhxmf.js} +37 -37
- package/dist/chunks/{job-36p0cvtp.js → reference-01rnkbd0.js} +6 -6
- package/dist/chunks/{job-0gdmqesm.js → reference-02nrjc1r.js} +8 -8
- package/dist/chunks/{job-dy6g6r1x.js → reference-042pe1mc.js} +11 -11
- package/dist/chunks/{job-gayv5g80.js → reference-07br9k15.js} +48 -48
- package/dist/chunks/{job-bzyjzekh.js → reference-0cswr742.js} +19 -19
- package/dist/chunks/{job-w4arg62q.js → reference-0ft9cg2j.js} +4 -4
- package/dist/chunks/{job-t0xd0egn.js → reference-0jpfm16a.js} +22 -22
- package/dist/chunks/{job-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-q0djyqnm.js → reference-0rsrt5zk.js} +10 -10
- package/dist/chunks/{job-skh0f8k6.js → reference-139grr7s.js} +17 -17
- package/dist/chunks/{job-428ep8fh.js → reference-166kng33.js} +8 -8
- package/dist/chunks/{job-0m0bz9f8.js → reference-16ynv89z.js} +13 -13
- package/dist/chunks/{job-54wnwdwm.js → reference-1bfe16ws.js} +25 -25
- package/dist/chunks/{job-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-43dc367v.js → reference-1dh04bw7.js} +11 -11
- package/dist/chunks/{job-tkmwgdpd.js → reference-1g7epwpd.js} +4 -4
- package/dist/chunks/{job-5rnnm2b5.js → reference-1nzh38e4.js} +9 -9
- package/dist/chunks/{job-dyw1x60t.js → reference-1p7vd7k0.js} +18 -18
- package/dist/chunks/{job-rrpxvh8q.js → reference-1pab0y9d.js} +35 -35
- package/dist/chunks/{job-4f1k543z.js → reference-1qxvqq93.js} +15 -15
- package/dist/chunks/{job-2bmjkj4c.js → reference-1w3qez5w.js} +17 -17
- package/dist/chunks/{job-56gdpj1q.js → reference-1ygqh575.js} +9 -9
- package/dist/chunks/{job-mn3s1fwv.js → reference-21g2k5h0.js} +14 -14
- package/dist/chunks/{job-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{job-0gtfmam4.js → reference-260n4hdp.js} +8 -8
- package/dist/chunks/{job-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-7w99qc9d.js → reference-2f04pwep.js} +3 -3
- package/dist/chunks/{job-zc5jecpb.js → reference-2kyyj8xa.js} +23 -23
- package/dist/chunks/{job-dyggpwm1.js → reference-2wbch7sf.js} +21 -21
- package/dist/chunks/{job-5vvk8sqy.js → reference-3340n1nd.js} +15 -15
- package/dist/chunks/{job-rsc9fyh1.js → reference-3bxd3j1q.js} +6 -6
- package/dist/chunks/{job-xc87ya66.js → reference-3e2kzjfs.js} +12 -12
- package/dist/chunks/{job-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-0jkw1j53.js → reference-3ppptnan.js} +6 -6
- package/dist/chunks/{job-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-bzzhr3zj.js → reference-3sy817ya.js} +21 -21
- package/dist/chunks/{job-st9cattx.js → reference-3t6ehjrr.js} +15 -15
- package/dist/chunks/{job-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-8s4zmq6r.js → reference-3v2fvqfd.js} +6 -6
- package/dist/chunks/{job-r1cbmm5y.js → reference-3wpn9sh3.js} +23 -23
- package/dist/chunks/{job-a5rgpd9n.js → reference-3wpv8ytq.js} +9 -9
- package/dist/chunks/{job-6rf44sa9.js → reference-3ybfhc1x.js} +3 -3
- package/dist/chunks/{job-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{job-m9yq670e.js → reference-44sx4v5c.js} +8 -8
- package/dist/chunks/{job-232hvyf5.js → reference-4r36fkdq.js} +9 -9
- package/dist/chunks/{job-gbra0ncn.js → reference-4srk58w8.js} +9 -9
- package/dist/chunks/{job-e6hmchc5.js → reference-510m7gjw.js} +5 -5
- package/dist/chunks/{job-54ma36ye.js → reference-54ma36ye.js} +1 -1
- package/dist/chunks/{job-57ez7d0k.js → reference-57ez7d0k.js} +2 -2
- package/dist/chunks/{job-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{job-k525kqyh.js → reference-5fanhak1.js} +5 -5
- package/dist/chunks/{job-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-59p0880v.js → reference-5v7h0m3g.js} +9 -9
- package/dist/chunks/{job-pa8pe2x7.js → reference-5xtgfte3.js} +8 -8
- package/dist/chunks/{job-8kgw4qrf.js → reference-5yts36ct.js} +1 -1
- package/dist/chunks/{job-8vesgk6h.js → reference-631f6jmb.js} +17 -17
- package/dist/chunks/{job-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{job-k8j1cw5c.js → reference-6brb3ydz.js} +6 -6
- package/dist/chunks/{job-9m0czbyn.js → reference-6cneqzas.js} +16 -16
- package/dist/chunks/{job-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-6pc27hjz.js → reference-6pc27hjz.js} +2 -2
- package/dist/chunks/{job-xehc972q.js → reference-6xb9xar3.js} +6 -6
- package/dist/chunks/{job-gdg5jmgt.js → reference-71ae86ge.js} +4 -4
- package/dist/chunks/{job-4f9vnbjh.js → reference-74fa380e.js} +3 -3
- package/dist/chunks/{job-yy4jce8h.js → reference-796w904k.js} +22 -22
- package/dist/chunks/{job-bdvsjrfp.js → reference-79cntjbh.js} +8 -8
- package/dist/chunks/{job-x14d71ge.js → reference-7a87smht.js} +6 -6
- package/dist/chunks/{job-bpy3snnk.js → reference-7an2zr3c.js} +14 -14
- package/dist/chunks/{job-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-pse44q0r.js → reference-7sw46e0q.js} +7 -7
- package/dist/chunks/{job-r1trvvnh.js → reference-7wcwe48s.js} +17 -17
- package/dist/chunks/{job-8gf1193z.js → reference-7zeyjkbe.js} +4 -4
- package/dist/chunks/{job-84txncab.js → reference-84txncab.js} +1 -1
- package/dist/chunks/{job-j0axf2jn.js → reference-87szygx8.js} +78 -78
- package/dist/chunks/{job-sm965ndy.js → reference-8aaqm6qj.js} +8 -8
- package/dist/chunks/{job-yyrw5ybt.js → reference-8b69yyv4.js} +9 -9
- package/dist/chunks/{job-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-vawyqd0x.js → reference-8f2n1xr2.js} +5 -5
- package/dist/chunks/{job-38gz42ha.js → reference-8kg5m582.js} +32 -32
- package/dist/chunks/{job-j8m1p4p1.js → reference-8wbxkt1z.js} +4 -4
- package/dist/chunks/{job-94ek1h2f.js → reference-94ek1h2f.js} +2 -2
- package/dist/chunks/{job-2gavhfkn.js → reference-9b4bv5f3.js} +16 -16
- package/dist/chunks/{job-wkhb7dks.js → reference-9dcx0t51.js} +7 -7
- package/dist/chunks/reference-9fsn2a6t.js +252 -0
- package/dist/chunks/{job-vh0p5v0t.js → reference-9nxs0dtz.js} +7 -7
- package/dist/chunks/{job-p0y4fdzp.js → reference-a1213hw5.js} +18 -18
- package/dist/chunks/{job-bfn9bqya.js → reference-a15efetj.js} +35 -35
- package/dist/chunks/{job-3vdv0ks5.js → reference-a7kwy4c1.js} +5 -5
- package/dist/chunks/{job-syf57q56.js → reference-a81kfqvn.js} +4 -4
- package/dist/chunks/{job-g64a4xw1.js → reference-a9w6ff6t.js} +28 -28
- package/dist/chunks/{job-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{job-mpk0rfs5.js → reference-addxnjmp.js} +4 -4
- package/dist/chunks/{job-vy4zg7qh.js → reference-afed7ext.js} +5 -5
- package/dist/chunks/{job-rkw5xhpp.js → reference-akpmqyxp.js} +21 -21
- package/dist/chunks/{job-hr433y7c.js → reference-anb3p609.js} +50 -50
- package/dist/chunks/{job-t4f1bpyy.js → reference-ar2zeb49.js} +5 -5
- package/dist/chunks/{job-awg97q1x.js → reference-asw2re3m.js} +8 -8
- package/dist/chunks/{job-zd1qw503.js → reference-atwm5pvn.js} +26 -26
- package/dist/chunks/{job-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-p0rf9kvp.js → reference-bemmtghz.js} +10 -10
- package/dist/chunks/{job-kbcv0s8h.js → reference-br6q4meh.js} +5 -5
- package/dist/chunks/{job-fbkspamq.js → reference-c3h0gj9a.js} +11 -11
- package/dist/chunks/{job-vq2m4hzd.js → reference-c4qd2t8a.js} +20 -20
- package/dist/chunks/{job-mwb00zv6.js → reference-c6b8rasb.js} +3 -3
- package/dist/chunks/{job-z5zeqmdz.js → reference-c7b2m6fb.js} +24 -24
- package/dist/chunks/{job-69srdcjj.js → reference-cfv2hvrv.js} +20 -20
- package/dist/chunks/{job-vexv4ykq.js → reference-chnshf5d.js} +7 -7
- package/dist/chunks/{job-ckecvw8r.js → reference-ckecvw8r.js} +2 -2
- package/dist/chunks/{job-h46arez0.js → reference-cp9438d3.js} +10 -10
- package/dist/chunks/{job-s8zy8myc.js → reference-cr07tj7n.js} +5 -5
- package/dist/chunks/{job-d82nvbjp.js → reference-czs4devj.js} +23 -23
- package/dist/chunks/{job-cf8g1z1e.js → reference-d1c553ec.js} +6 -6
- package/dist/chunks/{job-tbmac1c7.js → reference-d858xzj7.js} +4 -4
- package/dist/chunks/{job-s1kvmffy.js → reference-depwzj9d.js} +9 -9
- package/dist/chunks/{job-2mnyaw3v.js → reference-dez8vmgp.js} +314 -314
- package/dist/chunks/{job-qr8csav2.js → reference-dj9sq318.js} +5 -5
- package/dist/chunks/{job-djszqvmq.js → reference-djszqvmq.js} +2 -2
- package/dist/chunks/{job-w5bt4mtb.js → reference-dprgptw6.js} +29 -29
- package/dist/chunks/{job-eddp1xyx.js → reference-dqwatsve.js} +30 -30
- package/dist/chunks/{job-drwq78ky.js → reference-drwq78ky.js} +1 -1
- package/dist/chunks/{job-g6sz4tq5.js → reference-e2v1jf5m.js} +21 -21
- package/dist/chunks/{job-05y342xm.js → reference-e3t9f1ge.js} +45 -45
- package/dist/chunks/{job-tp98q2hz.js → reference-ea9448jf.js} +23 -23
- package/dist/chunks/{job-ecfe7b91.js → reference-ecfe7b91.js} +2 -2
- package/dist/chunks/{job-za2wxfsn.js → reference-ecjyjz8w.js} +16 -16
- package/dist/chunks/{job-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-q80xae8x.js → reference-eh5brr6k.js} +41 -41
- package/dist/chunks/{job-4fjf8yxx.js → reference-eka80jh0.js} +16 -16
- package/dist/chunks/{job-pb1eahw5.js → reference-ep6z9mt6.js} +6 -6
- package/dist/chunks/{job-ksdjh0p5.js → reference-erycay7t.js} +30 -30
- package/dist/chunks/{job-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-t15nrndc.js → reference-ey47svxm.js} +25 -25
- package/dist/chunks/{job-jm9m13na.js → reference-eygkpf76.js} +13 -13
- package/dist/chunks/{job-4a37hdt9.js → reference-f9kj06qm.js} +13 -13
- package/dist/chunks/{job-j82ypg12.js → reference-fdjebd74.js} +12 -12
- package/dist/chunks/{job-pnv527nz.js → reference-fhs97t90.js} +9 -9
- package/dist/chunks/{job-fa6fex3m.js → reference-fms3wttt.js} +4 -4
- package/dist/chunks/{job-a8vb6yp3.js → reference-g4x060ga.js} +11 -11
- package/dist/chunks/{job-e26zydd5.js → reference-gafg8g7a.js} +9 -9
- package/dist/chunks/{job-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-427t97hr.js → reference-gg3hnhsj.js} +1 -1
- package/dist/chunks/{job-j83z9j2w.js → reference-gjvcgz1y.js} +33 -33
- package/dist/chunks/{job-hafpg71j.js → reference-gsm9w5gv.js} +29 -29
- package/dist/chunks/{job-rpg9c19m.js → reference-gst7axd9.js} +4 -4
- package/dist/chunks/{job-gv6a8nnw.js → reference-gv6a8nnw.js} +2 -2
- package/dist/chunks/{job-6ptmhvxc.js → reference-h0f5mnzz.js} +16 -16
- package/dist/chunks/{job-c9p2pga3.js → reference-h3k68wsb.js} +17 -17
- package/dist/chunks/{job-4qart0q5.js → reference-h3tvvjet.js} +25 -25
- package/dist/chunks/{job-165xc91v.js → reference-h6qwv4aw.js} +26 -26
- package/dist/chunks/{job-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-nyfjheeq.js → reference-h971pwhf.js} +11 -11
- package/dist/chunks/{job-ssx059rb.js → reference-hbedddsn.js} +11 -11
- package/dist/chunks/{job-kbqjp078.js → reference-hbyhqfhs.js} +5 -5
- package/dist/chunks/{job-ew0q6k30.js → reference-hgg8amch.js} +173 -173
- package/dist/chunks/{job-r2mmdhen.js → reference-hkv5p9ne.js} +3 -3
- package/dist/chunks/{job-ydgy0jv4.js → reference-htjw9qza.js} +6 -6
- package/dist/chunks/{job-jz5sxy2v.js → reference-hyftv91s.js} +7 -7
- package/dist/chunks/{job-1cfb3ja4.js → reference-j34dxvpb.js} +5 -5
- package/dist/chunks/{job-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{job-zjtz4r8b.js → reference-j993bjzs.js} +12 -12
- package/dist/chunks/{job-xtmqq4e3.js → reference-jdrzz5kz.js} +37 -37
- package/dist/chunks/{job-zz2t2kk4.js → reference-jhrpy0h8.js} +21 -21
- package/dist/chunks/{job-8v7ffv8d.js → reference-jken0ejx.js} +25 -25
- package/dist/chunks/{job-11h6rw47.js → reference-jkzjr3ma.js} +31 -31
- package/dist/chunks/{job-mxkgvy0a.js → reference-jpx3jw6j.js} +22 -22
- package/dist/chunks/{job-yz3qhr3r.js → reference-jqw8ttv0.js} +15 -15
- package/dist/chunks/{job-vb0abph4.js → reference-jxz16j3e.js} +28 -28
- package/dist/chunks/{job-d4c4qgdk.js → reference-k115rg6b.js} +11 -11
- package/dist/chunks/{job-7kvpsc06.js → reference-k2a504bc.js} +14 -14
- package/dist/chunks/{job-k3c624dm.js → reference-k3c624dm.js} +3 -3
- package/dist/chunks/{job-4r8dtk29.js → reference-k6rqs0s8.js} +3 -3
- package/dist/chunks/{job-2j95z75a.js → reference-k7d46rr6.js} +4 -4
- package/dist/chunks/{job-tx92n959.js → reference-kb6gw2zp.js} +4 -4
- package/dist/chunks/{job-r96zx2xa.js → reference-kdhn56cv.js} +32 -32
- package/dist/chunks/reference-kmfs87yw.js +26 -0
- package/dist/chunks/{job-p0cqgnhb.js → reference-kt609s0t.js} +5 -5
- package/dist/chunks/{job-vhfkbtqs.js → reference-ktd0gbm4.js} +3 -3
- package/dist/chunks/{job-h75mtxy7.js → reference-kz7w9h4r.js} +18 -18
- package/dist/chunks/{job-ervfjr3g.js → reference-kzacwcn9.js} +24 -24
- package/dist/chunks/{job-epcpjtmm.js → reference-m165mn98.js} +15 -15
- package/dist/chunks/{job-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
- package/dist/chunks/{job-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-magykp64.js → reference-magykp64.js} +1 -1
- package/dist/chunks/{job-231fkzn9.js → reference-mc9ss0y5.js} +15 -15
- package/dist/chunks/{job-d75ppx60.js → reference-mcfy26hj.js} +29 -29
- package/dist/chunks/{job-73tb2d7t.js → reference-mhkvc446.js} +3 -3
- package/dist/chunks/{job-70dyee8s.js → reference-n1j0qfw4.js} +8 -8
- package/dist/chunks/{job-dst4ms2e.js → reference-n3j9v3wj.js} +12 -12
- package/dist/chunks/{job-76xremav.js → reference-n9kfxdp9.js} +20 -20
- package/dist/chunks/{job-jdcnnskf.js → reference-ngbzmknx.js} +9 -9
- package/dist/chunks/{job-2ae0w1q6.js → reference-np6nr2kx.js} +23 -23
- package/dist/chunks/{job-cvhge4xv.js → reference-nscc21qe.js} +22 -22
- package/dist/chunks/{job-eg9d22mh.js → reference-paqwx8q6.js} +2 -2
- package/dist/chunks/{job-skgkzd64.js → reference-pck83k06.js} +21 -21
- package/dist/chunks/reference-pf31ssb9.js +18 -0
- package/dist/chunks/{job-8b98verr.js → reference-phdse2cz.js} +10 -10
- package/dist/chunks/{job-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{job-qpbc7zwf.js → reference-pw9v3g6d.js} +8 -8
- package/dist/chunks/{job-9mczkx7c.js → reference-pxey72j3.js} +32 -32
- package/dist/chunks/{job-s82h7tsb.js → reference-pyj25zwj.js} +3 -3
- package/dist/chunks/{job-r790xmfm.js → reference-q3bp0eqq.js} +26 -26
- package/dist/chunks/{job-6e7sacjg.js → reference-q4b4mt0k.js} +85 -85
- package/dist/chunks/{job-39c9j40n.js → reference-qb2p9zbg.js} +44 -44
- package/dist/chunks/{job-ep21a2k1.js → reference-qcfhqezt.js} +13 -13
- package/dist/chunks/{job-0jwsre1p.js → reference-qgn6gcr1.js} +5 -5
- package/dist/chunks/{job-mg69qb51.js → reference-qmdmhxrm.js} +8 -8
- package/dist/chunks/{job-stn5vj2c.js → reference-qn0j8a2m.js} +13 -13
- package/dist/chunks/{job-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{job-7td7z3fp.js → reference-qxvtm6f6.js} +19 -19
- package/dist/chunks/{job-g0knnnvb.js → reference-r1nzxzk3.js} +6 -6
- package/dist/chunks/{job-8qqrm4zt.js → reference-r45e0rbq.js} +26 -26
- package/dist/chunks/{job-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-sh5w4k31.js → reference-s7932dae.js} +11 -11
- package/dist/chunks/{job-nng2ktcm.js → reference-s8610hey.js} +2 -2
- package/dist/chunks/{job-tghe7e42.js → reference-ses91yzc.js} +8 -8
- package/dist/chunks/{job-ptg8ydkv.js → reference-sv2rsgqy.js} +27 -27
- package/dist/chunks/{job-q01t0nhq.js → reference-sz9xv9xn.js} +30 -30
- package/dist/chunks/{job-es0c2gra.js → reference-t1keb6et.js} +43 -43
- package/dist/chunks/{job-f4m9nz49.js → reference-t9cv2z2y.js} +17 -17
- package/dist/chunks/{job-za88e651.js → reference-t9yx3vxp.js} +20 -20
- package/dist/chunks/{job-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{job-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{job-k4t1mtpb.js → reference-tjb59763.js} +37 -37
- package/dist/chunks/{job-5nq0nea2.js → reference-tkr7t7pv.js} +11 -11
- package/dist/chunks/{job-ey36844v.js → reference-tm9580sr.js} +10 -10
- package/dist/chunks/{job-qrwm1nmb.js → reference-tt79120p.js} +17 -17
- package/dist/chunks/{job-12sfj3yb.js → reference-tvf9c7hb.js} +30 -30
- package/dist/chunks/{job-vbcswfa9.js → reference-tvk85ejt.js} +11 -11
- package/dist/chunks/{job-tvtrv512.js → reference-tvtrv512.js} +1 -1
- package/dist/chunks/{job-da7kmwxg.js → reference-tzpv42kz.js} +11 -11
- package/dist/chunks/{job-1x60rae4.js → reference-v1egv9yp.js} +27 -27
- package/dist/chunks/{job-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{job-g2zryj83.js → reference-vgj5jbet.js} +3 -3
- package/dist/chunks/{job-q2b1ymqp.js → reference-vncycja5.js} +4 -4
- package/dist/chunks/{job-5tbemrdz.js → reference-vrke23k5.js} +66 -66
- package/dist/chunks/{job-kvyy1gjj.js → reference-vsa42d0b.js} +27 -27
- package/dist/chunks/{job-358np968.js → reference-vt1m752q.js} +13 -13
- package/dist/chunks/{job-5m26qgtd.js → reference-vyn1hvw5.js} +20 -20
- package/dist/chunks/{job-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{job-pna42hr7.js → reference-w0ct177m.js} +36 -36
- package/dist/chunks/{job-v0spscbj.js → reference-w0y7f2dx.js} +5 -5
- package/dist/chunks/{job-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-9c3zczec.js → reference-w8bax687.js} +12 -12
- package/dist/chunks/{job-9ss7kw18.js → reference-wak1n191.js} +10 -10
- package/dist/chunks/{job-hz0q9sdq.js → reference-wb6eeyna.js} +8 -8
- package/dist/chunks/{job-wd3x2cqz.js → reference-wd3x2cqz.js} +2 -2
- package/dist/chunks/{job-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{job-tazp3vs0.js → reference-wgtcm0m7.js} +4 -4
- package/dist/chunks/{job-a8wt8y1z.js → reference-wsxhr7mz.js} +1 -1
- package/dist/chunks/{job-tc2ag5qj.js → reference-wzw60d3c.js} +6 -6
- package/dist/chunks/{job-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-wv91mkn5.js → reference-x54c8ekp.js} +13 -13
- package/dist/chunks/{job-rrqs6dcd.js → reference-xe8wrm2v.js} +7 -7
- package/dist/chunks/{job-dmqcgk4z.js → reference-xkntkrq7.js} +5 -5
- package/dist/chunks/{job-6vr4frws.js → reference-xtk3c0wk.js} +21 -21
- package/dist/chunks/{job-7pr2hkwv.js → reference-xvp1j2dc.js} +5 -5
- package/dist/chunks/{job-6x9kp8ex.js → reference-y1022pqf.js} +20 -20
- package/dist/chunks/{job-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-zx3b154r.js → reference-y5jzt5h7.js} +2 -2
- package/dist/chunks/{job-y71avatq.js → reference-y71avatq.js} +1 -1
- package/dist/chunks/{job-3kvemn9y.js → reference-ydqd2mjj.js} +14 -14
- package/dist/chunks/{job-crtzgn9t.js → reference-yf019c59.js} +21 -21
- package/dist/chunks/{job-dhpaedsx.js → reference-yfn15sv3.js} +4 -4
- package/dist/chunks/{job-gsn75v2a.js → reference-ygwjbdqw.js} +20 -20
- package/dist/chunks/{job-wdgz3xr4.js → reference-yn5hrsx6.js} +48 -48
- package/dist/chunks/{job-yp2x3t23.js → reference-yp2x3t23.js} +1 -1
- package/dist/chunks/{job-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-yrznvahk.js → reference-yrznvahk.js} +2 -2
- package/dist/chunks/{job-0jbb0jam.js → reference-yzmt9s1b.js} +16 -16
- package/dist/chunks/{job-z07pqspn.js → reference-z07pqspn.js} +3 -3
- package/dist/chunks/{job-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-bq2zwxzx.js → reference-z3zp24an.js} +6 -6
- package/dist/chunks/{job-z63w68vq.js → reference-z63w68vq.js} +2 -2
- package/dist/chunks/{job-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-3fcw9sbf.js → reference-zhjy7jmn.js} +4 -4
- package/dist/chunks/{job-gjjcw6rp.js → reference-zn9yn8hw.js} +52 -52
- package/dist/chunks/{job-rgajyaf8.js → reference-znpmv816.js} +6 -6
- package/dist/chunks/{job-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-q2src7z2.js → reference-zsc4zr95.js} +11 -11
- package/dist/chunks/{job-r8b1k8ga.js → reference-zwtn2b75.js} +18 -18
- package/dist/chunks/{job-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +90 -90
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +151 -151
- 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 +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +120 -120
- 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 +214 -214
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +220 -220
- 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 +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/job-9mag1gb4.js +0 -26
- package/dist/chunks/job-dxj72tfx.js +0 -18
- package/dist/chunks/job-gnj94y4s.js +0 -252
- /package/dist/chunks/{job-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → reference-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-r1nzxzk3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-7zeyjkbe.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./reference-sz9xv9xn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-dqwatsve.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID9
|
|
17
|
+
} from "./reference-gsm9w5gv.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-v1egv9yp.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./reference-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID9.make("digitalocean");
|
|
31
|
+
var integrationID = ID10.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID8.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-afed7ext.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make21
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make21 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service82;
|
|
24
24
|
return {
|
|
@@ -46,4 +46,4 @@ var make15 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make21, exports_git2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./reference-w0ct177m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./reference-wb6eeyna.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin19
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin19 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service49;
|
|
29
|
+
const managed = yield* Service76;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin30 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin19, exports_policy };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service40,
|
|
10
|
+
node: () => node42
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service40 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node42 = LayerNode.unbound(Service40, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service40, node42, exports_service2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-r1nzxzk3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-7zeyjkbe.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./reference-sz9xv9xn.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-dqwatsve.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service76
|
|
21
|
+
} from "./reference-wb6eeyna.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID9,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-gsm9w5gv.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
ID4,
|
|
29
29
|
Input14,
|
|
30
30
|
Response2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./reference-ea9448jf.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/opencode.ts
|
|
34
34
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var methodID = MethodID2.make("device");
|
|
|
44
44
|
var RemoteResponse = Schema.Struct({
|
|
45
45
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
46
46
|
websearch: Schema.Struct({
|
|
47
|
-
providerID:
|
|
47
|
+
providerID: ID4
|
|
48
48
|
}).pipe(Schema.optional),
|
|
49
49
|
mcp: Schema.Struct({
|
|
50
50
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -96,7 +96,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
96
96
|
}
|
|
97
97
|
function oauth(http) {
|
|
98
98
|
return {
|
|
99
|
-
integrationID:
|
|
99
|
+
integrationID: ID10.make("opencode"),
|
|
100
100
|
method: {
|
|
101
101
|
id: methodID,
|
|
102
102
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var OpencodePlugin2 = define({
|
|
|
163
163
|
const bus = yield* Service83;
|
|
164
164
|
const client = yield* HttpClient.HttpClient;
|
|
165
165
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
166
|
-
const managed = yield*
|
|
166
|
+
const managed = yield* Service76;
|
|
167
167
|
const scope = yield* Scope.Scope;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -212,7 +212,7 @@ var OpencodePlugin2 = define({
|
|
|
212
212
|
providers.update(providerID, (provider) => {
|
|
213
213
|
if (source && source.provider !== provider)
|
|
214
214
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
215
|
-
provider.integrationID =
|
|
215
|
+
provider.integrationID = ID10.make("opencode");
|
|
216
216
|
if (item.canonical !== undefined)
|
|
217
217
|
provider.canonical = item.canonical;
|
|
218
218
|
if (item.name !== undefined)
|
|
@@ -282,7 +282,7 @@ var OpencodePlugin2 = define({
|
|
|
282
282
|
sourceConnection: snapshot.connection
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
|
-
const item = providers.get(
|
|
285
|
+
const item = providers.get(ID9.opencode);
|
|
286
286
|
if (!item)
|
|
287
287
|
return;
|
|
288
288
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -294,7 +294,7 @@ var OpencodePlugin2 = define({
|
|
|
294
294
|
});
|
|
295
295
|
});
|
|
296
296
|
yield* ctx.model.transform((models) => {
|
|
297
|
-
const item = models.provider.get(
|
|
297
|
+
const item = models.provider.get(ID9.opencode);
|
|
298
298
|
if (!item)
|
|
299
299
|
return;
|
|
300
300
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -383,10 +383,10 @@ var OpencodePlugin2 = define({
|
|
|
383
383
|
});
|
|
384
384
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
385
385
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
386
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
386
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
387
387
|
});
|
|
388
388
|
yield* guard(snapshot);
|
|
389
|
-
yield* bus.subscribe(
|
|
389
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
390
390
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
391
391
|
})
|
|
392
392
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-paqwx8q6.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service49
|
|
7
|
+
} from "./reference-w0ct177m.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service63
|
|
10
|
+
} from "./reference-21g2k5h0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make9
|
|
13
|
+
} from "./reference-mhkvc446.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin32
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin32 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service49;
|
|
37
|
+
const formatter = yield* Service63;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
40
|
const location = yield* Service80;
|
|
@@ -45,7 +45,7 @@ var Plugin19 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make9({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin19 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin32, exports_formatter };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./reference-gsm9w5gv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service49
|
|
7
|
+
} from "./reference-w0ct177m.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service66;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service49);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-vgj5jbet.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-7zeyjkbe.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-ses91yzc.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service72,
|
|
21
|
+
node76
|
|
22
|
+
} from "./reference-7an2zr3c.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service22,
|
|
25
25
|
node26
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-87szygx8.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
41
|
layer: () => layer3,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var layer3 = Layer.effect(
|
|
61
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service22;
|
|
65
|
+
const store = yield* Service72;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service2.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
150
|
+
var node3 = makeLocationNode({
|
|
151
|
+
service: Service2,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [node87, llmClient2, node26,
|
|
153
|
+
deps: [node87, llmClient2, node26, node76, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./reference-3ppptnan.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-pf31ssb9.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-z3zp24an.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service35
|
|
12
|
+
} from "./reference-796w904k.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service40;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service35), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-wsxhr7mz.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-k6rqs0s8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-vgj5jbet.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-7zeyjkbe.js";
|
|
12
12
|
import {
|
|
13
13
|
Service82,
|
|
14
14
|
node86
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-afed7ext.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./reference-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|