feat(omp): package native prompt-context hook - #1847
Open
andrebrait wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Package a native OMP before_agent_start extension around the existing prompt-hook CLI. It delivers the CLI's raw tagged context as a hidden native message, including user runs opened by queued messages.
Related work
#442 adds a Pi installer target and CLI guidance. This patch is the separate native OMP startup-hook/package path, not another Pi instruction-file target.
Verification
No existing index was created or rebuilt. Tested host: OMP18.1.17 integration SHA6aef0e8ad51b3bc5ea7a5f2a255c3d48e4c5af72; the version string alone does not guarantee queued-startup fixes. Current isProjectTrusted() is a compatibility API, not an enforced sandbox.
AI-assisted implementation with one independent condensed contract/correctness/test-honesty/simplicity review.