From 95684a34f76d2d473f9bf2b73c4b76672f64d93e Mon Sep 17 00:00:00 2001 From: AG Date: Thu, 16 Oct 2025 10:48:11 +0300 Subject: [PATCH] 1. Keep session alive with ping-pong. 2. Refreshed tests. --- .gemini/commands/speckit.clarify.toml | 19 +++- .gemini/commands/speckit.implement.toml | 43 ++++++++- .gemini/commands/speckit.plan.toml | 2 +- .gemini/commands/speckit.tasks.toml | 91 +++++++++++-------- .specify/scripts/bash/update-agent-context.sh | 18 +++- backend/dist/index.js | 41 ++++++++- backend/dist/routes/sessions.js | 16 ---- backend/dist/services/AuthService.js | 2 + backend/dist/services/LLMService.js | 8 +- backend/dist/ws/index.js | 13 +++ backend/src/routes/sessions.ts | 15 +++ backend/src/ws/index.ts | 15 +++ backend/tests/LLMService.test.ts | 2 +- backend/tests/cors.test.ts | 17 +++- frontend/build/asset-manifest.json | 10 ++ frontend/build/index.html | 1 + frontend/build/logo-white.svg | 5 + frontend/build/logo.svg | 5 + frontend/build/static/js/main.d2d83152.js | 3 + .../static/js/main.d2d83152.js.LICENSE.txt | 80 ++++++++++++++++ frontend/build/static/js/main.d2d83152.js.map | 1 + frontend/package.json | 5 + frontend/src/components/DesireForm.test.tsx | 26 +++++- frontend/src/components/DesireForm.tsx | 8 +- frontend/src/pages/CreateSession.test.tsx | 49 +++++++--- frontend/src/services/websocket.ts | 24 +++++ frontend/src/setupTests.ts | 1 + 27 files changed, 420 insertions(+), 100 deletions(-) create mode 100644 frontend/build/asset-manifest.json create mode 100644 frontend/build/index.html create mode 100644 frontend/build/logo-white.svg create mode 100644 frontend/build/logo.svg create mode 100644 frontend/build/static/js/main.d2d83152.js create mode 100644 frontend/build/static/js/main.d2d83152.js.LICENSE.txt create mode 100644 frontend/build/static/js/main.d2d83152.js.map create mode 100644 frontend/src/setupTests.ts diff --git a/.gemini/commands/speckit.clarify.toml b/.gemini/commands/speckit.clarify.toml index 0bd54a0..ee4e454 100644 --- a/.gemini/commands/speckit.clarify.toml +++ b/.gemini/commands/speckit.clarify.toml @@ -97,7 +97,15 @@ Execution steps: 4. Sequential questioning loop (interactive): - Present EXACTLY ONE question at a time. - - For multiple‑choice questions render options as a Markdown table: + - For multiple‑choice questions: + * **Analyze all options** and determine the **most suitable option** based on: + - Best practices for the project type + - Common patterns in similar implementations + - Risk reduction (security, performance, maintainability) + - Alignment with any explicit project goals or constraints visible in the spec + * Present your **recommended option prominently** at the top with clear reasoning (1-2 sentences explaining why this is the best choice). + * Format as: `**Recommended:** Option [X] - ` + * Then render all options as a Markdown table: | Option | Description | |--------|-------------| @@ -106,9 +114,14 @@ Execution steps: | C |