Variet Worker 8e89209a27 fix(observer): template literal regex escaping — \s/\d had wrong backslash count (v0.5.41)
Root cause: regex literals inside template literal (\...\) need exactly 2
backslashes (\\s, \\d) to produce \s, \d in the output. The v9 code had 4
backslashes (\\\\s) which produced literal \\s in the browser (matching
backslash+s instead of whitespace class). This broke:
- 'Running N commands' skip pattern (never matched)
- NOISE_CODE_RE (declare/import line filters)
- cleanLines() pre-strip word boundary \\b and split/join \\n
- cleanButtonText() whitespace strip \\s

The fix restores all regex-literal patterns to exactly 2 backslashes.
new RegExp() string patterns (like NOISE_RE) already used 4 backslashes
correctly (string→regex has one extra escaping layer).

Verified: node eval of generated code confirms /^Running\s*\d+\s*commands?$/i
correctly matches 'Running2 commands' and 'Running 4 commands'.

#task-619 #task-620
2026-04-14 06:05:43 +09:00

Gravity Control — Antigravity Discord Bridge

Antigravity IDE의 에이전트 활동을 Discord로 실시간 중계하는 브리지 시스템.

개요

  • Watcher: ~/.gemini/antigravity/brain/ 디렉토리 감시
  • Parser: task.md, implementation_plan.md 등을 Discord 텍스트로 변환
  • Discord Bot: 세션별 채널 자동 생성, 상태 embed, 텍스트 중계

설치

pip install -r requirements.txt
cp .env.example .env
# .env 파일에 DISCORD_TOKEN 설정

실행

python main.py

프로젝트 관리

Description
No description provided
Readme 15 MiB
Languages
TypeScript 55.6%
JavaScript 25.5%
Python 17.1%
HTML 1.8%