refactor(ai): extract assistant into an official module (#749)

* feat(modules): expose host data boundaries

* feat(modules): add frontend extension surfaces

* refactor(ai): remove assistant from core

* chore(ai): prepare the module extraction

* fix(modules): load extension styles after the host bundle

* chore(modules): lock SDK 3.3.0
This commit is contained in:
Darko Gjorgjijoski
2026-08-05 22:10:21 +02:00
committed by GitHub
parent 99ae7def75
commit 0b9ae9ea00
111 changed files with 1137 additions and 8952 deletions
@@ -81,7 +81,12 @@ test('the application shell content-versions local module asset URLs', function
Registry::registerStyle('layout-probe', $stylePath);
$html = view('app')->render();
$layout = File::get(resource_path('views/app.blade.php'));
$hostAssetPosition = strpos($layout, "@vite('resources/scripts/main.ts')");
$moduleStylePosition = strpos($layout, 'Registry::allStyles()');
expect($html)->toContain('/modules/scripts/layout-probe?v='.ModuleAssetVersion::forPath($scriptPath))
->toContain('/modules/styles/layout-probe?v='.ModuleAssetVersion::forPath($stylePath));
->toContain('/modules/styles/layout-probe?v='.ModuleAssetVersion::forPath($stylePath))
->and($hostAssetPosition)->not->toBeFalse()
->and($moduleStylePosition)->toBeGreaterThan($hostAssetPosition);
});