@ogment-ai/cli 0.8.2 → 0.9.1-next.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 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`
@@ -21,14 +21,11 @@ ogment auth login
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
@@ -38,9 +35,10 @@ ogment auth login
38
35
  ogment auth status
39
36
  ogment auth logout
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
 
@@ -52,9 +50,9 @@ ogment status
52
50
 
53
51
  ## Environment Variables
54
52
 
55
- - `NO_UPDATE_NOTIFIER` (optional: disable update checks for compatibility with common Node CLI tooling)
53
+ - `NO_UPDATE_NOTIFIER` (optional: bypass the enforced CLI update gate for compatibility with common Node CLI tooling)
56
54
  - `OGMENT_API_KEY` (optional API key fallback)
57
- - `OGMENT_NO_UPDATE_CHECK` (optional: set to `1` to disable update checks)
55
+ - `OGMENT_NO_UPDATE_CHECK` (optional: set to `1` to bypass the enforced CLI update gate)
58
56
 
59
57
  ## License
60
58