Conversation
…d auto-launch prompt Co-authored-by: hydraxman <8344245+hydraxman@users.noreply.github.com>
Co-authored-by: hydraxman <8344245+hydraxman@users.noreply.github.com>
|
for this url, store it in base64 format please, don't want other to see or search it: |
Co-authored-by: hydraxman <8344245+hydraxman@users.noreply.github.com>
Done in |
|
@copilot this is great enough, 2 tips: |
Co-authored-by: hydraxman <8344245+hydraxman@users.noreply.github.com>
Done in
|
|
@copilot if we find out the user has not install az cli, we pop up and ask whether want to install az cli, if user says no, we fall back to pat ask, but if user says yes, we help user install it via command (maybe winget?) and then ask user to do az login, and then we fetch token. And in the fetch token process, ask the user to enter the ADO org name, the default value is microsoft so user can put just enter to go with microsoft. |
…efault Co-authored-by: hydraxman <8344245+hydraxman@users.noreply.github.com>
Done in
|
|
@copilot before any nodejs script / command run, we check if node is installed and if not we try to use winget to install after confirming with user. if it's installed, we check the version, need to older than 22, we need to confirm with user and upgrade it with winget. |
…rement Co-authored-by: hydraxman <8344245+hydraxman@users.noreply.github.com>
Done in
|
|
@copilot for the power shell, I saw a issue, it prints below, so the upgrade logic is not working yet, and after get it fixed, add a shell in the same folder to run this in mac and linux with same logic and ouput log ┌─────────────────────────────────────────────────────┐ 📥 Install Node.js via winget? [Y/n]: Found an existing package already installed. Trying to upgrade the installed package... [process exited with code 1 (0x00000001)] |
…/Linux Co-authored-by: hydraxman <8344245+hydraxman@users.noreply.github.com>
Done in PowerShell fix:
New shell script (
|
Description
New cross-platform install scripts (PowerShell for Windows, Bash for Mac/Linux) that eliminate manual PAT creation by leveraging existing
az loginsessions, with a polished interactive console experience, guided setup flow, and automatic prerequisite management.Key changes:
Node.js management:
-1978335189) gracefully, with uninstall+reinstall fallback if upgrade failsAzure CLI & token auth:
az account get-access-token --resource 499b84ac-1321-427f-aa17-267ca6975798to obtain a temporary Azure DevOps token from the user's active Azure CLI session — no PAT creation neededaz loginand retries token fetchazCLI install is declined or token acquisition failsSecurity & UX:
https://micr****t.com/****)Start deepstudio-server now? [Y/n]after install; Enter orylaunches immediatelyCross-platform support:
private-install-v2.ps1— PowerShell script for Windows (uses winget for package management)private-install-v2.sh— Bash script for Mac/Linux (auto-detects brew, apt, dnf, yum, pacman)All existing functionality from
private-install.ps1is preserved (isolated npmrc, dry-run, verbose/log modes, cleanup).Linked GitHub issue ID:
Pull Request Checklist
Does this introduce a breaking change?
If this introduces a breaking change for Hydra Lab users, please describe the impact and migration path.
How you tested it
[System.Management.Automation.Language.Parser]::ParseFile) — no parse errorsbash -n) — no syntax errorsnode --versionoutput and compares against minimum version 22Please check the type of change your PR introduces:
Feature UI screenshots or Technical design diagrams
N/A — CLI scripts, no UI.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.