Skip to content

"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/

Python

fix(macrocli): address review feedback - gitignore, package_data, manifest, and dependencies

haorui-harry1d5312f9e84f
diff --git a/.gitignore b/.gitignore
index 30cdd4800..f708830a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -82,6 +82,7 @@
!/unrealinsights/
!/nsight-graphics/
!/lldb/
+!/macrocli/
# Step 5: Inside each software dir, ignore everything (including dotfiles)
/gimp/*
@@ -170,6 +171,8 @@
/nsight-graphics/.*
/lldb/*
/lldb/.*
+/macrocli/*
+/macrocli/.*
# Step 6: ...except agent-harness/
!/gimp/agent-harness/
@@ -221,6 +224,7 @@
!/unrealinsights/agent-harness/
!/nsight-graphics/agent-harness/
!/lldb/agent-harness/
+!/macrocli/agent-harness/
# Step 7: Ignore build artifacts within allowed dirs
**/__pycache__/
diff --git a/macrocli/agent-harness/cli_anything/macrocli/macro_definitions/manifest.yaml b/macrocli/agent-harness/cli_anything/macrocli/macro_definitions/manifest.yaml
index c0d7e5852..27c0437b6 100644
--- a/macrocli/agent-harness/cli_anything/macrocli/macro_definitions/manifest.yaml
+++ b/macrocli/agent-harness/cli_anything/macrocli/macro_definitions/manifest.yaml
@@ -25,3 +25,7 @@ macros:
- name: flameshot_annotate
path: demo/flameshot_annotate.yaml
version: "1.0"
+ # ── Demo macros (kolourpaint) ─────────────────────────────────
+ - name: kolourpaint_annotate
+ path: demo/kolourpaint_annotate.yaml
+ version: "1.0"
diff --git a/macrocli/agent-harness/setup.py b/macrocli/agent-harness/setup.py
index 5326e4b8c..cbbe44d87 100644
--- a/macrocli/agent-harness/setup.py
+++ b/macrocli/agent-harness/setup.py
@@ -55,12 +55,18 @@ setup(
"mss>=9.0.0",
"Pillow>=10.0.0",
],
+ "openai": [
+ "openai>=1.0.0",
+ "mss>=9.0.0",
+ "Pillow>=10.0.0",
+ ],
"all": [
"mss>=9.0.0",
"Pillow>=10.0.0",
"numpy>=1.24.0",
"pynput>=1.7.0",
"google-generativeai>=0.8.0",
+ "openai>=1.0.0",
],
},
entry_points={
@@ -69,7 +75,15 @@ setup(
],
},
package_data={
- "cli_anything.macrocli": ["skills/*.md", "macro_definitions/*.yaml", "macro_definitions/examples/*.yaml"],
+ "cli_anything.macrocli": [
+ "skills/*.md",
+ "macro_definitions/*.yaml",
+ "macro_definitions/examples/*.yaml",
+ "macro_definitions/demo/*.yaml",
+ "macro_definitions/demo/**/*.png",
+ "macro_definitions/demo/flameshot_templates/*.png",
+ "macro_definitions/demo/snapshots/*.png",
+ ],
},
include_package_data=True,
zip_safe=False,