Skip to content

refactor: replace ApplicationDetector with CodeEnvironementsDetector in InstallCommand and update related methods #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Aug 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
22babc2
refactor: replace ApplicationDetector with CodeEnvironementsDetector …
pushpak1300 Aug 11, 2025
ae44de4
Fix code styling
pushpak1300 Aug 11, 2025
a87596c
refactor: rename appDetector to codeEnvironmentsDetector in InstallCo…
pushpak1300 Aug 11, 2025
3330a76
refactor: rename development environment variables and methods to cod…
pushpak1300 Aug 11, 2025
bf5df50
refactor: update command for Windows detection and remove unused Code…
pushpak1300 Aug 11, 2025
dac17b3
refactor: remove unused CodeEnvironment contract imports and fix proj…
pushpak1300 Aug 11, 2025
7501fda
refactor: update DetectionStrategy interface to use Platform enum and…
pushpak1300 Aug 11, 2025
a330a78
refactor: remove DetectionType enum and update detection strategies t…
pushpak1300 Aug 11, 2025
76494dd
refactor: replace string literals with constants for detection types …
pushpak1300 Aug 11, 2025
644d2c5
Fix code styling
pushpak1300 Aug 11, 2025
62c79f1
refactor: update CodeEnvironementsDetector and related tests to use C…
pushpak1300 Aug 11, 2025
79c8ec3
fix: correct spelling of CodeEnvironments in InstallCommand and updat…
pushpak1300 Aug 11, 2025
649aa4c
refactor: streamline CodeEnvironmentsDetector logic and enhance relat…
pushpak1300 Aug 11, 2025
7fcdf31
feat: remove windsurf implementation
pushpak1300 Aug 11, 2025
3b97a9b
chore: remove .vscode/settings.json as it's no longer needed
pushpak1300 Aug 11, 2025
6e4c45d
Merge branch 'cleanup_install_comamnd' into cleanup_application_detector
pushpak1300 Aug 11, 2025
668af38
refactor: simplify InstallCommand by renaming methods and cleaning un…
pushpak1300 Aug 11, 2025
87bd1ab
fix: correct method call for discovering project agents in InstallCom…
pushpak1300 Aug 11, 2025
d3da2b2
Merge branch 'cleanup_application_detector' into cleanup_query_methos
pushpak1300 Aug 11, 2025
ce2d8e4
refactor: rename collections in InstallCommand for clarity and consis…
pushpak1300 Aug 11, 2025
b0a963e
Merge pull request #15 from laravel/cleanup_query_methos
ashleyhindle Aug 11, 2025
d955639
refactor: rename methods in InstallCommand for improved clarity and c…
pushpak1300 Aug 11, 2025
a25ebf5
refactor: remove unused Roster dependency from InstallCommand
pushpak1300 Aug 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
171 changes: 63 additions & 108 deletions src/Console/InstallCommand.php

Large diffs are not rendered by default.

323 changes: 0 additions & 323 deletions src/Install/ApplicationDetector.php

This file was deleted.

40 changes: 40 additions & 0 deletions src/Install/CodeEnvironment/ClaudeCode.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?php

declare(strict_types=1);

namespace Laravel\Boost\Install\CodeEnvironment;

use Laravel\Boost\Install\Enums\Platform;

class ClaudeCode extends CodeEnvironment
{
public function name(): string
{
return 'claudecode';
}

public function displayName(): string
{
return 'Claude Code';
}

public function systemDetectionConfig(Platform $platform): array
{
return match ($platform) {
Platform::Darwin, Platform::Linux => [
'command' => 'which claude',
],
Platform::Windows => [
'command' => 'where claude 2>null',
],
};
}

public function projectDetectionConfig(): array
{
return [
'paths' => ['.claude'],
'files' => ['CLAUDE.md'],
];
}
}
Loading
Loading