codee-agent 0.9.5__tar.gz → 0.9.6__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 (101) hide show
  1. {codee_agent-0.9.5 → codee_agent-0.9.6}/PKG-INFO +12 -1
  2. {codee_agent-0.9.5 → codee_agent-0.9.6}/README.md +11 -0
  3. {codee_agent-0.9.5 → codee_agent-0.9.6}/pyproject.toml +1 -1
  4. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/agent_cli.py +2 -1
  5. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/init_cli.py +18 -0
  6. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/test_agent_cli.py +24 -1
  7. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/test_init_cli.py +42 -0
  8. {codee_agent-0.9.5 → codee_agent-0.9.6}/LICENSE +0 -0
  9. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/.gitignore +0 -0
  10. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/__init__.py +0 -0
  11. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/admin.py +0 -0
  12. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/admin_api.py +0 -0
  13. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/admin_cli.py +0 -0
  14. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/admin_service.py +0 -0
  15. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/coding_agents.py +0 -0
  16. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/executor.py +0 -0
  17. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/__init__.py +0 -0
  18. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/claude_key_rotation.py +0 -0
  19. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/cron_describe.py +0 -0
  20. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/mcp_config.py +0 -0
  21. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/runs_db.py +0 -0
  22. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/runtime_control.py +0 -0
  23. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/test_claude_key_rotation.py +0 -0
  24. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/test_mcp_config.py +0 -0
  25. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/test_runs_db.py +0 -0
  26. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/test_trigger_cron_skills.py +0 -0
  27. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/test_trigger_email_skills.py +0 -0
  28. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/test_trigger_issue_skills.py +0 -0
  29. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/trigger_aws_sqs_skills.py +0 -0
  30. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/trigger_cron_skills.py +0 -0
  31. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/trigger_email_skills.py +0 -0
  32. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/lib/trigger_issue_skills.py +0 -0
  33. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/mail_server.py +0 -0
  34. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/setup_wizard.py +0 -0
  35. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/start_cli.py +0 -0
  36. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/tasks_providers.py +0 -0
  37. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/AGENTS.md +0 -0
  38. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/CLAUDE.md +0 -0
  39. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/skills/aws-sqs-alarm-response/SKILL.md +0 -0
  40. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/skills/cron-research-5xx-errors/SKILL.md +0 -0
  41. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/skills/story-code-reviewer/SKILL.md +0 -0
  42. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/skills/story-developer/SKILL.md +0 -0
  43. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/skills/story-planner/SKILL.md +0 -0
  44. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/skills/story-planner/assets/readme-template.md +0 -0
  45. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/skills/story-qa/SKILL.md +0 -0
  46. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/skills/story-security-reviewer/SKILL.md +0 -0
  47. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/skills/task-code-reviewer/SKILL.md +0 -0
  48. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/skills/task-developer/SKILL.md +0 -0
  49. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/skills/task-qa/SKILL.md +0 -0
  50. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/templates/skills/task-security-reviewer/SKILL.md +0 -0
  51. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/test_admin.py +0 -0
  52. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/test_admin_api.py +0 -0
  53. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/test_admin_cli.py +0 -0
  54. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/test_admin_service.py +0 -0
  55. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/test_coding_agents.py +0 -0
  56. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/test_executor.py +0 -0
  57. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/test_memory_index.py +0 -0
  58. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/test_setup_wizard.py +0 -0
  59. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/test_start_cli.py +0 -0
  60. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee/workflow_graph.py +0 -0
  61. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_admin/__init__.py +0 -0
  62. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_admin/codee_admin.py +0 -0
  63. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_abstract/__init__.py +0 -0
  64. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_abstract/acp.py +0 -0
  65. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_abstract/provider.py +0 -0
  66. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_abstract/test.py +0 -0
  67. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_abstract/transcript.py +0 -0
  68. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_claude_code/__init__.py +0 -0
  69. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_claude_code/account.py +0 -0
  70. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_claude_code/credentials.py +0 -0
  71. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_claude_code/oauth.py +0 -0
  72. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_claude_code/provider.py +0 -0
  73. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_claude_code/test.py +0 -0
  74. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_claude_code/usage.py +0 -0
  75. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_codex/__init__.py +0 -0
  76. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_codex/provider.py +0 -0
  77. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_codex/test.py +0 -0
  78. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_github_copilot/__init__.py +0 -0
  79. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_github_copilot/provider.py +0 -0
  80. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_github_copilot/test.py +0 -0
  81. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_opencode/__init__.py +0 -0
  82. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_opencode/provider.py +0 -0
  83. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_agent_opencode/test.py +0 -0
  84. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_database/__init__.py +0 -0
  85. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_database/claude_code_accounts.py +0 -0
  86. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_database/database.py +0 -0
  87. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_database/oauth_tokens.py +0 -0
  88. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_main_context/__init__.py +0 -0
  89. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_main_context/context.py +0 -0
  90. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_main_context/logging.py +0 -0
  91. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_main_context/test_context.py +0 -0
  92. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_main_context/test_logging.py +0 -0
  93. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_tasks_abstract/__init__.py +0 -0
  94. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_tasks_abstract/provider.py +0 -0
  95. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_tasks_azure_devops/__init__.py +0 -0
  96. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_tasks_azure_devops/oauth.py +0 -0
  97. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_tasks_azure_devops/provider.py +0 -0
  98. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_tasks_azure_devops/test.py +0 -0
  99. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_tasks_jira/__init__.py +0 -0
  100. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_tasks_jira/provider.py +0 -0
  101. {codee_agent-0.9.5 → codee_agent-0.9.6}/src/codee_tasks_jira/test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codee-agent
