agentforge-multi 0.1.1 → 0.1.2
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.
- package/agentforge +5 -11
- package/package.json +1 -1
package/agentforge
CHANGED
|
@@ -420,11 +420,9 @@ def parse_decision(text: str) -> tuple[str, str]:
|
|
|
420
420
|
# ── TUI ───────────────────────────────────────────────────────────────────────
|
|
421
421
|
|
|
422
422
|
def make_layout() -> Layout:
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
term_h = 40
|
|
427
|
-
body_size = max(10, term_h - 5) # header(3) + 여백(2)
|
|
423
|
+
import shutil
|
|
424
|
+
term_h = shutil.get_terminal_size(fallback=(80, 40)).lines
|
|
425
|
+
body_size = max(10, term_h - 8) # header(3) + 여백(5)
|
|
428
426
|
|
|
429
427
|
layout = Layout()
|
|
430
428
|
layout.split(
|
|
@@ -854,11 +852,8 @@ def main():
|
|
|
854
852
|
layout["header"].update(render_header("", 0, max_iter, "idle"))
|
|
855
853
|
layout["worker"].update(render_worker_panel(deque(), 0, "idle", [], False))
|
|
856
854
|
layout["evaluator"].update(render_evaluator_panel([], 0, "idle", False))
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
live.start()
|
|
860
|
-
time.sleep(0.3)
|
|
861
|
-
live.stop()
|
|
855
|
+
with Live(layout, refresh_per_second=8, screen=False) as live:
|
|
856
|
+
time.sleep(0.3)
|
|
862
857
|
|
|
863
858
|
# ── REPL 루프 ─────────────────────────────────────────────────────
|
|
864
859
|
status = auth_status()
|
|
@@ -882,7 +877,6 @@ def main():
|
|
|
882
877
|
"agentforge auth login 으로 나중에 로그인할 수 있습니다.[/dim]"
|
|
883
878
|
)
|
|
884
879
|
|
|
885
|
-
console.print()
|
|
886
880
|
console.print("[dim]명령을 입력하세요. /plan <목표> | /exit[/dim]")
|
|
887
881
|
|
|
888
882
|
_completer = SlashCompleter()
|