PowerShell / PowerShell/PowerShellEditorServices
DBG: Prompt Injection Necessary?
未关闭
还没有人认领这个 Issue。
Area-Debugging
Area-Extension Terminal
Issue-Enhancement
- 主要语言
- C#
- 星标
- 767
- 派生
- 266
- 平均合并
- 3 天 16 小时
- 30 天内合并 PR
- 1
描述
Is this function really necessary? The prompt function already has this DBG: detection in it, and if someone has customized the prompt (as I have), it adds an extra DBG: where it is unwanted. Perhaps a toggle feature flag via the API can be made available?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 src/PowerShellEditorServices/Session/Host/EditorServicesPSHostUserInterface.cs#L744-L752 开始,将此函数与 prompt 函数现有的 DBG: 检测进行比较。确定重复的 prompt 修改是否仍然必要,并明确预期结果是移除还是 API feature flag;当自定义 prompt 不再收到不需要的额外 DBG: 时,该 issue 即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, powershell
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100