Skip to content

feat(cli): add opencode init + bundle SKILL.md v0.6.7 - #612

Merged
ajianaz merged 1 commit into
developfrom
feat/init-skill-copy-opencode
Jul 7, 2026
Merged

ajianaz merged 1 commit into
developfrom
feat/init-skill-copy-opencode

Conversation

@ajianaz

@ajianaz ajianaz commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add init --agent opencode support: generates AGENTS.md with uteke instructions
  • Refactor init --agent pi: now uses bundled SKILL.md via install_skill_md() helper
  • Update bundled SKILL.md to v0.6.7
  • Fix CLI help text and escaped-quote bug

Breaking changes

None. All changes additive.

…d SKILL.md

- Add init_opencode and init_opencode_memory_provider functions
  (AGENTS.md-based integration, matching OpenCode's convention)
- Refactor init_pi to use install_skill_md() helper instead of
  hardcoded inline SKILL.md content (-43 lines)
- Update CLI help text to include opencode in --agent list
- Update bundled SKILL.md to v0.6.7 (add docs, graph, rooms,
  knowledge graph, pinning, dream pipeline, timeline, upgrade)
- Fix escaped-quote bug in install_skill_md error messages

Breaking: none. All changes additive.
Comment thread crates/uteke-cli/src/init.rs Dismissed
Comment thread crates/uteke-cli/src/init.rs Dismissed
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

❌ Blocked — critical issues found.

🔴 Error (2)

  • crates/uteke-cli/src/init.rs:465 — In init_opencode, the result of install_skill_md(&cwd) is assigned to let _skill and silently discarded. If the function fails (e.g., directory creation or file write failure due to permissions), the error is swallowed and the user is still told "✓ OpenCode integration installed". This can lead to a broken setup where AGENTS.md exists but SKILL.md is missing, with no indication of the failure. Compare with init_pi which properly propagates the error using ?.
  • crates/uteke-cli/src/init.rs:531 — In init_opencode_memory_provider, the same pattern as init_opencode: let _skill = install_skill_md(&cwd); silently discards the Result. If SKILL.md installation fails, the function still reports "✓ OpenCode memory-provider installed" with no indication that a secondary step failed. This is inconsistent with init_pi which uses ? to propagate errors from the same function.

Review powered by cora-cli · BYOK · MIT

@ajianaz
ajianaz merged commit 80372b3 into develop Jul 7, 2026
9 checks passed
@ajianaz
ajianaz deleted the feat/init-skill-copy-opencode branch July 9, 2026 14:27
ajianaz added a commit that referenced this pull request Aug 13, 2026
feat(cli): add opencode init + bundle SKILL.md v0.6.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants