fix(opencode): align setup messaging with auto-start behavior#333
fix(opencode): align setup messaging with auto-start behavior#333egdev6 wants to merge 11 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the OpenCode setup messaging so the CLI and docs better reflect the plugin’s existing behavior: the HTTP server is auto-started when needed, and manual engram serve is only meant as a fallback. It fits into the setup/documentation flow for agent integrations, especially engram setup opencode.
Changes:
- Updated
engram setup opencodepost-install output to describe auto-start behavior. - Adjusted unit-test expectations for the new post-install text.
- Synced the OpenCode setup/docs wording around fallback-only manual server startup.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
cmd/engram/main.go |
Revises OpenCode post-install next-step messaging. |
cmd/engram/main_test.go |
Updates assertions for the revised CLI output. |
docs/AGENT-SETUP.md |
Clarifies normal setup vs manual fallback in the setup guide. |
docs/PLUGINS.md |
Aligns plugin docs with auto-start and fallback wording. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Ready for Review! |
|
@copilot apply changes based on the comments in this thread |
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
🔗 Linked Issue
Closes #300
🏷️ PR Type
type:bug— Bug fixtype:feature— New featuretype:docs— Documentation onlytype:refactor— Code refactoring (no behavior change)type:chore— Maintenance, dependencies, toolingtype:breaking-change— Breaking change📝 Summary
engram serveas a normal next step.engram servekept only as a fallback for restricted environments.📂 Changes
cmd/engram/main.gocmd/engram/main_test.godocs/AGENT-SETUP.mdengram serveis fallback-only for restricted environmentsdocs/PLUGINS.md🧪 Test Plan
Unit tests pass locally:
go test ./...E2E tests pass locally:
go test -tags e2e ./internal/server/...Manually tested the affected functionality
Verified the updated post-install output via
go test ./cmd/engram -run TestPrintPostInstallConfirmed the wording matches the current plugin behavior and setup docs
🤖 Automated Checks
These run automatically and all must pass before merge:
Closes #N/Fixes #N/Resolves #Nstatus:approvedlabeltype:*labelgo test ./...passesgo test -tags e2e ./internal/server/...passes✅ Contributor Checklist
Closes #N)type:*label to this PRgo test ./...go test -tags e2e ./internal/server/...Co-Authored-Bytrailers in commits💬 Notes for Reviewers
mainand includes only the OpenCode setup/docs alignment fix.