Skip to content

Fix OpenCode hooks - #11

Merged
diegoos merged 2 commits into
mainfrom
fix/opencode-hooks
Aug 3, 2026
Merged

Fix OpenCode hooks#11
diegoos merged 2 commits into
mainfrom
fix/opencode-hooks

Conversation

@diegoos

@diegoos diegoos commented Aug 3, 2026

Copy link
Copy Markdown
Owner

No description provided.

diegoos added 2 commits August 3, 2026 14:45
Update the OpenCode plugin installation process to use the new `.opencode/plugins/` directory, replacing the legacy `.opencode/plugin/` path. The installer now copies both `agent-memory.ts` and `safe-script.ts` to the new location and removes any leftover legacy files. Additionally, update documentation and tests to reflect these changes, ensuring clarity on the new auto-load path and migration process.
…ment

Refactor the OpenCode plugin installation process to utilize the new `.opencode/plugins/` directory, ensuring legacy files are removed. Update the agent-memory hooks to support both `session.idle` and `session.compacted` events for improved session state management. Enhance documentation across various files to clarify the new plugin structure, session binding logic, and the behavior of hooks regarding session state. Additionally, implement lint checks for stale log placeholders and hooks/state contradictions, reinforcing the integrity of session operations.
@diegoos
diegoos force-pushed the fix/opencode-hooks branch from d006bd2 to 4531876 Compare August 3, 2026 17:45
@diegoos
diegoos merged commit 4ce5769 into main Aug 3, 2026
7 checks passed
@diegoos
diegoos deleted the fix/opencode-hooks branch August 3, 2026 20:41
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.

1 participant