@opencode/core 0.0.0-dev-19363 → 0.0.0-dev-19366
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/agent.js +61 -61
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +52 -52
- package/dist/catalog.js +65 -65
- package/dist/chunks/{workspace-xwy4v95w.js → workspace-01dfavc6.js} +12 -12
- package/dist/chunks/{workspace-3aq545f1.js → workspace-055djz7r.js} +9 -9
- package/dist/chunks/{workspace-wt5gx8pc.js → workspace-05b1y4dr.js} +3 -3
- package/dist/chunks/{workspace-gd9thf3n.js → workspace-0dwqbmss.js} +5 -5
- package/dist/chunks/{workspace-e4tyy19d.js → workspace-0fv2a53w.js} +10 -10
- package/dist/chunks/{workspace-1c2ybwbd.js → workspace-0h1q2yx7.js} +19 -19
- package/dist/chunks/{workspace-5qatf9sn.js → workspace-0h28z8dy.js} +19 -19
- package/dist/chunks/{workspace-1dfhrqqs.js → workspace-0hpxrkyb.js} +3 -3
- package/dist/chunks/{workspace-qq43q54h.js → workspace-0j9apay6.js} +8 -8
- package/dist/chunks/{workspace-ar8qnkc3.js → workspace-0qxam8dj.js} +5 -5
- package/dist/chunks/{workspace-7as7932t.js → workspace-0tsbjazj.js} +17 -17
- package/dist/chunks/{workspace-9b8ps0g9.js → workspace-0v9511cz.js} +1 -1
- package/dist/chunks/{workspace-54qh477g.js → workspace-12fqpsjm.js} +5 -5
- package/dist/chunks/{workspace-hdcqa9dy.js → workspace-1465h0t2.js} +11 -11
- package/dist/chunks/{workspace-ngmftgzk.js → workspace-1567wc0x.js} +3 -3
- package/dist/chunks/{workspace-rhraev7y.js → workspace-1acjjqhc.js} +3 -3
- package/dist/chunks/{workspace-76q5vzcy.js → workspace-1as5dk3f.js} +33 -33
- package/dist/chunks/{workspace-73tb2d7t.js → workspace-1bbkgx8g.js} +2 -2
- package/dist/chunks/{workspace-vzw5ftch.js → workspace-1d4zzn34.js} +1 -1
- package/dist/chunks/{workspace-cy2x3s5a.js → workspace-1rt1vv51.js} +16 -16
- package/dist/chunks/{workspace-ag2v6e19.js → workspace-1tm9pjvd.js} +27 -27
- package/dist/chunks/{workspace-9sh4wc5j.js → workspace-1x11rq2a.js} +4 -4
- package/dist/chunks/{workspace-8e1b1gzh.js → workspace-258tza17.js} +5 -5
- package/dist/chunks/{workspace-7hhc48cv.js → workspace-27e5hy5h.js} +23 -23
- package/dist/chunks/{workspace-y7e11ang.js → workspace-2cyhzmz0.js} +9 -9
- package/dist/chunks/{workspace-zt9y4nc3.js → workspace-2edf0jda.js} +13 -13
- package/dist/chunks/{workspace-bbyyrkpa.js → workspace-2hen7mrw.js} +4 -4
- package/dist/chunks/{workspace-b8s0s4ee.js → workspace-2p2zqrax.js} +14 -14
- package/dist/chunks/{workspace-934ndfrr.js → workspace-2rfrm4z4.js} +6 -6
- package/dist/chunks/{workspace-1ygqh575.js → workspace-33w4ejhs.js} +4 -4
- package/dist/chunks/{workspace-3w0fmcng.js → workspace-37s12vcn.js} +3 -3
- package/dist/chunks/{workspace-vz7ss3k3.js → workspace-3ajnb1r9.js} +9 -9
- package/dist/chunks/{workspace-sd1b9zfd.js → workspace-3z3b48hc.js} +12 -12
- package/dist/chunks/{workspace-4gzagvey.js → workspace-4akkya8d.js} +164 -164
- package/dist/chunks/{workspace-kr986s70.js → workspace-4bbqj5xy.js} +9 -9
- package/dist/chunks/{workspace-5892jdtn.js → workspace-4c8bw516.js} +3 -3
- package/dist/chunks/{workspace-8ncewq7h.js → workspace-4q3av0ca.js} +30 -30
- package/dist/chunks/{workspace-hzn56yvs.js → workspace-50sffj9r.js} +9 -9
- package/dist/chunks/{workspace-xj890rb7.js → workspace-5jc7ttfy.js} +32 -32
- package/dist/chunks/{workspace-2y34zzjz.js → workspace-5phqnecy.js} +8 -8
- package/dist/chunks/{workspace-0b1gpwwb.js → workspace-5wmcj197.js} +19 -19
- package/dist/chunks/{workspace-7vp5pahf.js → workspace-5x5s5b61.js} +20 -20
- package/dist/chunks/{workspace-feth5zyx.js → workspace-5xnbg0mq.js} +6 -6
- package/dist/chunks/{workspace-f9ps9yx5.js → workspace-64bnszwh.js} +17 -17
- package/dist/chunks/{workspace-wn4xj15b.js → workspace-68379k58.js} +4 -4
- package/dist/chunks/{workspace-njh9zcvs.js → workspace-684x0ekb.js} +16 -16
- package/dist/chunks/{workspace-t0x5rdq8.js → workspace-6d9mz4vp.js} +7 -7
- package/dist/chunks/{workspace-4tmag8pw.js → workspace-6dea3a60.js} +15 -15
- package/dist/chunks/{workspace-k9q45n45.js → workspace-6f3r6k6b.js} +4 -4
- package/dist/chunks/{workspace-3yd4wcry.js → workspace-6nr3zpgp.js} +8 -8
- package/dist/chunks/{workspace-4gqpqfcq.js → workspace-6pskpce9.js} +21 -21
- package/dist/chunks/{workspace-byfykep1.js → workspace-6qhdzbt8.js} +13 -13
- package/dist/chunks/{workspace-mdncrv3b.js → workspace-7bkv6sw9.js} +20 -20
- package/dist/chunks/{workspace-w9ytv6gf.js → workspace-7c2a2ky2.js} +10 -10
- package/dist/chunks/{workspace-v1v9n7kj.js → workspace-7c97gcr8.js} +16 -16
- package/dist/chunks/{workspace-e369tct8.js → workspace-7d7shxsk.js} +22 -22
- package/dist/chunks/{workspace-g84khnv4.js → workspace-7gwg4kr4.js} +14 -14
- package/dist/chunks/{workspace-cekxsej1.js → workspace-7qvw1jpc.js} +26 -26
- package/dist/chunks/{workspace-2s56tc45.js → workspace-7s8v9cx8.js} +9 -9
- package/dist/chunks/{workspace-ytp44yw2.js → workspace-7t7bkwb4.js} +11 -11
- package/dist/chunks/{workspace-scdhnzv1.js → workspace-81hk8rr5.js} +6 -6
- package/dist/chunks/{workspace-94z0cytz.js → workspace-86vtd0nm.js} +16 -16
- package/dist/chunks/{workspace-r9kqtr81.js → workspace-86wx2jpn.js} +12 -12
- package/dist/chunks/{workspace-1kaepe8y.js → workspace-8ebnt9d0.js} +28 -28
- package/dist/chunks/{workspace-hb1af40t.js → workspace-8yq5wvgp.js} +35 -35
- package/dist/chunks/{workspace-t1bhcjx3.js → workspace-96yt6zt0.js} +1 -1
- package/dist/chunks/{workspace-d3mk2n0c.js → workspace-9cn3k246.js} +17 -17
- package/dist/chunks/{workspace-skchca7t.js → workspace-9gdjw15m.js} +19 -19
- package/dist/chunks/{workspace-ahkdt7e5.js → workspace-9gwdy3qe.js} +47 -47
- package/dist/chunks/{workspace-hadkhv8d.js → workspace-9sfejfyp.js} +30 -30
- package/dist/chunks/{workspace-ggqdnky6.js → workspace-a4xtd93v.js} +10 -10
- package/dist/chunks/{workspace-6qgms2qw.js → workspace-a5ctevk9.js} +17 -17
- package/dist/chunks/{workspace-0ebyrbpf.js → workspace-a5rsm3jn.js} +13 -13
- package/dist/chunks/{workspace-n0rxe8qg.js → workspace-a6awqz4k.js} +5 -5
- package/dist/chunks/{workspace-bt0wtns8.js → workspace-a9c6fzfx.js} +9 -9
- package/dist/chunks/{workspace-exzp4pnr.js → workspace-aatqeffd.js} +3 -3
- package/dist/chunks/{workspace-6ccptkaw.js → workspace-abq5c8yx.js} +4 -4
- package/dist/chunks/{workspace-f79e7acg.js → workspace-bcnz578n.js} +1 -1
- package/dist/chunks/{workspace-jc1vbcaj.js → workspace-bp2xefs4.js} +10 -10
- package/dist/chunks/{workspace-zjw1qxrj.js → workspace-bvycm81b.js} +21 -21
- package/dist/chunks/{workspace-b281zsyd.js → workspace-ckekgx3g.js} +1 -1
- package/dist/chunks/{workspace-hfdr1yjj.js → workspace-cq37gk0t.js} +1 -1
- package/dist/chunks/{workspace-2vz4t0z4.js → workspace-cqexvzst.js} +6 -6
- package/dist/chunks/{workspace-y418223f.js → workspace-czshjawf.js} +9 -9
- package/dist/chunks/{workspace-4m2pmvxz.js → workspace-d0k1g5nx.js} +5 -5
- package/dist/chunks/{workspace-rqz552e7.js → workspace-d2f1arkd.js} +17 -17
- package/dist/chunks/{workspace-xwq8n2sh.js → workspace-dc2s3mgf.js} +8 -8
- package/dist/chunks/{workspace-1wh2xykj.js → workspace-deb8jze3.js} +7 -7
- package/dist/chunks/{workspace-s74e6q5b.js → workspace-dphh6hs8.js} +17 -17
- package/dist/chunks/{workspace-abn48psr.js → workspace-dw2zxk3m.js} +16 -16
- package/dist/chunks/{workspace-ab9238g2.js → workspace-e6hd9jay.js} +5 -5
- package/dist/chunks/{workspace-cgybpxck.js → workspace-ebxmy4ff.js} +23 -23
- package/dist/chunks/{workspace-kfjdjtta.js → workspace-exa2hqft.js} +30 -30
- package/dist/chunks/{workspace-devz3we5.js → workspace-eym9gh87.js} +33 -33
- package/dist/chunks/{workspace-ntbm31a4.js → workspace-ez2cwskb.js} +8 -8
- package/dist/chunks/{workspace-n5zjdcc0.js → workspace-f8q7mv7a.js} +1 -1
- package/dist/chunks/{workspace-qedhf8hd.js → workspace-fd7by8kg.js} +12 -12
- package/dist/chunks/{workspace-fkab44b1.js → workspace-ff9kr7s1.js} +18 -18
- package/dist/chunks/{workspace-eebjtjym.js → workspace-ffxvb7x8.js} +4 -4
- package/dist/chunks/{workspace-hjsw513e.js → workspace-fg152w5z.js} +4 -4
- package/dist/chunks/{workspace-1fa9ans5.js → workspace-fgh0kbhd.js} +1 -1
- package/dist/chunks/{workspace-qtwarjwz.js → workspace-fhtb8t9m.js} +12 -12
- package/dist/chunks/{workspace-sdh12dq5.js → workspace-fpmcemdk.js} +32 -32
- package/dist/chunks/{workspace-skyymkrr.js → workspace-fqka1xvk.js} +2 -2
- package/dist/chunks/{workspace-fmmn8x74.js → workspace-fygdb7h7.js} +3 -3
- package/dist/chunks/{workspace-jw80jp6b.js → workspace-g190xswt.js} +3 -3
- package/dist/chunks/{workspace-kfch808q.js → workspace-g71q580a.js} +20 -20
- package/dist/chunks/{workspace-02nph5r6.js → workspace-g8pejf11.js} +37 -37
- package/dist/chunks/{workspace-c8bfydn7.js → workspace-g95j7xq8.js} +10 -10
- package/dist/chunks/{workspace-hkp1h9sy.js → workspace-g9t14tcv.js} +17 -17
- package/dist/chunks/{workspace-3fsqj4j0.js → workspace-ganp6fse.js} +2 -2
- package/dist/chunks/{workspace-gg212e6z.js → workspace-gatrstrm.js} +25 -25
- package/dist/chunks/workspace-gbadjzag.js +4 -0
- package/dist/chunks/{workspace-3ssv6kad.js → workspace-gbx0czrk.js} +21 -21
- package/dist/chunks/{workspace-vx0nbd5a.js → workspace-gfwy2ztq.js} +11 -11
- package/dist/chunks/{workspace-33w8fzr9.js → workspace-ggfsfb11.js} +23 -23
- package/dist/chunks/{workspace-jg036ky1.js → workspace-gmhy8ckh.js} +3 -3
- package/dist/chunks/{workspace-hz4vbhnm.js → workspace-gqag2b6m.js} +86 -86
- package/dist/chunks/{workspace-w1ad28wa.js → workspace-gqawmzqm.js} +7 -7
- package/dist/chunks/{workspace-nyqyjq7f.js → workspace-gqd8n12r.js} +58 -58
- package/dist/chunks/{workspace-59wgq1a5.js → workspace-h3eefm4q.js} +17 -17
- package/dist/chunks/{workspace-0gr7cw0d.js → workspace-h6z8d5tn.js} +3 -3
- package/dist/chunks/{workspace-sxgqf9nr.js → workspace-hgdbqd39.js} +23 -23
- package/dist/chunks/{workspace-wjjfysat.js → workspace-hk7s8mmx.js} +8 -8
- package/dist/chunks/{workspace-xcxg3sjd.js → workspace-hpxc2jmf.js} +7 -7
- package/dist/chunks/{workspace-9cmgy7cp.js → workspace-hqs1dran.js} +22 -22
- package/dist/chunks/{workspace-ytjkbs5q.js → workspace-hs4grwgg.js} +36 -36
- package/dist/chunks/{workspace-fwv3dbt3.js → workspace-hwddf2sa.js} +2 -2
- package/dist/chunks/{workspace-010ejnzv.js → workspace-hxjrgpwf.js} +20 -20
- package/dist/chunks/{workspace-et6333e0.js → workspace-j6bg8t1s.js} +15 -15
- package/dist/chunks/{workspace-yam58fy8.js → workspace-jgpaqraz.js} +14 -14
- package/dist/chunks/{workspace-0n1qmxwe.js → workspace-jjk9g4c9.js} +12 -12
- package/dist/chunks/{workspace-2bt6bea8.js → workspace-jjs74g98.js} +7 -7
- package/dist/chunks/{workspace-3t9wsyj4.js → workspace-jr28ye0q.js} +10 -10
- package/dist/chunks/{workspace-qssq5wvh.js → workspace-k16ay38w.js} +1 -1
- package/dist/chunks/{workspace-ggrs6r08.js → workspace-k5asd96r.js} +8 -8
- package/dist/chunks/{workspace-f73rjn58.js → workspace-k76fn4kw.js} +3 -3
- package/dist/chunks/{workspace-krapsz8s.js → workspace-kbb8b4mk.js} +7 -7
- package/dist/chunks/{workspace-pawwnp4a.js → workspace-kcwrj79s.js} +11 -11
- package/dist/chunks/{workspace-2r9a3wfp.js → workspace-kmhfjgd2.js} +4 -4
- package/dist/chunks/{workspace-hf8cnsjw.js → workspace-ksz0h0wp.js} +1 -1
- package/dist/chunks/{workspace-5ys1ttr6.js → workspace-kwp6s08a.js} +27 -27
- package/dist/chunks/{workspace-dsfjtjtn.js → workspace-kyhv7p5a.js} +15 -15
- package/dist/chunks/{workspace-ccq2df5x.js → workspace-kz97c3qe.js} +2 -2
- package/dist/chunks/{workspace-dt849bc4.js → workspace-m27pyyd3.js} +5 -5
- package/dist/chunks/{workspace-1qa7sx05.js → workspace-m4z3bx3m.js} +17 -17
- package/dist/chunks/{workspace-wh7dthar.js → workspace-m6866ypp.js} +51 -51
- package/dist/chunks/{workspace-d23qetaw.js → workspace-mbzcxd5j.js} +9 -9
- package/dist/chunks/{workspace-dxk9f402.js → workspace-mq2071pb.js} +12 -12
- package/dist/chunks/{workspace-5c0f1prt.js → workspace-msq0jde0.js} +3 -3
- package/dist/chunks/{workspace-f7ehr2sm.js → workspace-n37c4crj.js} +3 -3
- package/dist/chunks/workspace-n3pe30h6.js +247 -0
- package/dist/chunks/{workspace-43yx1h7c.js → workspace-n42231gp.js} +9 -9
- package/dist/chunks/{workspace-6jex2xta.js → workspace-n76fdqym.js} +5 -5
- package/dist/chunks/{workspace-709qmd4f.js → workspace-nckzcwnb.js} +34 -34
- package/dist/chunks/{workspace-kzzsz8rg.js → workspace-nh3pjw8e.js} +19 -19
- package/dist/chunks/{workspace-rcq5765c.js → workspace-p03qjtav.js} +13 -13
- package/dist/chunks/{workspace-b3t12aqp.js → workspace-p33ejz0k.js} +1 -1
- package/dist/chunks/{workspace-rq6x4r74.js → workspace-p8xg97qz.js} +14 -14
- package/dist/chunks/{workspace-fv9ed2xt.js → workspace-pbah22gf.js} +39 -39
- package/dist/chunks/{workspace-c3m0xs4s.js → workspace-ppkj2x0s.js} +14 -14
- package/dist/chunks/{workspace-b6bb7nct.js → workspace-ptyvps10.js} +17 -17
- package/dist/chunks/{workspace-7we4r9ew.js → workspace-px077m8m.js} +9 -9
- package/dist/chunks/{workspace-7b15y959.js → workspace-q26tgv94.js} +7 -7
- package/dist/chunks/workspace-q6ers3ks.js +22 -0
- package/dist/chunks/{workspace-jwye7syw.js → workspace-qba6esk9.js} +7 -7
- package/dist/chunks/{workspace-7dqw4kz8.js → workspace-qgn6gcr1.js} +4 -4
- package/dist/chunks/{workspace-hnr5yq9h.js → workspace-qjnxxf51.js} +3 -3
- package/dist/chunks/{workspace-gqap5j9g.js → workspace-qnwdymmb.js} +10 -10
- package/dist/chunks/{workspace-3b1wqxak.js → workspace-qybt8qf6.js} +24 -24
- package/dist/chunks/{workspace-b1t2am26.js → workspace-r43pzhmb.js} +29 -29
- package/dist/chunks/{workspace-494yeyrp.js → workspace-r8xbn976.js} +7 -7
- package/dist/chunks/{workspace-7s02b6me.js → workspace-r9babyk8.js} +1 -1
- package/dist/chunks/{workspace-a2ew8a62.js → workspace-ratrq7cm.js} +3 -3
- package/dist/chunks/{workspace-s8d7rejh.js → workspace-rhjbct0v.js} +3 -3
- package/dist/chunks/{workspace-v7bsnapp.js → workspace-rpkqhkgh.js} +35 -35
- package/dist/chunks/{workspace-022adzae.js → workspace-s2qmceks.js} +7 -7
- package/dist/chunks/{workspace-gt0apk7z.js → workspace-sheztqmg.js} +18 -18
- package/dist/chunks/{workspace-z52w236g.js → workspace-ssc9de04.js} +1 -1
- package/dist/chunks/{workspace-n4yapsk0.js → workspace-st1a0ccc.js} +29 -29
- package/dist/chunks/{workspace-f5wfqm5e.js → workspace-sxst59p4.js} +10 -10
- package/dist/chunks/{workspace-pv643edj.js → workspace-tfbymgd2.js} +4 -4
- package/dist/chunks/{workspace-gcvj5pa8.js → workspace-thgpzxma.js} +15 -15
- package/dist/chunks/{workspace-fsnw1hqv.js → workspace-tj06h6ge.js} +11 -11
- package/dist/chunks/{workspace-8a435q9z.js → workspace-tzbf48v6.js} +22 -22
- package/dist/chunks/{workspace-tjedsf1z.js → workspace-v4n861w0.js} +1 -1
- package/dist/chunks/{workspace-hd29wc17.js → workspace-v5w9803s.js} +7 -7
- package/dist/chunks/{workspace-pz5qb3qt.js → workspace-v7z8j5fb.js} +5 -5
- package/dist/chunks/{workspace-s8t4qsw4.js → workspace-v8g8r3p5.js} +4 -4
- package/dist/chunks/{workspace-j83byb14.js → workspace-vncycja5.js} +3 -3
- package/dist/chunks/{workspace-g5q0e61f.js → workspace-vw5rdzwq.js} +1 -1
- package/dist/chunks/{workspace-jp51bnyt.js → workspace-vwszadwz.js} +29 -29
- package/dist/chunks/{workspace-gp8tcjp2.js → workspace-w5qg2wfr.js} +11 -11
- package/dist/chunks/{workspace-any60g97.js → workspace-wc290t49.js} +10 -10
- package/dist/chunks/{workspace-9asg0y97.js → workspace-wceej830.js} +15 -15
- package/dist/chunks/{workspace-910asfwy.js → workspace-wf0sjdq3.js} +2 -2
- package/dist/chunks/{workspace-eamgkqma.js → workspace-wx969pk2.js} +9 -9
- package/dist/chunks/{workspace-cf42bz4p.js → workspace-x1szhx45.js} +16 -16
- package/dist/chunks/{workspace-zmmw47s9.js → workspace-x9snh48m.js} +6 -6
- package/dist/chunks/{workspace-8bg05p2k.js → workspace-xj5pk8z5.js} +19 -19
- package/dist/chunks/{workspace-6wjp1q1r.js → workspace-xkza7d0m.js} +36 -36
- package/dist/chunks/{workspace-685qrrxy.js → workspace-xqrcwaxh.js} +25 -25
- package/dist/chunks/{workspace-8bt8kjwe.js → workspace-xwemxn4q.js} +7 -7
- package/dist/chunks/{workspace-yeaw3623.js → workspace-xxdmnr1j.js} +22 -22
- package/dist/chunks/{workspace-pb37c83a.js → workspace-xygnmwgx.js} +10 -10
- package/dist/chunks/{workspace-58aqtfam.js → workspace-y9ynd60w.js} +20 -20
- package/dist/chunks/{workspace-srqbxy54.js → workspace-yhqzjv42.js} +19 -19
- package/dist/chunks/{workspace-8dp3tmf6.js → workspace-ymqqjkft.js} +26 -26
- package/dist/chunks/{workspace-jndyp0t0.js → workspace-yn0159c4.js} +75 -75
- package/dist/chunks/{workspace-7f2qwqcj.js → workspace-yrdykp8a.js} +23 -23
- package/dist/chunks/{workspace-a78mx8ke.js → workspace-ys34w47p.js} +9 -9
- package/dist/chunks/{workspace-pecb0brz.js → workspace-yt0fqk68.js} +3 -3
- package/dist/chunks/{workspace-wtknh6p7.js → workspace-z3b2s73f.js} +1 -1
- package/dist/chunks/{workspace-2ee8pmxs.js → workspace-z69s9t6b.js} +4 -4
- package/dist/chunks/{workspace-c2s6b9jx.js → workspace-z97qt971.js} +288 -288
- package/dist/chunks/{workspace-kwb80b5k.js → workspace-za4pw5w1.js} +6 -6
- package/dist/chunks/{workspace-2wb4awa6.js → workspace-zm6nb732.js} +20 -20
- package/dist/chunks/{workspace-krye8wkr.js → workspace-znttyky5.js} +10 -10
- package/dist/codemode/instructions.js +8 -8
- package/dist/command.js +65 -65
- package/dist/config/discovery.js +56 -56
- package/dist/config/normalize.js +16 -16
- package/dist/config/plugin/agent.js +85 -85
- package/dist/config/plugin/command.js +167 -167
- package/dist/config/plugin/compaction.js +117 -117
- package/dist/config/plugin/formatter.js +85 -85
- package/dist/config/plugin/image.js +85 -85
- package/dist/config/plugin/instruction.js +62 -62
- package/dist/config/plugin/location-watcher.js +87 -87
- package/dist/config/plugin/mcp.js +94 -94
- package/dist/config/plugin/policy.js +83 -83
- package/dist/config/plugin/provider.js +83 -83
- package/dist/config/plugin/reference.js +87 -87
- package/dist/config/plugin/shell.js +86 -86
- package/dist/config/plugin/skill-file.js +71 -71
- package/dist/config/plugin/skill.js +100 -100
- package/dist/config/plugin/snapshot.js +85 -85
- package/dist/config/plugin/source.js +87 -87
- package/dist/config/plugin/tool-output.js +86 -86
- package/dist/config/plugin/websearch.js +83 -83
- package/dist/config/plugin/worktree.js +86 -86
- package/dist/config.js +90 -90
- package/dist/credential.js +57 -57
- package/dist/database/database.js +51 -51
- package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +8 -8
- package/dist/database/drizzle/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
- package/dist/database/drizzle.js +10 -10
- package/dist/database/migration.gen.js +35 -35
- package/dist/database/migration.js +36 -36
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +229 -229
- package/dist/environment/environment.js +64 -64
- package/dist/environment/index.js +66 -66
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +74 -74
- package/dist/file-mutation.js +65 -65
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +181 -181
- package/dist/filesystem/search.js +73 -73
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +74 -74
- package/dist/form.js +57 -57
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +63 -63
- package/dist/generate.js +71 -71
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +5 -5
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +301 -301
- package/dist/instruction-discovery.js +66 -66
- package/dist/instructions/builtins.js +61 -61
- package/dist/instructions/index.js +3 -3
- package/dist/integration.js +60 -60
- package/dist/job.js +60 -60
- package/dist/kv.js +56 -56
- package/dist/location-activity.js +53 -53
- package/dist/location-mutation.js +29 -29
- package/dist/location-service-map.js +60 -60
- package/dist/location-services.js +299 -299
- package/dist/location.js +63 -63
- package/dist/mcp/client.js +16 -16
- package/dist/mcp/index.js +77 -77
- package/dist/mcp/instructions.js +90 -90
- package/dist/mcp/stdio.js +61 -61
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +68 -68
- package/dist/model.js +8 -8
- package/dist/models-dev.js +69 -69
- package/dist/permission/saved.js +60 -60
- package/dist/permission.js +79 -79
- package/dist/persistent-pty/index.js +66 -66
- package/dist/persistent-pty.js +54 -54
- package/dist/plugin/agent.js +72 -72
- package/dist/plugin/command.js +68 -68
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +172 -172
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +273 -273
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +58 -58
- package/dist/plugin/module.js +4 -4
- package/dist/plugin/plan.js +72 -72
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +88 -88
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +87 -87
- package/dist/plugin/provider/cloudflare-workers-ai.js +87 -87
- package/dist/plugin/provider/configured.js +85 -85
- package/dist/plugin/provider/digitalocean.js +60 -60
- package/dist/plugin/provider/github-copilot.js +62 -62
- 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 +58 -58
- package/dist/plugin/provider/lmstudio.js +88 -88
- package/dist/plugin/provider/modal.js +61 -61
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +88 -88
- package/dist/plugin/provider/openai.js +59 -59
- package/dist/plugin/provider/opencode.js +60 -60
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/poe.js +57 -57
- package/dist/plugin/provider/sap-ai-core.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +87 -87
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +88 -88
- package/dist/plugin/provider/xai.js +59 -59
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +123 -123
- package/dist/plugin/sdk.js +59 -59
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +100 -100
- package/dist/plugin/supervisor.js +291 -291
- package/dist/plugin/update.js +3 -3
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +60 -60
- package/dist/plugin/vcs/hg.js +60 -60
- package/dist/plugin/warming.js +83 -83
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +179 -179
- package/dist/project/schema.js +5 -5
- package/dist/project.js +62 -62
- package/dist/provider.js +5 -5
- package/dist/pty/schema.js +3 -3
- package/dist/pty.js +72 -72
- package/dist/reference/instructions.js +65 -65
- package/dist/reference.js +67 -67
- package/dist/repository-cache.js +58 -58
- package/dist/ripgrep.js +68 -68
- package/dist/rpc.js +60 -60
- package/dist/session/command.js +56 -56
- package/dist/session/compaction.js +98 -98
- package/dist/session/context.js +113 -113
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +114 -114
- package/dist/session/execution.js +94 -94
- package/dist/session/generate.js +114 -114
- package/dist/session/history.js +6 -6
- package/dist/session/inbox.js +66 -66
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +59 -59
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +68 -68
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +85 -85
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +97 -97
- package/dist/session/projector.js +61 -61
- package/dist/session/prompt.js +74 -74
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +61 -61
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +181 -181
- package/dist/session/runner/model.js +68 -68
- package/dist/session/runner/retry.js +83 -83
- package/dist/session/runner/step.js +89 -89
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +133 -133
- package/dist/session/shell.js +100 -100
- package/dist/session/skill.js +73 -73
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +63 -63
- package/dist/session/subagent-job.js +165 -165
- package/dist/session/title.js +116 -116
- package/dist/session/to-session-error.js +80 -80
- package/dist/session/transfer.js +109 -109
- package/dist/session.js +172 -172
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +99 -99
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +77 -77
- package/dist/skill.js +80 -80
- package/dist/snapshot.js +65 -65
- package/dist/tool/mcp.js +87 -87
- package/dist/tool/plugin/edit.js +86 -86
- package/dist/tool/plugin/glob.js +84 -84
- package/dist/tool/plugin/grep.js +88 -88
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +88 -88
- package/dist/tool/plugin/question.js +73 -73
- package/dist/tool/plugin/read.js +88 -88
- package/dist/tool/plugin/shell.js +171 -171
- package/dist/tool/plugin/skill.js +83 -83
- package/dist/tool/plugin/subagent.js +170 -170
- package/dist/tool/plugin/webfetch.js +78 -78
- package/dist/tool/plugin/websearch.js +80 -80
- package/dist/tool/plugin/write.js +88 -88
- package/dist/tool/read-filesystem.js +69 -69
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +3 -3
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/vcs.js +63 -63
- package/dist/websearch.js +65 -65
- package/dist/wellknown/plugin.js +57 -57
- package/dist/wellknown.js +60 -60
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +63 -63
- package/dist/worktree/refresh.js +290 -290
- package/dist/worktree.js +67 -67
- package/package.json +8 -8
- package/dist/chunks/workspace-7er8a3we.js +0 -247
- package/dist/chunks/workspace-a93wq46y.js +0 -22
- package/dist/chunks/workspace-qapv375x.js +0 -4
- /package/dist/chunks/{workspace-4pwxaf10.js → workspace-bqvjxhzq.js} +0 -0
- /package/dist/chunks/{workspace-xhnnpr23.js → workspace-cvcrrxw9.js} +0 -0
- /package/dist/chunks/{workspace-ma15yhyh.js → workspace-vrpz8t5t.js} +0 -0
- /package/dist/chunks/{workspace-4ne4chy4.js → workspace-yrxxjksg.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./workspace-
|
|
4
|
+
} from "./workspace-hwddf2sa.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
7
|
} from "./workspace-f828m53h.js";
|
|
@@ -13,20 +13,20 @@ import {
|
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info20,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service62,
|
|
21
|
+
node: () => node66
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info20 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service62 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID9.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service62.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node66 = makeGlobalNode({ service: Service62, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID9, Info20, ListInput4, AddInput2, Service62, node66, exports_saved };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./workspace-
|
|
3
|
+
} from "./workspace-7c2a2ky2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./workspace-
|
|
5
|
+
ID18
|
|
6
|
+
} from "./workspace-m27pyyd3.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
9
|
} from "./workspace-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./workspace-
|
|
12
|
+
} from "./workspace-deb8jze3.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 = ID18.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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./workspace-
|
|
2
|
+
Service55
|
|
3
|
+
} from "./workspace-ppkj2x0s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./workspace-
|
|
5
|
+
Service18
|
|
6
|
+
} from "./workspace-yn0159c4.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service18;
|
|
24
|
+
const jobs = yield* Service55;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make9 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
AbsolutePath2
|
|
3
3
|
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./workspace-
|
|
5
|
+
Service67
|
|
6
|
+
} from "./workspace-684x0ekb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service67;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./workspace-
|
|
3
|
+
} from "./workspace-7c2a2ky2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./workspace-
|
|
5
|
+
ID18
|
|
6
|
+
} from "./workspace-m27pyyd3.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID18.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./workspace-
|
|
3
|
+
} from "./workspace-7c2a2ky2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./workspace-
|
|
6
|
+
} from "./workspace-v4n861w0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20
|
|
10
|
-
} from "./workspace-
|
|
10
|
+
} from "./workspace-7t7bkwb4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID15,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./workspace-
|
|
14
|
+
} from "./workspace-czshjawf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./workspace-
|
|
16
|
+
ID18
|
|
17
|
+
} from "./workspace-m27pyyd3.js";
|
|
18
18
|
import {
|
|
19
19
|
Family2
|
|
20
|
-
} from "./workspace-
|
|
20
|
+
} from "./workspace-tj06h6ge.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
23
|
} from "./workspace-pjvnvgmy.js";
|
|
@@ -26,8 +26,8 @@ import {
|
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
28
28
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
29
|
-
var providerID =
|
|
30
|
-
var integrationID =
|
|
29
|
+
var providerID = ID18.make("digitalocean");
|
|
30
|
+
var integrationID = ID15.make("digitalocean");
|
|
31
31
|
var methodID = MethodID2.make("browser");
|
|
32
32
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
33
33
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./workspace-
|
|
5
|
+
} from "./workspace-v4n861w0.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./workspace-
|
|
12
|
+
} from "./workspace-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
15
|
} from "./workspace-922hggd3.js";
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event6,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options4,
|
|
30
|
+
Service: () => Service32,
|
|
31
|
+
configured: () => configured4,
|
|
32
|
+
layer: () => layer14,
|
|
33
|
+
node: () => node36
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event6 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options4 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service32 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service32.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured4(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service32,
|
|
110
|
+
layer: layer14(options),
|
|
111
111
|
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node36 = configured4();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event6, Options4, Service32, layer14, configured4, node36, exports_instruction_discovery };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./workspace-
|
|
3
|
+
Service44
|
|
4
|
+
} from "./workspace-nckzcwnb.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
7
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin24,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin24 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service44;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -90,4 +90,4 @@ var Plugin13 = define({
|
|
|
90
90
|
})
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
export {
|
|
93
|
+
export { Plugin24, exports_warming };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./workspace-
|
|
4
|
+
} from "./workspace-v4n861w0.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
Service78,
|
|
8
8
|
node83
|
|
9
|
-
} from "./workspace-
|
|
9
|
+
} from "./workspace-7t7bkwb4.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
12
|
} from "./workspace-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./workspace-
|
|
16
|
+
} from "./workspace-gfwy2ztq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -31,8 +31,8 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
33
|
Event: () => Event18,
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
34
|
+
ID: () => ID15,
|
|
35
|
+
Info: () => Info30,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
@@ -62,7 +62,7 @@ import { Integration } from "@opencode/schema/integration";
|
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
64
|
import { Event as Event18 } from "@opencode/schema/integration";
|
|
65
|
-
var
|
|
65
|
+
var ID15 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info30 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info30.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -571,4 +571,4 @@ var node81 = makeLocationNode({
|
|
|
571
571
|
deps: [node83, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID15, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info30, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref4, Service76, node81, exports_integration, Event18 };
|
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service54,
|
|
10
|
+
node: () => node57
|
|
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 Service54 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node57 = LayerNode.unbound(Service54, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service54, node57, exports_service2 };
|
|
@@ -11,18 +11,18 @@ import {
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event11,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options8,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service45,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer18,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node49,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event11 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load2());
|
|
@@ -57,14 +57,14 @@ var Options8 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service45 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service45.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service45.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service45).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service45, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service45, layer: layer18(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node49 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event11, hasNativeBinding2, Native3, Options8, Service45, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured7, node49, exports_watcher };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./workspace-
|
|
4
|
+
} from "./workspace-hwddf2sa.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
7
|
} from "./workspace-3hepkmqq.js";
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service71,
|
|
17
|
+
node: () => node76
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service71 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service71.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node76 = makeGlobalNode({ service: Service71, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service71, node76, exports_kv };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./workspace-
|
|
3
|
+
} from "./workspace-m27pyyd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./workspace-
|
|
5
|
+
Service75
|
|
6
|
+
} from "./workspace-y9ynd60w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./workspace-
|
|
8
|
+
Service44
|
|
9
|
+
} from "./workspace-nckzcwnb.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service75;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service44);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|