skillvault 0.1.13 → 0.1.14
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/cli.js +1 -1
- package/package.json +2 -2
- package/dist/cli.d.ts +0 -20
package/dist/cli.js
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
import { existsSync, readFileSync, writeFileSync, mkdirSync, readdirSync, rmSync } from 'node:fs';
|
|
21
21
|
import { join } from 'node:path';
|
|
22
22
|
import { createDecipheriv, createHmac, createPublicKey, diffieHellman, hkdfSync, generateKeyPairSync, } from 'node:crypto';
|
|
23
|
-
const VERSION = '0.1.
|
|
23
|
+
const VERSION = '0.1.14';
|
|
24
24
|
const HOME = process.env.HOME || process.env.USERPROFILE || '~';
|
|
25
25
|
const API_URL = process.env.SKILLVAULT_API_URL || 'https://api.getskillvault.com';
|
|
26
26
|
const CONFIG_DIR = join(HOME, '.skillvault');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillvault",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "SkillVault — secure skill distribution for Claude Code",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"start": "node dist/cli.js"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
|
-
"dist"
|
|
14
|
+
"dist/**/*.js"
|
|
15
15
|
],
|
|
16
16
|
"keywords": [
|
|
17
17
|
"skillvault",
|
package/dist/cli.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
/**
|
|
3
|
-
* SkillVault — Secure skill distribution for Claude Code.
|
|
4
|
-
*
|
|
5
|
-
* Usage:
|
|
6
|
-
* npx skillvault --invite CODE # Setup: redeem invite + sync + install
|
|
7
|
-
* npx skillvault --load SKILL # Decrypt a skill (used by Claude Code)
|
|
8
|
-
* npx skillvault --status # Show publishers & skills
|
|
9
|
-
* npx skillvault --refresh # Re-authenticate tokens + sync
|
|
10
|
-
* npx skillvault --sync # Sync vaults + update stubs
|
|
11
|
-
*
|
|
12
|
-
* How it works:
|
|
13
|
-
* 1. Customer runs --invite once → vaults downloaded, stubs installed
|
|
14
|
-
* 2. Claude Code discovers stub SKILL.md files in ~/.claude/skills/
|
|
15
|
-
* 3. When a skill is triggered, Claude runs: npx skillvault --load <name>
|
|
16
|
-
* 4. The CLI decrypts the vault (license checked) and outputs to stdout
|
|
17
|
-
* 5. Claude reads the output and follows the instructions
|
|
18
|
-
* 6. Decrypted content is never written to disk
|
|
19
|
-
*/
|
|
20
|
-
export {};
|