trinity-agent 0.6.2__tar.gz → 0.6.3__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.
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/PKG-INFO +1 -1
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/pyproject.toml +1 -1
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/__init__.py +1 -1
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/tui/session.py +13 -1
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/uv.lock +1 -1
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/.gitignore +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/LICENSE +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/README.en.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/README.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/checkpoint.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/phase-6-plan.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/plans/2026-06-02-prompt-compression.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/plans/2026-06-02-token-analytics.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/plans/2026-06-02-token-optimization-phase7b.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/plans/2026-06-02-tui-overhaul.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/reference-architecture.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/test-results/phase-1-T.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/test-results/phase-2-T.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/test-results/phase-3-T.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/test-results/phase-4-T.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/test-results/phase-5-T.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/test-results/phase-6-T.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/test-results/phase-7-T.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/test-results/phase-9-T.md +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/__main__.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/agents/__init__.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/agents/base.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/agents/claude_agent.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/agents/codex_agent.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/agents/factory.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/agents/gemini_agent.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/agents/response_cleaner.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/cli.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/completion/__init__.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/completion/base.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/completion/hook.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/completion/idle.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/completion/prompt.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/config.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/context/__init__.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/context/analytics.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/context/budget.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/context/compressor.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/context/monitor.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/context/rotator.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/context/shared.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/deliberation/__init__.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/deliberation/consensus.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/deliberation/distributor.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/deliberation/protocol.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/error_handler.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/health/__init__.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/health/checker.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/i18n.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/logging.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/models.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/orchestrator.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/retry.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/setup/__init__.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/setup/detector.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/setup/wizard.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/tmux/__init__.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/tmux/layout.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/tmux/pane.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/tmux/session.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/tui/__init__.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/tui/app.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/tui/events.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/tui/prompt.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/tui/theme.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/workspace/__init__.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/workspace/isolation.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/src/trinity/workspace/managed_home.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/templates/trinity.config.example +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/conftest.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_agent_factory.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_analytics.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_budget.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_claude_agent.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_cli.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_cli_detector.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_cli_v2.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_codex_agent.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_completion.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_compressor.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_config.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_consensus_v2.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_context_monitor.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_deliberation.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_e2e.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_error_handling.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_gemini_agent.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_health_checker.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_i18n.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_interactive_claude.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_logging.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_managed_home.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_models.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_multi_provider.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_orchestrator.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_protocol.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_protocol_compression.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_protocol_v2.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_response_cleaner.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_retry.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_session_handoff.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_session_rotator.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_setup_wizard.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_shared_context.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_tmux.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_tmux_integration.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_tmux_layout.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_tui.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_tui_prompt.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_tui_session.py +0 -0
- {trinity_agent-0.6.2 → trinity_agent-0.6.3}/tests/test_workspace.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: trinity-agent
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.3
|
|
4
4
|
Summary: Three minds, one context — Multi-agent AI orchestrator for Claude Code, Codex, and Gemini CLI.
|
|
5
5
|
Project-URL: Homepage, https://github.com/hongdangmoo49/Trinity
|
|
6
6
|
Project-URL: Repository, https://github.com/hongdangmoo49/Trinity
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "trinity-agent"
|
|
7
|
-
version = "0.6.
|
|
7
|
+
version = "0.6.3"
|
|
8
8
|
description = "Three minds, one context — Multi-agent AI orchestrator for Claude Code, Codex, and Gemini CLI."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -332,10 +332,18 @@ class InteractiveSession:
|
|
|
332
332
|
result = self._run_with_live(orchestrator, prompt)
|
|
333
333
|
except KeyboardInterrupt:
|
|
334
334
|
self.console.print("\n[yellow]Deliberation interrupted.[/yellow]")
|
|
335
|
+
self.tui.reset_agents()
|
|
335
336
|
return
|
|
336
337
|
except Exception as e:
|
|
337
338
|
self.console.print(f"[red]Error: {e}[/red]")
|
|
338
339
|
logger.exception("Deliberation failed")
|
|
340
|
+
self.tui.reset_agents()
|
|
341
|
+
return
|
|
342
|
+
|
|
343
|
+
# Guard: result may be None if deliberation timed out or was interrupted
|
|
344
|
+
if result is None:
|
|
345
|
+
self.console.print("[yellow]Deliberation did not complete in time.[/yellow]")
|
|
346
|
+
self.tui.reset_agents()
|
|
339
347
|
return
|
|
340
348
|
|
|
341
349
|
# Update TUI with result
|
|
@@ -441,7 +449,11 @@ class InteractiveSession:
|
|
|
441
449
|
if error_holder[0]:
|
|
442
450
|
raise error_holder[0]
|
|
443
451
|
|
|
444
|
-
|
|
452
|
+
result = result_holder[0]
|
|
453
|
+
if result is None:
|
|
454
|
+
logger.warning("Deliberation thread completed but produced no result")
|
|
455
|
+
|
|
456
|
+
return result # type: ignore[return-value]
|
|
445
457
|
|
|
446
458
|
# ─── Display ────────────────────────────────────────────────────────
|
|
447
459
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trinity_agent-0.6.2 → trinity_agent-0.6.3}/docs/plans/2026-06-02-token-optimization-phase7b.md
RENAMED
|
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
|
|
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
|