relavium 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 ADDED
@@ -0,0 +1,76 @@
1
+ Relavium Proprietary License
2
+ Copyright (c) 2026 HodeTech. All rights reserved.
3
+
4
+ Relavium and all of its source code, object code, designs, documentation, and
5
+ associated materials (collectively, the "Software") are the exclusive property of
6
+ HodeTech ("HodeTech", "we", "us") and are protected by copyright, trade secret,
7
+ and other intellectual property laws and international treaties.
8
+
9
+ This is a proprietary, closed-source license. It is NOT an open-source license and
10
+ grants NO rights other than those expressly stated below.
11
+
12
+ 1. RESERVATION OF RIGHTS
13
+ All rights in and to the Software are reserved by HodeTech. No right, title, or
14
+ interest in the Software is transferred to you. Any right not expressly granted
15
+ in writing by HodeTech is withheld.
16
+
17
+ 2. NO LICENSE GRANTED BY DEFAULT
18
+ Except under a separate written agreement signed by an authorized representative
19
+ of HodeTech, you are granted NO right to use, execute, copy, reproduce, modify,
20
+ adapt, translate, create derivative works of, merge, publish, distribute,
21
+ sublicense, sell, rent, lease, lend, host, offer as a service, or otherwise
22
+ exploit the Software, in whole or in part, in any form or by any means.
23
+
24
+ 3. PROHIBITED ACTS
25
+ Without limiting Section 2, you may not:
26
+ (a) reverse engineer, decompile, or disassemble the Software, or attempt to
27
+ derive its source code, except to the extent this restriction is prohibited
28
+ by applicable law;
29
+ (b) remove, alter, or obscure any copyright, trademark, or other proprietary
30
+ notice in the Software;
31
+ (c) use the Software, or any HodeTech name, logo, or trademark, in any way that
32
+ suggests an endorsement, partnership, or affiliation without prior written
33
+ permission; or
34
+ (d) circumvent or disable any technical protection or license-enforcement
35
+ mechanism in the Software.
36
+
37
+ 4. OWNERSHIP
38
+ The Software is licensed, not sold. HodeTech retains all ownership of and
39
+ intellectual property rights in the Software, including all modifications,
40
+ enhancements, and derivative works, regardless of who creates them.
41
+
42
+ 5. CONFIDENTIALITY
43
+ The Software, including its source code and internal design, is the confidential
44
+ information and trade secret of HodeTech. You must not disclose it to any third
45
+ party without HodeTech's prior written consent.
46
+
47
+ 6. ENFORCEMENT AND REMEDIES
48
+ Any unauthorized use, reproduction, or distribution of the Software is a material
49
+ violation of this license and of applicable intellectual property law. HodeTech
50
+ will enforce its rights to the fullest extent permitted by law and may pursue all
51
+ available legal and equitable remedies, including injunctive relief, damages, and
52
+ recovery of legal costs. A violation may also constitute a criminal offense under
53
+ applicable law.
54
+
55
+ 7. NO WARRANTY
56
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
57
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
58
+ FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT.
59
+
60
+ 8. LIMITATION OF LIABILITY
61
+ TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL HODETECH BE LIABLE FOR
62
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
63
+ ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THIS LICENSE.
64
+
65
+ 9. TERMINATION
66
+ Any rights granted under a separate written agreement terminate automatically,
67
+ without notice, upon any breach of this license. Upon termination you must cease
68
+ all use of the Software and destroy all copies in your possession or control.
69
+
70
+ 10. GENERAL
71
+ This license is governed by the laws applicable at HodeTech's principal place of
72
+ business, without regard to conflict-of-laws rules. If any provision is held
73
+ unenforceable, the remaining provisions remain in full effect.
74
+
75
+ For licensing inquiries, written permission, or commercial-use agreements, contact
76
+ HodeTech at https://github.com/HodeTech.
package/README.md ADDED
@@ -0,0 +1,54 @@
1
+ # relavium
2
+
3
+ > Run agent workflows from your terminal — a product of [HodeTech](https://github.com/HodeTech).
4
+
5
+ `relavium` is the command-line surface of the [Relavium](https://github.com/HodeTech/Relavium)
6
+ local-first AI agent platform. It runs git-committable `.relavium.yaml` workflows on the same
7
+ pure-TypeScript engine as the desktop and VS Code surfaces — every step debuggable, every token and
8
+ dollar tracked, nothing leaving your machine unless you choose it.
9
+
10
+ ## Install
11
+
12
+ ```bash
13
+ npm install -g relavium
14
+ ```
15
+
16
+ Requires **Node.js ≥ 20.12**. The package ships an engine-inlined bundle and installs prebuilt native
17
+ binaries, so no C/C++ toolchain is needed.
18
+
19
+ ## Quick start
20
+
21
+ ```bash
22
+ # run a workflow, streaming live progress in the terminal
23
+ relavium run ./workflows/code-review.relavium.yaml --input file=./src/index.ts
24
+
25
+ # CI / scripting: a stable NDJSON RunEvent stream, deterministic exit codes
26
+ relavium run ./workflows/code-review.relavium.yaml --input file=src/index.ts --json
27
+
28
+ # store a provider key in the OS keychain (read from stdin, never argv)
29
+ echo "$ANTHROPIC_API_KEY" | relavium provider set-key anthropic
30
+ ```
31
+
32
+ ## Commands
33
+
34
+ | Command | Purpose |
35
+ |---|---|
36
+ | `relavium run <workflow> [--input k=v]` | Execute a workflow; streams progress (or `--json` NDJSON). |
37
+ | `relavium list [--agents]` | List discovered workflows (or agents) with last-run status. |
38
+ | `relavium logs <runId>` | Replay a past run's event stream. |
39
+ | `relavium status` | Show active/paused runs and their per-node status. |
40
+ | `relavium gate <runId> --approve\|--reject\|--input …` | Resolve a pending human gate. |
41
+ | `relavium gate list [<runId>]` | List pending human gates. |
42
+ | `relavium provider <list\|add\|set-key\|remove-key\|test>` | Manage providers + API keys (OS keychain). |
43
+
44
+ **Exit codes** (CI-friendly): `0` completed · `1` failed · `2` invalid invocation · `3` paused at a
45
+ human gate. Provider keys resolve from the OS keychain → `RELAVIUM_<PROVIDER>_API_KEY` env var → error.
46
+
47
+ ## Documentation
48
+
49
+ The full command reference, the `--json` machine contract, and the CI guide live in the
50
+ [Relavium docs](https://github.com/HodeTech/Relavium/tree/main/docs/reference/cli/commands.md).
51
+
52
+ ## License
53
+
54
+ Proprietary — © HodeTech, all rights reserved. See [LICENSE](https://github.com/HodeTech/Relavium/blob/main/LICENSE).