返回源码地图

packages/bundle/web-app/presets/minimal.patch.yml

main snapshot · da00f7f5358f · 正文引用章节 04;完整原文可核对,不声称全文件人工逐行审计

完整原文供逐行核对;页面收录不代表每行都经过人工语义审核。MIT 许可见 许可证。

1# Agent preset minimal: one `@deepseek-ai/dsh-agent-preset` declaration inserted
2# after the web patch. Edits saved from the Web editor override this row's
3# `config.plugins` by id from the profile patch.
4- insert:
5 - id: preset-minimal
6 name: '@deepseek-ai/dsh-agent-preset'
7 config:
8 id: minimal
9 order: 3
10 plugins:
11 - id: persona
12 name: '@deepseek-ai/dsh-persona'
13 config:
14 prefix: You are a helpful software engineer assistant.
15 complete: true
16 includeRuntimeContext: false
17 - id: persistent-shell
18 name: cordis:group
19 group: true
20 isolate:
21 terminals: true
22 config:
23 - id: pty
24 name: '@deepseek-ai/dsh-terminal'
25 - id: terminal-bash
26 name: '@deepseek-ai/dsh-terminal-bash'
27 disabled: !!js process.platform === 'win32'
28 config:
29 timeoutMs: 300000
30 - id: persistent-bash
31 name: '@deepseek-ai/dsh-tool-bash-persistent'
32 disabled: !!js process.platform === 'win32'
33 config:
34 timeoutMs: 300000
35 description: |-
36 Run commands in a bash shell
37 * When invoking this tool, the contents of the "command" parameter does NOT need to be XML-escaped.
38 * Network access depends on the task environment. Prefer configured mirrors/proxies when they are available.
39 * State is persistent across command calls and discussions with the user.
40 * To inspect a particular line range of a file, e.g. lines 10-25, try 'sed -n 10,25p /path/to/the/file'.
41 * Please avoid commands that may produce a very large amount of output.
42 * Please run long lived commands in the background, e.g. 'sleep 10 &' or start a server in the background.
43 - id: terminal-pwsh
44 name: '@deepseek-ai/dsh-terminal-bash'
45 disabled: !!js process.platform !== 'win32'
46 config:
47 shellDialect: pwsh
48 timeoutMs: 300000
49 - id: persistent-pwsh
50 name: '@deepseek-ai/dsh-tool-pwsh-persistent'
51 disabled: !!js process.platform !== 'win32'
52 config:
53 timeoutMs: 300000
54 description: |-
55 Run commands in a PowerShell shell
56 * When invoking this tool, the contents of the "command" parameter does NOT need to be XML-escaped.
57 * You don't have access to the internet via this tool.
58 * State is persistent across command calls and discussions with the user.
59 * Use native Windows paths (C:\...) and $env:NAME variables; this is PowerShell, not bash.
60 * Please avoid commands that may produce a very large amount of output.
61 * Please run long lived commands in the background, e.g. 'Start-Job' or start a server with Start-Process.