@syferit/cli 1.0.1 → 2.0.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 CHANGED
@@ -1,22 +1,34 @@
1
1
  <p align="center">
2
2
  <a href="https://syferit.soltrixstudios.com">
3
- <img src="../../assets/icon.png" alt="Syferit Logo" width="80" height="80" />
3
+ <img src="https://syferit.soltrixstudios.com/icon.png" alt="Syferit Logo" width="80" height="80" />
4
4
  </a>
5
5
  </p>
6
6
 
7
7
  <h1 align="center">@syferit/cli</h1>
8
8
 
9
9
  <p align="center">
10
- <strong>Universal Binary &amp; Source Code Hardener</strong><br>
10
+ <strong>Universal Binary &amp; 15+ Language Code Defense Hardener (v2.0.0)</strong><br>
11
11
  <em>&ldquo;Don&apos;t Just Ship it. Syferit.&rdquo;</em>
12
12
  </p>
13
13
 
14
- > Command-line tool for protecting JavaScript, TypeScript, WebAssembly, and native binaries with Syferit. Part of the **[Syferit](https://syferit.soltrixstudios.com)** code defense framework by **[Soltrix Studios](https://soltrixstudios.com)**.
14
+ > Command-line tool for protecting Web (JS/TS), Mobile (Kotlin, Java, Swift, Dart), C# (.NET/Unity), WebAssembly, Python 3, C/C++, Rust, and LLVM IR. Part of the **[Syferit](https://syferit.soltrixstudios.com)** framework by **[Soltrix Studios](https://soltrixstudios.com)**.
15
15
 
16
16
  ---
17
17
 
18
18
  ## Installation
19
19
 
20
+ ### Option 1: Standalone Zero-Node Native Binaries (No Node.js Required)
21
+ ```powershell
22
+ # Windows (PowerShell — downloads syferit.exe & registers PATH automatically)
23
+ irm https://syferit.soltrixstudios.com/install.ps1 | iex
24
+ ```
25
+ ```bash
26
+ # macOS & Linux (downloads syferit binary & registers PATH automatically)
27
+ curl -fsSL https://syferit.soltrixstudios.com/install.sh | sh
28
+ ```
29
+ Or download `syferit.exe`, `syferit-linux-x64`, or `syferit-macos-arm64` directly from [GitHub Releases](https://github.com/soltrix-studios/syferit/releases/latest) (verified via `SHA256SUMS.txt`).
30
+
31
+ ### Option 2: npm / npx
20
32
  ```bash
21
33
  npm i -g @syferit/cli
22
34
  ```
@@ -24,44 +36,41 @@ npm i -g @syferit/cli
24
36
  ## Quickstart
25
37
 
26
38
  ```bash
27
- # Protect a directory with hardened defense (default preset)
28
- syferit protect ./dist --out ./dist-protected
39
+ # Create starter syferit.config.json
40
+ syferit init
29
41
 
30
- # Target flag syntax with maximum defense preset
31
- syferit protect -t ./dist -o ./dist-protected --preset maximum
42
+ # Preview matched files safely without writing changes
43
+ syferit protect ./dist --dry-run
32
44
 
33
- # Protect with specific domain profile (saas, fintech, security, gaming)
34
- syferit protect ./dist -d fintech --preset hardened
45
+ # Protect a directory with v2.0 Quantum RNS-ARX preset
46
+ syferit protect ./dist --out ./dist-protected --preset v2-quantum-rns
35
47
 
36
- # Protect a single file in-place
37
- syferit protect ./dist/app.js --preset maximum
48
+ # Protect C# (.NET/Unity), Android (Kotlin/Java), iOS (Swift), or Flutter (Dart)
49
+ syferit protect ./Assets/Scripts -o ./Assets/Scripts-Protected --preset v2-quantum-rns
50
+
51
+ # Exclude third-party vendor libraries or minified bundles
52
+ syferit protect ./src -o ./build -e vendor "*.min.js" --preset v2-quantum-rns
53
+
54
+ # Guided PATH registration (for manually downloaded binaries) & seamless upgrade
55
+ syferit setup
56
+ syferit upgrade
38
57
  ```
39
58
 
40
59
  ## CLI Reference
41
60
 
42
- ### Options & Flags
43
-
44
- | Flag | Description | Default |
61
+ | Command / Flag | Description | Default |
45
62
  | :--- | :--- | :--- |
46
- | `[target]` | Positional target path to file or directory to protect | *(Optional if `-t` used)* |
47
- | `-t, --target <path>` | Explicit path to target file or directory | *(Optional if positional used)* |
48
- | `-o, --out <path>` | Destination output path (in-place overwrite if omitted) | *(In-place)* |
49
- | `--output <path>` | Long alias for `-o, --out` | *(In-place)* |
50
- | `--preset <preset>` | Protection level: `standard`, `hardened`, or `maximum` | `'hardened'` |
51
- | `-d, --domain <domain>` | Domain dictionary profile: `saas`, `fintech`, `security`, `gaming` | `'saas'` |
52
- | `-p, --profile <profile>` | Alias for `-d, --domain` (smart auto-routes if preset name given) | `'saas'` |
53
- | `-s, --seed <seed>` | Deterministic seed for reproducible polymorphism | *(Auto-generated UUIDv4)* |
54
- | `-v, --version` | Output the current Syferit version | N/A |
55
- | `-h, --help` | Display CLI help and flag usage | N/A |
56
-
57
- > [!TIP]
58
- > **Smart Collision Avoidance:** If you pass `-p standard` or `-p maximum` (thinking `-p` was preset), Syferit automatically detects the preset value and routes it to `--preset` without error.
59
-
60
- ## Features
61
-
62
- - **Adversarial Resilience:** Specifically designed to defeat autonomous AI reverse-engineering agents, LLM-assisted decompilers, and MCP bridge tools.
63
- - **Provable Equivalence:** Retains 100% deterministic execution behavior while maximizing structural and algorithmic entropy.
64
- - **Zero Runtime Dependencies:** Lean and production-ready for mission-critical deployments.
63
+ | `protect [target]`, `-t, --target <path>` | File or directory to protect (defaults to `syferit.config.json` target) | *(Required)* |
64
+ | `-o, --out, --output <path>` | Destination output path (in-place overwrite if omitted) | *(In-place)* |
65
+ | `--preset <preset>` | Defense preset: `standard`, `hardened`, `maximum`, or `v2-quantum-rns` | `'hardened'` |
66
+ | `-d, --domain, -p, --profile <profile>` | Domain profile: `saas`, `fintech`, `security`, `gaming` | `'saas'` |
67
+ | `-s, --seed <seed>` | Deterministic seed for reproducible builds | *(CSPRNG UUIDv4)* |
68
+ | `-e, --exclude <patterns...>` | Exclude folder/glob patterns (skips `node_modules`, `obj`, `target`, `.venv` automatically) | `[]` |
69
+ | `--dry-run` | Preview matched files without modifying any files | `false` |
70
+ | `-q, --quiet` | Suppress terminal banner and progress stream | `false` |
71
+ | `init [-f, --force]` | Generate a starter `syferit.config.json` configuration file | `false` |
72
+ | `setup [-y, --yes]` | Install standalone binary to `~/.syferit/bin` and register system `PATH` | Interactive |
73
+ | `upgrade [--check]` | Seamlessly self-update to the latest release | In-place |
65
74
 
66
75
  ## Documentation & Support
67
76