devhive 0.1.26__tar.gz → 0.1.28__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 (56) hide show
  1. devhive-0.1.28/MANIFEST.in +5 -0
  2. {devhive-0.1.26/devhive.egg-info → devhive-0.1.28}/PKG-INFO +1 -1
  3. {devhive-0.1.26 → devhive-0.1.28/devhive.egg-info}/PKG-INFO +1 -1
  4. devhive-0.1.28/devhive.egg-info/SOURCES.txt +52 -0
  5. devhive-0.1.28/devhive_cli/agents/devhive.md +25 -0
  6. {devhive-0.1.26 → devhive-0.1.28}/devhive_cli/main.py +21 -5
  7. {devhive-0.1.26 → devhive-0.1.28}/setup.py +1 -1
  8. devhive-0.1.26/MANIFEST.in +0 -4
  9. devhive-0.1.26/devhive.egg-info/SOURCES.txt +0 -51
  10. {devhive-0.1.26 → devhive-0.1.28}/LICENSE +0 -0
  11. {devhive-0.1.26 → devhive-0.1.28}/README.md +0 -0
  12. {devhive-0.1.26 → devhive-0.1.28}/devhive.egg-info/dependency_links.txt +0 -0
  13. {devhive-0.1.26 → devhive-0.1.28}/devhive.egg-info/entry_points.txt +0 -0
  14. {devhive-0.1.26 → devhive-0.1.28}/devhive.egg-info/requires.txt +0 -0
  15. {devhive-0.1.26 → devhive-0.1.28}/devhive.egg-info/top_level.txt +0 -0
  16. {devhive-0.1.26 → devhive-0.1.28}/devhive_cli/__init__.py +0 -0
  17. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/architecture-patterns/SKILL.md +0 -0
  18. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/architecture-patterns/resources/implementation-playbook.md +0 -0
  19. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/backend-arthitect/SKILL.md +0 -0
  20. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/backend-security-coder/SKILL.md +0 -0
  21. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/docker-expert/SKILL.md +0 -0
  22. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/frontend-design/SKILL.md +0 -0
  23. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/frontend-developer/SKILL.md +0 -0
  24. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/theme-factory/SKILL.md +0 -0
  25. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/theme-factory/theme-showcase.pdf +0 -0
  26. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/theme-factory/themes/arctic-frost.md +0 -0
  27. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/theme-factory/themes/botanical-garden.md +0 -0
  28. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/theme-factory/themes/desert-rose.md +0 -0
  29. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/theme-factory/themes/forest-canopy.md +0 -0
  30. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/theme-factory/themes/golden-hour.md +0 -0
  31. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/theme-factory/themes/midnight-galaxy.md +0 -0
  32. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/theme-factory/themes/modern-minimalist.md +0 -0
  33. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/theme-factory/themes/ocean-depths.md +0 -0
  34. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/theme-factory/themes/sunset-boulevard.md +0 -0
  35. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/community_skills/theme-factory/themes/tech-innovation.md +0 -0
  36. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_architect/SKILL.md +0 -0
  37. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_auditor/SKILL.md +0 -0
  38. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_backender/SKILL.md +0 -0
  39. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_dba/SKILL.md +0 -0
  40. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_designer/SKILL.md +0 -0
  41. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_devops/SKILL.md +0 -0
  42. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_explorer/SKILL.md +0 -0
  43. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_frontender/SKILL.md +0 -0
  44. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_orchestrator/SKILL.md +0 -0
  45. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_perf/SKILL.md +0 -0
  46. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_proposal/SKILL.md +0 -0
  47. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_qa/SKILL.md +0 -0
  48. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_releaser/SKILL.md +0 -0
  49. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_sast/SKILL.md +0 -0
  50. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_taskplanner/SKILL.md +0 -0
  51. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_techwriter/SKILL.md +0 -0
  52. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/skills/devhive_workflow.md +0 -0
  53. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/templates/AGENTS.backend.md +0 -0
  54. {devhive-0.1.26 → devhive-0.1.28/devhive_cli}/templates/AGENTS.frontend.md +0 -0
  55. {devhive-0.1.26 → devhive-0.1.28}/devhive_cli/templates_backend.py +0 -0
  56. {devhive-0.1.26 → devhive-0.1.28}/setup.cfg +0 -0
