dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
用新会话已选定的模型,按当地时间、城市与实时天气写一句简短问候,替换首屏标题;没有可用模型时退回本地按小时计算的问候。
Rewrites the New Session headline — the line that normally reads Into the Unknown / 探索未至之境 — into a short, affectionate greeting written by the model the new session is already set to use, from the local time, the current city and the live weather.
The greeting never states the city name or the temperature. Those facts are only hints: the model is asked to turn them into something like “风一吹还是凉的,路上把外套穿好。”
dsh plugin --profile <your-profile> add dsh-welcome-greeting
Then reload the DSH window so the browser half is picked up.
Everything lives in your profile's cordis.patch.yml:
- insert:
- id: welcome-greeting
name: 'dsh-welcome-greeting'
config:
city: '' # empty = detect from the public IP
latitude: null # set both to skip IP detection
longitude: null
timezone: '' # empty = let Open-Meteo follow the coordinates
useLlm: true # false = local template only, no model call
llmProvider: '' # empty = the New Session default model
llmModel: ''
greetingSystem: '' # empty = built-in girlfriend-voice prompt
greetingAsk: ''
greetingMaxChars: 22
greetingMaxTokens: 120
greetingMinutes: 60 # how long a generated sentence stays cached
refreshMinutes: 15 # how long place + weather stay cached
showCity: false # true appends the explicit "city · sky 16°C" form
showWeather: false
showTemp: false
The generated sentence is cached per hour + weather code + rounded temperature, so a chatty session does not burn tokens on every repaint. Failed calls back off for five minutes and fall back to the local greeting.
ipinfo.io, then get.geojs.io, then ipwho.is.llm service, the plugin still loads and shows the local greeting.把新会话首屏那句「探索未至之境」换成一句由当前会话所选模型写的短问候:模型只拿到时间、城市和天气,写成侧面关心的情话,不点名城市、不报温度。
配置项同上。useLlm: false 可完全关掉模型调用,只用本地模板。改完 cordis.patch.yml 后重载插件即可生效。
MIT