dsh-sdk.patch.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Test-only SDK provider patch over the shipped headless profile. The child
  2. # is a complete sdk profile; the parent omits `cwd` to exercise inheritance.
  3. - id: headless-startup
  4. disabled: true
  5. - id: headless-runner
  6. disabled: true
  7. - id: agent-loop
  8. config:
  9. agents:
  10. - id: main
  11. provider: mock
  12. model: mock-delegate
  13. cwd: !!js process.cwd()
  14. - id: session-persistence-jsonl
  15. config:
  16. root: './.sessions'
  17. compression: none
  18. - id: tool-subagent
  19. disabled: true
  20. - insert:
  21. - id: mock-llm
  22. name: './mock-delegating-llm.ts'
  23. - id: subagent-model-selection-settings
  24. name: '@deepseek-ai/dsh-tool-subagent/model-selection-settings'
  25. config:
  26. enabled: true
  27. allowedModels:
  28. - provider: mock
  29. model: mock-routed
  30. - id: test-tool-subagent
  31. name: './scoped-tool-subagent.ts'
  32. config:
  33. provider: dsh-sdk
  34. toolName: subagent
  35. agentOptions:
  36. maxTokens: 777
  37. maxDepth: 'provider-managed'
  38. # providerName is omitted to exercise the shipped `dsh-sdk` default.
  39. - id: subagent-dsh-sdk
  40. name: '@deepseek-ai/dsh-subagent-dsh-sdk'
  41. config:
  42. profile: sdk
  43. patches: !!js JSON.parse(process.env.DSH_TEST_CHILD_PATCHES ?? '[]')
  44. dshHome: !!js process.env.DSH_TEST_CHILD_HOME
  45. provider: mock
  46. model: mock-routed
  47. env:
  48. DSH_TELEMETRY_DISABLED: '1'
  49. DSH_TEST_CHILD_FAILURE: !!js String(process.env.DSH_TEST_CHILD_FAILURE ?? '')