@linguacode/cli 1.0.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.
Files changed (4) hide show
  1. package/LICENSE +85 -0
  2. package/README.md +39 -0
  3. package/bin/lingua.cjs +10001 -0
  4. package/package.json +35 -0
package/LICENSE ADDED
@@ -0,0 +1,85 @@
1
+ Lingua Commercial License — Personal and Evaluation Use
2
+ ========================================================
3
+
4
+ Copyright (c) 2026 johnny4young. All rights reserved.
5
+
6
+ Lingua is a commercial desktop and web application. This repository is made
7
+ available publicly to support evaluation, transparency, security review, and
8
+ contributor collaboration. It is NOT distributed under an open-source license.
9
+
10
+ 1. Definitions
11
+
12
+ "Software" means the Lingua source code, compiled artifacts, assets, and
13
+ documentation contained in this repository and any build produced from it.
14
+
15
+ "Licensor" means the copyright holder named above.
16
+
17
+ "You" means the individual or entity exercising the rights granted by this
18
+ license.
19
+
20
+ "Evaluation" means personal, non-production use for the purpose of
21
+ understanding, reviewing, reporting bugs, or proposing changes to the
22
+ Software.
23
+
24
+ 2. Grant — evaluation and personal use
25
+
26
+ Subject to compliance with this license, Licensor grants You a worldwide,
27
+ royalty-free, non-exclusive, non-transferable license to:
28
+
29
+ a. read, copy, and modify the Software source for Evaluation;
30
+ b. build and run the Software locally for personal, non-commercial use;
31
+ c. submit patches, bug reports, and derivative improvements back to
32
+ Licensor through the repository's normal contribution channels.
33
+
34
+ Production, paid, educational-at-scale, or commercial use requires a
35
+ separate paid license purchased from Licensor (see `linguacode.dev`).
36
+
37
+ 3. Restrictions
38
+
39
+ You may NOT:
40
+
41
+ a. redistribute, host, sell, sublicense, or relicense the Software or any
42
+ substantial portion of it;
43
+ b. remove or obscure copyright notices, license text, or product branding;
44
+ c. use the Software to provide a hosted or managed service offering that
45
+ competes with Licensor's commercial product;
46
+ d. use the Licensor's name, logo, or trademarks except as required for
47
+ fair attribution of contributions.
48
+
49
+ 4. Contributions
50
+
51
+ By submitting a patch, pull request, or other contribution, You grant
52
+ Licensor a perpetual, worldwide, non-exclusive, royalty-free, irrevocable
53
+ license to use, reproduce, modify, publish, distribute, sublicense, and
54
+ incorporate Your contribution into the Software under this license or any
55
+ future license Licensor chooses for the Software.
56
+
57
+ 5. No warranty
58
+
59
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
60
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
61
+ FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. IN NO EVENT SHALL
62
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR
63
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE,
64
+ ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
65
+ OTHER DEALINGS IN THE SOFTWARE.
66
+
67
+ 6. Commercial licensing
68
+
69
+ Public launch tiers (Free, Monthly, Pro, Education) and their
70
+ entitlements are documented at `linguacode.dev/pricing`. Commercial
71
+ and production use requires a valid commercial license.
72
+
73
+ 7. Termination
74
+
75
+ This license terminates automatically upon any breach. Upon termination You
76
+ must cease using and destroy all copies of the Software that You control.
77
+
78
+ 8. Jurisdiction
79
+
80
+ This license is governed by the laws of the Licensor's country of
81
+ residence, without reference to conflict-of-law principles.
82
+
83
+ For commercial licensing, support, or enterprise inquiries contact the
84
+ Licensor via the repository's issue tracker or the contact details published
85
+ at `linguacode.dev`.
package/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # Lingua CLI
2
+
3
+ The Lingua CLI is the headless, offline command-line surface for Lingua. It
4
+ shares the desktop app's utility adapters, Run Capsule schema, and local
5
+ execution contract without loading Electron, React, or renderer code.
6
+
7
+ ## Install
8
+
9
+ The npm package requires Node.js 24.x:
10
+
11
+ ```bash
12
+ pnpm add --global @linguacode/cli
13
+ lingua --version
14
+ ```
15
+
16
+ Release pages also carry standalone Windows and Linux x64 archives. Those
17
+ archives embed the matching Node.js runtime and do not require a separate Node
18
+ installation. Extract the archive, place `lingua` or `lingua.exe` on `PATH`, and
19
+ verify it against the release `SHA256SUMS.txt` before use.
20
+
21
+ ## Examples
22
+
23
+ ```bash
24
+ lingua list utilities
25
+ printf 'hello' | lingua utility base64-encode
26
+ lingua run ./script.ts -- --name Ada
27
+ lingua capsule validate ./run.capsule.json
28
+ lingua capsule replay ./run.capsule.json --json
29
+ ```
30
+
31
+ See the complete command, output, and exit-code contract in
32
+ [`docs/CLI_USAGE.md`](https://github.com/johnny4young/lingua/blob/main/docs/CLI_USAGE.md).
33
+
34
+ ## License
35
+
36
+ Lingua is commercial software made publicly inspectable for evaluation,
37
+ security review, and contribution. The package and standalone executables are
38
+ distributed under the terms in `LICENSE`; production or commercial use needs
39
+ the appropriate Lingua license.