Commit 8b04c02
fix(proxy): unblock 5 endpoints for PR#252 playground features (DAK-6891)
Adds POST /v1/sessions/start, POST /v1/sessions/{id}/end,
GET /v1/sessions/{id} (ChatMemorySession scenario), POST /v1/memories/extract
(Entity Extraction), and GET /v1/agent/memories (API Explorer) to the
sandbox allow-list so all 9 playground modes can operate without 403.
Also bundles two pending fixes from prior sessions:
- Rate limit default 10→30 req/min (new features need more roundtrips)
- Surface X-Sandbox-Memory-Remaining on every successful store response
(DAK-6758: playground UI can show budget during normal use, not only on
cap-exceeded 403)
proxy.test.js: +1 test asserting all 5 new endpoints pass isAllowed().
33/33 tests pass locally.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 004ae72 commit 8b04c02
2 files changed
Lines changed: 39 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
43 | 61 | | |
44 | 62 | | |
45 | 63 | | |
| |||
54 | 72 | | |
55 | 73 | | |
56 | 74 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
61 | 78 | | |
62 | 79 | | |
63 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
103 | 118 | | |
104 | 119 | | |
105 | 120 | | |
| |||
115 | 130 | | |
116 | 131 | | |
117 | 132 | | |
118 | | - | |
119 | | - | |
| 133 | + | |
| 134 | + | |
120 | 135 | | |
121 | | - | |
| 136 | + | |
122 | 137 | | |
123 | 138 | | |
124 | 139 | | |
| |||
0 commit comments