Saikel-Orado-Liu/dsh-coding-agent-preset2

@gamegeek-saikel/dsh-coding-agent-preset

适配 Windows 的 DSH 编码模式智能体预设,带持久化 PowerShell 7 终端。

AI 分析

核心用途是提供一个状态可跨调用持久保留的 pwsh PTY 环境,支持沙箱权限提权。适合在 Windows 上使用 DSH 进行复杂脚本和编码任务的开发者。

套件
@gamegeek-saikel/dsh-coding-agent-preset
版本
0.1.2
授權
MIT
最近更新
2026年8月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Saikel-Orado-Liu/dsh-coding-agent-preset

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-shot pwsh -Command executions, matching the official non-persistent dsh-tool-pwsh behavior. State does not persist.
  • Sandbox escalation: if a confined command is denied, the output includes [sandbox: file access denied ...] and escalation available — retry this exact command once with sandbox_permissions. Retry with sandbox_permissions and justification to 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.