This commit is contained in:
2026-04-12 01:06:31 +07:00
commit 10d660cbcb
1066 changed files with 228596 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#!/usr/bin/env python3
"""
Legacy command scanner (deprecated).
Commands were migrated to skills. This script now writes an empty commands dataset
for backward compatibility with older tooling.
"""
from pathlib import Path
def main() -> None:
output_path = Path(".opencode/scripts/commands_data.yaml")
output_path.write_text(
"# Commands have been migrated to skills.\n"
"# See .opencode/scripts/skills_data.yaml for the current catalog.\n"
"[]\n",
encoding="utf-8",
)
print("Commands are deprecated; wrote empty commands catalog for compatibility.")
print(f"✓ Saved metadata to {output_path}")
if __name__ == "__main__":
main()