3
- Version: 0.9.5
3
+ Version: 0.9.6
4
4
  Summary: A virtual co-worker that picks up Jira and Azure DevOps tasks and solves them with coding agents.
5
5
  Keywords: ai,agent,jira,azure-devops,claude-code,github-copilot,codex,opencode,automation
6
6
  Author: Denis Kibalko
@@ -59,6 +59,17 @@ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | ie
59
59
 
60
60
  uv downloads Python 3.12+ for you if it isn't already on the machine.
61
61
 
62
+ On Linux (including WSL), Reflex also needs the system `unzip` command to install Bun
63
+ for the admin UI. On Ubuntu/Debian, run:
64
+
65
+ ```bash
66
+ sudo apt update && sudo apt install unzip
67
+ ```
68
+
69
+ `init` warns if `unzip` is missing, but continues setup without installing system
70
+ packages. macOS normally includes `unzip`; native Windows uses PowerShell instead
71
+ and does not need it.
72
+
62
73
  ## Run Codee
63
74
 
64
75
  Codee lives in its own directory, where it keeps skills, memory, temp files and config.
@@ -24,6 +24,17 @@ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | ie
24
24
 
25
25
  uv downloads Python 3.12+ for you if it isn't already on the machine.
26
26
 
27
+ On Linux (including WSL), Reflex also needs the system `unzip` command to install Bun
28
+ for the admin UI. On Ubuntu/Debian, run:
29
+
30
+ ```bash
31
+ sudo apt update && sudo apt install unzip
32
+ ```
33
+
34
+ `init` warns if `unzip` is missing, but continues setup without installing system
35
+ packages. macOS normally includes `unzip`; native Windows uses PowerShell instead
36
+ and does not need it.
37
+
27
38
  ## Run Codee
28
39
 
29
40
  Codee lives in its own directory, where it keeps skills, memory, temp files and config.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "codee-agent"
3
- version = "0.9.5"
3
+ version = "0.9.6"
4
4
  description = "A virtual co-worker that picks up Jira and Azure DevOps tasks and solves them with coding agents."
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -10,7 +10,7 @@ import sys
10
10
  from pathlib import Path
11
11
 
12
12
  from codee.admin_service import DEFAULT_ADMIN_PORT
13
- from codee.init_cli import confirm_overwrite, scaffold
13
+ from codee.init_cli import confirm_overwrite, scaffold, warn_missing_unzip
14
14
  from codee import setup_wizard
15
15
 
16
16
 
@@ -41,6 +41,7 @@ def init(arguments: argparse.Namespace) -> int:
41
41
  print("codee-agent init: cancelled")
42
42
  return 1
43
43
 
44
+ warn_missing_unzip()
44
45
  setup_wizard.heading("Codee project")
45
46
  setup_wizard.wrapped(str(destination))
46
47
  setup_wizard.line()
@@ -38,6 +38,23 @@ dependencies = ["codee-agent"]
38
38
  FALLBACK_PROJECT_NAME = "codee-project"
39
39
 
40
40
 
41
+ def warn_missing_unzip() -> None:
42
+ """Explain the missing Bun prerequisite without changing the system."""
43
+ if sys.platform == "win32" or shutil.which("unzip") is not None:
44
+ return
45
+
46
+ print(
47
+ "Warning: system command 'unzip' is missing. Reflex needs it to install "
48
+ "Bun for the admin UI.\n"
49
+ "Install it through your system package manager before starting Codee "
50
+ "(not pip or uv):\n"
51
+ " Ubuntu/Debian (including WSL): sudo apt update && sudo apt install unzip\n"
52
+ " Fedora/RHEL: sudo dnf install unzip\n"
53
+ " Other systems: install the unzip package using your system package manager.",
54
+ file=sys.stderr,
55
+ )
56
+
57
+
41
58
  def _ignored_patterns(gitignore: Path) -> set[str]:
42
59
  """Patterns already listed, normalized so `/temp`, `temp/` and `temp` match."""
43
60
  if not gitignore.is_file():
@@ -162,6 +179,7 @@ def main() -> int:
162
179
  print("codee-init: cancelled")
163
180
  return 1
164
181
 
