@a5c-ai/babysitter-codex 5.0.1-staging.71bb37a4 → 5.0.1-staging.75c8fb21

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.
@@ -1,34 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
-
4
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
5
- PLUGIN_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
6
- GLOBAL_ROOT="${BABYSITTER_GLOBAL_STATE_DIR:-$HOME/.a5c}"
7
- STATE_DIR="${BABYSITTER_STATE_DIR:-${GLOBAL_ROOT}/state}"
8
- LOG_DIR="${BABYSITTER_LOG_DIR:-${GLOBAL_ROOT}/logs}"
9
-
10
- export CODEX_PLUGIN_ROOT="${CODEX_PLUGIN_ROOT:-${PLUGIN_ROOT}}"
11
- export BABYSITTER_STATE_DIR="${STATE_DIR}"
12
-
13
- mkdir -p "$LOG_DIR" 2>/dev/null
14
-
15
- INPUT_FILE=$(mktemp 2>/dev/null || echo "/tmp/codex-user-prompt-submit-hook-$$.json")
16
- cat > "$INPUT_FILE"
17
-
18
- babysitter log --type hook --label "hook:user-prompt-submit" --message "Hook invoked" --source shell-hook 2>/dev/null || true
19
-
20
- RESULT=$(babysitter hook:run \
21
- --hook-type user-prompt-submit \
22
- --harness codex \
23
- --plugin-root "${CODEX_PLUGIN_ROOT}" \
24
- --state-dir "${BABYSITTER_STATE_DIR}" \
25
- < "$INPUT_FILE" 2>"$LOG_DIR/babysitter-user-prompt-submit-hook-stderr.log")
26
- EXIT_CODE=$?
27
-
28
- babysitter log --type hook --label "hook:user-prompt-submit" --message "CLI exit code=$EXIT_CODE" --source shell-hook 2>/dev/null || true
29
-
30
- rm -f "$INPUT_FILE" 2>/dev/null
31
- if [ -n "$RESULT" ]; then
32
- printf '%s\n' "$RESULT"
33
- fi
34
- exit $EXIT_CODE
@@ -1,16 +0,0 @@
1
- ---
2
- name: issue
3
- description: Run an issue-centric Babysitter workflow.
4
- ---
5
-
6
- # issue
7
-
8
- Load and use the installed `babysit` skill.
9
-
10
- Resolve the request in `issue` mode:
11
-
12
- - treat everything after `$issue` as the issue selector and any extra issue-mode
13
- instructions
14
- - focus on the issue-driven orchestration flow
15
- - do not create a separate command surface here; this skill only forwards into
16
- `babysit`
@@ -1,15 +0,0 @@
1
- ---
2
- name: model
3
- description: Inspect or change Babysitter model-routing policy by phase.
4
- ---
5
-
6
- # model
7
-
8
- Load and use the installed `babysit` skill.
9
-
10
- Resolve the request in `model` mode:
11
-
12
- - treat everything after `$model` as the model-routing request
13
- - focus on showing, clearing, or setting model-routing policy by phase
14
- - do not create a separate command surface here; this skill only forwards into
15
- `babysit`
@@ -1,15 +0,0 @@
1
- ---
2
- name: team-install
3
- description: Install the team-pinned Babysitter Codex workspace setup.
4
- ---
5
-
6
- # team-install
7
-
8
- Load and use the installed `babysit` skill.
9
-
10
- Resolve the request in `team-install` mode:
11
-
12
- - treat everything after `$team-install` as team-install arguments or intent
13
- - focus on shared workspace setup and team-pinned configuration
14
- - do not create a separate command surface here; this skill only forwards into
15
- `babysit`