You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@howaboua/opencode-background-process

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@howaboua/opencode-background-process

OpenCode plugin for managing background processes - launch, monitor, and control long-running tasks

latest
npmnpm
Version
0.1.1
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

opencode-background-process

An OpenCode plugin for managing background processes. Launch, monitor, and control long-running tasks like dev servers, watchers, and build processes.

background-process

Installation

Add to your opencode.json:

{
  "plugin": ["opencode-background-process"]
}

OpenCode automatically installs plugin dependencies at runtime.

Bundled Skill

This plugin ships a bundled skill at skills/background-process/SKILL.md that provides housekeeping guidance for long-running processes and how to differentiate it from standard system processes. The plugin registers the skill automatically.

Tools

background_process_launch

Start a command as a background process. Use for long-running tasks instead of blocking shell runs.

ArgumentTypeRequiredDescription
commandstringyesThe shell command to run
cwdstringnoWorking directory (defaults to current)
idstringnoCustom ID (auto-generated if not provided)
maxOutputLinesnumbernoOutput buffer size (default: 500)

background_process_list

List background processes started by this tool in the current session (not system processes).

background_process_read

Read captured output from a background process started by this tool.

ArgumentTypeRequiredDescription
idstringyesProcess ID to read from
linesnumbernoNumber of lines to return (default: 50)
clearbooleannoClear buffer after reading (default: false)

background_process_write

Send input to a running process started by this tool.

ArgumentTypeRequiredDescription
idstringyesProcess ID
inputstringyesInput to send
newlinebooleannoAppend newline (default: true)

background_process_kill

Kill a background process started by this tool.

ArgumentTypeRequiredDescription
idstringyesProcess ID to kill
signalenumnoSIGTERM, SIGKILL, or SIGINT (default: SIGTERM)
removebooleannoRemove from tracking after killing (default: false)

background_process_cleanup

Remove exited processes or kill all tracked processes.

ArgumentTypeRequiredDescription
killAllbooleannoKill all running processes (default: false, only removes exited)

Usage Examples

Start a dev server with 'bun run dev' in the background

List all background processes

Read the last 100 lines from process 'bun-1'

Send 'q' to process 'bun-1' to quit

Kill process 'bun-1'

Notes

  • Processes are tracked per OpenCode session and only include those started by this tool
  • Output is buffered (last 500 lines by default)
  • Auto-generated IDs use the command name (e.g., bun-1, npm-2)

License

MIT

Keywords

opencode

FAQs

Package last updated on 03 Feb 2026

Did you know?

Socket

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.

Install

Related posts