@prave/cli 1.0.4 → 1.0.5
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/dist/commands/install.js +4 -3
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/commands/install.js
CHANGED
|
@@ -26,9 +26,10 @@ export async function installCommand(slug, opts = {}) {
|
|
|
26
26
|
const session = await requireAuth('prave install');
|
|
27
27
|
if (!session)
|
|
28
28
|
return;
|
|
29
|
-
// Plan gate —
|
|
30
|
-
//
|
|
31
|
-
//
|
|
29
|
+
// Plan gate — currently a no-op for every shipping plan because
|
|
30
|
+
// `install_monthly_limit` is `null` everywhere (Free included). The
|
|
31
|
+
// block below only fires if a future plan re-introduces a cap, in
|
|
32
|
+
// which case the proactive remaining-count hint kicks back in.
|
|
32
33
|
const me = await fetchMyPlan();
|
|
33
34
|
if (me.limits.install_monthly_limit !== null) {
|
|
34
35
|
try {
|
package/dist/index.js
CHANGED
|
@@ -65,7 +65,7 @@ program
|
|
|
65
65
|
.action(importCommand);
|
|
66
66
|
program
|
|
67
67
|
.command('install <slug>')
|
|
68
|
-
.description('Install a Skill from the registry into ~/.claude/skills/<slug>/. Resolves and installs transitive dependencies by default.
|
|
68
|
+
.description('Install a Skill from the registry into ~/.claude/skills/<slug>/. Resolves and installs transitive dependencies by default. Unlimited on every plan — install caps would only mirror what is already free via `npx`/GitHub.')
|
|
69
69
|
.option('--no-deps', 'skip transitive dependency resolution (don\'t pull deps the Skill declares)')
|
|
70
70
|
.option('--force', 'install even when the SKILL.md content is empty (rare; use for stub Skills)')
|
|
71
71
|
.action(installCommand);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prave/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Prave CLI — import, export, install, sync Claude Skills.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"open": "^10.1.0",
|
|
17
17
|
"ora": "^8.0.1",
|
|
18
18
|
"undici": "^6.18.0",
|
|
19
|
-
"@prave/shared": "1.0.
|
|
19
|
+
"@prave/shared": "1.0.5"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/node": "^20.12.7",
|