openpersona 0.14.0 → 0.14.1
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 +1 -1
- package/lib/downloader.js +3 -1
- package/package.json +1 -1
- package/presets/ai-girlfriend/manifest.json +1 -1
- package/presets/base/manifest.json +1 -1
- package/presets/health-butler/manifest.json +1 -1
- package/presets/life-assistant/manifest.json +1 -1
- package/presets/samantha/manifest.json +1 -1
- package/presets/stoic-mentor/manifest.json +1 -1
- package/skills/open-persona/SKILL.md +1 -1
package/bin/cli.js
CHANGED
|
@@ -25,7 +25,7 @@ const PRESETS_DIR = path.join(PKG_ROOT, 'presets');
|
|
|
25
25
|
program
|
|
26
26
|
.name('openpersona')
|
|
27
27
|
.description('OpenPersona - Create, manage, and orchestrate agent personas')
|
|
28
|
-
.version('0.14.
|
|
28
|
+
.version('0.14.1');
|
|
29
29
|
|
|
30
30
|
if (process.argv.length === 2) {
|
|
31
31
|
process.argv.push('create');
|
package/lib/downloader.js
CHANGED
|
@@ -46,7 +46,9 @@ async function downloadFromRegistry(slug, registry, outDir) {
|
|
|
46
46
|
: extractDir;
|
|
47
47
|
|
|
48
48
|
const slugDir = path.join(repoRoot, slug);
|
|
49
|
-
|
|
49
|
+
const hasPersonaJson = fs.existsSync(path.join(slugDir, 'persona.json')) ||
|
|
50
|
+
fs.existsSync(path.join(slugDir, 'soul', 'persona.json'));
|
|
51
|
+
if (!fs.existsSync(slugDir) || !hasPersonaJson) {
|
|
50
52
|
throw new Error(
|
|
51
53
|
`Persona "${slug}" not found in the official registry.\n` +
|
|
52
54
|
`Browse available personas at ${REGISTRY_LISTING}`
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ description: >
|
|
|
4
4
|
Meta-skill for building and managing agent persona skill packs.
|
|
5
5
|
Use when the user wants to create a new agent persona, install/manage
|
|
6
6
|
existing personas, or publish persona skill packs to ClawHub.
|
|
7
|
-
version: "0.14.
|
|
7
|
+
version: "0.14.1"
|
|
8
8
|
author: openpersona
|
|
9
9
|
repository: https://github.com/acnlabs/OpenPersona
|
|
10
10
|
tags: [persona, agent, skill-pack, meta-skill, agent-agnostic, openclaw]
|