Skip to content

Latest commit

 

History

History
98 lines (77 loc) · 2.73 KB

File metadata and controls

98 lines (77 loc) · 2.73 KB

Brugsguide | Usage Guide

Installation

npm install

Hurtig Start

1. Test CLI’en

node pilot-agent-cli.js help

2. Initialiser konfiguration

node pilot-agent-cli.js init

3. Kør tests

node pilot-agent-cli.js test

4. Vis konfiguration

node pilot-agent-cli.js config

5. Kør agenten (efter konfiguration)

node pilot-agent-cli.js run --verbose

Avanceret Brug

Autentificeringskonfiguration

Før brug af agenten, sæt GitHub Copilot autentificering op:

# Terminal 1: Start autentificeringsserver
node copilot-auth.js

# Terminal 2: Brug klienten
node copilot-client.js demo

Brugerdefineret Konfiguration

# Kør med brugerdefineret konfigurationsfil
node pilot-agent-cli.js run --config ./my-config.json --verbose

# Vis nuværende konfiguration
node pilot-agent-cli.js config

Tilgængelige Kommandoer

CLI Kommandoer

  • init - Opret standard konfigurationsfil

  • run - Udfør Pilot Agent med nuværende konfiguration

  • config - Vis nuværende konfiguration

  • test - Kør grundlæggende tests og valideringer

  • help - Vis hjælpebesked

Valgmuligheder

  • --config <sti> - Angiv konfigurationsfilsti (standard: ./pilot-agent.config.json)

  • --verbose - Aktivér udførlig logning

Fejlfinding

Afhængigheder

Sørg for at GitHub Copilot Language Server er installeret:

npm install -g @github/copilot-language-server

Autentificering

Verificer GitHub autentificering:

gh auth status