mirror of
https://github.com/github/spec-kit.git
synced 2026-08-15 14:02:04 +02:00
22 lines
520 B
Python
22 lines
520 B
Python
"""opencode integration."""
|
|||
|
|
|
||
|
|
from ..base import MarkdownIntegration
|
||
|
|
|
||
|
|
|
||
|
|
class OpencodeIntegration(MarkdownIntegration):
|
||
|
|
key = "opencode"
|
||
|
|
config = {
|
||
|
|
"name": "opencode",
|
||
|
|
"folder": ".opencode/",
|
||
|
|
"commands_subdir": "command",
|
||
|
|
"install_url": "https://opencode.ai",
|
||
|
|
"requires_cli": True,
|
||
|
|
}
|
||
|
|
registrar_config = {
|
||
|
|
"dir": ".opencode/command",
|
||
|
|
"format": "markdown",
|
||
|
|
"args": "$ARGUMENTS",
|
||
|
|
"extension": ".md",
|
||
|
|
}
|
||
|
|
context_file = "AGENTS.md"
|