uv-suite 0.18.0 → 0.19.0
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/bin/cli.js +17 -1
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -86,10 +86,26 @@ function personaLabel(p) {
|
|
|
86
86
|
return labels[p] || p;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
function ensureInstalled(persona) {
|
|
90
|
+
const settings = path.resolve('.claude/personas', `${persona}.json`);
|
|
91
|
+
if (!fs.existsSync(settings)) {
|
|
92
|
+
console.log('UV Suite not installed in this project. Installing...');
|
|
93
|
+
console.log('');
|
|
94
|
+
const installScript = path.join(UV_SUITE_DIR, 'install.sh');
|
|
95
|
+
try {
|
|
96
|
+
execSync(`bash "${installScript}" --persona ${persona}`, { stdio: 'inherit', timeout: 60000 });
|
|
97
|
+
} catch (e) {
|
|
98
|
+
// Install may timeout on pip installs but core files are already copied
|
|
99
|
+
}
|
|
100
|
+
console.log('');
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
89
104
|
function launchClaude(persona, extra) {
|
|
105
|
+
ensureInstalled(persona);
|
|
90
106
|
const settings = path.resolve('.claude/personas', `${persona}.json`);
|
|
91
107
|
if (!fs.existsSync(settings)) {
|
|
92
|
-
console.error(`Error:
|
|
108
|
+
console.error(`Error: installation failed. Run 'uvs install --persona ${persona}' manually.`);
|
|
93
109
|
process.exit(1);
|
|
94
110
|
}
|
|
95
111
|
console.log(`UV Suite | Claude Code | ${personaLabel(persona)}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uv-suite",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Portable framework for AI-assisted software development. 10 agents, 9 skills, 5 hooks, 4 personas. Works with Claude Code, Cursor, and Codex.",
|
|
5
5
|
"author": "Utsav Anand",
|
|
6
6
|
"license": "MIT",
|