
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@f97/opencode-morph-fast-apply
Advanced tools
OpenCode plugin for Morph Fast Apply - 10x faster code editing
OpenCode plugin for Morph Fast Apply - 10x faster code editing with lazy edit markers.
// ... existing code ...) - no exact string matching needededit tool on API failuregit clone https://github.com/JRedeker/opencode-morph-fast-apply.git ~/dev/oc-plugins/morph-fast-apply
cd ~/dev/oc-plugins/morph-fast-apply
npm install
Get an API key at morphllm.com/dashboard, then add to your shell profile:
export MORPH_API_KEY="sk-your-key-here"
Add to your global config (~/.config/opencode/opencode.json):
{
"plugin": [
"/path/to/morph-fast-apply"
],
"instructions": [
"/path/to/morph-fast-apply/MORPH_INSTRUCTIONS.md"
]
}
Or in a project-local .opencode/config.json:
{
"plugin": [
"~/dev/oc-plugins/morph-fast-apply"
],
"instructions": [
"~/dev/oc-plugins/morph-fast-apply/MORPH_INSTRUCTIONS.md"
]
}
The morph_edit tool will now be available.
The LLM can use morph_edit for efficient partial file edits:
morph_edit({
target_filepath: "src/auth.ts",
instructions: "Add error handling for invalid tokens",
code_edit: `// ... existing code ...
function validateToken(token) {
if (!token) {
throw new Error("Token is required");
}
// ... existing code ...
}
// ... existing code ...`
})
morph_edit vs edit| Situation | Tool | Reason |
|---|---|---|
| Small, exact replacement | edit | Fast, no API call |
| Large file (500+ lines) | morph_edit | Handles partial snippets |
| Multiple scattered changes | morph_edit | Batch efficiently |
| Whitespace-sensitive | morph_edit | Forgiving with formatting |
| Variable | Default | Description |
|---|---|---|
MORPH_API_KEY | (required) | Your Morph API key |
MORPH_API_URL | https://api.morphllm.com | API endpoint |
MORPH_MODEL | morph-v3-fast | Model (morph-v3-fast, morph-v3-large, auto) |
MORPH_TIMEOUT | 30000 | Request timeout in ms |
<instruction>, <code>, and <update> to Morph APIContributions welcome! This plugin could potentially be integrated into OpenCode core.
FAQs
OpenCode plugin for Morph Fast Apply - 10x faster code editing
We found that @f97/opencode-morph-fast-apply demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.