@openma/cli 0.1.0-beta.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 +40 -0
- package/dist/index.js +1457 -0
- package/package.json +37 -0
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# @openma/cli
|
|
2
|
+
|
|
3
|
+
Command-line client for [openma](https://openma.dev) managed agents.
|
|
4
|
+
|
|
5
|
+
> **Beta.** API surface and command names may change before 0.1.0 final.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm i -g @openma/cli
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
This installs an `oma` binary on your `PATH`. (If a different `oma` is already installed, npm will overwrite or warn — both are safe.)
|
|
14
|
+
|
|
15
|
+
## Configure
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
export OMA_API_KEY=sk_...
|
|
19
|
+
export OMA_BASE_URL=https://api.openma.dev # default
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Generate an API key from the [openma console](https://openma.dev) → API Keys.
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
oma agents list
|
|
28
|
+
oma agents create --name my-agent --model claude-sonnet-4-6
|
|
29
|
+
oma sessions list
|
|
30
|
+
oma sessions create --agent <agent-id> --env <env-id>
|
|
31
|
+
oma session <session-id> tail # follow events live
|
|
32
|
+
oma linear publish <agent-id> --env <env-id>
|
|
33
|
+
oma api # HTTP API quick reference
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Run `oma --help` for the full command tree.
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
MIT
|