@lenso/cli 0.7.1 → 0.8.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 +29 -0
- package/package.json +1 -1
- package/vendor/darwin-arm64/lenso +0 -0
- package/vendor/darwin-x64/lenso +0 -0
- package/vendor/linux-x64/lenso +0 -0
- package/vendor/win32-x64/lenso.exe +0 -0
package/README.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Command-line interface for the Lenso backend framework.
|
|
4
4
|
|
|
5
|
+
This repository also owns the `lenso-authoring` library extracted from
|
|
6
|
+
`LioRael/lenso` under ADR 0064. Its `add`, `check`, `resolve`, and `run`
|
|
7
|
+
workflows are exposed through the same `lenso` executable as the rest of the
|
|
8
|
+
CLI; the library does not publish a second binary.
|
|
9
|
+
|
|
10
|
+
Project-wide agent workflows live in the
|
|
11
|
+
[`LioRael/lenso` skill pack](https://github.com/LioRael/lenso/tree/main/skills),
|
|
12
|
+
so this repository owns executable authoring without becoming a second skill
|
|
13
|
+
source of truth.
|
|
14
|
+
|
|
5
15
|
## Install
|
|
6
16
|
|
|
7
17
|
```sh
|
|
@@ -10,6 +20,25 @@ npm install -g @lenso/cli
|
|
|
10
20
|
cargo install lenso-cli
|
|
11
21
|
```
|
|
12
22
|
|
|
23
|
+
## Plan authoring
|
|
24
|
+
|
|
25
|
+
The same `lenso` executable validates authoring projects, resolves immutable
|
|
26
|
+
App Plans, and runs those Plans through the selected Driver and Execution
|
|
27
|
+
Adapters:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
lenso check --project lenso.json \
|
|
31
|
+
--execution-class lenso.native-rust@1
|
|
32
|
+
lenso resolve --project lenso.json \
|
|
33
|
+
--execution-class lenso.native-rust@1 \
|
|
34
|
+
--output .lenso/resolved-plan.json
|
|
35
|
+
lenso run --plan .lenso/resolved-plan.json --root .
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Use `lenso add` to add a Module package to the authoring project. These
|
|
39
|
+
top-level commands are the only public authoring binary surface; the
|
|
40
|
+
`lenso-authoring` crate is a library.
|
|
41
|
+
|
|
13
42
|
## Application lifecycle
|
|
14
43
|
|
|
15
44
|
```sh
|
package/package.json
CHANGED
|
Binary file
|
package/vendor/darwin-x64/lenso
CHANGED
|
Binary file
|
package/vendor/linux-x64/lenso
CHANGED
|
Binary file
|
|
Binary file
|