vibe-collab 0.8.9 → 0.8.10
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.
|
@@ -21,8 +21,11 @@ export async function startSession(repoPath, input) {
|
|
|
21
21
|
// vibe auth login으로 로그인된 계정 우선 사용 (AI가 넘긴 값보다 신뢰할 수 있음)
|
|
22
22
|
const authData = readAuthData();
|
|
23
23
|
const githubId = authData?.user.login || input.githubId;
|
|
24
|
-
//
|
|
25
|
-
|
|
24
|
+
// auth 데이터가 있으면 절대 로컬 OS 계정명(input.userName)으로 빠지지 않도록 함
|
|
25
|
+
// display name 없는 계정은 GitHub login(ID)을 이름으로 사용
|
|
26
|
+
const userName = authData
|
|
27
|
+
? (authData.user.name || authData.user.login || githubId)
|
|
28
|
+
: input.userName;
|
|
26
29
|
// 1. CHARTER + state 읽기
|
|
27
30
|
const [charter, state] = await Promise.all([
|
|
28
31
|
readCharter(repoPath),
|