@ogment-ai/cli 0.9.1 → 0.10.0-beta.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ogment CLI
2
2
 
3
- Agent-first CLI for discovering and invoking Ogment-backed tools.
3
+ Agent-first CLI for discovering servers and running Codemode `search`/`execute` flows against Ogment-backed tools.
4
4
 
5
5
  - Package: `@ogment-ai/cli`
6
6
  - Binary: `ogment`
@@ -15,32 +15,30 @@ npm install -g @ogment-ai/cli
15
15
  ## Quick Start
16
16
 
17
17
  ```bash
18
- # 1) Authenticate (device flow by default)
19
- ogment auth login
18
+ # 1) Authenticate this CLI installation
19
+ ogment login
20
20
 
21
21
  # 2) Discover servers
22
22
  ogment catalog
23
23
 
24
- # 3) Discover tools on one server
25
- ogment catalog <server-id>
24
+ # 3) Inspect tool definitions on one server
25
+ ogment search <server-id> --code 'return input'
26
26
 
27
- # 4) Inspect one tool schema
28
- ogment catalog <server-id> <tool-name> --example
29
-
30
- # 5) Invoke
31
- ogment invoke <server-id> <tool-name> --input '{}'
27
+ # 4) Execute Codemode JavaScript
28
+ ogment execute <server-id> --code 'return input' --input '{}'
32
29
  ```
33
30
 
34
31
  ## Common Commands
35
32
 
36
33
  ```bash
37
- ogment auth login
38
- ogment auth status
39
- ogment auth logout
34
+ ogment login
35
+ ogment logout
36
+ ogment reset
40
37
 
41
- ogment catalog [server-id] [tool-name]
38
+ ogment catalog
42
39
 
43
- ogment invoke <server-id> <tool-name> --input '{}'
40
+ ogment search <server-id> --code 'return input'
41
+ ogment execute <server-id> --code 'return input' --input '{}'
44
42
  ogment status
45
43
  ```
46
44