@@ -0,0 +1,5 @@
1
+ recursive-include devhive_cli/skills *
2
+ recursive-include devhive_cli/community_skills *
3
+ recursive-include devhive_cli/templates *
4
+ recursive-include devhive_cli/agents *
5
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devhive
3
- Version: 0.1.26
3
+ Version: 0.1.28
4
4
  Summary: CLI to manage DevHive skills and autonomous AI agents for OpenCode.
5
5
  Home-page: https://github.com/ramBlanco/devhive
6
6
  Author: ramBlanco
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devhive
3
- Version: 0.1.26
3
+ Version: 0.1.28
4
4
  Summary: CLI to manage DevHive skills and autonomous AI agents for OpenCode.
5
5
  Home-page: https://github.com/ramBlanco/devhive
6
6
  Author: ramBlanco
@@ -0,0 +1,52 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README.md
4
+ setup.py
5
+ devhive.egg-info/PKG-INFO
6
+ devhive.egg-info/SOURCES.txt
7
+ devhive.egg-info/dependency_links.txt
8
+ devhive.egg-info/entry_points.txt
9
+ devhive.egg-info/requires.txt
10
+ devhive.egg-info/top_level.txt
11
+ devhive_cli/__init__.py
12
+ devhive_cli/main.py
13
+ devhive_cli/templates_backend.py
14
+ devhive_cli/agents/devhive.md
15
+ devhive_cli/community_skills/architecture-patterns/SKILL.md
16
+ devhive_cli/community_skills/architecture-patterns/resources/implementation-playbook.md
17
+ devhive_cli/community_skills/backend-arthitect/SKILL.md
18
+ devhive_cli/community_skills/backend-security-coder/SKILL.md
19
+ devhive_cli/community_skills/docker-expert/SKILL.md
20
+ devhive_cli/community_skills/frontend-design/SKILL.md
21
+ devhive_cli/community_skills/frontend-developer/SKILL.md
22
+ devhive_cli/community_skills/theme-factory/SKILL.md
23
+ devhive_cli/community_skills/theme-factory/theme-showcase.pdf
24
+ devhive_cli/community_skills/theme-factory/themes/arctic-frost.md
25
+ devhive_cli/community_skills/theme-factory/themes/botanical-garden.md
26
+ devhive_cli/community_skills/theme-factory/themes/desert-rose.md
27
+ devhive_cli/community_skills/theme-factory/themes/forest-canopy.md
28
+ devhive_cli/community_skills/theme-factory/themes/golden-hour.md
29
+ devhive_cli/community_skills/theme-factory/themes/midnight-galaxy.md
30
+ devhive_cli/community_skills/theme-factory/themes/modern-minimalist.md
31
+ devhive_cli/community_skills/theme-factory/themes/ocean-depths.md
32
+ devhive_cli/community_skills/theme-factory/themes/sunset-boulevard.md
33
+ devhive_cli/community_skills/theme-factory/themes/tech-innovation.md
34
+ devhive_cli/skills/devhive_workflow.md
35
+ devhive_cli/skills/devhive_architect/SKILL.md
36
+ devhive_cli/skills/devhive_auditor/SKILL.md
37
+ devhive_cli/skills/devhive_backender/SKILL.md
38
+ devhive_cli/skills/devhive_dba/SKILL.md
39
+ devhive_cli/skills/devhive_designer/SKILL.md
40
+ devhive_cli/skills/devhive_devops/SKILL.md
41
+ devhive_cli/skills/devhive_explorer/SKILL.md
42
+ devhive_cli/skills/devhive_frontender/SKILL.md
43
+ devhive_cli/skills/devhive_orchestrator/SKILL.md
44
+ devhive_cli/skills/devhive_perf/SKILL.md
45
+ devhive_cli/skills/devhive_proposal/SKILL.md
46
+ devhive_cli/skills/devhive_qa/SKILL.md
47
+ devhive_cli/skills/devhive_releaser/SKILL.md
48
+ devhive_cli/skills/devhive_sast/SKILL.md
49
+ devhive_cli/skills/devhive_taskplanner/SKILL.md
50
+ devhive_cli/skills/devhive_techwriter/SKILL.md
51
+ devhive_cli/templates/AGENTS.backend.md
52
+ devhive_cli/templates/AGENTS.frontend.md
@@ -0,0 +1,25 @@
1
+ ---
2
+ name: devhive
3
+ description: Autonomous Software Development Agent using Skill-Driven Development (SDD).
4
+ ---
5
+
6
+ # DevHive Agent
7
+
8
+ You are DevHive, an elite autonomous software engineer and system orchestrator.
9
+ You manage the entire software development lifecycle using Skill-Driven Development (SDD), a pipeline that generates and follows local Markdown specifications in the `.devhive/specs/` directory.
10
+
11
+ ## Core Directive: Immediate Delegation
12
+ You are NOT a general conversational assistant. Your primary function is to execute the SDD pipeline.
13
+ Whenever invoked, your FIRST action MUST be to use the `skill` tool to load the `devhive-orchestrator` skill.
14
+
15
+ ## Operating Protocol
16
+
17
+ 1. **Initialization**: Upon receiving a user request, immediately load `devhive-orchestrator`.
18
+ 2. **Context Gathering**:
19
+ - Check if the user explicitly requested "continuous mode" in their prompt.
20
+ - Proactively use your tools (like `bash` or `read`) to check if the flag file `.devhive/continuous` exists in the workspace.
21
+ - If continuous mode is enabled via either method, ensure the orchestrator knows to run the pipeline autonomously without pausing for user approval between phases.
22
+ 3. **Execution**: Follow the exact step-by-step instructions injected by the `devhive-orchestrator` skill. Rely on the local file system (`.devhive/specs/`) as your source of truth and state management.
23
+ 4. **Tone & Behavior**: Be extremely concise. Avoid conversational filler (e.g., "Sure, I can help with that!"). Output minimal text to the user, focusing entirely on executing tool calls and advancing the pipeline.
24
+
25
+ Remember: Your success depends entirely on loading `devhive-orchestrator` and strictly following its phase-by-phase guidelines.
@@ -7,11 +7,12 @@ from devhive_cli.templates_backend import generate_backend_agents_md
7
7
 
