Commit 3a5b7e4
committed
fix(server): keep public docstrings API-level on migrated controls routes
Move auth-framework rationale on /controls/schema, /controls/validate,
and /control-templates/render from route docstrings into normal code
comments. The docstrings flow into the generated TypeScript SDK as
public API documentation, so internal terminology like
``require_operation`` and "upstream authorizer" should not appear
there. Function-level comments preserve the rationale for readers of
the source.
Also remove the skipped placeholder test for the project-scoped
credential deny scenario; that scenario depends on a deployment-side
provider configuration that is not part of the OSS server, so
tracking it as a permanent skipped test in this repo was the wrong
home for it.
Regenerate the TypeScript SDK to drop the leaked rationale lines.1 parent 8a31d15 commit 3a5b7e4
7 files changed
Lines changed: 13 additions & 115 deletions
File tree
- sdks/typescript/src/generated
- funcs
- sdk
- server
- src/agent_control_server
- endpoints
- tests
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 30 | | |
37 | 31 | | |
38 | 32 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 34 | | |
39 | 35 | | |
40 | 36 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 28 | | |
33 | 29 | | |
34 | 30 | | |
| |||
114 | 110 | | |
115 | 111 | | |
116 | 112 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | 113 | | |
124 | 114 | | |
125 | 115 | | |
| |||
136 | 126 | | |
137 | 127 | | |
138 | 128 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | 129 | | |
145 | 130 | | |
146 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| 446 | + | |
446 | 447 | | |
447 | 448 | | |
448 | 449 | | |
449 | 450 | | |
450 | 451 | | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
| 452 | + | |
457 | 453 | | |
458 | 454 | | |
459 | 455 | | |
| |||
556 | 552 | | |
557 | 553 | | |
558 | 554 | | |
| 555 | + | |
559 | 556 | | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
| 557 | + | |
568 | 558 | | |
569 | 559 | | |
570 | 560 | | |
| |||
777 | 767 | | |
778 | 768 | | |
779 | 769 | | |
| 770 | + | |
780 | 771 | | |
781 | 772 | | |
782 | 773 | | |
| |||
785 | 776 | | |
786 | 777 | | |
787 | 778 | | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | 779 | | |
794 | 780 | | |
795 | 781 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
| 276 | + | |
282 | 277 | | |
283 | 278 | | |
284 | 279 | | |
| |||
306 | 301 | | |
307 | 302 | | |
308 | 303 | | |
309 | | - | |
310 | | - | |
311 | | - | |
| 304 | + | |
312 | 305 | | |
313 | 306 | | |
314 | 307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 1 | + | |
17 | 2 | | |
18 | 3 | | |
19 | 4 | | |
| |||
42 | 27 | | |
43 | 28 | | |
44 | 29 | | |
45 | | - | |
| 30 | + | |
46 | 31 | | |
47 | 32 | | |
48 | 33 | | |
| |||
165 | 150 | | |
166 | 151 | | |
167 | 152 | | |
168 | | - | |
| 153 | + | |
169 | 154 | | |
170 | 155 | | |
171 | 156 | | |
| |||
217 | 202 | | |
218 | 203 | | |
219 | 204 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
| 205 | + | |
226 | 206 | | |
227 | 207 | | |
228 | 208 | | |
| |||
234 | 214 | | |
235 | 215 | | |
236 | 216 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
| 217 | + | |
242 | 218 | | |
243 | 219 | | |
244 | 220 | | |
245 | 221 | | |
246 | 222 | | |
247 | 223 | | |
248 | | - | |
249 | | - | |
| 224 | + | |
250 | 225 | | |
251 | 226 | | |
252 | 227 | | |
| |||
337 | 312 | | |
338 | 313 | | |
339 | 314 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
0 commit comments