
Product
Socket Threat Intel Now Shows Which Malware Campaigns Were Blocked or Detected
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.
dsh-opencode-go-models
Advanced tools
DSH plugin to sync opencode-go model catalog with precise multi-modal support
DSH 插件 – 同步 OpenCode Go 套餐的模型清单,并基于精确的家族配置标记多模态(图像/视频)支持。
⚠️ 范围声明:本插件仅覆盖 OpenCode Go 订阅套餐 (端点
https://opencode.ai/zen/go/v1)。OpenCode Zen 另有主套餐 (端点https://opencode.ai/zen/v1),其模型清单、每 1M tokens 按量价格、 计费模式(按量付费 vs Go 的订阅制)和弃用节奏均与 Go 不同——本插件 不处理 Zen 主套餐,请勿将本插件的模型/价格数据套用到/zen/v1。
https://opencode.ai/zen/go/v1/models 获取最新模型列表data/opencode-go.json)对比,计算新增/下线模型api 字段,按 opencode.ai 文档端点分配
anthropic-messages / openai-completions / openai-responses,绝不强制统一协议input: ['text', 'image'] 仅授予官方确认的视觉模型@deepseek-ai/dsh-atomic-write:withFileLock 跨进程写锁 +
writeFileAtomic(排除性临时文件 + rename 原子提交),任何失败旧文件保持完好dsh-opencode-go-models)npx @deepseek-ai/dsh plugin --profile web add dsh-opencode-go-models
装完重启 dsh 生效(bundle 层变更);发布包内含 cordis.patch.yml,
dsh.bundle 声明随包生效,无需手工 patch
国内网络若等不到镜像同步,可用官方源:
cd ~/.dsh/profiles/web
pnpm add dsh-opencode-go-models --registry=https://registry.npmjs.org
升级:npx @deepseek-ai/dsh plugin --profile web update dsh-opencode-go-models
git clone <your-repo-url>
cd dsh-opencode-go-models
pnpm install # 或 npm install
pnpm run build
npx @deepseek-ai/dsh plugin --profile web add /path/to/dsh-opencode-go-models
本地安装后,编辑 ~/.dsh/profiles/web/cordis.patch.yml 追加:
- insert:
- id: dsh-opencode-go-models
name: 'dsh-opencode-go-models'
patch 层经 HMR 热生效,无需重启;但模型列表的同步结果仍需重启 dsh(catalog 启动时加载)。
在 DSH 对话中:
请帮我同步 opencode-go 的模型列表请预览 opencode-go 模型同步的变更kimi-k3 支持图片输入吗?恢复 opencode-go 模型清单(撤销插件对 catalog 的全部修改)插件默认在加载时自动同步,但受冷却窗口节制(默认 12 小时,可配置): 冷却期内启动零网络、零写盘;超窗才拉取线上清单比对,仅在确有差异时 写入 catalog 并提示"重启后生效"。凭据缺失/网络失败只记日志跳过,不影响插件加载。
手动同步(sync_opencode_models)始终可用,与自动同步共享同一套原子写路径;
冷却期在自动检查与手动同步后都会刷新。
调整自动同步的 patch 配置示例:
- insert:
- id: dsh-opencode-go-models
name: 'dsh-opencode-go-models'
config:
autoSync: true # 默认 true;false 关闭自动同步
autoSyncIntervalHours: 12 # 冷却窗口(小时)
官方文档(develop/basic)规定:通过 ctx 注册的监听/工具/定时器在插件卸载时会被
自动清理;需要手动管理的资源用 ctx.effect() 注册清理函数。本插件修改的是持久
文件(catalog),采用备份 + 卸载恢复方案:
opencode-go.json.dsh-backup.json
(内容含 original 原文件与 ours 插件写入版本)cordis.patch.yml / package.json)引用本插件——patch 层被移除或依赖被删除
(真卸载)→ 把备份整体写回;HMR 重载 / 普通关停 / 换 profile(仍被引用)→
不恢复,避免每次重启丢失已同步模型恢复 opencode-go 模型清单 → reset_opencode_models 工具data/*.json(含本插件写入的模型),升级后重新同步即可openai-completions 兜底(/v1 端点原生 OpenAI 兼容)FAQs
DSH plugin to sync opencode-go model catalog with precise multi-modal support
The npm package dsh-opencode-go-models receives a total of 0 weekly downloads. As such, dsh-opencode-go-models popularity was classified as not popular.
We found that dsh-opencode-go-models demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.

Security News
Fixes for eMudhra and Brotli are out. Getting them everywhere they’re needed means tracking down bundled libraries, runtimes, and certificate stores.

Threat Research
/Security News
Socket uncovered secret-stealing workflows that ran in LiteLLM’s GitHub repository 11 days before the supply chain attack on PyPI and Docker.