ivon-cli 0.1.0__tar.gz → 0.2.0__tar.gz

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.
Files changed (25) hide show
  1. {ivon_cli-0.1.0/src/ivon_cli.egg-info → ivon_cli-0.2.0}/PKG-INFO +11 -3
  2. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/README.md +10 -2
  3. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/pyproject.toml +1 -1
  4. ivon_cli-0.2.0/src/ivon_cli/__init__.py +3 -0
  5. ivon_cli-0.2.0/src/ivon_cli/_tools_snapshot.json +2905 -0
  6. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli/cmds/auth.py +1 -1
  7. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli/cmds/mcp.py +1 -1
  8. ivon_cli-0.2.0/src/ivon_cli/cmds/meta.py +526 -0
  9. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli/data/ivon_meta_ads_skill.md +7 -1
  10. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli/main.py +19 -0
  11. {ivon_cli-0.1.0 → ivon_cli-0.2.0/src/ivon_cli.egg-info}/PKG-INFO +11 -3
  12. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli.egg-info/SOURCES.txt +1 -0
  13. ivon_cli-0.1.0/src/ivon_cli/__init__.py +0 -3
  14. ivon_cli-0.1.0/src/ivon_cli/cmds/meta.py +0 -135
  15. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/MANIFEST.in +0 -0
  16. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/setup.cfg +0 -0
  17. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli/api.py +0 -0
  18. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli/cmds/__init__.py +0 -0
  19. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli/cmds/install.py +0 -0
  20. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli/config.py +0 -0
  21. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli/exit_codes.py +0 -0
  22. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli.egg-info/dependency_links.txt +0 -0
  23. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli.egg-info/entry_points.txt +0 -0
  24. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli.egg-info/requires.txt +0 -0
  25. {ivon_cli-0.1.0 → ivon_cli-0.2.0}/src/ivon_cli.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ivon-cli
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: ivon CLI — Meta Ads connector commands + MCP access for the ivon autonomous marketing team
5
5
  Author: ivon (LemonTree Media)
6
6
  License: Proprietary
@@ -20,7 +20,8 @@ server that powers ivon's agents, wrapped in human-friendly commands.
20
20
  ## Install
21
21
 
22
22
  ```bash
23
- pip install -e cli/ # from the repo root (or publish to PyPI later)
23
+ pip install ivon-cli # from PyPI (or pipx install ivon-cli)
24
+ pip install -e cli/ # from the repo root, for development
24
25
  ```
25
26
 
26
27
  ## Login
@@ -38,7 +39,9 @@ revoke all CLI / MCP access.
38
39
  ## Meta Ads commands
39
40
 
40
41
  ```bash
41
- ivon meta tools # list every MCP tool
42
+ ivon meta tools # list every MCP tool, grouped
43
+ ivon meta tools get_insights # one tool: params, defaults + example
44
+ ivon meta tools get_insights --json # same as JSON Schema (for agents)
42
45
  ivon meta accounts # your ad accounts
43
46
  ivon meta campaigns -a act_123 --status ACTIVE
44
47
  ivon meta adsets -a act_123 -c <campaign_id>
@@ -51,6 +54,11 @@ ivon meta call create_campaign -p account_id=act_123 -p name="Spring Sale" \
51
54
  `ivon meta call <tool> -p key=value` reaches any tool on the server —
52
55
  values parse as JSON when possible (`-p limit=25`, `-p targeting='{"geo_locations":{"countries":["US"]}}'`).
53
56
 
57
+ `ivon meta tools` reads a catalog snapshot bundled with the CLI, so discovery
58
+ is instant and works before login; `--refresh` re-fetches from the live
59
+ server. Refresh the bundled snapshot with `scripts/snapshot_cli_tools.py`
60
+ after changing the backend's tool surface.
61
+
54
62
  ## MCP client setup
55
63
 
56
64
  ```bash
@@ -6,7 +6,8 @@ server that powers ivon's agents, wrapped in human-friendly commands.
6
6
  ## Install
7
7
 
8
8
  ```bash
9
- pip install -e cli/ # from the repo root (or publish to PyPI later)
9
+ pip install ivon-cli # from PyPI (or pipx install ivon-cli)
10
+ pip install -e cli/ # from the repo root, for development
10
11
  ```
11
12
 
12
13
  ## Login
@@ -24,7 +25,9 @@ revoke all CLI / MCP access.
24
25
  ## Meta Ads commands
25
26
 
26
27
  ```bash
27
- ivon meta tools # list every MCP tool
28
+ ivon meta tools # list every MCP tool, grouped
29
+ ivon meta tools get_insights # one tool: params, defaults + example
30
+ ivon meta tools get_insights --json # same as JSON Schema (for agents)
28
31
  ivon meta accounts # your ad accounts
29
32
  ivon meta campaigns -a act_123 --status ACTIVE
30
33
  ivon meta adsets -a act_123 -c <campaign_id>
@@ -37,6 +40,11 @@ ivon meta call create_campaign -p account_id=act_123 -p name="Spring Sale" \
37
40
  `ivon meta call <tool> -p key=value` reaches any tool on the server —
38
41
  values parse as JSON when possible (`-p limit=25`, `-p targeting='{"geo_locations":{"countries":["US"]}}'`).
39
42
 
43
+ `ivon meta tools` reads a catalog snapshot bundled with the CLI, so discovery
44
+ is instant and works before login; `--refresh` re-fetches from the live
45
+ server. Refresh the bundled snapshot with `scripts/snapshot_cli_tools.py`
46
+ after changing the backend's tool surface.
47
+
40
48
  ## MCP client setup
41
49
 
42
50
  ```bash
@@ -32,7 +32,7 @@ where = ["src"]
32
32
  "" = "src"
33
33
 
34
34
  [tool.setuptools.package-data]
35
- ivon_cli = ["data/*.md"]
35
+ ivon_cli = ["data/*.md", "_tools_snapshot.json"]
36
36
 
37
37
  [tool.setuptools.dynamic]
38
38
  version = {attr = "ivon_cli.__version__"}
@@ -0,0 +1,3 @@
1
+ """ivon CLI."""
2
+
3
+ __version__ = "0.2.0"