182
+ warn_missing_unzip()
165
183
  print("Created " + ", ".join(scaffold(destination)))
166
184
  return 0
167
185
 
@@ -2,7 +2,7 @@ import io
2
2
  import os
3
3
  import tempfile
4
4
  import unittest
5
- from contextlib import redirect_stdout
5
+ from contextlib import redirect_stderr, redirect_stdout
6
6
  from pathlib import Path
7
7
  from unittest.mock import patch
8
8
 
@@ -14,6 +14,29 @@ class AgentCliTest(unittest.TestCase):
14
14
  with patch("sys.argv", ["codee-agent", *argv]):
15
15
  return agent_cli.main()
16
16
 
17
+ def test_missing_unzip_warns_in_all_setup_modes(self) -> None:
18
+ for argv, interactive in ((["init"], True),
19
+ (["init", "--scaffold-only"], True),
20
+ (["init"], False)):
21
+ with self.subTest(argv=argv, interactive=interactive):
22
+ output = io.StringIO()
23
+ with redirect_stderr(output), \
24
+ patch("codee.init_cli.sys.platform", "linux"), \
25
+ patch("codee.init_cli.shutil.which", return_value=None), \
26
+ patch.object(agent_cli, "confirm_overwrite",
27
+ return_value=True), \
28
+ patch.object(agent_cli, "scaffold", return_value=[]), \
29
+ patch.object(agent_cli.setup_wizard, "run",
30
+ return_value=0) as wizard, \
31
+ patch("sys.stdin.isatty", return_value=interactive):
32
+ self.assertEqual(self._init(argv), 0)
33
+ self.assertIn("system command 'unzip' is missing",
34
+ output.getvalue())
35
+ if "--scaffold-only" in argv or not interactive:
36
+ wizard.assert_not_called()
37
+ else:
38
+ wizard.assert_called_once()
39
+
17
40
  def test_init_scaffolds_then_runs_the_wizard(self) -> None:
18
41
  original_directory = Path.cwd()
19
42
  with tempfile.TemporaryDirectory() as temporary_directory:
@@ -1,7 +1,9 @@
1
+ import io
1
2
  import os
2
3
  import subprocess
3
4
  import tempfile
4
5
  import unittest
6
+ from contextlib import redirect_stderr
5
7
  from pathlib import Path
6
8
  from unittest.mock import patch
7
9
 
@@ -11,6 +13,46 @@ from codee.init_cli import ensure_git_repository, main, project_name
11
13
 
12
14
 
13
15
  class InitCliTest(unittest.TestCase):
16
+ def test_missing_unzip_warns_without_blocking_initialization(self) -> None:
17
+ for platform in ("linux", "darwin"):
18
+ with self.subTest(platform=platform):
19
+ output = io.StringIO()
20
+ with redirect_stderr(output), \
21
+ patch("codee.init_cli.sys.platform", platform), \
22
+ patch("codee.init_cli.shutil.which", return_value=None), \
23
+ patch("codee.init_cli.confirm_overwrite", return_value=True), \
24
+ patch("codee.init_cli.scaffold", return_value=[]) as scaffold, \
25
+ patch("codee.init_cli.subprocess.run") as run:
26
+ self.assertEqual(main(), 0)
27
+ scaffold.assert_called_once()
28
+ run.assert_not_called()
29
+ self.assertIn("system command 'unzip' is missing", output.getvalue())
30
+ self.assertIn("sudo apt update && sudo apt install unzip",
31
+ output.getvalue())
32
+ self.assertIn("before starting Codee", output.getvalue())
33
+
34
+ def test_installed_unzip_produces_no_warning(self) -> None:
35
+ output = io.StringIO()
36
+ with redirect_stderr(output), \
37
+ patch("codee.init_cli.sys.platform", "linux"), \
38
+ patch("codee.init_cli.shutil.which",
39
+ return_value="/usr/bin/unzip"), \
40
+ patch("codee.init_cli.confirm_overwrite", return_value=True), \
41
+ patch("codee.init_cli.scaffold", return_value=[]):
42
+ self.assertEqual(main(), 0)
43
+ self.assertEqual(output.getvalue(), "")
44
+
45
+ def test_native_windows_does_not_check_for_unzip(self) -> None:
46
+ output = io.StringIO()
47
+ with redirect_stderr(output), \
48
+ patch("codee.init_cli.sys.platform", "win32"), \
49
+ patch("codee.init_cli.shutil.which") as which, \
50
+ patch("codee.init_cli.confirm_overwrite", return_value=True), \
51
+ patch("codee.init_cli.scaffold", return_value=[]):
52
+ self.assertEqual(main(), 0)
53
+ which.assert_not_called()
54
+ self.assertEqual(output.getvalue(), "")
55
+
14
56
  def test_copies_packaged_templates_to_current_directory(self) -> None:
15
57
  original_directory = Path.cwd()
16
58
  with tempfile.TemporaryDirectory() as temporary_directory:
File without changes