@a5c-ai/babysitter-omp 0.1.3 → 0.1.4-staging.6342f2b1
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/commands/doctor.md +9 -9
- package/package.json +2 -2
- package/skills/doctor/SKILL.md +9 -9
- package/versions.json +1 -1
package/commands/doctor.md
CHANGED
|
@@ -177,13 +177,13 @@ Mark as PASS if no issues. Mark as WARN if runaway loops or stale sessions detec
|
|
|
177
177
|
**Goal:** Analyze babysitter log files for errors, warnings, and stop hook decisions.
|
|
178
178
|
|
|
179
179
|
Read the last 50 lines of each of these log files (if they exist):
|
|
180
|
-
- `$
|
|
181
|
-
- `$
|
|
182
|
-
- `$
|
|
183
|
-
- `$
|
|
184
|
-
- `$
|
|
185
|
-
- `$
|
|
186
|
-
- `$HOME/.a5c/logs/` and relevant
|
|
180
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/hooks.log`
|
|
181
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter-stop-hook.log`
|
|
182
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter-stop-hook-stderr.log`
|
|
183
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter-session-start-hook.log`
|
|
184
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter-session-start-hook-stderr.log`
|
|
185
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter.log`
|
|
186
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/` and relevant run/session specific logs there
|
|
187
187
|
|
|
188
188
|
|
|
189
189
|
For each log file:
|
|
@@ -285,7 +285,7 @@ The hooks delegate to the `babysitter` CLI. Check if it is available:
|
|
|
285
285
|
Check whether the stop hook has actually been invoked during this run's lifetime:
|
|
286
286
|
|
|
287
287
|
**From log files:**
|
|
288
|
-
- Read `$
|
|
288
|
+
- Read `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter-stop-hook.log` (if it exists).
|
|
289
289
|
- Count the number of "Hook script invoked" lines. This is the total invocation count.
|
|
290
290
|
- Count the number of "CLI exit code=" lines and extract exit codes.
|
|
291
291
|
- If the log file does not exist or has zero invocations, the stop hook has NOT been running.
|
|
@@ -297,7 +297,7 @@ Check whether the stop hook has actually been invoked during this run's lifetime
|
|
|
297
297
|
- If no STOP_HOOK_INVOKED events exist in the journal, note that the stop hook has not recorded any decisions for this run.
|
|
298
298
|
|
|
299
299
|
**From stderr:**
|
|
300
|
-
- Read `$
|
|
300
|
+
- Read `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter-stop-hook-stderr.log`.
|
|
301
301
|
- If it contains error output, display it and diagnose:
|
|
302
302
|
- "command not found" or exit code 127 → CLI not installed (see 10c)
|
|
303
303
|
- "MODULE_NOT_FOUND" or "Cannot find module" → SDK package corrupted or not built
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@a5c-ai/babysitter-omp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4-staging.6342f2b1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Babysitter package for oh-my-pi",
|
|
6
6
|
"keywords": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@a5c-ai/babysitter-sdk": "0.0.
|
|
22
|
+
"@a5c-ai/babysitter-sdk": "0.0.188-staging.6342f2b1"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@oh-my-pi/pi-coding-agent": "*"
|
package/skills/doctor/SKILL.md
CHANGED
|
@@ -178,13 +178,13 @@ Mark as PASS if no issues. Mark as WARN if runaway loops or stale sessions detec
|
|
|
178
178
|
**Goal:** Analyze babysitter log files for errors, warnings, and stop hook decisions.
|
|
179
179
|
|
|
180
180
|
Read the last 50 lines of each of these log files (if they exist):
|
|
181
|
-
- `$
|
|
182
|
-
- `$
|
|
183
|
-
- `$
|
|
184
|
-
- `$
|
|
185
|
-
- `$
|
|
186
|
-
- `$
|
|
187
|
-
- `$HOME/.a5c/logs/` and relevant
|
|
181
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/hooks.log`
|
|
182
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter-stop-hook.log`
|
|
183
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter-stop-hook-stderr.log`
|
|
184
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter-session-start-hook.log`
|
|
185
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter-session-start-hook-stderr.log`
|
|
186
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter.log`
|
|
187
|
+
- `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/` and relevant run/session specific logs there
|
|
188
188
|
|
|
189
189
|
|
|
190
190
|
For each log file:
|
|
@@ -286,7 +286,7 @@ The hooks delegate to the `babysitter` CLI. Check if it is available:
|
|
|
286
286
|
Check whether the stop hook has actually been invoked during this run's lifetime:
|
|
287
287
|
|
|
288
288
|
**From log files:**
|
|
289
|
-
- Read `$
|
|
289
|
+
- Read `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter-stop-hook.log` (if it exists).
|
|
290
290
|
- Count the number of "Hook script invoked" lines. This is the total invocation count.
|
|
291
291
|
- Count the number of "CLI exit code=" lines and extract exit codes.
|
|
292
292
|
- If the log file does not exist or has zero invocations, the stop hook has NOT been running.
|
|
@@ -298,7 +298,7 @@ Check whether the stop hook has actually been invoked during this run's lifetime
|
|
|
298
298
|
- If no STOP_HOOK_INVOKED events exist in the journal, note that the stop hook has not recorded any decisions for this run.
|
|
299
299
|
|
|
300
300
|
**From stderr:**
|
|
301
|
-
- Read `$
|
|
301
|
+
- Read `${BABYSITTER_LOG_DIR:-$HOME/.a5c/logs}/babysitter-stop-hook-stderr.log`.
|
|
302
302
|
- If it contains error output, display it and diagnose:
|
|
303
303
|
- "command not found" or exit code 127 → CLI not installed (see 10c)
|
|
304
304
|
- "MODULE_NOT_FOUND" or "Cannot find module" → SDK package corrupted or not built
|
package/versions.json
CHANGED