-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpolicy.json
More file actions
116 lines (116 loc) · 2.88 KB
/
Copy pathpolicy.json
File metadata and controls
116 lines (116 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"extends": "default",
"meta": {
"name": "omp",
"version": "1.0.0",
"description": "Oh My Pi (OMP) coding agent profile (registry-managed)",
"author": "always-further"
},
"groups": {
"include": [
"node_runtime",
"rust_runtime",
"python_runtime",
"user_caches_macos",
"user_caches_linux",
"linux_sysfs_read",
"nix_runtime",
"git_config",
"unlink_protection"
]
},
"security": {
"signal_mode": "isolated",
"capability_elevation": false
},
"filesystem": {
"allow": [
"$HOME/.omp",
"$HOME/.config/nono/profile-drafts"
],
"read": [
"$HOME/.nvm/",
"$HOME/.agents/skills",
"$HOME/.config/nono/packages",
"$HOME/.config/nono/profiles"
],
"suppress_save_prompt": [
"$NONO_PACKAGES/always-further/omp"
]
},
"network": {
"block": false,
"allow_domain": [],
"credentials": [],
"open_port": [],
"listen_port": [],
"custom_credentials": {
"openai": {
"upstream": "https://api.openai.com/v1",
"credential_key": "OPENAI_API_KEY",
"inject_header": "Authorization",
"credential_format": "Bearer {}",
"env_var": "OPENAI_API_KEY"
},
"anthropic": {
"upstream": "https://api.anthropic.com",
"credential_key": "ANTHROPIC_API_KEY",
"inject_header": "x-api-key",
"credential_format": "{}",
"env_var": "ANTHROPIC_API_KEY"
},
"gemini": {
"upstream": "https://generativelanguage.googleapis.com",
"credential_key": "GOOGLE_API_KEY",
"inject_header": "x-goog-api-key",
"credential_format": "{}",
"env_var": "GEMINI_API_KEY"
},
"github": {
"upstream": "https://api.github.com",
"credential_key": "GITHUB_TOKEN",
"inject_header": "Authorization",
"credential_format": "token {}",
"env_var": "GITHUB_TOKEN"
},
"gitlab": {
"upstream": "https://gitlab.com/api",
"credential_key": "GITLAB_TOKEN",
"inject_header": "Authorization",
"credential_format": "Bearer {}",
"env_var": "GITLAB_TOKEN"
},
"opencode": {
"upstream": "https://opencode.ai/zen/v1",
"credential_key": "OPENCODE_API_KEY",
"inject_header": "Authorization",
"credential_format": "Bearer {}",
"env_var": "OPENCODE_API_KEY"
}
}
},
"workdir": {
"access": "readwrite"
},
"open_urls": {
"allow_origins": [
"https://auth.openai.com",
"https://claude.ai",
"https://github.com",
"https://opencode.ai"
],
"allow_localhost": true
},
"allow_launch_services": true,
"undo": {
"exclude_patterns": [
"node_modules",
".next",
"__pycache__",
"target",
".omp"
],
"exclude_globs": ["*.tmp.[0-9]*.[0-9]*"]
},
"interactive": true
}