zwarm 2.0.1__py3-none-any.whl → 2.0.2__py3-none-any.whl
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.
zwarm/cli/main.py
CHANGED
|
@@ -1375,7 +1375,7 @@ def interactive(
|
|
|
1375
1375
|
|
|
1376
1376
|
def do_spawn(args: list[str]):
|
|
1377
1377
|
"""Spawn a new coding agent session using CodexSessionManager (same as orchestrator)."""
|
|
1378
|
-
from zwarm.sessions import CodexSessionManager
|
|
1378
|
+
from zwarm.sessions import CodexSessionManager, SessionStatus as SessStatus
|
|
1379
1379
|
import time
|
|
1380
1380
|
|
|
1381
1381
|
parsed = parse_spawn_args(args)
|
|
@@ -1431,15 +1431,18 @@ def interactive(
|
|
|
1431
1431
|
break
|
|
1432
1432
|
time.sleep(1.0)
|
|
1433
1433
|
|
|
1434
|
-
# Get
|
|
1434
|
+
# Get all assistant responses
|
|
1435
1435
|
messages = manager.get_messages(session.id)
|
|
1436
|
-
for
|
|
1437
|
-
|
|
1438
|
-
|
|
1436
|
+
assistant_msgs = [m for m in messages if m.role == "assistant"]
|
|
1437
|
+
if assistant_msgs:
|
|
1438
|
+
console.print(f"\n[bold]Response ({len(assistant_msgs)} message{'s' if len(assistant_msgs) > 1 else ''}):[/]")
|
|
1439
|
+
for msg in assistant_msgs:
|
|
1440
|
+
preview = msg.content[:300]
|
|
1439
1441
|
if len(msg.content) > 300:
|
|
1440
|
-
|
|
1441
|
-
console.print(
|
|
1442
|
-
|
|
1442
|
+
preview += "..."
|
|
1443
|
+
console.print(preview)
|
|
1444
|
+
if len(assistant_msgs) > 1:
|
|
1445
|
+
console.print() # Blank line between multiple messages
|
|
1443
1446
|
|
|
1444
1447
|
console.print(f"\n[dim]Use 'show {session.short_id}' to see full details[/]")
|
|
1445
1448
|
console.print(f"[dim]Use 'c {session.short_id} \"message\"' to continue[/]")
|
|
@@ -1580,6 +1583,10 @@ def interactive(
|
|
|
1580
1583
|
console.print(f"[dim]Source:[/] {session.source_display} [dim]│[/] [dim]Runtime:[/] {session.runtime}")
|
|
1581
1584
|
if session.pid:
|
|
1582
1585
|
console.print(f"[dim]PID:[/] {session.pid}")
|
|
1586
|
+
|
|
1587
|
+
# Show log file path
|
|
1588
|
+
log_path = default_dir / ".zwarm" / "sessions" / session.id / "turns" / f"turn_{session.turn}.jsonl"
|
|
1589
|
+
console.print(f"[dim]Log:[/] {log_path}")
|
|
1583
1590
|
console.print()
|
|
1584
1591
|
|
|
1585
1592
|
# Get messages from manager
|
|
@@ -9,7 +9,7 @@ zwarm/adapters/registry.py,sha256=EdyHECaNA5Kv1od64pYFBJyA_r_6I1r_eJTNP1XYLr4,17
|
|
|
9
9
|
zwarm/adapters/test_codex_mcp.py,sha256=0qhVzxn_KF-XUS30gXSJKwMdR3kWGsDY9iPk1Ihqn3w,10698
|
|
10
10
|
zwarm/adapters/test_registry.py,sha256=otxcVDONwFCMisyANToF3iy7Y8dSbCL8bTmZNhxNuF4,2383
|
|
11
11
|
zwarm/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
-
zwarm/cli/main.py,sha256=
|
|
12
|
+
zwarm/cli/main.py,sha256=fQT9oP03zsru1_80WfVBdX48kdpLIVfEgS8eJQxRxUM,88668
|
|
13
13
|
zwarm/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
zwarm/core/compact.py,sha256=Y8C7Gs-5-WOU43WRvQ863Qzd5xtuEqR6Aw3r2p8_-i8,10907
|
|
15
15
|
zwarm/core/config.py,sha256=331i4io9uEnloFwUMjTPJ5_lQFKJR1nhTpA4SPfSpiI,11748
|
|
@@ -31,7 +31,7 @@ zwarm/watchers/builtin.py,sha256=IL5QwwKOIqWEfJ_uQWb321Px4i5OLtI_vnWQMudqKoA,190
|
|
|
31
31
|
zwarm/watchers/manager.py,sha256=XZjBVeHjgCUlkTUeHqdvBvHoBC862U1ik0fG6nlRGog,5587
|
|
32
32
|
zwarm/watchers/registry.py,sha256=A9iBIVIFNtO7KPX0kLpUaP8dAK7ozqWLA44ocJGnOw4,1219
|
|
33
33
|
zwarm/watchers/test_watchers.py,sha256=zOsxumBqKfR5ZVGxrNlxz6KcWjkcdp0QhW9WB0_20zM,7855
|
|
34
|
-
zwarm-2.0.
|
|
35
|
-
zwarm-2.0.
|
|
36
|
-
zwarm-2.0.
|
|
37
|
-
zwarm-2.0.
|
|
34
|
+
zwarm-2.0.2.dist-info/METADATA,sha256=1V6Ceu1nSd_HK9mDD2saHTqF3efZ8bV4Ip06X1lHoqw,7680
|
|
35
|
+
zwarm-2.0.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
36
|
+
zwarm-2.0.2.dist-info/entry_points.txt,sha256=u0OXq4q8d3yJ3EkUXwZfkS-Y8Lcy0F8cWrcQfoRxM6Q,46
|
|
37
|
+
zwarm-2.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|