task-agent 0.1.342__tar.gz → 0.1.351__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 (65) hide show
  1. {task_agent-0.1.342 → task_agent-0.1.351}/PKG-INFO +1 -1
  2. {task_agent-0.1.342 → task_agent-0.1.351}/pyproject.toml +2 -2
  3. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/cli.py +44 -16
  4. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/mcp.py +2 -5
  5. {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_mcp.py +3 -3
  6. {task_agent-0.1.342 → task_agent-0.1.351}/uv.lock +1 -1
  7. {task_agent-0.1.342 → task_agent-0.1.351}/.env +0 -0
  8. {task_agent-0.1.342 → task_agent-0.1.351}/.gemini/settings.json +0 -0
  9. {task_agent-0.1.342 → task_agent-0.1.351}/.github/workflows/ci.yml +0 -0
  10. {task_agent-0.1.342 → task_agent-0.1.351}/.github/workflows/publish.yml +0 -0
  11. {task_agent-0.1.342 → task_agent-0.1.351}/.gitignore +0 -0
  12. {task_agent-0.1.342 → task_agent-0.1.351}/.mise.toml +0 -0
  13. {task_agent-0.1.342 → task_agent-0.1.351}/.pre-commit-config.yaml +0 -0
  14. {task_agent-0.1.342 → task_agent-0.1.351}/.python-version +0 -0
  15. {task_agent-0.1.342 → task_agent-0.1.351}/.ta/agents/gh/meta.toml +0 -0
  16. {task_agent-0.1.342 → task_agent-0.1.351}/.ta/agents/minimal/meta.toml +0 -0
  17. {task_agent-0.1.342 → task_agent-0.1.351}/.ta/agents/uat-aws/meta.toml +0 -0
  18. {task_agent-0.1.342 → task_agent-0.1.351}/.ta/worker +0 -0
  19. {task_agent-0.1.342 → task_agent-0.1.351}/.task-agent/worktree-config.json +0 -0
  20. {task_agent-0.1.342 → task_agent-0.1.351}/CLAUDE.md +0 -0
  21. {task_agent-0.1.342 → task_agent-0.1.351}/GEMINI.md +0 -0
  22. {task_agent-0.1.342 → task_agent-0.1.351}/Makefile +0 -0
  23. {task_agent-0.1.342 → task_agent-0.1.351}/README.md +0 -0
  24. {task_agent-0.1.342 → task_agent-0.1.351}/agent.env +0 -0
  25. {task_agent-0.1.342 → task_agent-0.1.351}/docs/README.md +0 -0
  26. {task_agent-0.1.342 → task_agent-0.1.351}/docs/architecture/README.md +0 -0
  27. {task_agent-0.1.342 → task_agent-0.1.351}/docs/chats/gemini-conversation-1773283034591.json +0 -0
  28. {task_agent-0.1.342 → task_agent-0.1.351}/docs/chats/project-init-to-v0.1.46.md +0 -0
  29. {task_agent-0.1.342 → task_agent-0.1.351}/docs/cli/README.md +0 -0
  30. {task_agent-0.1.342 → task_agent-0.1.351}/docs/development/README.md +0 -0
  31. {task_agent-0.1.342 → task_agent-0.1.351}/docs/task-agents.md +0 -0
  32. {task_agent-0.1.342 → task_agent-0.1.351}/docs/workflow/README.md +0 -0
  33. {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/.env.example +0 -0
  34. {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/README.md +0 -0
  35. {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/instructions/manager.md +0 -0
  36. {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/instructions/validator.md +0 -0
  37. {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/instructions/worker.md +0 -0
  38. {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/profiles/default.json +0 -0
  39. {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/pyproject.toml +0 -0
  40. {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/worker.py +0 -0
  41. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/__init__.py +0 -0
  42. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/__main__.py +0 -0
  43. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/agent.py +0 -0
  44. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/audit.py +0 -0
  45. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/config.py +0 -0
  46. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/discovery.py +0 -0
  47. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/manager.py +0 -0
  48. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/models/__init__.py +0 -0
  49. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/models/issue.py +0 -0
  50. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/models/metric.py +0 -0
  51. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/plugins/__init__.py +0 -0
  52. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/plugins/github.py +0 -0
  53. {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/templates.py +0 -0
  54. {task_agent-0.1.342 → task_agent-0.1.351}/test-dir/opencode.json +0 -0
  55. {task_agent-0.1.342 → task_agent-0.1.351}/tests/conftest.py +0 -0
  56. {task_agent-0.1.342 → task_agent-0.1.351}/tests/e2e/test_agent_sandboxing.sh +0 -0
  57. {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_agent.py +0 -0
  58. {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_cli.py +0 -0
  59. {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_cli_windows.py +0 -0
  60. {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_discovery.py +0 -0
  61. {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_manager.py +0 -0
  62. {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_manager_git.py +0 -0
  63. {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_metrics.py +0 -0
  64. {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_migration.py +0 -0
  65. {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_templates.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: task-agent
3
- Version: 0.1.342
3
+ Version: 0.1.351
4
4
  Summary: A prioritized, file-based task queue for autonomous agentic workers
5
5
  Author-email: Mark Stouffer <1802850+InTEGr8or@users.noreply.github.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "task-agent"
3
- version = "0.1.342"
3
+ version = "0.1.351"
4
4
  description = "A prioritized, file-based task queue for autonomous agentic workers"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -39,7 +39,7 @@ dev = [
39
39
  ]
40
40
 
41
41
  [tool.bumpversion]
42
- current_version = "0.1.342"
42
+ current_version = "0.1.351"
43
43
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
44
44
  serialize = ["{major}.{minor}.{patch}"]
45
45
  search = "version = \"{current_version}\""
@@ -382,14 +382,28 @@ def maybe_show_strategy(console: Console, manager: TaskAgent) -> bool:
382
382
  else:
383
383
  subtitle = "ta strategy"
384
384
 
385
- # Construct a clean Markdown blockquote
386
- lines = [f"> 📐 **{title}**", ">"]
387
- for line in body.split("\n"):
388
- lines.append(f"> {line}")
389
- lines.append(">")
390
- lines.append(f"> *{subtitle}*")
391
-
392
- console.print(Markdown("\n".join(lines)))
385
+ # Print the title, body (with custom theme), and subtitle
386
+ console.print(f"[bold blue]📐 {title}[/bold blue]")
387
+
388
+ from rich.theme import Theme
389
+
390
+ strategy_theme = Theme(
391
+ {
392
+ "markdown.paragraph": "green",
393
+ "markdown.item": "green",
394
+ "markdown.h1": "bold blue",
395
+ "markdown.h2": "bold blue",
396
+ "markdown.h3": "bold blue",
397
+ "markdown.h4": "bold blue",
398
+ "markdown.h5": "bold blue",
399
+ "markdown.h6": "bold blue",
400
+ }
401
+ )
402
+
403
+ with console.use_theme(strategy_theme):
404
+ console.print(Markdown(body))
405
+
406
+ console.print(f"[dim]{subtitle}[/dim]")
393
407
  console.print()
394
408
  manager.update_strategy_last_shown()
395
409
  return True
@@ -440,17 +454,31 @@ def cmd_strategy(
440
454
  meta = manager.get_strategy_meta()
441
455
  last_shown = meta.get("last_shown_at", "never")
442
456
 
443
- # Construct a clean Markdown blockquote
444
- lines = [f"> 📐 **{title}**", ">"]
457
+ # Print the title, body (with custom theme), and subtitle
458
+ console.print(f"[bold blue]📐 {title}[/bold blue]")
459
+
460
+ from rich.theme import Theme
461
+
462
+ strategy_theme = Theme(
463
+ {
464
+ "markdown.paragraph": "green",
465
+ "markdown.item": "green",
466
+ "markdown.h1": "bold blue",
467
+ "markdown.h2": "bold blue",
468
+ "markdown.h3": "bold blue",
469
+ "markdown.h4": "bold blue",
470
+ "markdown.h5": "bold blue",
471
+ "markdown.h6": "bold blue",
472
+ }
473
+ )
474
+
445
475
  if body:
446
- for line in body.split("\n"):
447
- lines.append(f"> {line}")
476
+ with console.use_theme(strategy_theme):
477
+ console.print(Markdown(body))
448
478
  else:
449
- lines.append("> *Empty strategy — edit it with: ta strategy edit*")
450
- lines.append(">")
451
- lines.append(f"> *last shown: {last_shown} · ta strategy edit*")
479
+ console.print("[dim]Empty strategy — edit it with: ta strategy edit[/dim]")
452
480
 
453
- console.print(Markdown("\n".join(lines)))
481
+ console.print(f"[dim]last shown: {last_shown} · ta strategy edit[/dim]")
454
482
 
455
483
 
456
484
  def cmd_next(console: Console, manager: TaskAgent):
@@ -45,11 +45,8 @@ def _maybe_prepend_strategy(manager: TaskAgent, response: str) -> str:
45
45
  ):
46
46
  if hasattr(manager, "update_strategy_last_shown"):
47
47
  manager.update_strategy_last_shown()
48
- # Construct clean Markdown blockquote for LLM/agent
49
- strategy_lines = [f"> 📐 **{title}**", ">"]
50
- for line in body.split("\n"):
51
- strategy_lines.append(f"> {line}")
52
- prefix = "\n".join(strategy_lines) + "\n\n"
48
+ # Prepend without a blockquote: just standard Markdown headers/body
49
+ prefix = f"## 📐 {title}\n\n{body}\n\n"
53
50
  return prefix + response
54
51
  return response
55
52
 
@@ -219,8 +219,8 @@ def test_mcp_list_tasks_with_strategy(mock_manager):
219
219
  )
220
220
 
221
221
  result = mcp.list_tasks()
222
- assert "> 📐 **Core Strategy**" in result
223
- assert "> Focus on quality." in result
222
+ assert "## 📐 Core Strategy" in result
223
+ assert "Focus on quality." in result
224
224
  assert "[1] PENDING: Task 1" in result
225
225
  mock_manager.update_strategy_last_shown.assert_called_once()
226
226
 
@@ -232,7 +232,7 @@ def test_mcp_list_tasks_without_strategy(mock_manager):
232
232
  mock_manager.should_show_strategy.return_value = False
233
233
 
234
234
  result = mcp.list_tasks()
235
- assert "> 📐" not in result
235
+ assert "## 📐" not in result
236
236
  assert "[1] PENDING: Task 1" in result
237
237
 
238
238
 
@@ -1080,7 +1080,7 @@ wheels = [
1080
1080
 
1081
1081
  [[package]]
1082
1082
  name = "task-agent"
1083
- version = "0.1.342"
1083
+ version = "0.1.351"
1084
1084
  source = { editable = "." }
1085
1085
  dependencies = [
1086
1086
  { name = "githubkit" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes