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.
- {task_agent-0.1.342 → task_agent-0.1.351}/PKG-INFO +1 -1
- {task_agent-0.1.342 → task_agent-0.1.351}/pyproject.toml +2 -2
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/cli.py +44 -16
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/mcp.py +2 -5
- {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_mcp.py +3 -3
- {task_agent-0.1.342 → task_agent-0.1.351}/uv.lock +1 -1
- {task_agent-0.1.342 → task_agent-0.1.351}/.env +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/.gemini/settings.json +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/.github/workflows/ci.yml +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/.github/workflows/publish.yml +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/.gitignore +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/.mise.toml +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/.pre-commit-config.yaml +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/.python-version +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/.ta/agents/gh/meta.toml +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/.ta/agents/minimal/meta.toml +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/.ta/agents/uat-aws/meta.toml +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/.ta/worker +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/.task-agent/worktree-config.json +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/CLAUDE.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/GEMINI.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/Makefile +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/README.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/agent.env +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/docs/README.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/docs/architecture/README.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/docs/chats/gemini-conversation-1773283034591.json +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/docs/chats/project-init-to-v0.1.46.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/docs/cli/README.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/docs/development/README.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/docs/task-agents.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/docs/workflow/README.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/.env.example +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/README.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/instructions/manager.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/instructions/validator.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/instructions/worker.md +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/profiles/default.json +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/pyproject.toml +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/sidecars/adk-worker/worker.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/__init__.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/__main__.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/agent.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/audit.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/config.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/discovery.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/manager.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/models/__init__.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/models/issue.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/models/metric.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/plugins/__init__.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/plugins/github.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/src/taskagent/templates.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/test-dir/opencode.json +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/tests/conftest.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/tests/e2e/test_agent_sandboxing.sh +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_agent.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_cli.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_cli_windows.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_discovery.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_manager.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_manager_git.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_metrics.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_migration.py +0 -0
- {task_agent-0.1.342 → task_agent-0.1.351}/tests/test_templates.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "task-agent"
|
|
3
|
-
version = "0.1.
|
|
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.
|
|
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
|
-
#
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
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
|
-
#
|
|
444
|
-
|
|
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
|
-
|
|
447
|
-
|
|
476
|
+
with console.use_theme(strategy_theme):
|
|
477
|
+
console.print(Markdown(body))
|
|
448
478
|
else:
|
|
449
|
-
|
|
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(
|
|
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
|
-
#
|
|
49
|
-
|
|
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 "
|
|
223
|
-
assert "
|
|
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 "
|
|
235
|
+
assert "## 📐" not in result
|
|
236
236
|
assert "[1] PENDING: Task 1" in result
|
|
237
237
|
|
|
238
238
|
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|