Skip to content

Commit 3b86b90

Browse files
arsenyinfoclaude
andauthored
too many unsorted changes :( (#187)
Co-authored-by: Claude <[email protected]>
1 parent 3e4afaf commit 3b86b90

18 files changed

+721
-2516
lines changed

agent/api/agent_server/agent_api_client.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
logger = get_logger(__name__)
2020

2121
DEFAULT_APP_REQUEST = "Implement a simple app with a counter of clicks on a single button"
22+
DEFAULT_EDIT_REQUEST = "Add message with emojis to the app to make it more fun"
23+
2224

2325
@contextlib.contextmanager
2426
def project_dir_context():
@@ -463,15 +465,14 @@ def print_event(event: AgentSseEvent) -> None:
463465
print("\033[36m... (use /diff to see full diff)\033[0m")
464466

465467
if event.message.diff_stat:
466-
if event.message.diff_stat:
467-
print("\033[36mDiff Statistics:\033[0m")
468-
for stat in event.message.diff_stat:
469-
print(f"\033[36m {stat.filename}: +{stat.additions} -{stat.deletions}\033[0m")
468+
print("\033[36mDiff Statistics:\033[0m")
469+
for stat in event.message.diff_stat:
470+
print(f"\033[36m {stat.filename}: +{stat.additions} -{stat.deletions}\033[0m")
470471

471472
# Display app_name and commit_message when present
472473
if event.message.app_name:
473474
print(f"\n\033[35m🚀 App Name: {event.message.app_name}\033[0m")
474-
475+
475476
if event.message.commit_message:
476477
print(f"\033[35m📝 Commit Message: {event.message.commit_message}\033[0m\n")
477478

@@ -527,7 +528,7 @@ def print_event(event: AgentSseEvent) -> None:
527528
case "/info":
528529
app_name = None
529530
commit_message = None
530-
531+
531532
# Look for app_name and commit_message in the events
532533
for evt in reversed(previous_events):
533534
try:
@@ -540,12 +541,12 @@ def print_event(event: AgentSseEvent) -> None:
540541
break
541542
except AttributeError:
542543
continue
543-
544+
544545
if app_name:
545546
print(f"\033[35m🚀 App Name: {app_name}\033[0m")
546547
else:
547548
print("\033[33mNo app name available\033[0m")
548-
549+
549550
if commit_message:
550551
print(f"\033[35m📝 Commit Message: {commit_message}\033[0m")
551552
else:

agent/api/agent_server/async_agent_session.py

Lines changed: 0 additions & 293 deletions
This file was deleted.

0 commit comments

Comments
 (0)