@ogment-ai/cli 0.9.0 → 0.9.1-next.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 +8 -10
- package/dist/cli.js +502 -510
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Ogment CLI
|
|
2
2
|
|
|
3
|
-
Agent-first CLI for discovering and
|
|
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)
|
|
25
|
-
ogment
|
|
24
|
+
# 3) Inspect tool definitions on one server
|
|
25
|
+
ogment search <server-id> --code 'return input'
|
|
26
26
|
|
|
27
|
-
# 4)
|
|
28
|
-
ogment
|
|
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
|
|
38
|
+
ogment catalog
|
|
42
39
|
|
|
43
|
-
ogment
|
|
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
|
|