Babysitter package for oh-my-pi.
This is a thin oh-my-pi package:
skills/exposes Babysitter workflows through oh-my-pi's skill systemextensions/index.tsadds lightweight slash-command aliases that forward to those skills- the SDK remains responsible for orchestration, runs, tasks, and state
Recommended:
omp plugin install @a5c-ai/babysitter-ompVerify the plugin is available:
babysitter harness:discover --jsonDevelopment helper:
npx @a5c-ai/babysitter-omp install --workspace /path/to/repoRemoval:
omp plugin uninstall @a5c-ai/babysitter-ompStart oh-my-pi, then use the thin Babysitter entrypoints exposed by the plugin:
/babysitor/babysitter/call/plan/resume/doctor/yolo
Each command forwards into oh-my-pi's native /skill:<name> flow. The
orchestration contract lives in the skills; the extension only provides
convenient aliases.
The package mirrors the canonical Babysitter command docs and exposes the core
babysit skill plus command-backed skills such as call, doctor, plan,
resume, and yolo.
The extension layer is intentionally thin. It only forwards slash commands to
oh-my-pi's built-in /skill:<name> flow; it does not implement a custom loop
driver, custom tools, or direct run mutation logic.
plugins/babysitter-omp/
|-- package.json
|-- versions.json
|-- extensions/
| `-- index.ts
|-- commands/
|-- skills/
|-- bin/
`-- scripts/
Read the pinned SDK version from versions.json when you need a local CLI:
PLUGIN_ROOT="${OMP_PLUGIN_ROOT:-$(pwd)}"
SDK_VERSION=$(node -e "try{const fs=require('fs');const path=require('path');const pluginRoot=process.env.OMP_PLUGIN_ROOT||process.env.PLUGIN_ROOT||process.cwd();const probes=[path.join(pluginRoot,'versions.json'),path.join(pluginRoot,'plugins','babysitter-omp','versions.json'),path.join(pluginRoot,'node_modules','@a5c-ai','babysitter-omp','versions.json'),path.join(process.cwd(),'node_modules','@a5c-ai','babysitter-omp','versions.json')];for(const probe of probes){if(fs.existsSync(probe)){console.log(JSON.parse(fs.readFileSync(probe,'utf8')).sdkVersion||'latest');process.exit(0)}}console.log('latest')}catch{console.log('latest')}")
npm i -g @a5c-ai/babysitter-sdk@$SDK_VERSION
CLI="npx -y @a5c-ai/babysitter-sdk@$SDK_VERSION"oh-my-pi discovers this plugin through its native plugin system. Publish new
versions to npm under @a5c-ai/babysitter-omp, then users can install or
upgrade through omp plugin install @a5c-ai/babysitter-omp.
Upgrade by reinstalling the plugin:
omp plugin install @a5c-ai/babysitter-ompRemove it with:
omp plugin uninstall @a5c-ai/babysitter-omp- Verify the harness with
babysitter harness:discover --json. - If
ompis not available, checkwhere ompon Windows orwhich ompon Unix. - If commands do not appear, restart oh-my-pi after installation so it reloads plugin metadata.
- If the wrong SDK version is used, inspect
versions.jsoninside the installed plugin root. - Regenerate mirrored commands and command-backed skills with
npm run sync:commands.
cd plugins/babysitter-omp
npm testMIT