Closes #11 Adds comprehensive Livewire tests in tests/Feature/Livewire/ covering: - DashboardTest: stats structure, refresh action, blocked alert, quick links - PlansTest: auth, filters, activate/complete/archive/delete actions - PlanDetailTest: auth, plan loading, phase actions, task validation - SessionsTest: auth, filters, pause/resume/complete/fail actions - SessionDetailTest: auth, polling, modal states, session control - ToolAnalyticsTest: auth, setDays, filters, success rate colour helpers - ApiKeysTest: auth, create/edit/revoke modals, validation, stats - ApiKeyManagerTest: workspace binding, create form, toggleScope - ToolCallsTest: auth, filters, viewCall/closeCallDetail, badge helpers - RequestLogTest: filters, selectRequest/closeDetail interactions - TemplatesTest: auth, preview/import/create modals, clearFilters - PlaygroundTest: server loading, API key validation, execute behaviour Infrastructure: - LivewireTestCase base class with stub view namespace registration - HadesUser fixture for auth()->user()->isHades() checks - Minimal stub blade views in tests/views/ (agentic and mcp namespaces) - composer.json: add livewire/livewire and pest-plugin-livewire to require-dev; fix autoload-dev paths to lowercase tests/ directory Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
53 lines
1 KiB
JSON
53 lines
1 KiB
JSON
{
|
|
"name": "host-uk/core-agentic",
|
|
"description": "AI agent orchestration and MCP tools for Laravel",
|
|
"keywords": [
|
|
"ai",
|
|
"agents",
|
|
"mcp",
|
|
"orchestration"
|
|
],
|
|
"license": "EUPL-1.2",
|
|
"require": {
|
|
"php": "^8.2",
|
|
"host-uk/core": "dev-main"
|
|
},
|
|
"require-dev": {
|
|
"laravel/pint": "^1.18",
|
|
"livewire/livewire": "^3.0",
|
|
"orchestra/testbench": "^9.0|^10.0",
|
|
"pestphp/pest": "^3.0",
|
|
"pestphp/pest-plugin-livewire": "^3.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Core\\Mod\\Agentic\\": "",
|
|
"Core\\Service\\Agentic\\": "Service/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Core\\Mod\\Agentic\\Tests\\": "tests/",
|
|
"Tests\\": "tests/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"providers": [
|
|
"Core\\Mod\\Agentic\\Boot"
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"lint": "pint",
|
|
"test": "pest"
|
|
},
|
|
"config": {
|
|
"sort-packages": true,
|
|
"allow-plugins": {
|
|
"pestphp/pest-plugin": true
|
|
}
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true
|
|
}
|