microsoft/TypeAgent

Public

mirrored fromhttps://github.com/microsoft/TypeAgentAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/fix-github-actions-job-shell-and-cli

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.devcontainer/scripts/post-start.sh

35lines · modecode

1#!/bin/bash
2# Copyright (c) Microsoft Corporation.
3# Licensed under the MIT License.
4
5#
6# TypeAgent DevContainer Post-Start Script
7# Runs each time the container starts
8#
9
10echo ""
11echo "╔══════════════════════════════════════════════════════════════╗"
12echo "║ TypeAgent Dev Container Ready ║"
13echo "╚══════════════════════════════════════════════════════════════╝"
14echo ""
15echo "Quick commands:"
16echo " cd ts && pnpm run build # Build all packages"
17echo " pnpm run cli # Run CLI"
18echo " pnpm run server # Start agent server (for hybrid shell)"
19echo " pnpm run shell # Run Electron shell (if GUI available)"
20echo " pnpm run test:local # Run unit tests"
21echo ""
22echo "AI Agents:"
23echo " claude # Start Claude Code"
24echo " claude \"your prompt\" # Run Claude Code with prompt"
25echo ""
26echo "Worktree commands (for parallel agents):"
27echo " ../scripts/agent-worktree.sh feature-name # Create worktree"
28echo " ../scripts/agent-worktree.sh --cleanup name # Remove worktree"
29echo ""
30
31# Check if Azure login is needed
32if ! az account show &>/dev/null; then
33 echo "Note: Run 'az login --use-device-code' to authenticate with Azure"
34 echo ""
35fi
36