@a5c-ai/babysitter-cursor 0.1.4-staging.fd09e30e → 0.1.5-staging.06ee31ad
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 +5 -17
- package/package.json +2 -2
- package/skills/babysit/SKILL.md +8 -15
- package/versions.json +1 -1
package/README.md
CHANGED
|
@@ -34,20 +34,10 @@ Install through Cursor's marketplace UI using the repo-root
|
|
|
34
34
|
2. Open the marketplace entry named **a5c-ai**
|
|
35
35
|
3. Install the plugin named **babysitter**
|
|
36
36
|
|
|
37
|
-
### Via Babysitter
|
|
38
|
-
|
|
39
|
-
This path installs the Babysitter plugin package named
|
|
40
|
-
`babysitter-cursor` from the SDK marketplace, not the Cursor UI plugin
|
|
41
|
-
entry:
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
babysitter plugin:install babysitter-cursor --marketplace-name a5c-ai --global
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Workspace installation
|
|
37
|
+
### Via Babysitter harness install
|
|
48
38
|
|
|
49
39
|
```bash
|
|
50
|
-
babysitter
|
|
40
|
+
babysitter harness:install-plugin cursor
|
|
51
41
|
```
|
|
52
42
|
|
|
53
43
|
If the workspace does not already have an active process-library binding, the
|
|
@@ -91,10 +81,10 @@ ln -s "$(pwd)/plugins/babysitter-cursor" ~/.cursor/plugins/local/babysitter-curs
|
|
|
91
81
|
babysitter-cursor uninstall
|
|
92
82
|
```
|
|
93
83
|
|
|
94
|
-
Or via
|
|
84
|
+
Or via npm:
|
|
95
85
|
|
|
96
86
|
```bash
|
|
97
|
-
|
|
87
|
+
npm uninstall -g @a5c-ai/babysitter-cursor
|
|
98
88
|
```
|
|
99
89
|
|
|
100
90
|
## Plugin Structure (Directory Layout)
|
|
@@ -362,9 +352,7 @@ The repo-root Cursor marketplace manifest lives at `/.cursor-plugin/marketplace.
|
|
|
362
352
|
### User Commands
|
|
363
353
|
|
|
364
354
|
```bash
|
|
365
|
-
babysitter
|
|
366
|
-
babysitter plugin:list-plugins --marketplace-name a5c-ai --global
|
|
367
|
-
babysitter plugin:install babysitter-cursor --marketplace-name a5c-ai --global
|
|
355
|
+
babysitter harness:install-plugin cursor
|
|
368
356
|
```
|
|
369
357
|
|
|
370
358
|
## Troubleshooting
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@a5c-ai/babysitter-cursor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5-staging.06ee31ad",
|
|
4
4
|
"description": "Babysitter orchestration plugin for Cursor IDE with SDK-managed process-library bootstrapping and in-turn iteration model",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "node scripts/sync-command-surfaces.js --check",
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://github.com/a5c-ai/babysitter/tree/main/plugins/babysitter-cursor#readme",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@a5c-ai/babysitter-sdk": "0.0.
|
|
47
|
+
"@a5c-ai/babysitter-sdk": "0.0.188-staging.06ee31ad"
|
|
48
48
|
}
|
|
49
49
|
}
|
package/skills/babysit/SKILL.md
CHANGED
|
@@ -18,28 +18,21 @@ Read the SDK version from `versions.json` to ensure version compatibility:
|
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
SDK_VERSION=$(node -e "try{console.log(JSON.parse(require('fs').readFileSync('${PLUGIN_ROOT}/versions.json','utf8')).sdkVersion||'latest')}catch{console.log('latest')}")
|
|
21
|
+
CLI="npx -y @a5c-ai/babysitter-sdk@$SDK_VERSION"
|
|
21
22
|
```
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
sudo npm i -g @a5c-ai/babysitter-sdk@$SDK_VERSION
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Use the CLI alias: `CLI="babysitter"`
|
|
30
|
-
|
|
31
|
-
**Alternatively:** `CLI="npx -y @a5c-ai/babysitter-sdk@$SDK_VERSION"`
|
|
24
|
+
If `babysitter` is already installed globally at the correct version, you may use `CLI="babysitter"` instead.
|
|
32
25
|
|
|
33
26
|
### jq
|
|
34
27
|
|
|
35
|
-
|
|
28
|
+
Make sure `jq` is installed and available in the path. If not, install it.
|
|
36
29
|
|
|
37
30
|
## Instructions
|
|
38
31
|
|
|
39
32
|
Run the following command to get full orchestration instructions:
|
|
40
33
|
|
|
41
34
|
```bash
|
|
42
|
-
|
|
35
|
+
$CLI instructions:babysit-skill --harness cursor --json
|
|
43
36
|
```
|
|
44
37
|
|
|
45
38
|
Follow the instructions returned by the command above to orchestrate the run.
|
|
@@ -53,9 +46,9 @@ automatically re-enter the orchestration loop.
|
|
|
53
46
|
Therefore, you MUST use **in-turn iteration**: run the full orchestration loop
|
|
54
47
|
within a single session turn. The pattern is:
|
|
55
48
|
|
|
56
|
-
1.
|
|
49
|
+
1. `$CLI run:iterate --json` -- get pending actions
|
|
57
50
|
2. For each pending action: execute it (run tasks, post results via `task:post`)
|
|
58
|
-
3.
|
|
51
|
+
3. `$CLI run:iterate --json` -- check for more pending actions
|
|
59
52
|
4. Repeat steps 2-3 until run completes or reaches a breakpoint requiring user input
|
|
60
53
|
5. If a breakpoint requires user input, ask the user and post the response, then continue iterating
|
|
61
54
|
|
|
@@ -67,7 +60,7 @@ the orchestration loop. The agent drives the loop directly by calling
|
|
|
67
60
|
|
|
68
61
|
```bash
|
|
69
62
|
# Initial iterate
|
|
70
|
-
RESULT=$(
|
|
63
|
+
RESULT=$($CLI run:iterate --run-id "$RUN_ID" --json)
|
|
71
64
|
STATUS=$(echo "$RESULT" | jq -r '.status')
|
|
72
65
|
|
|
73
66
|
while [ "$STATUS" != "completed" ] && [ "$STATUS" != "failed" ]; do
|
|
@@ -75,7 +68,7 @@ while [ "$STATUS" != "completed" ] && [ "$STATUS" != "failed" ]; do
|
|
|
75
68
|
# ... execute tasks, post results ...
|
|
76
69
|
|
|
77
70
|
# Iterate again
|
|
78
|
-
RESULT=$(
|
|
71
|
+
RESULT=$($CLI run:iterate --run-id "$RUN_ID" --json)
|
|
79
72
|
STATUS=$(echo "$RESULT" | jq -r '.status')
|
|
80
73
|
done
|
|
81
74
|
```
|
package/versions.json
CHANGED