github / github/copilot-sdk

[java] Using the SDK seems to reset the folder trust

Ouverte
#2,289 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
10.5k
Forks
1.5k
Merge moyen
1 j 11 h
PR mergées (30 j)
127

Description

One thing I noticed after making a quick test with the sdk was that whenever I started it and use copilot cli afterwards I getting again asked what folders to trust.

1. start **copilot cli** and allow a folder for future sessions
2. start **copilot cli** again --> it starts without asking again
3. execute something with **the sdk** (e.g. the tutorial code)
4. start **copilot cli** again --> it asks again if one would like to trust the folder

I'm using the latest 1.0.9-preview.3

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start with the Java SDK tutorial code and reproduce the sequence in the issue: trust a folder in Copilot CLI, run the SDK, then launch the CLI again. Compare the folder-trust behavior before and after SDK use; done means the CLI retains the existing trust and does not prompt again.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
cli
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
48/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.