@a5c-ai/babysitter-cursor 0.1.5-staging.d89c1dea → 0.1.5-staging.dbfc37c4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a5c-ai/babysitter-cursor",
3
- "version": "0.1.5-staging.d89c1dea",
3
+ "version": "0.1.5-staging.dbfc37c4",
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.188-staging.d89c1dea"
47
+ "@a5c-ai/babysitter-sdk": "0.0.188-staging.dbfc37c4"
48
48
  }
49
49
  }
@@ -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
- Then ensure the CLI is installed:
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
- make sure you have jq installed and available in the path. if not, install it.
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
- babysitter instructions:babysit-skill --harness cursor --json
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. `babysitter run:iterate --json` -- get pending actions
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. `babysitter run:iterate --json` -- check for more pending actions
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=$(babysitter run:iterate --run-id "$RUN_ID" --json)
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=$(babysitter run:iterate --run-id "$RUN_ID" --json)
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
@@ -1,3 +1,3 @@
1
1
  {
2
- "sdkVersion": "0.0.188-staging.d89c1dea"
2
+ "sdkVersion": "0.0.188-staging.dbfc37c4"
3
3
  }