SPYQWER1/dsh-imagecraft
SPYQWER1★ 1JavaScript最后同步: 2026-08-14
—
README 摘要
dsh-imagecraft 中文 Image generation and image understanding for the DeepSeek Harness — powered by your ChatGPT subscription. No OPENAI API KEY needed. A DeepSeek Harness plugin that registers two model tools: Tool What it does image gen Generates a bitmap image (illustrations, icons, logos, photos, concept art, UI mockups) through the ChatGPT Codex backend. image vision Describes or answers questions about an image with a multimodal model — giving text-only harness models (e.g. deepseek-v4-flash ) plug-in vision. Both tools reuse the ChatGPT login state (the same OAuth tokens the official Codex CLI uses) and the harness-owned transports in scripts/ — zero npm dependencies, Node built-in https only. How it works Auth precedence (both transports): CODEX ACCESS TOKEN / CODEX REFRESH TOKEN / CODEX ACCOUNT ID environment variables (resolved from the DSH credentials service, keys OPENAI CODEX API KEY / OPENAI CODEX REFRESH TOKEN ) → /.codex/auth.json ( codex login ). On HTTP 401 the transport refreshes the access token once and persists it back to /.codex/auth.json (atomic, 0600). Requirements - DeepSeek Harness (the plugin is a preset-local Cordis plugin; tested against current builds) -…
在 GitHub 查看完整 README →