Files
OpenQode/.opencode/task.md

845 B

Task: Enhance AI Communication Patterns

Objectives

  • Integrate agent-prompt.mjs for dynamic system prompts
  • Implement fetchWithRetry for robust API calls
  • Enhance TUI message rendering with message-renderer.mjs formatters

Progress

  • Create Implementation Plan
  • Backup qwen-oauth.mjs and bin/opencode-ink.mjs
  • Update qwen-oauth.mjs:
    • Import fetchWithRetry
    • Add systemPrompt support to sendMessage
    • Wrap sendVisionMessage with retry logic
  • Update bin/opencode-ink.mjs:
    • Import getSystemPrompt and fetchWithRetry
    • Refactor handleSubmit to use dynamic system prompt
    • Update callOpenCodeFree to use fetchWithRetry
    • Apply formatSuccess/formatError to file save output
  • User Verification of functionality