- Add message-accumulator.js: cascades diff-based message accumulation - Add 3-second cascade polling with broadcastToAll (was undefined!) - Add /api/bridge/approve endpoint: tries accept/reject Step→Command→Terminal - Add persistent approve/reject buttons in chat header toolbar - Frontend: loadSessionMessages (trajectory + accumulated), applyNewMessages (WS push) - Status change detection: _prevStatusKey tracking prevents unnecessary re-renders - actionInProgress flag prevents DOM replacement during button fetch - Known issues: Trajectory 341 hard limit, Cascade no command-approval state
41 lines
1.4 KiB
Markdown
41 lines
1.4 KiB
Markdown
---
|
|
description: Gitea API로 gravity_web 저장소 커밋/이슈/PR 현황을 조회하는 워크플로우
|
|
---
|
|
|
|
# Gitea 저장소 현황 조회
|
|
|
|
서비스 정보는 `.agents/workflows/services.md` 참조.
|
|
|
|
// turbo-all
|
|
|
|
## 절차
|
|
|
|
1. 최근 커밋 조회 (최신 10개):
|
|
```powershell
|
|
$h = @{Authorization="token 3a01b4b15a39921572e64c413353e870d4d2161b"}
|
|
$commits = Invoke-RestMethod -Uri "https://git.variet.net/api/v1/repos/Variet/gravity_web/commits?limit=10&sha=main" -Headers $h
|
|
$commits | ForEach-Object { Write-Host "$($_.sha.Substring(0,7)) $($_.commit.message.Split("`n")[0])" }
|
|
```
|
|
|
|
2. 열린 이슈 조회:
|
|
```powershell
|
|
$h = @{Authorization="token 3a01b4b15a39921572e64c413353e870d4d2161b"}
|
|
$issues = Invoke-RestMethod -Uri "https://git.variet.net/api/v1/repos/Variet/gravity_web/issues?state=open&type=issues" -Headers $h
|
|
$issues | ForEach-Object { Write-Host "#$($_.number) $($_.title)" }
|
|
```
|
|
|
|
3. Wiki 페이지 목록:
|
|
```powershell
|
|
C:\ProgramData\miniforge3\envs\gravity_web\python.exe .agents\workflows\helpers\wiki_helper.py list
|
|
```
|
|
|
|
4. Wiki 페이지 읽기:
|
|
```powershell
|
|
C:\ProgramData\miniforge3\envs\gravity_web\python.exe .agents\workflows\helpers\wiki_helper.py read "Architecture"
|
|
```
|
|
|
|
5. Wiki 페이지 업데이트:
|
|
```powershell
|
|
C:\ProgramData\miniforge3\envs\gravity_web\python.exe .agents\workflows\helpers\wiki_helper.py update "페이지-제목" /tmp/wiki_content.md
|
|
```
|