feat(grepai): add GrepAI devcontainer feature#3
Merged
Merged
Conversation
- `src/grepai/devcontainer-feature.json`: Add feature manifest with options and metadata - `src/grepai/install.sh`: Add installation script for GrepAI CLI - `src/grepai/grepai-quickstart.sh`: Add post-create quickstart guide script - `test/grepai/scenarios.json`: Add test scenario definitions - `test/grepai/install_grepai_latest.sh`: Add test scenario for latest version install - `test/grepai/test.sh`: Add test validation script
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
/usr/local/bin) so all container users have access, following the same pattern used by the claude-code featurepostStartCommandlifecycle hook displays a quickstart banner at container startup, guiding users throughinit,watch,search, and MCP integration with Claude CodeChanges
Feature — src/grepai
src/grepai/devcontainer-feature.json: Feature manifest declaring id, version, documentation URLs, and thepostStartCommandpointing to the quickstart scriptsrc/grepai/install.sh: Installation script that ensurescurlis available, runs the official GrepAI installer, relocates the binary from~/.local/binto/usr/local/binfor multi-user access, and installs the quickstart scriptsrc/grepai/grepai-quickstart.sh: Banner script run at container start with step-by-step guidance forgrepai init,grepai watch,grepai search, and MCP setup for Claude CodeTests — test/grepai
test/grepai/scenarios.json: Defines theinstall_grepai_latesttest scenario using the base Ubuntu devcontainer imagetest/grepai/test.sh: Verifies thegrepaibinary is on PATH and thatgrepai versionreturns a non-empty stringtest/grepai/install_grepai_latest.sh: Scenario entry-point script (delegates to sharedtest.shchecks)Test plan
devcontainer features test -f grepai .grepaiis accessible to all users:docker run --rm <image> which grepaipostStartCommandoutput in terminal)grepai versioninside the container and confirm a valid version string is returnedGenerated with awf commit workflow