@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
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
6
|
+
var exports_formatter2 = {};
|
|
7
|
+
__export(exports_formatter2, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter2,
|
|
9
|
+
Entry: () => Entry4,
|
|
10
|
+
Info: () => Info12
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry4 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info12 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry4, Info12, exports_formatter2 };
|
|
@@ -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
|
-
|
|
16
|
+
ID18,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./workspace-
|
|
20
|
+
} from "./workspace-m27pyyd3.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
23
|
} from "./workspace-1kg9ymc8.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./workspace-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./workspace-
|
|
29
|
+
} from "./workspace-deb8jze3.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID18.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
62
|
const bus = yield* Service79;
|
|
63
63
|
const tokens = new Map;
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID18.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID18.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID18.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID18.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
170
|
-
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
170
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
171
171
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
172
|
-
if (evt.model.providerID !==
|
|
172
|
+
if (evt.model.providerID !== ID18.azure)
|
|
173
173
|
return;
|
|
174
|
-
const connection = yield* ctx.integration.connection.active(
|
|
174
|
+
const connection = yield* ctx.integration.connection.active(ID18.azure);
|
|
175
175
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
})) : undefined;
|
|
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID18.azure });
|
|
188
188
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
189
189
|
if (evt.package !== "@ai-sdk/azure")
|
|
190
190
|
return;
|
|
191
|
-
if (evt.model.providerID ===
|
|
191
|
+
if (evt.model.providerID === ID18.azure) {
|
|
192
192
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
193
193
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
194
194
|
}
|
|
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
|
|
|
197
197
|
evt.sdk = mod.createAzure(evt.options);
|
|
198
198
|
}));
|
|
199
199
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
200
|
-
if (evt.model.providerID !==
|
|
200
|
+
if (evt.model.providerID !== ID18.azure)
|
|
201
201
|
return;
|
|
202
202
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
203
203
|
}));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./workspace-
|
|
4
|
+
} from "./workspace-v4n861w0.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
7
|
} from "./workspace-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./workspace-
|
|
10
|
+
} from "./workspace-9gwdy3qe.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -17,16 +17,16 @@ var exports_skill5 = {};
|
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service37,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node41,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event8 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info6 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service37 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service37.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node41 = makeLocationNode({
|
|
112
|
+
service: Service37,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID5, Name2, available2, toModelOutput3, prepare3, Service37, node41, exports_skill5, Event8 };
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
fromPromise2
|
|
3
3
|
} from "./workspace-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./workspace-
|
|
5
|
+
Service45
|
|
6
|
+
} from "./workspace-d2f1arkd.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -13,7 +13,7 @@ var exports_module = {};
|
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make3
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service45;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make3, LoadError2, exports_module };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./workspace-
|
|
2
|
+
Service61
|
|
3
|
+
} from "./workspace-9gwdy3qe.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
@@ -16,29 +16,29 @@ import {
|
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input11,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin12,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name11 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input11 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input11.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin12 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service61;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name11,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description5,
|
|
104
|
-
input:
|
|
104
|
+
input: Input11,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin24 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name11,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin12, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./workspace-
|
|
4
|
+
} from "./workspace-m27pyyd3.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
7
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin23,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin23 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.catalog.transform((catalog) => {
|
|
@@ -52,4 +52,4 @@ function generate2(model, provider) {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Plugin23, generate2, exports_variant };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./workspace-
|
|
2
|
+
Service68,
|
|
3
|
+
node72
|
|
4
|
+
} from "./workspace-7bkv6sw9.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
7
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -9,25 +9,25 @@ import {
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info25,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref2,
|
|
15
|
+
Service: () => Service67,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node71,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info25, Ref as Ref2, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service67 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node71 = LayerNode.unbound(Service67, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service68;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service67.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service67,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node72]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info25, Ref2, response2, Service67, node71, boundNode2, exports_location };
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node11, exports_location_watcher_policy };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./workspace-
|
|
3
|
+
} from "./workspace-hwddf2sa.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
|
provenance2
|
|
12
|
-
} from "./workspace-
|
|
12
|
+
} from "./workspace-msq0jde0.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./workspace-
|
|
15
|
+
} from "./workspace-v7z8j5fb.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./workspace-
|
|
18
|
+
} from "./workspace-7qvw1jpc.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./workspace-
|
|
20
|
+
Service20
|
|
21
|
+
} from "./workspace-gqag2b6m.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
24
|
} from "./workspace-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate3
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service54;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service20;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate3,
|
|
74
|
+
export { generate3, exports_generate };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./workspace-
|
|
3
|
+
} from "./workspace-9gwdy3qe.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin22
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin22 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin22, exports_plan };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service77
|
|
3
|
-
} from "./workspace-
|
|
3
|
+
} from "./workspace-gfwy2ztq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./workspace-
|
|
5
|
+
Service61
|
|
6
|
+
} from "./workspace-9gwdy3qe.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -54,12 +54,12 @@ var Plugin45 = {
|
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
56
|
const forms = yield* Service77;
|
|
57
|
-
const permission = yield*
|
|
57
|
+
const permission = yield* Service61;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name14, description6,
|
|
118
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|