create-leafmesh 2.1.0__tar.gz → 2.1.1__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 (37) hide show
  1. create_leafmesh-2.1.1/PKG-INFO +91 -0
  2. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/__init__.py +1 -1
  3. create_leafmesh-2.1.1/create_leafmesh.egg-info/PKG-INFO +91 -0
  4. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/pyproject.toml +2 -1
  5. create_leafmesh-2.1.0/PKG-INFO +0 -6
  6. create_leafmesh-2.1.0/create_leafmesh.egg-info/PKG-INFO +0 -6
  7. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/README.md +0 -0
  8. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/cli.py +0 -0
  9. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/create.py +0 -0
  10. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/Dockerfile +0 -0
  11. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/README.md +0 -0
  12. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/agency/__init__.py +0 -0
  13. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/agency/advisor_agent.py +0 -0
  14. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/agency/external_agents.py +0 -0
  15. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/agency/fallback_researcher_agent.py +0 -0
  16. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/agency/greeter_agent.py +0 -0
  17. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/agency/processor_agent.py +0 -0
  18. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/agency/researcher_agent.py +0 -0
  19. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/agency/scheduler_agent.py +0 -0
  20. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/agency/tools.py +0 -0
  21. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/claude_skills/leafmesh/SKILL.md +0 -0
  22. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/claude_skills/leafmesh/agent-config-fields.md +0 -0
  23. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/claude_skills/leafmesh/examples.md +0 -0
  24. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/claude_skills/leafmesh/reference.md +0 -0
  25. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/configs/config.yaml +0 -0
  26. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/docker-compose.yml +0 -0
  27. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/dockerignore +0 -0
  28. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/env +0 -0
  29. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/gitignore +0 -0
  30. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/hitl_stub_receiver.py +0 -0
  31. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/main.py +0 -0
  32. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh/templates/requirements.txt +0 -0
  33. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh.egg-info/SOURCES.txt +0 -0
  34. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh.egg-info/dependency_links.txt +0 -0
  35. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh.egg-info/entry_points.txt +0 -0
  36. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/create_leafmesh.egg-info/top_level.txt +0 -0
  37. {create_leafmesh-2.1.0 → create_leafmesh-2.1.1}/setup.cfg +0 -0
