-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStart-IntentShellEngine.ps1
More file actions
36 lines (27 loc) · 1.27 KB
/
Start-IntentShellEngine.ps1
File metadata and controls
36 lines (27 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# IntentShell Core Engine Loader
# Imports all necessary modules
$engineRoot = Split-Path -Parent $MyInvocation.MyCommand.Path
# Import AI Layer (Intelligence)
Import-Module "$engineRoot\engine\intelligence\AIEngine.psm1" -Force
# Import Core (Kernel)
Import-Module "$engineRoot\engine\kernel\Registry.psm1" -Force
Import-Module "$engineRoot\engine\kernel\Sentinel.psm1" -Force
Import-Module "$engineRoot\engine\kernel\IntentResolver.psm1" -Force
Import-Module "$engineRoot\engine\kernel\CommandGenerator.psm1" -Force
Import-Module "$engineRoot\engine\kernel\ExecutionEngine.psm1" -Force
# Import Modules
$modules = Get-ChildItem "$engineRoot\engine\modules\*.psm1"
foreach ($mod in $modules) {
Import-Module $mod.FullName -Force
}
Write-Host ">>> POWERSHELL VERSION:" $PSVersionTable.PSVersion
Write-Host ">>> EDITION:" $PSVersionTable.PSEdition
Write-Host "IntentShell PowerShell Engine Loaded Successfully." -ForegroundColor Green
Write-Host "AI Engine: Ready (Ollama)" -ForegroundColor Cyan
Write-Host "Registry: Loaded" -ForegroundColor Cyan
Write-Host "Execution Engine: Secure" -ForegroundColor Cyan
# Check for Flow Mode
if ($env:INTENTSHELL_FLOW_MODE -eq "1") {
Write-Host "Auto-Activating Flow Mode..." -ForegroundColor Magenta
Enter-FlowMode -Task "Auto-Start Session"
}