8
8
  # Paths configuration
9
9
  CLI_DIR = Path(__file__).resolve().parent
10
- ROOT_DIR = CLI_DIR.parent
11
- LOCAL_SKILLS_DIR = ROOT_DIR / "skills"
12
- COMMUNITY_SKILLS_DIR = ROOT_DIR / "community_skills"
13
- TEMPLATES_DIR = ROOT_DIR / "templates"
10
+ LOCAL_SKILLS_DIR = CLI_DIR / "skills"
11
+ COMMUNITY_SKILLS_DIR = CLI_DIR / "community_skills"
12
+ TEMPLATES_DIR = CLI_DIR / "templates"
13
+ LOCAL_AGENTS_DIR = CLI_DIR / "agents"
14
14
  TARGET_DIR = Path.home() / ".config" / "opencode" / "skills"
15
+ TARGET_AGENTS_DIR = Path.home() / ".config" / "opencode" / "agents"
15
16
 
16
17
  @click.group()
17
18
  def cli():
@@ -47,11 +48,24 @@ def sync_local_skills(clean=False):
47
48
  shutil.copytree(skill_path, target_skill_path)
48
49
  click.secho(f"Updated: {skill_path.name}", fg="blue")
49
50
 
51
+ def sync_local_agents():
52
+ if not TARGET_AGENTS_DIR.exists():
53
+ TARGET_AGENTS_DIR.mkdir(parents=True, exist_ok=True)
54
+
55
+ if not LOCAL_AGENTS_DIR.exists():
56
+ click.secho(f"Warning: Source directory {LOCAL_AGENTS_DIR} not found.", fg="yellow")
57
+ return
58
+
59
+ click.secho(f"\nSyncing agents from {LOCAL_AGENTS_DIR.name}...", fg="cyan", bold=True)
60
+ for agent_file in LOCAL_AGENTS_DIR.glob("*.md"):
61
+ target_file = TARGET_AGENTS_DIR / agent_file.name
62
+ shutil.copy2(agent_file, target_file)
63
+ click.secho(f"Installed agent: {agent_file.name}", fg="green")
64
+
50
65
  def install_remote_skills():
51
66
  click.secho("\nInstalling official remote skills via npx...", fg="cyan", bold=True)
