Use OpenAI and add pi-permission-system extension
This commit is contained in:
1
extensions/pi-permission-system/.gitignore
vendored
Normal file
1
extensions/pi-permission-system/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
logs/
|
||||
57
extensions/pi-permission-system/config.json
Normal file
57
extensions/pi-permission-system/config.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/gotgenes/pi-packages/main/packages/pi-permission-system/schemas/permissions.schema.json",
|
||||
"permission": {
|
||||
"*": "ask",
|
||||
"path": {
|
||||
"*": "allow",
|
||||
"*.env": "deny",
|
||||
"*.env.*": "deny",
|
||||
"*.env.example": "allow"
|
||||
},
|
||||
"read": "allow",
|
||||
"glob": "allow",
|
||||
"grep": "allow",
|
||||
"find": "allow",
|
||||
"ls": "allow",
|
||||
"write": "allow",
|
||||
"edit": "allow",
|
||||
"bash": {
|
||||
"*": "ask",
|
||||
"cat *": "allow",
|
||||
"head *": "allow",
|
||||
"tail *": "allow",
|
||||
"less *": "allow",
|
||||
"more *": "allow",
|
||||
"ls *": "allow",
|
||||
"tree *": "allow",
|
||||
"stat *": "allow",
|
||||
"file *": "allow",
|
||||
"wc *": "allow",
|
||||
"du *": "allow",
|
||||
"df *": "allow",
|
||||
"grep *": "allow",
|
||||
"egrep *": "allow",
|
||||
"fgrep *": "allow",
|
||||
"rg *": "allow",
|
||||
"find *": "allow",
|
||||
"fd *": "allow",
|
||||
"diff *": "allow",
|
||||
"cmp *": "allow",
|
||||
"comm *": "allow",
|
||||
"md5sum *": "allow",
|
||||
"sha1sum *": "allow",
|
||||
"sha256sum *": "allow",
|
||||
"cksum *": "allow",
|
||||
"pwd": "allow",
|
||||
"git status": "allow",
|
||||
"git diff *": "allow",
|
||||
"git log *": "allow",
|
||||
"git show *": "allow",
|
||||
"git blame *": "allow",
|
||||
"git ls-files *": "allow",
|
||||
"git branch": "allow",
|
||||
"git remote -v": "allow"
|
||||
},
|
||||
"external_directory": "ask"
|
||||
}
|
||||
}
|
||||
@@ -1,14 +1,17 @@
|
||||
{
|
||||
"lastChangelogVersion": "0.80.3",
|
||||
"lastChangelogVersion": "0.80.6",
|
||||
"theme": "dark",
|
||||
"defaultProvider": "openrouter",
|
||||
"defaultModel": "z-ai/glm-5.2",
|
||||
"defaultThinkingLevel": "high",
|
||||
"defaultProvider": "openai-codex",
|
||||
"defaultModel": "gpt-5.6-terra",
|
||||
"defaultThinkingLevel": "medium",
|
||||
"hideThinkingBlock": true,
|
||||
"showCacheMissNotices": false,
|
||||
"enabledModels": [
|
||||
"openrouter/anthropic/claude-opus-4.8",
|
||||
"openrouter/openai/gpt-5.6-sol",
|
||||
"openrouter/openai/gpt-5.6-terra",
|
||||
"openrouter/z-ai/glm-5.2"
|
||||
"openai-codex/gpt-5.6-luna",
|
||||
"openai-codex/gpt-5.6-terra",
|
||||
"openai-codex/gpt-5.6-sol"
|
||||
],
|
||||
"packages": []
|
||||
"packages": [
|
||||
"npm:@gotgenes/pi-permission-system"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user