devhive 0.1.36__tar.gz → 0.1.38__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.36/devhive.egg-info → devhive-0.1.38}/PKG-INFO +1 -1
  2. {devhive-0.1.36 → devhive-0.1.38/devhive.egg-info}/PKG-INFO +1 -1
  3. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/main.py +18 -24
  4. {devhive-0.1.36 → devhive-0.1.38}/setup.py +1 -1
  5. {devhive-0.1.36 → devhive-0.1.38}/LICENSE +0 -0
  6. {devhive-0.1.36 → devhive-0.1.38}/MANIFEST.in +0 -0
  7. {devhive-0.1.36 → devhive-0.1.38}/README.md +0 -0
  8. {devhive-0.1.36 → devhive-0.1.38}/devhive.egg-info/SOURCES.txt +0 -0
  9. {devhive-0.1.36 → devhive-0.1.38}/devhive.egg-info/dependency_links.txt +0 -0
  10. {devhive-0.1.36 → devhive-0.1.38}/devhive.egg-info/entry_points.txt +0 -0
  11. {devhive-0.1.36 → devhive-0.1.38}/devhive.egg-info/requires.txt +0 -0
  12. {devhive-0.1.36 → devhive-0.1.38}/devhive.egg-info/top_level.txt +0 -0
  13. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/__init__.py +0 -0
  14. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/agents/devhive.md +0 -0
  15. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/architecture-patterns/SKILL.md +0 -0
  16. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/architecture-patterns/resources/implementation-playbook.md +0 -0
  17. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/backend-arthitect/SKILL.md +0 -0
  18. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/backend-security-coder/SKILL.md +0 -0
  19. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/docker-expert/SKILL.md +0 -0
  20. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/frontend-design/SKILL.md +0 -0
  21. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/frontend-developer/SKILL.md +0 -0
  22. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/theme-factory/SKILL.md +0 -0
  23. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/theme-factory/theme-showcase.pdf +0 -0
  24. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/theme-factory/themes/arctic-frost.md +0 -0
  25. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/theme-factory/themes/botanical-garden.md +0 -0
  26. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/theme-factory/themes/desert-rose.md +0 -0
  27. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/theme-factory/themes/forest-canopy.md +0 -0
  28. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/theme-factory/themes/golden-hour.md +0 -0
  29. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/theme-factory/themes/midnight-galaxy.md +0 -0
  30. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/theme-factory/themes/modern-minimalist.md +0 -0
  31. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/theme-factory/themes/ocean-depths.md +0 -0
  32. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/theme-factory/themes/sunset-boulevard.md +0 -0
  33. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/community_skills/theme-factory/themes/tech-innovation.md +0 -0
  34. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_architect/SKILL.md +0 -0
  35. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_auditor/SKILL.md +0 -0
  36. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_backender/SKILL.md +0 -0
  37. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_dba/SKILL.md +0 -0
  38. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_designer/SKILL.md +0 -0
  39. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_devops/SKILL.md +0 -0
  40. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_explorer/SKILL.md +0 -0
  41. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_frontender/SKILL.md +0 -0
  42. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_orchestrator/SKILL.md +0 -0
  43. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_perf/SKILL.md +0 -0
  44. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_prd/SKILL.md +0 -0
  45. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_proposal/SKILL.md +0 -0
  46. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_qa/SKILL.md +0 -0
  47. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_reflection/SKILL.md +0 -0
  48. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_releaser/SKILL.md +0 -0
  49. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_sast/SKILL.md +0 -0
  50. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_taskplanner/SKILL.md +0 -0
  51. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_techwriter/SKILL.md +0 -0
  52. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/skills/devhive_workflow.md +0 -0
  53. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/templates/AGENTS.backend.md +0 -0
  54. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/templates/AGENTS.frontend.md +0 -0
  55. {devhive-0.1.36 → devhive-0.1.38}/devhive_cli/templates_backend.py +0 -0
  56. {devhive-0.1.36 → devhive-0.1.38}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devhive
3
- Version: 0.1.36
3
+ Version: 0.1.38
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.36
3
+ Version: 0.1.38
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,5 +1,18 @@
1
1
  import os
2
2
  import shutil
3
+ import subprocess
4
+ from pathlib import Path
5
+ import click
6
+ from devhive_cli.templates_backend import generate_backend_agents_md
7
+
8
+ # Paths configuration
9
+ CLI_DIR = Path(__file__).resolve().parent
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
+ TARGET_DIR = Path.home() / ".config" / "opencode" / "skills"
15
+ TARGET_AGENTS_DIR = Path.home() / ".config" / "opencode" / "agents"
3
16
 
4
17
  ZERO_TOUCH_POLICY = """# 🛑 SYSTEM DIRECTIVE: ZERO-TOUCH POLICY (DevHive Enforcement)
5
18
  **CRITICAL INSTRUCTION FOR ALL AI AGENTS:**
@@ -28,22 +41,17 @@ def handle_existing_agents_md(dest_path: Path) -> bool:
28
41
 
29
42
  click.secho("⚠️ AGENTS.md already exists, but it is missing the critical DevHive Zero-Touch Policy.", fg="yellow")
30
43
  action = click.prompt(
31
- "Do you want to:
32
- "
33
- " [i]nject the policy at the top (preserves your file)
34
- "
35
- " [o]verwrite the entire file with a new template
36
- "
37
- " [a]bort
38
- "
44
+ "Do you want to:\n"
45
+ " [i]nject the policy at the top (preserves your file)\n"
46
+ " [o]verwrite the entire file with a new template\n"
47
+ " [a]bort\n"
39
48
  "Action",
40
49
  type=click.Choice(['i', 'o', 'a'], case_sensitive=False)
41
50
  )
42
51
 
43
52
  if action == 'i':
44
53
  with open(dest_path, "w") as f:
45
- f.write(ZERO_TOUCH_POLICY + "
46
- " + content)
54
+ f.write(ZERO_TOUCH_POLICY + "\n" + content)
47
55
  click.secho("✅ Zero-Touch Policy injected successfully! Your existing content was preserved.", fg="green", bold=True)
48
56
  return False
49
57
  elif action == 'o':
@@ -52,20 +60,6 @@ def handle_existing_agents_md(dest_path: Path) -> bool:
52
60
  click.secho("Aborted.", fg="yellow")
53
61
  return False
54
62
 
55
- import subprocess
56
- from pathlib import Path
57
- import click
58
- from devhive_cli.templates_backend import generate_backend_agents_md
59
-
60
- # Paths configuration
61
- CLI_DIR = Path(__file__).resolve().parent
62
- LOCAL_SKILLS_DIR = CLI_DIR / "skills"
63
- COMMUNITY_SKILLS_DIR = CLI_DIR / "community_skills"
64
- TEMPLATES_DIR = CLI_DIR / "templates"
65
- LOCAL_AGENTS_DIR = CLI_DIR / "agents"
66
- TARGET_DIR = Path.home() / ".config" / "opencode" / "skills"
67
- TARGET_AGENTS_DIR = Path.home() / ".config" / "opencode" / "agents"
68
-
69
63
  @click.group()
70
64
  def cli():
71
65
  """DevHive CLI for managing AI agent skills."""
@@ -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.36",
11
+ version="0.1.38",
12
12
  packages=find_packages(),
13
13
  include_package_data=True,
14
14
  install_requires=[
File without changes
File without changes
File without changes
File without changes