@kryvenaiofficial/kryven 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.
Files changed (4) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +66 -0
  3. package/dist/cli.mjs +396 -0
  4. package/package.json +50 -0
package/LICENSE ADDED
@@ -0,0 +1,15 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2026 Kryven
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,66 @@
1
+ # Kryven CLI
2
+
3
+ Terminal AI coding assistant powered by [Kryven](https://kryven.cc).
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install -g @kryvenaiofficial/kryven
9
+ ```
10
+
11
+ This installs the `kryven` command globally.
12
+
13
+ ## Quick start
14
+
15
+ ```bash
16
+ # 1. Get a key
17
+ # Sign up at https://kryven.cc, subscribe (Starter/Pro/Developer/Unlimited),
18
+ # visit https://kryven.cc/api-dashboard, click "Generate Key".
19
+
20
+ # 2. Log in
21
+ kryven login
22
+
23
+ # 3. Chat
24
+ cd your-project
25
+ kryven
26
+ ```
27
+
28
+ ## Subcommands
29
+
30
+ | Command | Purpose |
31
+ |---------|---------|
32
+ | `kryven` | Launch the REPL in the current directory |
33
+ | `kryven login` | Paste a `kry_sk_*` API key (validated against `/v1/models`) |
34
+ | `kryven logout` | Delete the stored key |
35
+ | `kryven status` | Show plan, model, token balance, project context |
36
+ | `kryven models` | List models available to your account |
37
+ | `kryven --version` | Print version |
38
+
39
+ ## Slash commands (inside the REPL)
40
+
41
+ | Command | Purpose |
42
+ |---------|---------|
43
+ | `/help` | Command list |
44
+ | `/clear` | Wipe conversation and start new session |
45
+ | `/model <id>` | Switch model (e.g. `/model kryven-extended`) |
46
+ | `/cost` | Show token usage for this session |
47
+ | `/quit` | Exit (or `Ctrl+D`) |
48
+
49
+ ## Config
50
+
51
+ - `~/.kryven/config.json` — stored API key (mode 0600)
52
+ - `~/.kryven/sessions/<id>/transcript.jsonl` — conversation history
53
+ - `~/.kryven/history.jsonl` — global prompt history
54
+
55
+ Environment overrides:
56
+
57
+ | Var | Meaning |
58
+ |-----|---------|
59
+ | `KRYVEN_API_KEY` | Bearer token (overrides config file) |
60
+ | `KRYVEN_API_BASE_URL` | Defaults to `https://kryven.cc` |
61
+ | `KRYVEN_MODEL` | Default model (e.g. `kryven-flash`) |
62
+ | `KRYVEN_DEBUG` | Set to `1` for verbose logs at `~/.kryven/logs/cli.log` |
63
+
64
+ ## License
65
+
66
+ ISC.