29 lines
881 B
PowerShell
29 lines
881 B
PowerShell
#!/usr/bin/env pwsh
|
|
<#
|
|
.SYNOPSIS
|
|
Aurora Admin Design System - DSH Startup Script (PowerShell Edition)
|
|
|
|
.DESCRIPTION
|
|
This script starts the DeepSeek Harness for working with the Aurora Admin design system project.
|
|
It sets up the environment variables and launches DSH with the web profile.
|
|
|
|
.NOTES
|
|
File Name : start-dsh.ps1
|
|
Prerequisite : PowerShell 5.1 or later, Node.js environment with DSH installed
|
|
#>
|
|
|
|
param(
|
|
[string]$Profile = "web",
|
|
[string]$Workspace = "C:\Users\12914\Desktop\组件规范第一套",
|
|
[string]$DshPath = "C:\Users\12914\AppData\Roaming\TRAE SOLO CN\ModularData\ai-agent\vm\tools\node"
|
|
)
|
|
|
|
# Set environment variables
|
|
$env:DSH_HOME = "$env:APPDATA\dsh"
|
|
$env:DSH_WORKSPACE = $Workspace
|
|
|
|
# Change to workspace directory
|
|
Set-Location $Workspace
|
|
|
|
# Start DSH with specified profile
|
|
& "$DshPath\dsh.ps1" --profile $Profile |