@a5c-ai/babysitter-pi 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 +0 -10
- package/package.json +2 -2
- package/scripts/sync-command-docs.cjs +1 -0
- package/skills/babysit/SKILL.md +1 -0
- package/versions.json +1 -1
package/README.md
CHANGED
|
@@ -80,16 +80,6 @@ plugins/babysitter-pi/
|
|
|
80
80
|
`-- scripts/
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
## SDK Setup
|
|
84
|
-
|
|
85
|
-
Read the pinned SDK version from `versions.json` when you need a local CLI:
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
PLUGIN_ROOT="${PI_PLUGIN_ROOT:-$(pwd)}"
|
|
89
|
-
SDK_VERSION=$(node -e "try{const fs=require('fs');const path=require('path');const pluginRoot=process.env.PI_PLUGIN_ROOT||process.env.PLUGIN_ROOT||process.cwd();const probes=[path.join(pluginRoot,'versions.json'),path.join(pluginRoot,'plugins','babysitter-pi','versions.json'),path.join(pluginRoot,'node_modules','@a5c-ai','babysitter-pi','versions.json'),path.join(process.cwd(),'node_modules','@a5c-ai','babysitter-pi','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')}")
|
|
90
|
-
CLI="npx -y @a5c-ai/babysitter-sdk@$SDK_VERSION"
|
|
91
|
-
```
|
|
92
|
-
|
|
93
83
|
## Marketplace And Distribution
|
|
94
84
|
|
|
95
85
|
Pi discovers this package through its native package installation flow. Publish
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@a5c-ai/babysitter-pi",
|
|
3
|
-
"version": "0.1.4-staging.
|
|
3
|
+
"version": "0.1.4-staging.ee1aa82e",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Babysitter package for Pi Coding Agent",
|
|
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
|
"@mariozechner/pi-coding-agent": "*"
|
|
@@ -34,6 +34,7 @@ Read the SDK version from \`versions.json\` to ensure version compatibility:
|
|
|
34
34
|
\`\`\`bash
|
|
35
35
|
PLUGIN_ROOT="\${PI_PLUGIN_ROOT:-\$(pwd)}"
|
|
36
36
|
SDK_VERSION=$(node -e "try{const fs=require('fs');const path=require('path');const pluginRoot=process.env.PI_PLUGIN_ROOT||process.env.PLUGIN_ROOT||process.cwd();const probes=[path.join(pluginRoot,'versions.json'),path.join(pluginRoot,'plugins','babysitter-pi','versions.json'),path.join(pluginRoot,'node_modules','@a5c-ai','babysitter-pi','versions.json'),path.join(process.cwd(),'node_modules','@a5c-ai','babysitter-pi','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
|
|
37
38
|
CLI="npx -y @a5c-ai/babysitter-sdk@$SDK_VERSION"
|
|
38
39
|
\`\`\`
|
|
39
40
|
|
package/skills/babysit/SKILL.md
CHANGED
|
@@ -16,6 +16,7 @@ Read the SDK version from `versions.json` to ensure version compatibility:
|
|
|
16
16
|
```bash
|
|
17
17
|
PLUGIN_ROOT="${PI_PLUGIN_ROOT:-$(pwd)}"
|
|
18
18
|
SDK_VERSION=$(node -e "try{const fs=require('fs');const path=require('path');const pluginRoot=process.env.PI_PLUGIN_ROOT||process.env.PLUGIN_ROOT||process.cwd();const probes=[path.join(pluginRoot,'versions.json'),path.join(pluginRoot,'plugins','babysitter-pi','versions.json'),path.join(pluginRoot,'node_modules','@a5c-ai','babysitter-pi','versions.json'),path.join(process.cwd(),'node_modules','@a5c-ai','babysitter-pi','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
|
|
19
20
|
CLI="npx -y @a5c-ai/babysitter-sdk@$SDK_VERSION"
|
|
20
21
|
```
|
|
21
22
|
|
package/versions.json
CHANGED