52
67
  commands = [
53
68
  ["npx", "--yes", "skills", "add", "https://github.com/shadcn/ui", "--skill", "shadcn", "-y", "--global"],
54
- ["npx", "--yes", "skills", "add", "https://github.com/supercent-io/skills-template", "--skill", "responsive-design", "-y", "--global"]
55
69
  ]
56
70
 
57
71
  for cmd in commands:
@@ -66,6 +80,7 @@ def install():
66
80
  """Install all devhive and community skills."""
67
81
  click.secho("Starting DevHive Skills Installation...", fg="green", bold=True)
68
82
  sync_local_skills(clean=False)
83
+ sync_local_agents()
69
84
  install_remote_skills()
70
85
  click.secho("\nInstallation Complete! 🎉", fg="green", bold=True)
71
86
 
@@ -74,6 +89,7 @@ def update_skill():
74
89
  """Update all skills (cleans existing ones and reinstalls)."""
75
90
  click.secho("Updating DevHive Skills...", fg="blue", bold=True)
76
91
  sync_local_skills(clean=True)
92
+ sync_local_agents()
77
93
  install_remote_skills()
78
94
  click.secho("\nUpdate Complete! 🚀", fg="green", bold=True)
79
95
 
@@ -8,7 +8,7 @@ with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
8
8
 
9
9
  setup(
10
10
  name="devhive",
11
- version="0.1.26",
11
+ version="0.1.28",
12
12
  packages=find_packages(),
13
13
  include_package_data=True,
14
14
  install_requires=[
@@ -1,4 +0,0 @@
1
- recursive-include skills *
2
- recursive-include community_skills *
3
- recursive-include templates *
4
-
@@ -1,51 +0,0 @@
1
- LICENSE
2
- MANIFEST.in
3
- README.md
4
- setup.py
5
- community_skills/architecture-patterns/SKILL.md
6
- community_skills/architecture-patterns/resources/implementation-playbook.md
7
- community_skills/backend-arthitect/SKILL.md
8
- community_skills/backend-security-coder/SKILL.md
9
- community_skills/docker-expert/SKILL.md
10
- community_skills/frontend-design/SKILL.md
11
- community_skills/frontend-developer/SKILL.md
12
- community_skills/theme-factory/SKILL.md
13
- community_skills/theme-factory/theme-showcase.pdf
14
- community_skills/theme-factory/themes/arctic-frost.md
15
- community_skills/theme-factory/themes/botanical-garden.md
16
- community_skills/theme-factory/themes/desert-rose.md
17
- community_skills/theme-factory/themes/forest-canopy.md
18
- community_skills/theme-factory/themes/golden-hour.md
19
- community_skills/theme-factory/themes/midnight-galaxy.md
20
- community_skills/theme-factory/themes/modern-minimalist.md
21
- community_skills/theme-factory/themes/ocean-depths.md
22
- community_skills/theme-factory/themes/sunset-boulevard.md
23
- community_skills/theme-factory/themes/tech-innovation.md
24
- devhive.egg-info/PKG-INFO
25
- devhive.egg-info/SOURCES.txt
26
- devhive.egg-info/dependency_links.txt
27
- devhive.egg-info/entry_points.txt
28
- devhive.egg-info/requires.txt
29
- devhive.egg-info/top_level.txt
30
- devhive_cli/__init__.py
31
- devhive_cli/main.py
32
- devhive_cli/templates_backend.py
33
- skills/devhive_workflow.md
34
- skills/devhive_architect/SKILL.md
35
- skills/devhive_auditor/SKILL.md
36
- skills/devhive_backender/SKILL.md
37
- skills/devhive_dba/SKILL.md
38
- skills/devhive_designer/SKILL.md
39
- skills/devhive_devops/SKILL.md
40
- skills/devhive_explorer/SKILL.md
41
- skills/devhive_frontender/SKILL.md
42
- skills/devhive_orchestrator/SKILL.md
43
- skills/devhive_perf/SKILL.md
44
- skills/devhive_proposal/SKILL.md
45
- skills/devhive_qa/SKILL.md
46
- skills/devhive_releaser/SKILL.md
47
- skills/devhive_sast/SKILL.md
48
- skills/devhive_taskplanner/SKILL.md
49
- skills/devhive_techwriter/SKILL.md
50
- templates/AGENTS.backend.md
51
- templates/AGENTS.frontend.md
File without changes
File without changes
File without changes