@@ -0,0 +1,91 @@
1
+ Metadata-Version: 2.4
2
+ Name: create-leafmesh
3
+ Version: 2.1.1
4
+ Summary: Project scaffolding tool for LeafMesh
5
+ License-Expression: MIT
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/markdown
8
+
9
+ # create-leafmesh
10
+
11
+ Project scaffolding tool for [LeafMesh](https://pypi.org/project/leafmesh/) — the YAML-native multi-agent orchestration platform.
12
+
13
+ ## Install
14
+
15
+ ```bash
16
+ pip install create-leafmesh
17
+ ```
18
+
19
+ ## Create a Project
20
+
21
+ ```bash
22
+ create-leafmesh create my-project
23
+ cd my-project
24
+ python -m venv .venv && source .venv/bin/activate
25
+ pip install -r requirements.txt
26
+ python main.py
27
+ ```
28
+
29
+ ## CLI Options
30
+
31
+ ```bash
32
+ # Create in a specific directory
33
+ create-leafmesh create my-project -o /path/to/dir
34
+
35
+ # Skip git initialization
36
+ create-leafmesh create my-project --no-git
37
+
38
+ # Interactive mode (prompts for project name)
39
+ create-leafmesh create
40
+ ```
41
+
42
+ ## Generated Project Structure
43
+
44
+ ```
45
+ my-project/
46
+ configs/
47
+ config.yaml # Agent definitions, mesh wiring, HITL config
48
+ agency/
49
+ greeter_agent.py # LLM agent with @pre_compose
50
+ processor_agent.py # Programmatic agent with @conditional_chain
51
+ researcher_agent.py # LLM agent with @chain_with_results + smart memory
52
+ fallback_researcher_agent.py # Fast fallback (race pattern)
53
+ advisor_agent.py # LLM fan-in with @chain + @compose
54
+ scheduler_agent.py # Cron-scheduled agent
55
+ tools.py # Custom tools (@global_tool, @tool)
56
+ external_agents.py # Integration reference (CrewAI, LangGraph, etc.)
57
+ main.py # Entry point
58
+ hitl_stub_receiver.py # Webhook stub for testing HITL locally
59
+ requirements.txt
60
+ .env # API keys
61
+ Dockerfile
62
+ docker-compose.yml # Redis + app
63
+ ```
64
+
65
+ ## What's Included
66
+
67
+ - **8 agents** showcasing all 4 agent types (human, llm, programmatic, external)
68
+ - **Human-in-the-Loop (HITL)** with dual webhook mode and `from_agent` routing
69
+ - **Fan-in/fan-out** with OR expressions (`processor AND (researcher OR fallback)`)
70
+ - **Smart memory** with hybrid recency/relevance scoring
71
+ - **Scheduled agents** with cron expressions
72
+ - **Custom tools** with access control and categories
73
+ - **All 5 decorators**: `@pre_compose`, `@chain`, `@chain_with_results`, `@conditional_chain`, `@compose`
74
+ - **HITL test stub** (`hitl_stub_receiver.py`) for local webhook testing
75
+ - **Docker-ready** with Redis included
76
+ - **Full README** with HITL walkthrough (2 scenarios, step-by-step)
77
+
78
+ ## Requirements
79
+
80
+ - Python 3.10+
81
+ - Redis server running (default: localhost:6379)
82
+ - At least one LLM API key (e.g. `OPENAI_API_KEY` in `.env`)
83
+
84
+ ## Links
85
+
86
+ - [LeafMesh SDK](https://pypi.org/project/leafmesh/)
87
+ - [LeafCraft Studios](https://leafcraft.ai)
88
+
89
+ ## License
90
+
91
+ MIT
@@ -1,3 +1,3 @@
1
1
  """create-leafmesh — Project scaffolding tool for LeafMesh."""
2
2
 
3
- __version__ = "2.1.0"
3
+ __version__ = "2.1.1"
@@ -0,0 +1,91 @@
1
+ Metadata-Version: 2.4
2
+ Name: create-leafmesh
3
+ Version: 2.1.1
4
+ Summary: Project scaffolding tool for LeafMesh
5
+ License-Expression: MIT
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/markdown
8
+
9
+ # create-leafmesh
10
+
11
+ Project scaffolding tool for [LeafMesh](https://pypi.org/project/leafmesh/) — the YAML-native multi-agent orchestration platform.
12
+
13
+ ## Install
14
+
15
+ ```bash
16
+ pip install create-leafmesh
17
+ ```
18
+
19
+ ## Create a Project
20
+
21
+ ```bash
22
+ create-leafmesh create my-project
23
+ cd my-project
24
+ python -m venv .venv && source .venv/bin/activate
25
+ pip install -r requirements.txt
26
+ python main.py
27
+ ```
28
+
29
+ ## CLI Options
30
+
31
+ ```bash
32
+ # Create in a specific directory
33
+ create-leafmesh create my-project -o /path/to/dir
34
+
35
+ # Skip git initialization
36
+ create-leafmesh create my-project --no-git
37
+
38
+ # Interactive mode (prompts for project name)
39
+ create-leafmesh create
40
+ ```
41
+
42
+ ## Generated Project Structure
43
+
44
+ ```
45
+ my-project/
46
+ configs/
47
+ config.yaml # Agent definitions, mesh wiring, HITL config
48
+ agency/
49
+ greeter_agent.py # LLM agent with @pre_compose
50
+ processor_agent.py # Programmatic agent with @conditional_chain
51
+ researcher_agent.py # LLM agent with @chain_with_results + smart memory
52
+ fallback_researcher_agent.py # Fast fallback (race pattern)
53
+ advisor_agent.py # LLM fan-in with @chain + @compose
54
+ scheduler_agent.py # Cron-scheduled agent
55
+ tools.py # Custom tools (@global_tool, @tool)
56
+ external_agents.py # Integration reference (CrewAI, LangGraph, etc.)
57
+ main.py # Entry point
58
+ hitl_stub_receiver.py # Webhook stub for testing HITL locally
59
+ requirements.txt
60
+ .env # API keys
61
+ Dockerfile
62
+ docker-compose.yml # Redis + app
63
+ ```
64
+
65
+ ## What's Included
66
+
67
+ - **8 agents** showcasing all 4 agent types (human, llm, programmatic, external)
68
+ - **Human-in-the-Loop (HITL)** with dual webhook mode and `from_agent` routing
69
+ - **Fan-in/fan-out** with OR expressions (`processor AND (researcher OR fallback)`)
70
+ - **Smart memory** with hybrid recency/relevance scoring
71
+ - **Scheduled agents** with cron expressions
72
+ - **Custom tools** with access control and categories
73
+ - **All 5 decorators**: `@pre_compose`, `@chain`, `@chain_with_results`, `@conditional_chain`, `@compose`
74
+ - **HITL test stub** (`hitl_stub_receiver.py`) for local webhook testing
75
+ - **Docker-ready** with Redis included
76
+ - **Full README** with HITL walkthrough (2 scenarios, step-by-step)
77
+
78
+ ## Requirements
79
+
80
+ - Python 3.10+
81
+ - Redis server running (default: localhost:6379)
82
+ - At least one LLM API key (e.g. `OPENAI_API_KEY` in `.env`)
83
+
84
+ ## Links
85
+
86
+ - [LeafMesh SDK](https://pypi.org/project/leafmesh/)
87
+ - [LeafCraft Studios](https://leafcraft.ai)
88
+
89
+ ## License
90
+
91
+ MIT
@@ -4,8 +4,9 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "create-leafmesh"
7
- version = "2.1.0"
7
+ version = "2.1.1"
8
8
  description = "Project scaffolding tool for LeafMesh"
9
+ readme = "README.md"
9
10
  requires-python = ">=3.10"
10
11
  license = "MIT"
11
12
  dependencies = []
@@ -1,6 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: create-leafmesh
3
- Version: 2.1.0
4
- Summary: Project scaffolding tool for LeafMesh
5
- License-Expression: MIT
6
- Requires-Python: >=3.10
@@ -1,6 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: create-leafmesh
3
- Version: 2.1.0
4
- Summary: Project scaffolding tool for LeafMesh
5
- License-Expression: MIT
6
- Requires-Python: >=3.10