Saikel-Orado-Liu/dsh-coding-agent-preset ↗★ 2
@gamegeek-saikel/dsh-coding-agent-preset
适配 Windows 的 DSH 编码模式智能体预设,带持久化 PowerShell 7 终端。
AI 分析
核心用途是提供一个状态可跨调用持久保留的 pwsh PTY 环境,支持沙箱权限提权。适合在 Windows 上使用 DSH 进行复杂脚本和编码任务的开发者。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Saikel-Orado-Liu/dsh-coding-agent-preset說明文件
閱讀完整 README ↗Usage
Once installed and restarted, a coding-mode session exposes exactly two tools: pwsh and str_replace_editor.
- Persistent path (
danger-full-access): commands run in a shared persistent pwsh PTY. Variables, functions, aliases, and the current directory survive across calls. - Confined path (
read-only/workspace-write): commands run as one-shotpwsh -Commandexecutions, matching the official non-persistentdsh-tool-pwshbehavior. State does not persist. - Sandbox escalation: if a confined command is denied, the output includes
[sandbox: file access denied ...]andescalation available — retry this exact command once with sandbox_permissions. Retry withsandbox_permissionsandjustificationto request a one-time approval; the granted mode applies only to that single call and never changes the session mode.
Quick verification:
Write-Output "hello"
then run a second command that reads a variable set by the first command to confirm persistence in a danger-full-access session.