vibe-forge 0.3.2 → 0.3.4

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.
package/bin/cli.js CHANGED
@@ -228,13 +228,18 @@ async function updateCommand() {
228
228
  logInfo('Updating Vibe Forge...');
229
229
 
230
230
  try {
231
- execSync('git pull --rebase', {
231
+ // Fetch and reset to origin/main - works even without tracking branch
232
+ execSync('git fetch origin', {
233
+ stdio: 'inherit',
234
+ cwd: targetDir,
235
+ });
236
+ execSync('git reset --hard origin/main', {
232
237
  stdio: 'inherit',
233
238
  cwd: targetDir,
234
239
  });
235
240
  logSuccess('Update complete');
236
241
  } catch {
237
- logError('Failed to update. You may need to resolve git conflicts.');
242
+ logError('Failed to update. Check your network connection or try deleting _vibe-forge and running init again.');
238
243
  process.exit(1);
239
244
  }
240
245
  }
@@ -48,13 +48,22 @@ spawn_windows_terminal() {
48
48
  local display_name
49
49
  display_name=$(get_agent_display_name "$agent")
50
50
 
51
+ # Convert FORGE_ROOT to Windows path for wt.exe
52
+ # Git Bash paths like /c/foo become C:/foo
53
+ local win_forge_root
54
+ if [[ "$FORGE_ROOT" =~ ^/([a-zA-Z])/ ]]; then
55
+ win_forge_root="${BASH_REMATCH[1]}:${FORGE_ROOT:2}"
56
+ else
57
+ win_forge_root="$FORGE_ROOT"
58
+ fi
59
+
51
60
  # Windows Terminal: open new tab with forge command
52
61
  # SECURITY: $agent has already been validated through resolve_agent
53
62
  if [[ -n "$GIT_BASH_PATH" ]]; then
54
63
  local bash_path="${GIT_BASH_PATH//\//\\}"
55
- wt.exe -w 0 new-tab --title "$display_name" "$bash_path" -c "cd '$FORGE_ROOT' && ./bin/forge.sh start '$agent'"
64
+ wt.exe -w 0 new-tab --title "$display_name" "$bash_path" -c "cd \"$win_forge_root\" && ./bin/forge.sh start \"$agent\""
56
65
  else
57
- wt.exe -w 0 new-tab --title "$display_name" bash -c "cd '$FORGE_ROOT' && ./bin/forge.sh start '$agent'"
66
+ wt.exe -w 0 new-tab --title "$display_name" bash -c "cd \"$win_forge_root\" && ./bin/forge.sh start \"$agent\""
58
67
  fi
59
68
  log_success "$display_name spawned in new Windows Terminal tab"
60
69
  else
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-forge",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "Multi-agent development orchestration system for terminal-native vibe coding",
5
5
  "keywords": [
6
6
  "vibe-coding",