When working with Git in a WSL environment, HTTPS requests often fail due to improper credential helper configuration. dsh-wsl-cred is a DeepSeek Harness plugin designed to diagnose this issue and provide secure guidance for Windows Git Credential Manager (GCM), without leaking sensitive credentials.
Plugin Positioning¶
This plugin is part of the dsh-wsl-kit suite. It primarily addresses the unclear Git credential helper configuration in WSL by reporting the status of git credential.helper and checking whether credentials exist, then providing users with secure configuration guidance. The plugin version is 0.2.0, and its core principle is to never return tokens or passwords.
Core Features¶
- Credential Existence Check: Checks whether Git credentials exist, including identifying the GCM path and distinguishing between HTTPS and SSH protocols.
- Secure Guidance: For WSL environments, provides secure recommendations for configuring Windows GCM so that HTTPS Git connections work properly.
- Privacy Protection: The tool only outputs configuration status and paths, and does not leak any secrets in conversations or Prompts.
Installation and Enablement¶
Add the plugin using the official installation command:
dsh plugin --profile web add github:173787247/dsh-wsl-cred
Configuration¶
The plugin supports standard YAML configuration and can set a timeout:
- id: dsh-wsl-cred
name: dsh-wsl-cred
config:
timeoutMs: 10000
Usage and Testing¶
Before using this plugin, ensure the following environment requirements are met:
- DeepSeek Harness (DSH) version ≥ 0.1.2.
- Kit Set: Must be set to
daily,llm,github, orfull. - Model Configuration: Use the model ID
deepseek-flash(V4.1 Flash) in~/.dsh/settings.yamlorllm-deepseek.
Run tests to verify that the plugin was installed correctly:
npm test
Notes¶
- WSL Context: When performing HTTPS Git operations from WSL, the credential helper usually needs to point to Windows GCM (or run
gh authon Windows), otherwise the operations will fail. This tool is intended to explain this configuration process without writing secrets to logs. - Dependencies: The plugin depends on the
dsh-wsl-kitsuite. - Source Code and License: As a community-maintained plugin, it is recommended to inspect the source code and license (MIT) before installation.