@ogment-ai/cli 0.9.1-next.2 → 0.10.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ogment CLI
2
2
 
3
- Agent-first CLI for discovering servers and running Codemode `search`/`execute` flows against Ogment-backed tools.
3
+ Agent-first CLI for discovering and invoking Ogment-backed tools.
4
4
 
5
5
  - Package: `@ogment-ai/cli`
6
6
  - Binary: `ogment`
@@ -15,30 +15,32 @@ 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) Inspect tool definitions on one server
25
- ogment search <server-id> --code 'return input'
24
+ # 3) Discover tools on one server
25
+ ogment catalog <server-id>
26
26
 
27
- # 4) Execute Codemode JavaScript
28
- ogment execute <server-id> --code 'return input' --input '{}'
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 '{}'
29
32
  ```
30
33
 
31
34
  ## Common Commands
32
35
 
33
36
  ```bash
34
- ogment auth login
35
- ogment auth status
36
- ogment auth logout
37
+ ogment login
38
+ ogment logout
39
+ ogment reset
37
40
 
38
- ogment catalog
41
+ ogment catalog [server-id] [tool-name]
39
42
 
40
- ogment search <server-id> --code 'return input'
41
- ogment execute <server-id> --code 'return input' --input '{}'
43
+ ogment invoke <server-id> <tool-name> --input '{}'
42
44
  ogment status
43
45
  ```
44
46