소스 검색

tweak: make the .env reads ask user for permission instead of blocking

Aiden Cline 7 달 전
부모
커밋
0be37cc2c6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/opencode/src/agent/agent.ts

+ 2 - 2
packages/opencode/src/agent/agent.ts

@@ -55,8 +55,8 @@ export namespace Agent {
       // mirrors github.com/github/gitignore Node.gitignore pattern for .env files
       // mirrors github.com/github/gitignore Node.gitignore pattern for .env files
       read: {
       read: {
         "*": "allow",
         "*": "allow",
-        "*.env": "deny",
-        "*.env.*": "deny",
+        "*.env": "ask",
+        "*.env.*": "ask",
         "*.env.example": "allow",
         "*.env.example": "allow",
       },
       },
     })
     })