@a5c-ai/babysitter-omp 0.1.4-staging.e72bed21 → 0.1.4-staging.ee1aa82e
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 +2 -0
- package/package.json +2 -2
- package/scripts/sync-command-docs.cjs +2 -0
- package/skills/babysit/SKILL.md +2 -0
- package/versions.json +1 -1
package/README.md
CHANGED
|
@@ -80,6 +80,8 @@ Read the pinned SDK version from `versions.json` when you need a local CLI:
|
|
|
80
80
|
```bash
|
|
81
81
|
PLUGIN_ROOT="${OMP_PLUGIN_ROOT:-$(pwd)}"
|
|
82
82
|
SDK_VERSION=$(node -e "try{const fs=require('fs');const path=require('path');const pluginRoot=process.env.OMP_PLUGIN_ROOT||process.env.PLUGIN_ROOT||process.cwd();const probes=[path.join(pluginRoot,'versions.json'),path.join(pluginRoot,'plugins','babysitter-omp','versions.json'),path.join(pluginRoot,'node_modules','@a5c-ai','babysitter-omp','versions.json'),path.join(process.cwd(),'node_modules','@a5c-ai','babysitter-omp','versions.json')];for(const probe of probes){if(fs.existsSync(probe)){console.log(JSON.parse(fs.readFileSync(probe,'utf8')).sdkVersion||'latest');process.exit(0)}}console.log('latest')}catch{console.log('latest')}")
|
|
83
|
+
npm i -g @a5c-ai/babysitter-sdk@$SDK_VERSION
|
|
84
|
+
|
|
83
85
|
CLI="npx -y @a5c-ai/babysitter-sdk@$SDK_VERSION"
|
|
84
86
|
```
|
|
85
87
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@a5c-ai/babysitter-omp",
|
|
3
|
-
"version": "0.1.4-staging.
|
|
3
|
+
"version": "0.1.4-staging.ee1aa82e",
|
|
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.188-staging.
|
|
22
|
+
"@a5c-ai/babysitter-sdk": "0.0.188-staging.ee1aa82e"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@oh-my-pi/pi-coding-agent": "*"
|
|
@@ -34,6 +34,8 @@ Read the SDK version from \`versions.json\` to ensure version compatibility:
|
|
|
34
34
|
\`\`\`bash
|
|
35
35
|
PLUGIN_ROOT="\${OMP_PLUGIN_ROOT:-\$(pwd)}"
|
|
36
36
|
SDK_VERSION=$(node -e "try{const fs=require('fs');const path=require('path');const pluginRoot=process.env.OMP_PLUGIN_ROOT||process.env.PLUGIN_ROOT||process.cwd();const probes=[path.join(pluginRoot,'versions.json'),path.join(pluginRoot,'plugins','babysitter-omp','versions.json'),path.join(pluginRoot,'node_modules','@a5c-ai','babysitter-omp','versions.json'),path.join(process.cwd(),'node_modules','@a5c-ai','babysitter-omp','versions.json')];for(const probe of probes){if(fs.existsSync(probe)){console.log(JSON.parse(fs.readFileSync(probe,'utf8')).sdkVersion||'latest');process.exit(0)}}console.log('latest')}catch{console.log('latest')}")
|
|
37
|
+
npm i -g @a5c-ai/babysitter-sdk@$SDK_VERSION
|
|
38
|
+
|
|
37
39
|
CLI="npx -y @a5c-ai/babysitter-sdk@$SDK_VERSION"
|
|
38
40
|
\`\`\`
|
|
39
41
|
|
package/skills/babysit/SKILL.md
CHANGED
|
@@ -16,6 +16,8 @@ Read the SDK version from `versions.json` to ensure version compatibility:
|
|
|
16
16
|
```bash
|
|
17
17
|
PLUGIN_ROOT="${OMP_PLUGIN_ROOT:-$(pwd)}"
|
|
18
18
|
SDK_VERSION=$(node -e "try{const fs=require('fs');const path=require('path');const pluginRoot=process.env.OMP_PLUGIN_ROOT||process.env.PLUGIN_ROOT||process.cwd();const probes=[path.join(pluginRoot,'versions.json'),path.join(pluginRoot,'plugins','babysitter-omp','versions.json'),path.join(pluginRoot,'node_modules','@a5c-ai','babysitter-omp','versions.json'),path.join(process.cwd(),'node_modules','@a5c-ai','babysitter-omp','versions.json')];for(const probe of probes){if(fs.existsSync(probe)){console.log(JSON.parse(fs.readFileSync(probe,'utf8')).sdkVersion||'latest');process.exit(0)}}console.log('latest')}catch{console.log('latest')}")
|
|
19
|
+
npm i -g @a5c-ai/babysitter-sdk@$SDK_VERSION
|
|
20
|
+
|
|
19
21
|
CLI="npx -y @a5c-ai/babysitter-sdk@$SDK_VERSION"
|
|
20
22
|
```
|
|
21
23
|
|
package/versions.json
CHANGED