@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,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./workspace-
|
|
2
|
+
Service67
|
|
3
|
+
} from "./workspace-684x0ekb.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./workspace-
|
|
6
|
+
Service44
|
|
7
|
+
} from "./workspace-nckzcwnb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./workspace-
|
|
9
|
+
Service49
|
|
10
|
+
} from "./workspace-86vtd0nm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./workspace-
|
|
12
|
+
make7
|
|
13
|
+
} from "./workspace-1bbkgx8g.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
16
|
} from "./workspace-qsdy395h.js";
|
|
@@ -33,11 +33,11 @@ import { Effect } from "effect";
|
|
|
33
33
|
var Plugin42 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service44;
|
|
37
|
+
const formatter = yield* Service49;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service67;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin42 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make7({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service6,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service6.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node8 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service6, node8, exports_discovery };
|
|
@@ -2,15 +2,15 @@ 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
|
-
|
|
9
|
-
} from "./workspace-
|
|
8
|
+
Service44
|
|
9
|
+
} from "./workspace-nckzcwnb.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./workspace-
|
|
13
|
+
} from "./workspace-xxdmnr1j.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
16
|
} from "./workspace-qsdy395h.js";
|
|
@@ -22,17 +22,17 @@ import {
|
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin40
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin40 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service44;
|
|
35
|
+
const location = yield* Service67;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin40, exports_reference };
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service48,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node52
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service48 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service48.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node52 = makeLocationNode({
|
|
143
|
+
service: Service48,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service48, node52, exports_tool_output2 };
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service51,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service51 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service51, exports_runner };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./workspace-
|
|
2
|
+
Service34
|
|
3
|
+
} from "./workspace-0h28z8dy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./workspace-
|
|
5
|
+
Service54
|
|
6
|
+
} from "./workspace-d0k1g5nx.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./workspace-
|
|
9
|
+
} from "./workspace-1x11rq2a.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service54;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service34), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./workspace-
|
|
4
|
+
} from "./workspace-hwddf2sa.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service79,
|
|
8
8
|
node84
|
|
9
|
-
} from "./workspace-
|
|
9
|
+
} from "./workspace-v4n861w0.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
12
|
} from "./workspace-ec1grn59.js";
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
SessionMessage2
|
|
15
15
|
} from "./workspace-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./workspace-
|
|
17
|
+
update3
|
|
18
|
+
} from "./workspace-0hpxrkyb.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
@@ -33,16 +33,16 @@ import {
|
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./workspace-
|
|
36
|
+
} from "./workspace-9gdjw15m.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./workspace-
|
|
42
|
+
} from "./workspace-cq37gk0t.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./workspace-
|
|
45
|
+
} from "./workspace-p03qjtav.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
48
|
} from "./workspace-gebd4c9n.js";
|
|
@@ -55,7 +55,7 @@ var exports_projector = {};
|
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node24
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -245,7 +245,7 @@ function run(db, event) {
|
|
|
245
245
|
updateCompaction: updateMessage,
|
|
246
246
|
appendMessage
|
|
247
247
|
};
|
|
248
|
-
yield*
|
|
248
|
+
yield* update3(adapter, event);
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
251
|
function insertMessage(db, event, message) {
|
|
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
455
455
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
456
456
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
457
457
|
}));
|
|
458
|
-
var
|
|
458
|
+
var node24 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
|
|
459
459
|
|
|
460
|
-
export { SessionAlreadyProjected2,
|
|
460
|
+
export { SessionAlreadyProjected2, node24, exports_projector };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Service76
|
|
4
|
-
} from "./workspace-
|
|
4
|
+
} from "./workspace-czshjawf.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./workspace-
|
|
8
|
+
} from "./workspace-m27pyyd3.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID15.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./workspace-
|
|
2
|
+
Service61
|
|
3
|
+
} from "./workspace-9gwdy3qe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./workspace-
|
|
9
|
+
Service37
|
|
10
|
+
} from "./workspace-5x5s5b61.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input2,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin2,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name2,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name2 = "skill";
|
|
30
|
+
var Input2 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin2 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service37;
|
|
51
|
+
const permission = yield* Service61;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name2,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input2,
|
|
57
|
+
output: Output2,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name2,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin21 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name2, Input2, Output2, description2, toModelOutput2, Plugin2, exports_skill };
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
RelativePath2
|
|
5
5
|
} from "./workspace-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./workspace-
|
|
7
|
+
Service47,
|
|
8
|
+
node51
|
|
9
|
+
} from "./workspace-yhqzjv42.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
12
|
} from "./workspace-8d7r5vzw.js";
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service40,
|
|
24
|
+
node: () => node44
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service40 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service47;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service40.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node44 = makeLocationNode({ service: Service40, layer, deps: [node51, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Error4, InvalidPatternError2, Service40, node44, exports_ripgrep };
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./workspace-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./workspace-
|
|
6
|
+
} from "./workspace-yrxxjksg.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./workspace-
|
|
9
|
+
} from "./workspace-1d4zzn34.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID18,
|
|
10
|
+
Info: () => Info33,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
13
|
Request: () => Request3,
|
|
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
|
|
|
23
23
|
import { Provider } from "@opencode/schema/provider";
|
|
24
24
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
25
25
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
26
|
-
var
|
|
26
|
+
var ID18 = Provider.ID;
|
|
27
27
|
var AISDK_PREFIX2 = "aisdk:";
|
|
28
28
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
29
29
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -139,7 +139,7 @@ function mergeHeaders2(base, overlay) {
|
|
|
139
139
|
}
|
|
140
140
|
var Request3 = Provider.Request;
|
|
141
141
|
var Settings2 = Provider.Settings;
|
|
142
|
-
var
|
|
142
|
+
var Info33 = Provider.Info;
|
|
143
143
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
144
144
|
const module = yield* Effect.tryPromise({
|
|
145
145
|
try: () => {
|
|
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
161
161
|
return module;
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { ID18, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info33, exports_provider3 };
|