Commit 0156ab9
OpenClaw Agent
feat(policy): add missing Copilot API endpoints to base sandbox policy
The existing copilot policy was missing endpoints needed for Copilot CLI
to function inside OpenShell sandboxes. This adds:
- api.individual/business.githubcopilot.com (subscription-tier routing)
- origin-tracker.githubusercontent.com (tracking)
- telemetry.enterprise.githubcopilot.com (telemetry)
- L7 inspection config (protocol: rest, tls: terminate) on API endpoints
for proxy-based credential injection support
- Additional binary paths (/usr/bin/node, /usr/bin/copilot, node_modules)
Also adds copilot/node binary paths to github_rest_api and
github_ssh_over_https policies so Copilot can access GitHub API and git.
Tested end-to-end in a live OpenShell sandbox with proxy-based
credential injection. All auth formats verified working.1 parent 91d915d commit 0156ab9
1 file changed
+33
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| |||
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
97 | 130 | | |
98 | 131 | | |
99 | 132 | | |
| |||
160 | 193 | | |
161 | 194 | | |
162 | 195 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | 196 | | |
177 | 197 | | |
178 | 198 | | |
| |||
0 commit comments