tui-scripted.cordis.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # Real Loader composition for the keyless conversational PTY test. The app
  2. # bundle supplies the production agent/TUI/user-question stack; only the model
  3. # is scripted so the terminal interaction is deterministic and network-free.
  4. - id: scripted-llm
  5. name: './tui-scripted-llm.ts'
  6. - id: bash
  7. name: '@deepseek-ai/dsh-bash-local'
  8. - id: fs-local
  9. name: '@deepseek-ai/dsh-fs-local'
  10. config:
  11. cwd: !!js process.cwd()
  12. - id: token-meter
  13. name: '@deepseek-ai/dsh-token-meter'
  14. - id: plan-mode
  15. name: '@deepseek-ai/dsh-plan-mode'
  16. config:
  17. section: 'Stay in plan mode for this scripted TUI test.'
  18. - id: tui-agent
  19. name: '@deepseek-ai/dsh-tui-demo'
  20. config:
  21. provider: tui-scripted
  22. model: tui-scripted-model
  23. persistenceRoot: './.sessions'
  24. # The smoke's log inspection reads plain `.jsonl`; keep the scripted
  25. # fixture uncompressed like the other snapshot-facing configs.
  26. persistenceCompression: none
  27. resumeSessionId: !!js process.env.RESUME_SESSION_ID
  28. resumeCommand: 'dsh --resume {session}'
  29. workspaceContext:
  30. maxBytes: 65536
  31. welcome: 'scripted TUI ready.'
  32. persona: 'Scripted model {{model}}.'
  33. ui:
  34. showReasoning: true
  35. # Model-made session titles, as in the shipped cordis.yml: the scripted adapter
  36. # answers the tool-less title request with a fixed string so the PTY test can
  37. # assert the logged title reaches the terminal window title.
  38. - id: session-title-llm
  39. name: '@deepseek-ai/dsh-session-title-first-message-llm'
  40. config:
  41. targetWords: 5
  42. targetCjkCharacters: 10
  43. maxInputBytes: 4096
  44. maxOutputTokens: 64
  45. timeoutMs: 10000