vibe-collab 0.8.7 → 0.8.8

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.
@@ -1,5 +1,6 @@
1
1
  import { readCharter, readState } from '../../state/reader.js';
2
2
  import { registerCollaborator, appendWorkLog } from '../../state/writer.js';
3
+ import { readAuthData } from '../../cli/commands/auth.js';
3
4
  function stageToKorean(stage) {
4
5
  const map = {
5
6
  not_started: '시작 전',
@@ -16,7 +17,11 @@ function stageToKorean(stage) {
16
17
  return map[stage] ?? stage;
17
18
  }
18
19
  export async function startSession(repoPath, input) {
19
- const { userName, githubId, agentName } = input;
20
+ const { agentName } = input;
21
+ // vibe auth login으로 로그인된 계정 우선 사용 (AI가 넘긴 값보다 신뢰할 수 있음)
22
+ const authData = readAuthData();
23
+ const githubId = authData?.user.login ?? input.githubId;
24
+ const userName = authData?.user.name ?? input.userName;
20
25
  // 1. CHARTER + state 읽기
21
26
  const [charter, state] = await Promise.all([
22
27
  readCharter(repoPath),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-collab",
3
- "version": "0.8.7",
3
+ "version": "0.8.8",
4
4
  "description": "누가 어떤 AI를 써도, 항상 한 팀처럼 작동하는 바이브 코딩 협업 도구",
5
5
  "type": "module",
6
6
  "bin": {