@general-input/cli 0.1.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/LICENSE +59 -0
- package/README.md +39 -0
- package/dist/cli.js +2999 -0
- package/dist/cli.js.map +1 -0
- package/package.json +58 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
Copyright (c) 2026 PARLA FM INC. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This software (the "Software") is the proprietary and confidential
|
|
4
|
+
property of PARLA FM INC. ("Licensor"). By installing, accessing, or
|
|
5
|
+
using the Software, you ("Licensee") agree to the following terms.
|
|
6
|
+
|
|
7
|
+
1. License grant.
|
|
8
|
+
Licensor grants Licensee a worldwide, non-exclusive, non-transferable,
|
|
9
|
+
royalty-free, revocable license to install, run, and use the Software
|
|
10
|
+
solely as a client to access services provided by Licensor, including
|
|
11
|
+
on behalf of Licensee's employer or customers. No other rights are
|
|
12
|
+
granted, expressly or by implication.
|
|
13
|
+
|
|
14
|
+
2. Restrictions.
|
|
15
|
+
Licensee shall not, and shall not permit any third party to:
|
|
16
|
+
(a) copy the Software except as strictly necessary to install and run it;
|
|
17
|
+
(b) modify, adapt, translate, or create derivative works of the Software;
|
|
18
|
+
(c) reverse engineer, decompile, disassemble, or attempt to derive the
|
|
19
|
+
source code or underlying algorithms of the Software, except to the
|
|
20
|
+
extent such restrictions are prohibited by applicable law;
|
|
21
|
+
(d) sell, sublicense, rent, lease, lend, distribute, or otherwise
|
|
22
|
+
transfer the Software to any third party;
|
|
23
|
+
(e) remove, alter, or obscure any copyright, trademark, or other
|
|
24
|
+
proprietary notices in the Software;
|
|
25
|
+
(f) use the Software to develop a competing product or service;
|
|
26
|
+
(g) publish the Software, or any portion of it, on any package
|
|
27
|
+
registry or distribution channel under any name.
|
|
28
|
+
|
|
29
|
+
3. Ownership.
|
|
30
|
+
The Software is licensed, not sold. Licensor retains all right,
|
|
31
|
+
title, and interest in and to the Software, including all
|
|
32
|
+
intellectual property rights. Nothing in this license transfers
|
|
33
|
+
ownership of the Software to Licensee.
|
|
34
|
+
|
|
35
|
+
4. Termination.
|
|
36
|
+
This license terminates automatically if Licensee breaches any of
|
|
37
|
+
its terms. Licensor may also terminate this license at any time by
|
|
38
|
+
notice or by ceasing to publish the Software. Upon termination,
|
|
39
|
+
Licensee shall cease all use of the Software and uninstall all
|
|
40
|
+
copies in Licensee's possession or control.
|
|
41
|
+
|
|
42
|
+
5. No warranty.
|
|
43
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
44
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
45
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND
|
|
46
|
+
NON-INFRINGEMENT.
|
|
47
|
+
|
|
48
|
+
6. Limitation of liability.
|
|
49
|
+
IN NO EVENT SHALL LICENSOR BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
|
|
50
|
+
SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, OR ANY LOSS OF PROFITS
|
|
51
|
+
OR REVENUE, ARISING OUT OF OR RELATED TO LICENSEE'S USE OF OR
|
|
52
|
+
INABILITY TO USE THE SOFTWARE, WHETHER IN CONTRACT, TORT, OR
|
|
53
|
+
OTHERWISE, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF
|
|
54
|
+
SUCH DAMAGES. LICENSOR'S TOTAL LIABILITY UNDER THIS LICENSE SHALL
|
|
55
|
+
NOT EXCEED ONE HUNDRED U.S. DOLLARS ($100).
|
|
56
|
+
|
|
57
|
+
7. Reservation of rights.
|
|
58
|
+
All rights not expressly granted in this license are reserved by
|
|
59
|
+
Licensor.
|
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# @general-input/cli
|
|
2
|
+
|
|
3
|
+
The agent-facing CLI for [General Input](https://generalinput.com). Lets AI coding agents (Claude Code, Codex CLI, Gemini CLI, GitHub Copilot, etc.) call APIs on your behalf using the credentials you've connected, without ever seeing the secrets.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
One-liner:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
curl -fsSL https://generalinput.com/install.sh | sh
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or via npm directly:
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npm install -g @general-input/cli
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
The CLI installs as `geni` on your `PATH`. Requires Node 20+, plus `bash`, `curl`, and `jq` available locally (the installer checks).
|
|
20
|
+
|
|
21
|
+
## Get started
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
geni login # authenticate
|
|
25
|
+
geni skills install # teach your AI agent how to use geni
|
|
26
|
+
geni doctor # verify everything is wired up
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Then ask your agent to do something with one of your connected services ("post a Slack message to #eng," "show my last 10 Stripe charges"). The agent uses `geni exec bash --cred ...` under the hood; the cloud injects your credentials as env vars into a fresh subprocess and scrubs them from output.
|
|
30
|
+
|
|
31
|
+
## Docs
|
|
32
|
+
|
|
33
|
+
Full reference at https://generalinput.com/docs/cli.
|
|
34
|
+
|
|
35
|
+
## License
|
|
36
|
+
|
|
37
|
+
Proprietary. Free to install and use as a client of [General Input](https://generalinput.com); all other rights reserved. See [LICENSE](./LICENSE) for the full terms.
|
|
38
|
+
|
|
39
|
+
Copyright © 2026 PARLA FM INC.
|