ziphro-cli 0.0.0-stage → 2.0.0-preview.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/README.md +175 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3719 -0
- package/package.json +70 -4
- package/scripts/postinstall.js +29 -0
package/package.json
CHANGED
|
@@ -1,6 +1,72 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ziphro-cli",
|
|
3
|
-
"version": "0.0.0
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "2.0.0-preview.0",
|
|
4
|
+
"description": "Privacy-first terminal command deck and task management CLI with zero-knowledge E2E encryption",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"ziphro": "dist/index.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"scripts",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"ziphro",
|
|
19
|
+
"cli",
|
|
20
|
+
"ink",
|
|
21
|
+
"e2e-encryption",
|
|
22
|
+
"zero-knowledge",
|
|
23
|
+
"task-management",
|
|
24
|
+
"terminal-ui",
|
|
25
|
+
"privacy-first"
|
|
26
|
+
],
|
|
27
|
+
"author": "AJAYMYTH",
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/AJAYMYTH/TaskAir.git",
|
|
32
|
+
"directory": "cli"
|
|
33
|
+
},
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/AJAYMYTH/TaskAir/issues"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/AJAYMYTH/TaskAir#readme",
|
|
38
|
+
"scripts": {
|
|
39
|
+
"dev": "node --import tsx/esm src/index.ts",
|
|
40
|
+
"build": "tsup src/index.ts --format esm --dts --out-dir dist --shims --clean",
|
|
41
|
+
"start": "node dist/index.js",
|
|
42
|
+
"lint": "tsc --noEmit",
|
|
43
|
+
"ziphro": "node --import tsx/esm src/index.ts",
|
|
44
|
+
"postinstall": "node scripts/postinstall.js"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@ziphro/crdt": "2.0.0-preview.0",
|
|
48
|
+
"@ziphro/crypto": "2.0.0-preview.0",
|
|
49
|
+
"@ziphro/types": "2.0.0-preview.0",
|
|
50
|
+
"chalk": "^5.3.0",
|
|
51
|
+
"commander": "^12.1.0",
|
|
52
|
+
"conf": "^13.0.0",
|
|
53
|
+
"figures": "^6.1.0",
|
|
54
|
+
"ink": "^5.1.0",
|
|
55
|
+
"ink-big-text": "^2.0.0",
|
|
56
|
+
"ink-gradient": "^3.0.0",
|
|
57
|
+
"ink-spinner": "^5.0.0",
|
|
58
|
+
"react": "^18.3.1",
|
|
59
|
+
"uuid": "^10.0.0"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@types/node": "^20.14.0",
|
|
63
|
+
"@types/react": "^18.3.3",
|
|
64
|
+
"@types/uuid": "^10.0.0",
|
|
65
|
+
"tsup": "^8.1.0",
|
|
66
|
+
"tsx": "^4.15.0",
|
|
67
|
+
"typescript": "^5.4.5"
|
|
68
|
+
},
|
|
69
|
+
"engines": {
|
|
70
|
+
"node": ">=18.0.0"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const ORANGE = '\x1b[38;2;245;78;0m';
|
|
2
|
+
const WHITE = '\x1b[38;2;245;244;239m';
|
|
3
|
+
const MUTED = '\x1b[38;2;142;142;147m';
|
|
4
|
+
const BOLD = '\x1b[1m';
|
|
5
|
+
const RESET = '\x1b[0m';
|
|
6
|
+
|
|
7
|
+
const ASCII_BANNER = [
|
|
8
|
+
{ ziph: '███████╗██╗██████╗ ██╗ ██╗', ro: '██████╗ ██████╗ ' },
|
|
9
|
+
{ ziph: '╚══███╔╝██║██╔══██╗██║ ██║', ro: '██╔══██╗██╔═══██╗' },
|
|
10
|
+
{ ziph: ' ███╔╝ ██║██████╔╝███████║', ro: '██████╔╝██║ ██║' },
|
|
11
|
+
{ ziph: ' ███╔╝ ██║██╔═══╝ ██╔══██║', ro: '██╔══██╗██║ ██║' },
|
|
12
|
+
{ ziph: '███████╗██║██║ ██║ ██║', ro: '██║ ██║╚██████╔╝' },
|
|
13
|
+
{ ziph: '╚══════╝╚═╝╚═╝ ╚═╝ ╚═╝', ro: '╚═╝ ╚═╝ ╚═════╝ ' },
|
|
14
|
+
];
|
|
15
|
+
|
|
16
|
+
function run() {
|
|
17
|
+
if (process.env.CI || process.env.npm_config_loglevel === 'silent') {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
console.log('');
|
|
22
|
+
for (const row of ASCII_BANNER) {
|
|
23
|
+
console.log(`${BOLD}${WHITE}${row.ziph}${ORANGE}${row.ro}${RESET}`);
|
|
24
|
+
}
|
|
25
|
+
console.log(`${MUTED} ✦ Ziphro CLI v2.0.0-preview.0 · Zero-Knowledge E2EE Vault ✦${RESET}`);
|
|
26
|
+
console.log(`${MUTED} Next: run ${ORANGE}ziphro config${MUTED} to pair your terminal session.${RESET}\n`);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
run();
|