Commit 3b28f19
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 3b28f19
1 file changed
+24
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
98 | 122 | | |
99 | 123 | | |
100 | 124 | | |
| |||
160 | 184 | | |
161 | 185 | | |
162 | 186 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | 187 | | |
177 | 188 | | |
178 | 189 | | |
| |||
0 commit comments