فهرست منبع

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

Aiden Cline 8 ماه پیش
والد
کامیت
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
       read: {
         "*": "allow",
-        "*.env": "deny",
-        "*.env.*": "deny",
+        "*.env": "ask",
+        "*.env.*": "ask",
         "*.env.example": "allow",
       },
     })