@a5c-ai/babysitter-gemini-cli 5.0.1-staging.686c8b317 → 5.0.1-staging.7495ef6c9fa0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/bin/install-shared.js +1 -1
- package/commands/call.toml +1 -1
- package/commands/help.toml +1 -1
- package/commands/observe.toml +1 -1
- package/commands/yolo.toml +1 -1
- package/hooks/hooks.json +9 -9
- package/package.json +2 -2
- package/plugin.json +1 -1
- package/skills/babysit/SKILL.md +17 -4
- package/versions.json +2 -2
package/README.md
CHANGED
|
@@ -4,10 +4,10 @@ Orchestrate complex, multi-step workflows with event-sourced state management, h
|
|
|
4
4
|
|
|
5
5
|
## Prerequisites
|
|
6
6
|
|
|
7
|
-
Install the Babysitter SDK
|
|
7
|
+
Install the Babysitter CLI once. The `babysitter` command is backed by the SDK and exposes the canonical harness/plugin installer used in tests:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install -g @a5c-ai/babysitter
|
|
10
|
+
npm install -g @a5c-ai/babysitter
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Installation — Gemini CLI
|
|
@@ -19,6 +19,13 @@ babysitter-gemini-cli install --global
|
|
|
19
19
|
|
|
20
20
|
Restart Gemini CLI to pick up the installed plugin.
|
|
21
21
|
|
|
22
|
+
For scriptable installs, prefer the SDK helper shape:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
babysitter harness:install-plugin <harness>
|
|
26
|
+
babysitter harness:install-plugin <harness> --workspace /path/to/repo
|
|
27
|
+
```
|
|
28
|
+
|
|
22
29
|
## What's Included
|
|
23
30
|
|
|
24
31
|
- **Skills**: babysit
|
package/bin/install-shared.js
CHANGED
|
@@ -104,7 +104,7 @@ function ensureMarketplaceEntry(marketplacePath, pluginRoot) {
|
|
|
104
104
|
name: PLUGIN_NAME,
|
|
105
105
|
source: relSource,
|
|
106
106
|
description: "Orchestrate complex, multi-step workflows with event-sourced state management, hook-based extensibility, and human-in-the-loop approval",
|
|
107
|
-
version: "5.0.1-staging.
|
|
107
|
+
version: "5.0.1-staging.7495ef6c9fa0",
|
|
108
108
|
author: { name: "a5c.ai" },
|
|
109
109
|
};
|
|
110
110
|
if (idx >= 0) marketplace.plugins[idx] = entry;
|
package/commands/call.toml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
description = "Orchestrate a babysitter run. use this command to start babysitting a complex workflow."
|
|
2
2
|
|
|
3
|
-
prompt = "Invoke the babysitter:babysit skill (using the Skill tool) and follow its instructions (SKILL.md)."
|
|
3
|
+
prompt = "Invoke the babysitter:babysit skill (using the Skill tool) and follow its instructions (SKILL.md). Then continue executing the returned instructions in this same turn. Do not stop after the Skill tool returns; carry the requested run through to completion proof.\n\nUser arguments for this command:\n\n$ARGUMENTS"
|
package/commands/help.toml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
description = "help and documentation for babysitter command usage, processes, skills, agents, and methodologies. use this command to understand how to use babysitter effectively."
|
|
2
2
|
|
|
3
|
-
prompt = "## if no arguments provided:\n\nshow this message:\n\n```\nWelcome to the Babysitter Help Center! Here you can find documentation and guidance on how to use Babysitter effectively.\n\nDocumentation: Explore our comprehensive documentation to understand Babysitter's features, processes, skills, agents, and methodologies. Read the Docs: https://github.com/a5c-ai/babysitter\n\nOr ask specific questions about commands, processes, skills, agents, methodologies, domains, specialities to get targeted help.\n\nJust type /babysitter:help followed by your question or the topic you want to learn more about.\n\n\nPRIMARY COMMANDS\n================\n\n/babysitter:call [input]\n Start a babysitter-orchestrated run. Babysitter analyzes your request, interviews you\n to gather requirements, selects or creates the best process definition (from 50+\n domain-specific processes covering science, business, engineering, and more), then\n executes it step by step with breakpoints where you can steer direction.\n\n How it works: The babysitter skill reads your input, explores the process library to\n find matching processes, interviews you to refine scope, creates an SDK run with\n run:create, and orchestrates iterations with run:iterate -- dispatching tasks,\n handling breakpoints, and posting results until the run completes or you pause it.\n\n Example: /babysitter:call migrate our Express.js REST API to Fastify, keeping all\n existing routes and middleware behavior identical, with integration tests proving\n parity\n\n\n/babysitter:resume [run id or name]\n Resume a paused or interrupted babysitter run. If you don't specify a run, babysitter\n discovers all runs under .a5c/runs/, shows their status (created, waiting, completed,\n failed), and suggests which incomplete run to pick up based on its process, pending\n effects, and last activity.\n\n How it works: Reads run metadata and journal, rebuilds state cache if stale, identifies\n pending effects (breakpoints awaiting approval, tasks needing results), and continues\n orchestration from exactly where it left off -- no work is repeated thanks to the\n replay engine.\n\n Example: /babysitter:resume\n (discovers runs and offers: \"Run abc123 is waiting on a breakpoint in the 'review\n test results' phase of your API migration -- resume this one?\")\n\n\n/babysitter:yolo [input]\n Start a babysitter run in fully autonomous mode. Identical to /call but all breakpoints\n are auto-approved and no user interaction is requested. The babysitter makes every\n decision on its own until the run completes or hits a critical failure it can't recover\n from. Best for well-understood tasks where you trust the process.\n\n How it works: Same orchestration as /call, but the process context is configured to\n skip breakpoint effects -- instead of pausing for human approval, each breakpoint\n resolves immediately with an auto-approve result.\n\n Example: /babysitter:yolo add comprehensive unit tests for all functions in\n src/utils/ using vitest with >90% branch coverage\n\n\n/babysitter:plan [input]\n Generate a detailed execution plan without running anything. Babysitter goes through\n the full interview and process selection flow, designs the process definition with\n all tasks, breakpoints, and dependencies, but stops before creating the actual SDK run.\n You get a complete plan you can review, modify, or execute later with /call.\n\n How it works: Runs the babysitter skill's planning phase only -- analyzes input,\n matches to domain processes, interviews for requirements, then outputs the process\n definition file and a human-readable execution plan showing each phase, task, and\n decision point.\n\n Example: /babysitter:plan redesign our database schema to support multi-tenancy,\n migrate existing data, and update all queries -- I want to review the plan before\n we touch anything\n\n\n/babysitter:forever [input]\n Start a babysitter run that loops indefinitely with sleep intervals. Designed for\n ongoing operational tasks: monitoring, periodic maintenance, continuous improvement,\n or recurring workflows. The process uses an infinite loop with ctx.sleepUntil() to\n pause between iterations.\n\n How it works: Creates a process definition with a while(true) loop. Each cycle performs\n the task (e.g., check metrics, process tickets, run audits), then calls ctx.sleepUntil()\n to pause for a configured interval. The run stays in \"waiting\" state during sleep and\n resumes automatically when the sleep expires on the next orchestration iteration.\n\n Example: /babysitter:forever every 4 hours, check our GitHub issues labeled \"bug\",\n attempt to reproduce and fix any that look straightforward, and submit PRs for the fixes\n\n\nSECONDARY COMMANDS\n==================\n\n/babysitter:doctor [issue]\n Run a comprehensive 10-point health check on a babysitter run. Inspects journal\n integrity (checksum verification, sequence gaps, timestamp ordering), state cache\n consistency, stuck/errored effects, stale locks, session state, log files, disk usage,\n process validation, and hook execution health. Produces a structured diagnostic report\n with PASS/WARN/FAIL status per check and specific fix commands.\n\n If no run ID is provided, automatically targets the most recent run. Can also diagnose\n environment-wide issues like missing CLI, unregistered hooks, or plugin problems.\n\n Example: /babysitter:doctor\n (checks the latest run: \"CRITICAL -- Check 5 Lock Status: FAIL -- stale lock detected,\n process 12847 is no longer running. Fix: rm .a5c/runs/abc123/run.lock\")\n\n\n/babysitter:assimilate [target]\n Convert an external methodology, AI coding harness, or specification into native\n babysitter process definitions. Takes a GitHub repo URL, harness name, or spec file\n and produces a complete process package with skills/ and agents/ directories.\n\n Two workflows available:\n - Methodology assimilation: clones the repo, learns its procedures and commands,\n converts manual flows into babysitter processes with refactored skills and agents\n - Harness integration: wires babysitter's SDK into a specific AI coding tool\n (codex, opencode, gemini-cli, antigravity, etc.) so it can orchestrate runs\n\n Example: /babysitter:assimilate https://github.com/some-org/their-deployment-playbook\n (clones the repo, analyzes their deployment procedures, and generates babysitter\n processes that replicate the same workflow with proper task definitions and breakpoints)\n\n\n/babysitter:user-install\n First-time onboarding for new babysitter users. Installs dependencies, runs an\n interactive interview about your development specialties, preferred tools, coding\n style, and how much autonomy you want babysitter to have. Builds a user profile\n stored at ~/.a5c/user-profile.json that personalizes future runs.\n\n Uses the cradle/user-install process which covers: dependency verification, user\n interview (expertise areas, preferred languages, IDE, terminal setup), profile\n generation, tool configuration, and optional global plugin installation.\n\n Example: /babysitter:user-install\n (walks you through: \"What's your primary programming language? What frameworks do\n you use most? Do you prefer babysitter to auto-approve routine tasks or always ask?\")\n\n\n/babysitter:project-install\n Onboard a new or existing project for babysitter orchestration. Researches the\n codebase (reads package.json, scans directory structure, identifies frameworks and\n patterns), interviews you about project goals and workflows, generates a project\n profile at .a5c/project-profile.json, and optionally sets up CI/CD integration.\n\n Uses the cradle/project-install process which covers: codebase analysis, project\n interview, profile creation, recommended plugin installation, hook configuration,\n and optional CI pipeline setup.\n\n Example: /babysitter:project-install\n (scans your repo: \"I see this is a Next.js 16 app with Tailwind, using vitest for\n tests and PostgreSQL. What are your main development goals for this project?\")\n\n\n/babysitter:retrospect [run id or name]\n Analyze a completed run to extract lessons and improve future runs. Reviews what\n happened (journal events, task results, timing, errors), evaluates the process that\n was followed, and suggests concrete improvements to process definitions, skills,\n and agents. Interactive -- multiple breakpoints let you steer the analysis and\n decide which improvements to implement.\n\n Covers: run result analysis, process effectiveness review, improvement suggestions,\n implementation of changes, and routing to /contrib if improvements belong in the\n shared process library.\n\n Example: /babysitter:retrospect\n (analyzes the last run: \"The API migration run completed but the 'verify parity'\n phase took 8 iterations because test assertions were too brittle. Suggestion: add\n a fuzzy comparison step before strict assertion. Implement this fix?\")\n\n\n/babysitter:plugins [action]\n Manage babysitter plugins: list installed plugins, browse marketplaces, install,\n update, configure, uninstall, or create new plugins. Plugins are version-managed\n instruction packages (not executable code) that guide the agent through install,\n configure, and uninstall steps via markdown files.\n\n Without arguments: shows installed plugins (name, version, marketplace, dates) and\n available marketplaces. With arguments: routes to the specific action.\n\n Key actions:\n - install <name> --global|--project: fetch install.md from marketplace and execute\n - configure <name> --global|--project: fetch configure.md and walk through options\n - update <name> --global|--project: resolve migration chain via BFS and apply steps\n - uninstall <name> --global|--project: fetch uninstall.md and execute removal\n - create: scaffold a new plugin package with the meta/plugin-creation process\n\n Example: /babysitter:plugins install sound-hooks --project\n (fetches sound-hooks from marketplace, reads install.md, walks you through player\n detection, sound selection, hook configuration, and registers in plugin-registry.json)\n\n\n/babysitter:contrib [feedback]\n Submit feedback or contribute to the babysitter project. Routes to the appropriate\n workflow based on what you want to do:\n\n Issue-based (opens GitHub issue in a5c-ai/babysitter):\n - Bug report: describe a bug in the SDK, CLI, or process library\n - Feature request: propose a new feature or enhancement\n - Documentation question: flag undocumented behavior or missing docs\n\n PR-based (forks repo, creates branch, submits PR):\n - Bugfix: you already have a fix ready\n - Feature implementation: you've built a new feature\n - Library contribution: new or improved process/skill/agent for the library\n - Harness integration: CI/CD or IDE integration\n\n Without arguments: shows all contribution types and helps you pick the right one.\n Breakpoints are placed before all GitHub actions (fork, star, PR, issue) so you\n can review before anything is submitted.\n\n Example: /babysitter:contrib bug report: plugin:update-registry fails when the\n marketplace hasn't been cloned yet, even though the registry update doesn't need\n marketplace access\n\n\n/babysitter:observe\n Launch the babysitter observer dashboard -- a real-time web UI that monitors active\n and past runs. Displays task progress, journal events, orchestration state, and\n effect status in your browser. Useful when running /yolo or /forever to watch\n progress without interrupting the run.\n\n How it works: Runs npx @a5c-ai/babysitter-observer-dashboard@latest which watches\n the .a5c/runs/ directory (or a parent directory containing multiple projects) and\n serves a live dashboard. The process is blocking -- it runs until you stop it, and\n it prints the local URL to share with the user.\n\n Example: /babysitter:observe\n (opens browser showing all runs with live-updating task\n status, journal event stream, and effect resolution timeline)\n```\n\n## if arguments provided:\n\nif the argument is \"command [command name]\", \"process [process name]\", \"skill [skill name]\", \"agent [agent name]\", or \"methodology [methodology name]\", then show the detailed documentation for that specific command, process, skill, agent, or methodology after reading the relevant files."
|
|
3
|
+
prompt = "## if no arguments provided:\n\nshow this message:\n\n```\nWelcome to the Babysitter Help Center! Here you can find documentation and guidance on how to use Babysitter effectively.\n\nDocumentation: Explore our comprehensive documentation to understand Babysitter's features, processes, skills, agents, and methodologies. Read the Docs: https://github.com/a5c-ai/babysitter\n\nOr ask specific questions about commands, processes, skills, agents, methodologies, domains, specialities to get targeted help.\n\nJust type /babysitter:help followed by your question or the topic you want to learn more about.\n\n\nPRIMARY COMMANDS\n================\n\n/babysitter:call [input]\n Start a babysitter-orchestrated run. Babysitter analyzes your request, interviews you\n to gather requirements, selects or creates the best process definition (from 50+\n domain-specific processes covering science, business, engineering, and more), then\n executes it step by step with breakpoints where you can steer direction.\n\n How it works: The babysitter skill reads your input, explores the process library to\n find matching processes, interviews you to refine scope, creates an SDK run with\n run:create, and orchestrates iterations with run:iterate -- dispatching tasks,\n handling breakpoints, and posting results until the run completes or you pause it.\n\n Example: /babysitter:call migrate our Express.js REST API to Fastify, keeping all\n existing routes and middleware behavior identical, with integration tests proving\n parity\n\n\n/babysitter:resume [run id or name]\n Resume a paused or interrupted babysitter run. If you don't specify a run, babysitter\n discovers all runs under .a5c/runs/, shows their status (created, waiting, completed,\n failed), and suggests which incomplete run to pick up based on its process, pending\n effects, and last activity.\n\n How it works: Reads run metadata and journal, rebuilds state cache if stale, identifies\n pending effects (breakpoints awaiting approval, tasks needing results), and continues\n orchestration from exactly where it left off -- no work is repeated thanks to the\n replay engine.\n\n Example: /babysitter:resume\n (discovers runs and offers: \"Run abc123 is waiting on a breakpoint in the 'review\n test results' phase of your API migration -- resume this one?\")\n\n\n/babysitter:yolo [input]\n Start a babysitter run in fully autonomous mode. Identical to /call but all breakpoints\n are auto-approved and no user interaction is requested. The babysitter makes every\n decision on its own until the run completes or hits a critical failure it can't recover\n from. Best for well-understood tasks where you trust the process.\n\n How it works: Same orchestration as /call, but the process context is configured to\n skip breakpoint effects -- instead of pausing for human approval, each breakpoint\n resolves immediately with an auto-approve result.\n\n Example: /babysitter:yolo add comprehensive unit tests for all functions in\n src/utils/ using vitest with >90% branch coverage\n\n\n/babysitter:plan [input]\n Generate a detailed execution plan without running anything. Babysitter goes through\n the full interview and process selection flow, designs the process definition with\n all tasks, breakpoints, and dependencies, but stops before creating the actual SDK run.\n You get a complete plan you can review, modify, or execute later with /call.\n\n How it works: Runs the babysitter skill's planning phase only -- analyzes input,\n matches to domain processes, interviews for requirements, then outputs the process\n definition file and a human-readable execution plan showing each phase, task, and\n decision point.\n\n Example: /babysitter:plan redesign our database schema to support multi-tenancy,\n migrate existing data, and update all queries -- I want to review the plan before\n we touch anything\n\n\n/babysitter:forever [input]\n Start a babysitter run that loops indefinitely with sleep intervals. Designed for\n ongoing operational tasks: monitoring, periodic maintenance, continuous improvement,\n or recurring workflows. The process uses an infinite loop with ctx.sleepUntil() to\n pause between iterations.\n\n How it works: Creates a process definition with a while(true) loop. Each cycle performs\n the task (e.g., check metrics, process tickets, run audits), then calls ctx.sleepUntil()\n to pause for a configured interval. The run stays in \"waiting\" state during sleep and\n resumes automatically when the sleep expires on the next orchestration iteration.\n\n Example: /babysitter:forever every 4 hours, check our GitHub issues labeled \"bug\",\n attempt to reproduce and fix any that look straightforward, and submit PRs for the fixes\n\n\nSECONDARY COMMANDS\n==================\n\n/babysitter:doctor [issue]\n Run a comprehensive 10-point health check on a babysitter run. Inspects journal\n integrity (checksum verification, sequence gaps, timestamp ordering), state cache\n consistency, stuck/errored effects, stale locks, session state, log files, disk usage,\n process validation, and hook execution health. Produces a structured diagnostic report\n with PASS/WARN/FAIL status per check and specific fix commands.\n\n If no run ID is provided, automatically targets the most recent run. Can also diagnose\n environment-wide issues like missing CLI, unregistered hooks, or plugin problems.\n\n Example: /babysitter:doctor\n (checks the latest run: \"CRITICAL -- Check 5 Lock Status: FAIL -- stale lock detected,\n process 12847 is no longer running. Fix: rm .a5c/runs/abc123/run.lock\")\n\n\n/babysitter:assimilate [target]\n Convert an external methodology, AI coding harness, or specification into native\n babysitter process definitions. Takes a GitHub repo URL, harness name, or spec file\n and produces a complete process package with skills/ and agents/ directories.\n\n Two workflows available:\n - Methodology assimilation: clones the repo, learns its procedures and commands,\n converts manual flows into babysitter processes with refactored skills and agents\n - Harness integration: wires babysitter's SDK into a specific AI coding tool\n (codex, opencode, gemini-cli, antigravity, etc.) so it can orchestrate runs\n\n Example: /babysitter:assimilate https://github.com/some-org/their-deployment-playbook\n (clones the repo, analyzes their deployment procedures, and generates babysitter\n processes that replicate the same workflow with proper task definitions and breakpoints)\n\n\n/babysitter:user-install\n First-time onboarding for new babysitter users. Installs dependencies, runs an\n interactive interview about your development specialties, preferred tools, coding\n style, and how much autonomy you want babysitter to have. Builds a user profile\n stored at ~/.a5c/user-profile.json that personalizes future runs.\n\n Uses the cradle/user-install process which covers: dependency verification, user\n interview (expertise areas, preferred languages, IDE, terminal setup), profile\n generation, tool configuration, and optional global plugin installation.\n\n Example: /babysitter:user-install\n (walks you through: \"What's your primary programming language? What frameworks do\n you use most? Do you prefer babysitter to auto-approve routine tasks or always ask?\")\n\n\n/babysitter:project-install\n Onboard a new or existing project for babysitter orchestration. Researches the\n codebase (reads package.json, scans directory structure, identifies frameworks and\n patterns), interviews you about project goals and workflows, generates a project\n profile at .a5c/project-profile.json, and optionally sets up CI/CD integration.\n\n Uses the cradle/project-install process which covers: codebase analysis, project\n interview, profile creation, recommended plugin installation, hook configuration,\n and optional CI pipeline setup.\n\n Example: /babysitter:project-install\n (scans your repo: \"I see this is a Next.js 16 app with Tailwind, using vitest for\n tests and PostgreSQL. What are your main development goals for this project?\")\n\n\n/babysitter:retrospect [run id or name]\n Analyze a completed run to extract lessons and improve future runs. Reviews what\n happened (journal events, task results, timing, errors), evaluates the process that\n was followed, and suggests concrete improvements to process definitions, skills,\n and agents. Interactive -- multiple breakpoints let you steer the analysis and\n decide which improvements to implement.\n\n Covers: run result analysis, process effectiveness review, improvement suggestions,\n implementation of changes, and routing to /contrib if improvements belong in the\n shared process library.\n\n Example: /babysitter:retrospect\n (analyzes the last run: \"The API migration run completed but the 'verify parity'\n phase took 8 iterations because test assertions were too brittle. Suggestion: add\n a fuzzy comparison step before strict assertion. Implement this fix?\")\n\n\n/babysitter:plugins [action]\n Manage babysitter plugins: list installed plugins, browse marketplaces, install,\n update, configure, uninstall, or create new plugins. Plugins are version-managed\n instruction packages (not executable code) that guide the agent through install,\n configure, and uninstall steps via markdown files.\n\n Without arguments: shows installed plugins (name, version, marketplace, dates) and\n available marketplaces. With arguments: routes to the specific action.\n\n Key actions:\n - install <name> --global|--project: fetch install.md from marketplace and execute\n - configure <name> --global|--project: fetch configure.md and walk through options\n - update <name> --global|--project: resolve migration chain via BFS and apply steps\n - uninstall <name> --global|--project: fetch uninstall.md and execute removal\n - create: scaffold a new plugin package with the meta/plugin-creation process\n\n Example: /babysitter:plugins install sound-hooks --project\n (fetches sound-hooks from marketplace, reads install.md, walks you through player\n detection, sound selection, hook configuration, and registers in plugin-registry.json)\n\n\n/babysitter:contrib [feedback]\n Submit feedback or contribute to the babysitter project. Routes to the appropriate\n workflow based on what you want to do:\n\n Issue-based (opens GitHub issue in a5c-ai/babysitter):\n - Bug report: describe a bug in the SDK, CLI, or process library\n - Feature request: propose a new feature or enhancement\n - Documentation question: flag undocumented behavior or missing docs\n\n PR-based (forks repo, creates branch, submits PR):\n - Bugfix: you already have a fix ready\n - Feature implementation: you've built a new feature\n - Library contribution: new or improved process/skill/agent for the library\n - Harness integration: CI/CD or IDE integration\n\n Without arguments: shows all contribution types and helps you pick the right one.\n Breakpoints are placed before all GitHub actions (fork, star, PR, issue) so you\n can review before anything is submitted.\n\n Example: /babysitter:contrib bug report: plugin:update-registry fails when the\n marketplace hasn't been cloned yet, even though the registry update doesn't need\n marketplace access\n\n\n/babysitter:observe\n Launch the babysitter observer dashboard -- a real-time web UI that monitors active\n and past runs. Displays task progress, journal events, orchestration state, and\n effect status in your browser. Useful when running /yolo or /forever to watch\n progress without interrupting the run.\n\n How it works: Runs npx @a5c-ai/babysitter-observer-dashboard@latest which watches\n the .a5c/runs/ directory (or a parent directory containing multiple projects) and\n serves a live dashboard. The process is blocking -- it runs until you stop it, and\n it prints the local URL to share with the user. Do not use `babysitter observe`\n as a fallback; the core Babysitter CLI does not expose that subcommand.\n\n Example: /babysitter:observe\n (opens browser showing all runs with live-updating task\n status, journal event stream, and effect resolution timeline)\n```\n\n## if arguments provided:\n\nif the argument is \"command [command name]\", \"process [process name]\", \"skill [skill name]\", \"agent [agent name]\", or \"methodology [methodology name]\", then show the detailed documentation for that specific command, process, skill, agent, or methodology after reading the relevant files."
|
package/commands/observe.toml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
description = "Launch the babysitter observer dashboard. Installs and runs the real-time observer UI that watches babysitter runs, displaying task progress, journal events, and orchestration state in your browser."
|
|
2
2
|
|
|
3
|
-
prompt = "Run the babysitter observer dashboard:\n\n1. Determine the watch directory — this is usually the project's container directory (the parent of the project dir), or the current working directory if not specified.\n2. Launch the dashboard: `npx -y @a5c-ai/babysitter-observer-dashboard@latest --watch-dir <dir
|
|
3
|
+
prompt = "Run the babysitter observer dashboard:\n\n1. Determine the watch directory — this is usually the project's container directory (the parent of the project dir), or the current working directory if not specified.\n2. Launch the standalone dashboard package: `npx -y @a5c-ai/babysitter-observer-dashboard@latest --watch-dir <dir>`.\n3. This is a blocking process — it will keep running until stopped.\n4. Report the URL printed by the dashboard to the user, then open it in the browser.\n\nDo not fall back to `babysitter observe`; the core Babysitter CLI does not expose\nthat subcommand. Some harness runtimes may provide a separate\n`agent-platform observe` surface, but this skill uses the verified standalone\ndashboard package."
|
package/commands/yolo.toml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
description = "Orchestrate a babysitter run. use this command to start babysitting a complex workflow in a non-interactive mode, without any user interaction or breakpoints in the run."
|
|
2
2
|
|
|
3
|
-
prompt = "
|
|
3
|
+
prompt = "Run the Babysitter orchestration instructions directly through the CLI, without any user interaction or breakpoints. In Claude Code, use Bash to run `babysitter instructions:babysit-skill --harness claude-code --no-interactive`; in Codex, run `babysitter instructions:babysit-skill --harness codex --no-interactive`; in other harnesses, use the same command with that harness id. Then follow the returned instructions in this same turn until completion proof is produced. Do not stop after reading the instructions, do not invoke the Skill tool first, and use the non-interactive/no-breakpoints path when the instructions offer a mode choice.\n\nUser arguments for this command:\n\n$ARGUMENTS"
|
package/hooks/hooks.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{
|
|
8
8
|
"name": "babysitter-session-start",
|
|
9
9
|
"type": "command",
|
|
10
|
-
"command": "
|
|
10
|
+
"command": "a5c-hooks-mux invoke --adapter gemini --handler \"bash ${GEMINI_EXTENSION_PATH}/hooks/babysitter-proxied-session-start.sh\" --json",
|
|
11
11
|
"timeout": 30000,
|
|
12
12
|
"description": "babysitter SessionStart hook"
|
|
13
13
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
{
|
|
21
21
|
"name": "babysitter-user-prompt-submit",
|
|
22
22
|
"type": "command",
|
|
23
|
-
"command": "
|
|
23
|
+
"command": "a5c-hooks-mux invoke --adapter gemini --handler \"bash ${GEMINI_EXTENSION_PATH}/hooks/babysitter-proxied-user-prompt-submit.sh\" --json",
|
|
24
24
|
"timeout": 30000,
|
|
25
25
|
"description": "babysitter UserPromptSubmit hook"
|
|
26
26
|
}
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
{
|
|
34
34
|
"name": "babysitter-pre-tool-use",
|
|
35
35
|
"type": "command",
|
|
36
|
-
"command": "
|
|
36
|
+
"command": "a5c-hooks-mux invoke --adapter gemini --handler \"bash ${GEMINI_EXTENSION_PATH}/hooks/babysitter-proxied-before-tool.sh\" --json",
|
|
37
37
|
"timeout": 30000,
|
|
38
38
|
"description": "babysitter PreToolUse hook"
|
|
39
39
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
{
|
|
47
47
|
"name": "babysitter-post-tool-use",
|
|
48
48
|
"type": "command",
|
|
49
|
-
"command": "
|
|
49
|
+
"command": "a5c-hooks-mux invoke --adapter gemini --handler \"bash ${GEMINI_EXTENSION_PATH}/hooks/babysitter-proxied-after-tool.sh\" --json",
|
|
50
50
|
"timeout": 30000,
|
|
51
51
|
"description": "babysitter PostToolUse hook"
|
|
52
52
|
}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
{
|
|
60
60
|
"name": "babysitter-pre-compact",
|
|
61
61
|
"type": "command",
|
|
62
|
-
"command": "
|
|
62
|
+
"command": "a5c-hooks-mux invoke --adapter gemini --handler \"bash ${GEMINI_EXTENSION_PATH}/hooks/babysitter-proxied-pre-compact.sh\" --json",
|
|
63
63
|
"timeout": 30000,
|
|
64
64
|
"description": "babysitter PreCompact hook"
|
|
65
65
|
}
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
{
|
|
73
73
|
"name": "babysitter-after-agent",
|
|
74
74
|
"type": "command",
|
|
75
|
-
"command": "
|
|
75
|
+
"command": "a5c-hooks-mux invoke --adapter gemini --handler \"bash ${GEMINI_EXTENSION_PATH}/hooks/babysitter-proxied-after-agent.sh\" --json",
|
|
76
76
|
"timeout": 30000,
|
|
77
77
|
"description": "babysitter AfterAgent hook"
|
|
78
78
|
}
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
{
|
|
86
86
|
"name": "babysitter-session-end",
|
|
87
87
|
"type": "command",
|
|
88
|
-
"command": "
|
|
88
|
+
"command": "a5c-hooks-mux invoke --adapter gemini --handler \"bash ${GEMINI_EXTENSION_PATH}/hooks/babysitter-proxied-session-end.sh\" --json",
|
|
89
89
|
"timeout": 30000,
|
|
90
90
|
"description": "babysitter SessionEnd hook"
|
|
91
91
|
}
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
{
|
|
99
99
|
"name": "babysitter-session-idle",
|
|
100
100
|
"type": "command",
|
|
101
|
-
"command": "
|
|
101
|
+
"command": "a5c-hooks-mux invoke --adapter gemini --handler \"bash ${GEMINI_EXTENSION_PATH}/hooks/babysitter-proxied-session-idle.sh\" --json",
|
|
102
102
|
"timeout": 30000,
|
|
103
103
|
"description": "babysitter SessionIdle hook"
|
|
104
104
|
}
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
{
|
|
112
112
|
"name": "babysitter-shell-env",
|
|
113
113
|
"type": "command",
|
|
114
|
-
"command": "
|
|
114
|
+
"command": "a5c-hooks-mux invoke --adapter gemini --handler \"bash ${GEMINI_EXTENSION_PATH}/hooks/babysitter-proxied-shell-env.sh\" --json",
|
|
115
115
|
"timeout": 30000,
|
|
116
116
|
"description": "babysitter ShellEnv hook"
|
|
117
117
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@a5c-ai/babysitter-gemini-cli",
|
|
3
|
-
"version": "5.0.1-staging.
|
|
3
|
+
"version": "5.0.1-staging.7495ef6c9fa0",
|
|
4
4
|
"description": "Orchestrate complex, multi-step workflows with event-sourced state management, hook-based extensibility, and human-in-the-loop approval",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"deploy": "npm publish --access public",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@a5c-ai/babysitter-sdk": "5.0.1-staging.
|
|
37
|
+
"@a5c-ai/babysitter-sdk": "5.0.1-staging.7495ef6c9fa0"
|
|
38
38
|
},
|
|
39
39
|
"repository": {
|
|
40
40
|
"type": "git",
|
package/plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babysitter",
|
|
3
|
-
"version": "5.0.1-staging.
|
|
3
|
+
"version": "5.0.1-staging.7495ef6c9fa0",
|
|
4
4
|
"description": "Orchestrate complex, multi-step workflows with event-sourced state management, hook-based extensibility, and human-in-the-loop approval",
|
|
5
5
|
"author": "a5c.ai",
|
|
6
6
|
"license": "MIT",
|
package/skills/babysit/SKILL.md
CHANGED
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: babysit
|
|
3
|
-
description:
|
|
3
|
+
description: Execute via @babysitter. Use this skill when asked to babysit a task, do anything that is structured process-driven (even a loop) or whenever it is called explicitly. (babysit, babysitter, with a process, orchestrate, orchestrate a run, workflow, loop until, etc.)
|
|
4
4
|
allowed-tools: Read, Grep, Write, Task, Bash, Edit, Grep, Glob, WebFetch, WebSearch, Search, AskUserQuestion, TodoWrite, TodoRead, Skill, BashOutput, KillShell, MultiEdit, LS
|
|
5
5
|
version: 0.1.3
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# babysit
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Follow the commands below exactly. but apply judgement and creativity to get the job done. no matter how small or simple the task may seem, you must use the babysitter SDK and run lifecycle to execute it. This is non-negotiable. If you are asked to do something that seems like it could be done with a simple tool call, you must still use the babysitter SDK to create a run, define tasks, execute them, and complete the run. This is how you will learn and demonstrate mastery of the babysitter system. Always follow the full process, even for trivial tasks.
|
|
11
|
+
|
|
12
|
+
Subagents that need a scratch checkout or working directory must create it under
|
|
13
|
+
`/tmp/<descriptive-name>/`, not under `.a5c/runs/<runId>/work`. Before returning
|
|
14
|
+
deliverables, validate that no run-dir worktree was left behind, for example:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
find .a5c/runs -maxdepth 3 -name work -type d -print
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
That command should print nothing. If it prints a non-empty work directory, move
|
|
21
|
+
or remove only the scratch data you created before returning.
|
|
11
22
|
|
|
12
23
|
## Dependencies
|
|
13
24
|
|
|
@@ -17,11 +28,13 @@ Read the SDK version from `versions.json` to ensure version compatibility:
|
|
|
17
28
|
|
|
18
29
|
```bash
|
|
19
30
|
SDK_VERSION=$(node -e "try{console.log(JSON.parse(require('fs').readFileSync('${CLAUDE_PLUGIN_ROOT}/versions.json','utf8')).sdkVersion||'latest')}catch{console.log('latest')}")
|
|
20
|
-
npm i -g @a5c-ai/babysitter-sdk@$SDK_VERSION
|
|
31
|
+
npm i -g @a5c-ai/babysitter-sdk@$SDK_VERSION || npm i -g @a5c-ai/babysitter-sdk@latest
|
|
21
32
|
|
|
22
33
|
CLI="npx -y @a5c-ai/babysitter-sdk@$SDK_VERSION"
|
|
23
34
|
```
|
|
24
35
|
|
|
36
|
+
If the pinned version fails to install (e.g. not yet published), the fallback installs `latest`.
|
|
37
|
+
|
|
25
38
|
If `babysitter` is already installed globally at the correct version, you may use `CLI="babysitter"` instead.
|
|
26
39
|
|
|
27
40
|
### jq
|
|
@@ -30,7 +43,7 @@ Make sure `jq` is installed and available in the path. If not, install it.
|
|
|
30
43
|
|
|
31
44
|
## Instructions
|
|
32
45
|
|
|
33
|
-
Run the following command to get full
|
|
46
|
+
Run the following command to get full instructions:
|
|
34
47
|
|
|
35
48
|
```bash
|
|
36
49
|
$CLI instructions:babysit-skill --harness claude-code --interactive
|
package/versions.json
CHANGED