802d8f1e8c
Git branch -a --format=%(refname:short) returns remote branches as 'origin/branch-name', not 'remotes/origin/branch-name'. The code was only filtering 'remotes/' prefix, causing clone to fail with branch names like 'origin/feat/foo'. Now properly detects remote names using 'git remote' and strips the remote prefix (e.g., 'origin/') from branch names.
2 lines
813 B
JSON
2 lines
813 B
JSON
{"id":"el-2jua","type":"entity","createdAt":"2026-05-24T09:44:24.375Z","updatedAt":"2026-05-24T10:16:57.542Z","createdBy":"el-0000","tags":[],"metadata":{"agent":{"agentRole":"director","sessionStatus":"running","provider":"opencode","model":"openai/gpt-5.5","channelId":"el-2vpd","lastActivityAt":"2026-05-24T10:16:57.540Z","sessionHistory":[{"id":"session-mpjlz79g-0001-9tz4","providerSessionId":"ses_1a689e409ffea1AaKRRY2e7GYP","status":"terminated","workingDirectory":"/home/alex/projects/headquarter","startedAt":"2026-05-24T10:02:20.170Z","endedAt":"2026-05-24T10:16:54.212Z"},{"id":"session-mpjlckjf-0001-cifg","status":"terminated","workingDirectory":"/home/alex/projects/headquarter","startedAt":"2026-05-24T09:44:44.286Z","endedAt":"2026-05-24T09:47:52.845Z"}]}},"name":"director","entityType":"agent"}
|