@opencode/core 0.0.0-dev-19363 → 0.0.0-dev-19364
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{workspace-s8d7rejh.js → job-02nrjc1r.js} +8 -8
- package/dist/chunks/{workspace-wt5gx8pc.js → job-02zskd6f.js} +4 -4
- package/dist/chunks/{workspace-8a435q9z.js → job-0579gpxb.js} +24 -24
- package/dist/chunks/{workspace-kr986s70.js → job-0c02kjfn.js} +11 -11
- package/dist/chunks/{workspace-pecb0brz.js → job-0f9afca0.js} +5 -5
- package/dist/chunks/{workspace-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → job-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-43yx1h7c.js → job-0sgkmfn1.js} +11 -11
- package/dist/chunks/{workspace-3aq545f1.js → job-0syz7qtw.js} +11 -11
- package/dist/chunks/{workspace-c8bfydn7.js → job-0wp8gwcf.js} +11 -11
- package/dist/chunks/{workspace-ytp44yw2.js → job-16cpa4em.js} +30 -30
- package/dist/chunks/{workspace-73tb2d7t.js → job-1bbkgx8g.js} +3 -3
- package/dist/chunks/{workspace-1qa7sx05.js → job-1d2kqp0q.js} +21 -21
- package/dist/chunks/{workspace-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-1dfhrqqs.js → job-1dfhrqqs.js} +2 -2
- package/dist/chunks/{workspace-xhnnpr23.js → job-1gskjqya.js} +46 -46
- package/dist/chunks/{workspace-54qh477g.js → job-1h50pyc1.js} +9 -9
- package/dist/chunks/{workspace-any60g97.js → job-1j9r40vc.js} +10 -10
- package/dist/chunks/{workspace-8ncewq7h.js → job-1tyyg2br.js} +32 -32
- package/dist/chunks/{workspace-4tmag8pw.js → job-1y1sjyqq.js} +12 -12
- package/dist/chunks/{workspace-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-tjedsf1z.js → job-229ty8nt.js} +4 -4
- package/dist/chunks/{workspace-e4tyy19d.js → job-22vw8prj.js} +17 -17
- package/dist/chunks/{workspace-cekxsej1.js → job-25jw5z6k.js} +32 -32
- package/dist/chunks/{workspace-eamgkqma.js → job-25wdar1j.js} +8 -8
- package/dist/chunks/{workspace-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-mdncrv3b.js → job-2b1ytek0.js} +41 -41
- package/dist/chunks/{workspace-ytjkbs5q.js → job-2hwf8ak9.js} +36 -36
- package/dist/chunks/{workspace-n0rxe8qg.js → job-2m725s7d.js} +6 -6
- package/dist/chunks/{workspace-ntbm31a4.js → job-2mvg4nz7.js} +9 -9
- package/dist/chunks/{workspace-6jex2xta.js → job-2pxk13gr.js} +5 -5
- package/dist/chunks/{workspace-hjsw513e.js → job-35bfa7nt.js} +4 -4
- package/dist/chunks/{workspace-7s02b6me.js → job-38c819ax.js} +1 -1
- package/dist/chunks/{workspace-6wjp1q1r.js → job-3ajzkmr1.js} +50 -50
- package/dist/chunks/{workspace-scdhnzv1.js → job-3bpt9v8m.js} +9 -9
- package/dist/chunks/{workspace-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-fkab44b1.js → job-3jk54sk1.js} +17 -17
- package/dist/chunks/{workspace-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-n4yapsk0.js → job-3w624jyd.js} +31 -31
- package/dist/chunks/{workspace-0ebyrbpf.js → job-43cccvvs.js} +15 -15
- package/dist/chunks/{workspace-exzp4pnr.js → job-4fjwh9x1.js} +10 -10
- package/dist/chunks/{workspace-9cmgy7cp.js → job-4qskmyby.js} +28 -28
- package/dist/chunks/{workspace-ag2v6e19.js → job-4ry4qykw.js} +32 -32
- package/dist/chunks/{workspace-1ygqh575.js → job-56gdpj1q.js} +9 -9
- package/dist/chunks/{workspace-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-d3mk2n0c.js → job-5mjpkvmy.js} +19 -19
- package/dist/chunks/{workspace-jwye7syw.js → job-5pyv2ve2.js} +9 -9
- package/dist/chunks/{workspace-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-7b15y959.js → job-5xtgfte3.js} +8 -8
- package/dist/chunks/{workspace-4gqpqfcq.js → job-5ze2sb3d.js} +25 -25
- package/dist/chunks/{workspace-7dqw4kz8.js → job-607tc6va.js} +5 -5
- package/dist/chunks/{workspace-cgybpxck.js → job-6082ejvc.js} +28 -28
- package/dist/chunks/{workspace-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{workspace-3fsqj4j0.js → job-6cyq3wtk.js} +5 -5
- package/dist/chunks/{workspace-wh7dthar.js → job-6dzd8y7e.js} +54 -54
- package/dist/chunks/job-6h37vygj.js +18 -0
- package/dist/chunks/{workspace-2402vzrj.js → job-6h73sxmp.js} +5 -5
- package/dist/chunks/{workspace-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-8bg05p2k.js → job-6nem57cq.js} +20 -20
- package/dist/chunks/{workspace-1kaepe8y.js → job-6vejbcvs.js} +22 -22
- package/dist/chunks/{workspace-qtwarjwz.js → job-6xscg6ph.js} +11 -11
- package/dist/chunks/{workspace-71q4at8m.js → job-71q4at8m.js} +1 -1
- package/dist/chunks/{workspace-xwq8n2sh.js → job-721sbm7a.js} +3 -3
- package/dist/chunks/{workspace-ngmftgzk.js → job-739p7y9j.js} +4 -4
- package/dist/chunks/{workspace-1fa9ans5.js → job-74x46t3v.js} +1 -1
- package/dist/chunks/{workspace-eebjtjym.js → job-7am2tvg9.js} +6 -6
- package/dist/chunks/{workspace-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-910asfwy.js → job-7g0yvtfp.js} +4 -4
- package/dist/chunks/{workspace-xcxg3sjd.js → job-7sf59p8y.js} +9 -9
- package/dist/chunks/{workspace-0n1qmxwe.js → job-7t84asjt.js} +17 -17
- package/dist/chunks/{workspace-fwv3dbt3.js → job-81ncw9tv.js} +3 -3
- package/dist/chunks/{workspace-ar8qnkc3.js → job-81swgkk7.js} +9 -9
- package/dist/chunks/{workspace-tcezcvh9.js → job-89znhe33.js} +4 -4
- package/dist/chunks/{workspace-qedhf8hd.js → job-8a35hack.js} +11 -11
- package/dist/chunks/{workspace-022adzae.js → job-8ay3c5ak.js} +5 -5
- package/dist/chunks/{workspace-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-8p4f9s12.js → job-8p4f9s12.js} +2 -2
- package/dist/chunks/{workspace-hz4vbhnm.js → job-8rdvqstn.js} +85 -85
- package/dist/chunks/{workspace-2vz4t0z4.js → job-8t4z3drh.js} +7 -7
- package/dist/chunks/{workspace-4m2pmvxz.js → job-90dkwxdw.js} +6 -6
- package/dist/chunks/{workspace-dt849bc4.js → job-942f7qpg.js} +8 -8
- package/dist/chunks/{workspace-w1ad28wa.js → job-97h7kfy1.js} +8 -8
- package/dist/chunks/{workspace-devz3we5.js → job-99gjnsnz.js} +36 -36
- package/dist/chunks/{workspace-b1t2am26.js → job-99v2ccyq.js} +37 -37
- package/dist/chunks/{workspace-hd29wc17.js → job-9pm6y0s1.js} +8 -8
- package/dist/chunks/{workspace-wtknh6p7.js → job-9xtkkd11.js} +4 -4
- package/dist/chunks/{workspace-a1bz86dw.js → job-a1bz86dw.js} +3 -3
- package/dist/chunks/{workspace-s74e6q5b.js → job-a4vmdta9.js} +27 -27
- package/dist/chunks/{workspace-kwb80b5k.js → job-a68v6zx7.js} +8 -8
- package/dist/chunks/{workspace-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-f73rjn58.js → job-ag4rn41e.js} +4 -4
- package/dist/chunks/{workspace-5892jdtn.js → job-ahd542yp.js} +8 -8
- package/dist/chunks/{workspace-7we4r9ew.js → job-aj441hr4.js} +11 -11
- package/dist/chunks/{workspace-r9kqtr81.js → job-amwp0f90.js} +16 -16
- package/dist/chunks/{workspace-rqz552e7.js → job-b37vgch1.js} +22 -22
- package/dist/chunks/{workspace-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-qq43q54h.js → job-b7phkr0g.js} +9 -9
- package/dist/chunks/{workspace-94z0cytz.js → job-b7xwbtxx.js} +15 -15
- package/dist/chunks/{workspace-g84khnv4.js → job-bezta5kd.js} +20 -20
- package/dist/chunks/{workspace-3ssv6kad.js → job-bgyedr80.js} +25 -25
- package/dist/chunks/{workspace-1c2ybwbd.js → job-bn83wvty.js} +25 -25
- package/dist/chunks/{workspace-krye8wkr.js → job-bq5cyx4e.js} +15 -15
- package/dist/chunks/{workspace-934ndfrr.js → job-c57gxwwm.js} +6 -6
- package/dist/chunks/{workspace-3w0fmcng.js → job-c78bbtc9.js} +5 -5
- package/dist/chunks/{workspace-76q5vzcy.js → job-c91m78pc.js} +47 -47
- package/dist/chunks/{workspace-cf42bz4p.js → job-ccwee0w7.js} +18 -18
- package/dist/chunks/{workspace-7as7932t.js → job-cd20pj48.js} +12 -12
- package/dist/chunks/{workspace-cfpkc3c9.js → job-cfpkc3c9.js} +2 -2
- package/dist/chunks/{workspace-6qgms2qw.js → job-cmyn1377.js} +16 -16
- package/dist/chunks/{workspace-2wb4awa6.js → job-cse3gt9t.js} +20 -20
- package/dist/chunks/{workspace-4ne4chy4.js → job-cvdn1nan.js} +7 -7
- package/dist/chunks/{workspace-f9ps9yx5.js → job-d7gd756z.js} +23 -23
- package/dist/chunks/{workspace-z52w236g.js → job-d7vx6139.js} +2 -2
- package/dist/chunks/{workspace-494yeyrp.js → job-da0tdfgq.js} +9 -9
- package/dist/chunks/{workspace-f5wfqm5e.js → job-dhq1g462.js} +14 -14
- package/dist/chunks/{workspace-rcq5765c.js → job-dmanj76z.js} +17 -17
- package/dist/chunks/{workspace-7f2qwqcj.js → job-dn5r44we.js} +12 -12
- package/dist/chunks/{workspace-b281zsyd.js → job-dvsrrzdm.js} +3 -3
- package/dist/chunks/{workspace-sd1b9zfd.js → job-e12r5r58.js} +13 -13
- package/dist/chunks/{workspace-hzn56yvs.js → job-e3451t3s.js} +12 -12
- package/dist/chunks/{workspace-ab9238g2.js → job-e6hd9jay.js} +6 -6
- package/dist/chunks/{workspace-kfjdjtta.js → job-e9rgdr95.js} +41 -41
- package/dist/chunks/{workspace-0gr7cw0d.js → job-ec8389mk.js} +4 -4
- package/dist/chunks/{workspace-feth5zyx.js → job-edsykcyj.js} +8 -8
- package/dist/chunks/{workspace-1wh2xykj.js → job-eky6fq91.js} +7 -7
- package/dist/chunks/{workspace-59wgq1a5.js → job-envhj8vp.js} +15 -15
- package/dist/chunks/{workspace-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-xj890rb7.js → job-etqz5vah.js} +30 -30
- package/dist/chunks/{workspace-rhraev7y.js → job-f2n192rq.js} +4 -4
- package/dist/chunks/{workspace-3yd4wcry.js → job-f6s7mn7w.js} +7 -7
- package/dist/chunks/{workspace-f828m53h.js → job-f828m53h.js} +2 -2
- package/dist/chunks/{workspace-ma15yhyh.js → job-fegk541e.js} +5 -5
- package/dist/chunks/{workspace-skchca7t.js → job-fk0z8m7n.js} +24 -24
- package/dist/chunks/{workspace-2ee8pmxs.js → job-fqvj2kck.js} +5 -5
- package/dist/chunks/{workspace-gqap5j9g.js → job-fx17z6gp.js} +12 -12
- package/dist/chunks/{workspace-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-hfdr1yjj.js → job-fxqygnfa.js} +4 -4
- package/dist/chunks/{workspace-wn4xj15b.js → job-g82gzaec.js} +5 -5
- package/dist/chunks/{workspace-7hhc48cv.js → job-gbf7jaq3.js} +26 -26
- package/dist/chunks/{workspace-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-c3m0xs4s.js → job-ge1b6xrw.js} +14 -14
- package/dist/chunks/{workspace-t0x5rdq8.js → job-gfqzzqy5.js} +9 -9
- package/dist/chunks/{workspace-4pwxaf10.js → job-ghtm10aa.js} +6 -6
- package/dist/chunks/{workspace-h03wrkyp.js → job-h03wrkyp.js} +2 -2
- package/dist/chunks/{workspace-fsnw1hqv.js → job-h0zdsgpr.js} +12 -12
- package/dist/chunks/{workspace-ggrs6r08.js → job-h5qqrvm1.js} +12 -12
- package/dist/chunks/{workspace-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-2s56tc45.js → job-h7zc9nkf.js} +11 -11
- package/dist/chunks/{workspace-hdcqa9dy.js → job-haj45yr2.js} +15 -15
- package/dist/chunks/{workspace-0b1gpwwb.js → job-hggs9ssw.js} +22 -22
- package/dist/chunks/{workspace-ccq2df5x.js → job-hjva8d7j.js} +6 -6
- package/dist/chunks/{workspace-dxk9f402.js → job-hm2ejha3.js} +13 -13
- package/dist/chunks/{workspace-byfykep1.js → job-htw31gzz.js} +20 -20
- package/dist/chunks/{workspace-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-gt0apk7z.js → job-je7zv48t.js} +20 -20
- package/dist/chunks/{workspace-tfgscs23.js → job-jefma2gq.js} +10 -10
- package/dist/chunks/{workspace-pv643edj.js → job-k42p9zb0.js} +4 -4
- package/dist/chunks/{workspace-bt0wtns8.js → job-k71cyzap.js} +11 -11
- package/dist/chunks/{workspace-wjjfysat.js → job-k73bfk16.js} +9 -9
- package/dist/chunks/{workspace-7vp5pahf.js → job-k8bvzwhk.js} +18 -18
- package/dist/chunks/{workspace-b8s0s4ee.js → job-k96amnad.js} +13 -13
- package/dist/chunks/{workspace-a78mx8ke.js → job-kasmfvxj.js} +11 -11
- package/dist/chunks/{workspace-cy2x3s5a.js → job-kbbag24c.js} +15 -15
- package/dist/chunks/{workspace-yam58fy8.js → job-kefv3hg1.js} +16 -16
- package/dist/chunks/{workspace-kg06axw8.js → job-kg06axw8.js} +1 -1
- package/dist/chunks/{workspace-c2s6b9jx.js → job-kgv4xx6g.js} +290 -290
- package/dist/chunks/{workspace-qssq5wvh.js → job-kqddbhjm.js} +1 -1
- package/dist/chunks/{workspace-3b1wqxak.js → job-ks4rvxhs.js} +25 -25
- package/dist/chunks/{workspace-n5zjdcc0.js → job-ktbdk3tc.js} +1 -1
- package/dist/chunks/{workspace-zmmw47s9.js → job-m6zz821c.js} +8 -8
- package/dist/chunks/{workspace-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-yeaw3623.js → job-mhdt9kyn.js} +28 -28
- package/dist/chunks/{workspace-mkcjrzeh.js → job-mkcjrzeh.js} +1 -1
- package/dist/chunks/{workspace-gp8tcjp2.js → job-mkxy58aw.js} +13 -13
- package/dist/chunks/{workspace-bbyyrkpa.js → job-mpr3rhgc.js} +5 -5
- package/dist/chunks/{workspace-njh9zcvs.js → job-mq7bs1d3.js} +17 -17
- package/dist/chunks/{workspace-k9q45n45.js → job-mqepjph7.js} +5 -5
- package/dist/chunks/{workspace-v1v9n7kj.js → job-mssk2e9m.js} +16 -16
- package/dist/chunks/{workspace-fv9ed2xt.js → job-mv12sjng.js} +43 -43
- package/dist/chunks/{workspace-jndyp0t0.js → job-n2cfnz78.js} +82 -82
- package/dist/chunks/{workspace-skyymkrr.js → job-ndmv45hp.js} +3 -3
- package/dist/chunks/{workspace-zerdtc7d.js → job-nhvhf6q8.js} +6 -6
- package/dist/chunks/{workspace-hjt4xg1x.js → job-nhy5jxhy.js} +4 -4
- package/dist/chunks/{workspace-58aqtfam.js → job-nmh97mvp.js} +25 -25
- package/dist/chunks/{workspace-jw80jp6b.js → job-nrdmrqsx.js} +4 -4
- package/dist/chunks/{workspace-jc1vbcaj.js → job-nrh5vhzd.js} +13 -13
- package/dist/chunks/{workspace-y7e11ang.js → job-nvfcbzdz.js} +11 -11
- package/dist/chunks/{workspace-5c0f1prt.js → job-paegk39x.js} +4 -4
- package/dist/chunks/{workspace-hkp1h9sy.js → job-peh2khmm.js} +20 -20
- package/dist/chunks/{workspace-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-2bt6bea8.js → job-pnv527nz.js} +9 -9
- package/dist/chunks/{workspace-kzzsz8rg.js → job-pszcdzkf.js} +20 -20
- package/dist/chunks/{workspace-gd9thf3n.js → job-pvf8yt93.js} +6 -6
- package/dist/chunks/{workspace-709qmd4f.js → job-pvs2qwem.js} +45 -45
- package/dist/chunks/{workspace-b6bb7nct.js → job-pywk3m9z.js} +20 -20
- package/dist/chunks/{workspace-8dp3tmf6.js → job-q2g838x5.js} +36 -36
- package/dist/chunks/{workspace-9asg0y97.js → job-q4e2gc9y.js} +19 -19
- package/dist/chunks/{workspace-2r9a3wfp.js → job-q50z6359.js} +6 -6
- package/dist/chunks/{workspace-rq6x4r74.js → job-q78f3nay.js} +20 -20
- package/dist/chunks/{workspace-et6333e0.js → job-q9423svd.js} +14 -14
- package/dist/chunks/{workspace-a2ew8a62.js → job-qm0v3jhh.js} +7 -7
- package/dist/chunks/{workspace-hnr5yq9h.js → job-qn4ba14w.js} +5 -5
- package/dist/chunks/{workspace-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-srqbxy54.js → job-qtreaq7e.js} +24 -24
- package/dist/chunks/{workspace-w9ytv6gf.js → job-qv1mm8j7.js} +11 -11
- package/dist/chunks/{workspace-sxgqf9nr.js → job-r5d64n4j.js} +27 -27
- package/dist/chunks/{workspace-9b8ps0g9.js → job-r6j3129y.js} +4 -4
- package/dist/chunks/{workspace-hadkhv8d.js → job-raxpww04.js} +32 -32
- package/dist/chunks/{workspace-jp51bnyt.js → job-rd6ft883.js} +28 -28
- package/dist/chunks/{workspace-8bt8kjwe.js → job-rdwrffkh.js} +9 -9
- package/dist/chunks/{workspace-vz7ss3k3.js → job-rt5p1h78.js} +10 -10
- package/dist/chunks/{workspace-zt9y4nc3.js → job-s67b0p41.js} +15 -15
- package/dist/chunks/{workspace-v7bsnapp.js → job-s7rnt1f1.js} +43 -43
- package/dist/chunks/{workspace-5qatf9sn.js → job-s8bxc45v.js} +24 -24
- package/dist/chunks/{workspace-3t9wsyj4.js → job-sskb7qmk.js} +13 -13
- package/dist/chunks/{workspace-vzw5ftch.js → job-syh86n1k.js} +1 -1
- package/dist/chunks/{workspace-y418223f.js → job-t4hptw14.js} +30 -30
- package/dist/chunks/{workspace-xwy4v95w.js → job-t6k95vqy.js} +15 -15
- package/dist/chunks/{workspace-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-gv6a8nnw.js → job-th5km1p3.js} +5 -5
- package/dist/chunks/{workspace-33w8fzr9.js → job-tjndkp99.js} +40 -40
- package/dist/chunks/{workspace-s8t4qsw4.js → job-tm7ffpnn.js} +3 -3
- package/dist/chunks/{workspace-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-pm9j628w.js → job-typd6ee7.js} +11 -11
- package/dist/chunks/{workspace-g5q0e61f.js → job-v4t0dn9g.js} +2 -2
- package/dist/chunks/{workspace-02nph5r6.js → job-v828k0ha.js} +39 -39
- package/dist/chunks/{workspace-e369tct8.js → job-vdv2tq4w.js} +26 -26
- package/dist/chunks/{workspace-vx0nbd5a.js → job-ve8g6a3t.js} +23 -23
- package/dist/chunks/{workspace-pz5qb3qt.js → job-vefkgcbn.js} +8 -8
- package/dist/chunks/{workspace-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-hb1af40t.js → job-vgvtnm4n.js} +38 -38
- package/dist/chunks/{workspace-fmmn8x74.js → job-vnk6y1a3.js} +3 -3
- package/dist/chunks/job-vtrb0nd7.js +247 -0
- package/dist/chunks/{workspace-f79e7acg.js → job-vxyyfk13.js} +2 -2
- package/dist/chunks/{workspace-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-zjw1qxrj.js → job-w08p4xw1.js} +26 -26
- package/dist/chunks/{workspace-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-b3t12aqp.js → job-w79zsp0s.js} +1 -1
- package/dist/chunks/{workspace-2y34zzjz.js → job-w9st330k.js} +6 -6
- package/dist/chunks/{workspace-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-gg212e6z.js → job-wjvfka1a.js} +27 -27
- package/dist/chunks/{workspace-abn48psr.js → job-wjzv2vrx.js} +11 -11
- package/dist/chunks/{workspace-f7ehr2sm.js → job-wk5z6jzv.js} +8 -8
- package/dist/chunks/{workspace-hf8cnsjw.js → job-wpmdzrrb.js} +1 -1
- package/dist/chunks/{workspace-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-x43y2vfs.js → job-x43y2vfs.js} +2 -2
- package/dist/chunks/{workspace-010ejnzv.js → job-x8630x6e.js} +24 -24
- package/dist/chunks/{workspace-8e1b1gzh.js → job-x8cycxf4.js} +4 -4
- package/dist/chunks/job-xbwq4n2s.js +22 -0
- package/dist/chunks/{workspace-sdh12dq5.js → job-xd9msqbs.js} +28 -28
- package/dist/chunks/{workspace-kfch808q.js → job-xgvxjsqw.js} +22 -22
- package/dist/chunks/{workspace-t1bhcjx3.js → job-xkjyxwdt.js} +1 -1
- package/dist/chunks/{workspace-4gzagvey.js → job-xm0x4zcx.js} +165 -165
- package/dist/chunks/{workspace-gcvj5pa8.js → job-xmmyd4yr.js} +20 -20
- package/dist/chunks/{workspace-pb37c83a.js → job-xq4e21kt.js} +7 -7
- package/dist/chunks/{workspace-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-nyqyjq7f.js → job-y4q0c8sk.js} +63 -63
- package/dist/chunks/{workspace-5ys1ttr6.js → job-y5t01f6e.js} +23 -23
- package/dist/chunks/{workspace-dpkg50ah.js → job-y71avatq.js} +4 -4
- package/dist/chunks/{workspace-jg036ky1.js → job-yarq22zc.js} +4 -4
- package/dist/chunks/{workspace-pawwnp4a.js → job-ycxnbq1t.js} +16 -16
- package/dist/chunks/{workspace-ggqdnky6.js → job-yhcre9dh.js} +10 -10
- package/dist/chunks/{workspace-ahkdt7e5.js → job-ymvpcb2h.js} +46 -46
- package/dist/chunks/{workspace-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-dsfjtjtn.js → job-ysf20j9k.js} +18 -18
- package/dist/chunks/{workspace-krapsz8s.js → job-ytfrqean.js} +8 -8
- package/dist/chunks/{workspace-6ccptkaw.js → job-yxksx4nm.js} +4 -4
- package/dist/chunks/{workspace-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-d23qetaw.js → job-zf5b8rsb.js} +13 -13
- package/dist/chunks/{workspace-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-685qrrxy.js → job-zsqn5832.js} +31 -31
- package/dist/chunks/{workspace-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-j83byb14.js → job-zzabxn0f.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +114 -114
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +76 -76
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/workspace-7er8a3we.js +0 -247
- package/dist/chunks/workspace-9sh4wc5j.js +0 -18
- package/dist/chunks/workspace-a93wq46y.js +0 -22
- /package/dist/chunks/{workspace-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a1tpkmh4.js → job-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-hrnqkpcd.js → job-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-paphc93g.js → job-paphc93g.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qapv375x.js → job-qapv375x.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → job-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-qv1mm8j7.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-229ty8nt.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event12,
|
|
10
|
+
Service49
|
|
11
|
+
} from "./job-16cpa4em.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID6,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service48
|
|
16
|
+
} from "./job-t4hptw14.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./job-942f7qpg.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-eky6fq91.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID8.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID6.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service49;
|
|
57
|
+
const integrations = yield* Service48;
|
|
58
58
|
const bus = yield* Service79;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
178
178
|
model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
|
-
yield* bus.subscribe(
|
|
181
|
+
yield* bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
182
182
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
183
183
|
const token = envToken();
|
|
184
184
|
if (token)
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node68
|
|
5
|
+
} from "./job-qv1mm8j7.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-paegk39x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service69,
|
|
12
|
+
node74
|
|
13
|
+
} from "./job-9pm6y0s1.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-ymvpcb2h.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-f6s7mn7w.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./job-bn83wvty.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service26,
|
|
25
|
+
node30
|
|
26
|
+
} from "./job-0syz7qtw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make14
|
|
29
|
+
} from "./job-nhy5jxhy.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./job-w79zsp0s.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./job-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service25,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer12,
|
|
45
|
+
node: () => node29,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
|
|
@@ -62,7 +62,7 @@ var baseTranscript2 = (input) => {
|
|
|
62
62
|
return {
|
|
63
63
|
providerMetadataKey,
|
|
64
64
|
system: [
|
|
65
|
-
input.agent.system ? input.agent.system :
|
|
65
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
66
66
|
input.initial
|
|
67
67
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
68
68
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -189,11 +189,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
|
|
|
189
189
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
190
190
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
|
|
191
191
|
|
|
192
|
-
class
|
|
192
|
+
class Service25 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
const hooks = yield*
|
|
196
|
-
const transport = yield*
|
|
194
|
+
var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
195
|
+
const hooks = yield* Service69;
|
|
196
|
+
const transport = yield* Service26;
|
|
197
197
|
const app = yield* Metadata2;
|
|
198
198
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
199
199
|
const session = input.scope.session;
|
|
@@ -201,7 +201,7 @@ var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
201
201
|
const model = resolved.model;
|
|
202
202
|
const tools = input.scope.tools ?? {
|
|
203
203
|
definitions: [],
|
|
204
|
-
execute: () => new
|
|
204
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
205
205
|
};
|
|
206
206
|
const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
|
|
207
207
|
const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
|
|
@@ -261,12 +261,12 @@ var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
261
261
|
executeTool
|
|
262
262
|
};
|
|
263
263
|
});
|
|
264
|
-
return
|
|
264
|
+
return Service25.of({ prepare });
|
|
265
265
|
}));
|
|
266
|
-
var
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
266
|
+
var node29 = makeLocationNode({
|
|
267
|
+
service: Service25,
|
|
268
|
+
layer: layer12,
|
|
269
|
+
deps: [node74, node30, node68]
|
|
270
270
|
});
|
|
271
271
|
|
|
272
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
272
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service25, layer12, node29, exports_model_request };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-229ty8nt.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service6,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer5,
|
|
17
17
|
node: () => node8
|
|
@@ -20,19 +20,19 @@ import { Context, Effect, Layer } from "effect";
|
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service6 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer5 = Layer.effect(
|
|
25
|
+
var layer5 = Layer.effect(Service6, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service79;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service6.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var node8 = makeGlobalNode({ service:
|
|
36
|
+
var node8 = makeGlobalNode({ service: Service6, layer: layer5, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service6, layer5, node8, exports_sdk };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-81ncw9tv.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-229ty8nt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service78,
|
|
14
|
+
node83
|
|
15
|
+
} from "./job-jefma2gq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-81swgkk7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./job-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info32,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service78;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID17.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
167
167
|
time_updated: Date.now()
|
|
168
168
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
169
169
|
if (!row)
|
|
170
|
-
return yield* new
|
|
170
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event20.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID17.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID17.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID17.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID17.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service77.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node82 = makeGlobalNode({
|
|
277
|
+
service: Service77,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node84, node85, FSUtil.node,
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-229ty8nt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node40
|
|
7
|
+
} from "./job-b37vgch1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service3,
|
|
10
|
+
node5
|
|
11
|
+
} from "./job-wjvfka1a.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service17
|
|
14
|
+
} from "./job-6h37vygj.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node16,
|
|
17
17
|
ID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-mssk2e9m.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service4,
|
|
21
|
+
node6
|
|
22
|
+
} from "./job-5xtgfte3.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-kgv4xx6g.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make3,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-edsykcyj.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
|
|
33
|
+
Service6,
|
|
34
34
|
node8
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./job-25wdar1j.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
37
|
+
Service5,
|
|
38
38
|
node7
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./job-wk5z6jzv.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./job-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
46
46
|
__export(exports_supervisor, {
|
|
47
47
|
PluginSupervisor: () => exports_supervisor,
|
|
48
|
-
layer: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
layer: () => layer3,
|
|
49
|
+
node: () => node4
|
|
50
50
|
});
|
|
51
51
|
import { Event } from "@opencode/schema/config";
|
|
52
52
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
124
124
|
pending: [...pending]
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
|
-
var
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
131
|
-
const sources = yield*
|
|
132
|
-
const modules = yield*
|
|
127
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
+
const registry = yield* Service17;
|
|
129
|
+
const sdk = yield* Service6;
|
|
130
|
+
const instance = yield* Service4;
|
|
131
|
+
const sources = yield* Service3;
|
|
132
|
+
const modules = yield* make3();
|
|
133
133
|
const bus = yield* Service79;
|
|
134
|
-
const updates = yield*
|
|
134
|
+
const updates = yield* Service5;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
209
|
+
node16,
|
|
210
210
|
node8,
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
node6,
|
|
212
|
+
node5,
|
|
213
213
|
node7,
|
|
214
214
|
node84,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node40,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -221,6 +221,6 @@ function pluginSource(target) {
|
|
|
221
221
|
return { type: "local", path: target };
|
|
222
222
|
return { type: "package", target };
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { layer3, node4, exports_supervisor };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-qv1mm8j7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID8
|
|
6
|
+
} from "./job-942f7qpg.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-eky6fq91.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID8.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-qv1mm8j7.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin35,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin35 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin4 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin4 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin35, exports_firecrawl };
|