minimal.cordis.yml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. # Complete unattended minimal-agent composition for the Python SDK. The model
  2. # sees one deployment-selected system prompt and only the owner-scoped
  3. # persistent Bash and string-replace editor tools. Runtime-context injection and
  4. # context compaction are absent.
  5. - id: sdk-jsonrpc-server
  6. name: '@deepseek-ai/dsh-sdk-jsonrpc-server'
  7. config:
  8. maxTokensAsSuccess: false
  9. - id: deepseek-llm-api-extensions
  10. name: '@deepseek-ai/dsh-deepseek-llm-api-extensions'
  11. - id: session-log-deepseek
  12. name: '@deepseek-ai/dsh-session-log-deepseek'
  13. - id: plugin-package-inventory-deepseek
  14. name: '@deepseek-ai/dsh-plugin-package-inventory-deepseek'
  15. - id: llm-deepseek
  16. name: '@deepseek-ai/dsh-llm-deepseek'
  17. config:
  18. apiKeyEnv: DEEPSEEK_API_KEY
  19. streamIdleTimeoutMs: 172800000
  20. models:
  21. - id: !!js process.env.DSH_MODEL ?? 'deepseek-v4-flash'
  22. contextWindow: !!js Number(process.env.DSH_CONTEXT_WINDOW ?? 1000000)
  23. - id: sandbox
  24. name: '@deepseek-ai/dsh-sandbox-local'
  25. - id: sandbox-policy
  26. name: '@deepseek-ai/dsh-sandbox-policy'
  27. config:
  28. mode: danger-full-access
  29. workspaceRoot: !!js process.env.DSH_CWD ?? process.cwd()
  30. - id: subprocess
  31. name: '@deepseek-ai/dsh-subprocess-local'
  32. - id: pty
  33. name: '@deepseek-ai/dsh-terminal'
  34. - id: terminal-bash
  35. name: '@deepseek-ai/dsh-terminal-bash'
  36. config:
  37. timeoutMs: 300000
  38. # The editor uses the bare local filesystem; persistent Bash still consumes the
  39. # shared danger-full-access sandbox policy above.
  40. - id: fs-local
  41. name: '@deepseek-ai/dsh-fs-local'
  42. config:
  43. cwd: !!js process.env.DSH_CWD ?? process.cwd()
  44. - id: agent-spine
  45. name: '@deepseek-ai/dsh-agent-spine-demo'
  46. config:
  47. includeHarnessIdentity: false
  48. includeRuntimeContext: false
  49. persona: !!js process.env.DSH_SYSTEM_PROMPT ?? 'You are a helpful software engineer assistant.'
  50. workspaceContext: false
  51. skills:
  52. enabled: false
  53. toolBash: false
  54. toolJobs: false
  55. - id: persistent-bash
  56. name: '@deepseek-ai/dsh-tool-bash-persistent'
  57. config:
  58. timeoutMs: 300000
  59. description: |-
  60. Run commands in a bash shell
  61. * When invoking this tool, the contents of the "command" parameter does NOT need to be XML-escaped.
  62. * You don't have access to the internet via this tool.
  63. * You do have access to a mirror of common linux and python packages via apt and pip.
  64. * State is persistent across command calls and discussions with the user.
  65. * To inspect a particular line range of a file, e.g. lines 10-25, try 'sed -n 10,25p /path/to/the/file'.
  66. * Please avoid commands that may produce a very large amount of output.
  67. * Please run long lived commands in the background, e.g. 'sleep 10 &' or start a server in the background.
  68. - id: str-replace-editor
  69. name: '@deepseek-ai/dsh-tool-str-replace-editor'
  70. config:
  71. maxOutputChars: 16000
  72. - id: sessions
  73. name: '@deepseek-ai/dsh-session-persistence-jsonl'
  74. config:
  75. root: !!js process.env.DSH_SESSION_ROOT ?? './.sessions'
  76. compression: none