Commit 52a5083
feat: self-hosted node (rnu-node) support — appId routing & presigned PUT uploads
- /upload request now carries appId so the server can route uploads for
node-bound apps (to the node's PostObject-compatible endpoint — that
path needs no other CLI change, formData is forwarded opaquely)
- handle the {method:'PUT', url, key} instruction shape: stream the file
via presigned PUT (bytes go straight to the user's S3-compatible
bucket, never touching the node), explicit content-length as required
by presigned PUTs
Publish as a GitHub Release tagged >=2.19.0 (npm latest is 2.18.0; the
version comes from the release tag, package.json in git stays stale).
The server gates node-bound uploads on >=2.19.0.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 01e5b57 commit 52a5083
3 files changed
Lines changed: 45 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
206 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
207 | 213 | | |
| 214 | + | |
208 | 215 | | |
| 216 | + | |
209 | 217 | | |
210 | 218 | | |
211 | 219 | | |
| |||
240 | 248 | | |
241 | 249 | | |
242 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
243 | 284 | | |
244 | 285 | | |
245 | 286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
478 | | - | |
| 478 | + | |
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
| |||
0 commit comments