Skip to content

Configuration

Configure default settings for your project by creating .opencode/await-config.json:

.opencode/await-config.json
{
"summarize": {
"enabled": true,
"model": "github-copilot/gpt-5-mini"
},
"persistLogs": true,
"maxDuration": 600,
"pollInterval": 5
}
OptionTypeDefaultDescription
summarize.enabledbooleanfalseEnable AI summarization by default
summarize.modelstringgithub-copilot/gpt-5-miniLLM model for summarization
persistLogsbooleanfalseSave command output to temp file
maxDurationnumber300Default max wait time (1-1800 seconds)
pollIntervalnumber5Default poll interval (1-60 seconds)
  1. When the plugin loads, it reads .opencode/await-config.json from your project root
  2. These settings become defaults for all await_command calls
  3. Tool parameters always override config defaults

If the configured summarization model is unavailable:

  • The command still executes successfully
  • A summarizeError field is returned instead of summary
  • The full output is preserved in the log file

Example response when model is unavailable:

{
"status": "success",
"exitCode": 0,
"logPath": "/tmp/await-cmd-abc123/output.log",
"summarizeError": "Summarization skipped: Model 'github-copilot/gpt-5-mini' unavailable. Output saved to log file."
}

The tool includes built-in examples. Call with the examples parameter:

await_command({ examples: "all" })

Available examples: gh-actions, build, deploy, polling, summarize, all