@anna-ai/app-schema 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @anna-ai/app-schema (v0.16.0)
1
+ # @anna-ai/app-schema (v0.17.0)
2
2
 
3
3
  Versioned schema bundle for the Anna App platform. Generated by
4
4
  `scripts/export_app_schema.py` in matrix-nexus; do not edit by hand.
@@ -1 +1 @@
1
- 0.16.0
1
+ 0.17.0
@@ -38,5 +38,5 @@
38
38
  ],
39
39
  "title": "AnnaAppEvent",
40
40
  "type": "object",
41
- "version": "0.16.0"
41
+ "version": "0.17.0"
42
42
  }
@@ -238,6 +238,53 @@
238
238
  "no_auth": false,
239
239
  "stub": true
240
240
  },
241
+ {
242
+ "handler": "_h_not_implemented",
243
+ "method": "download",
244
+ "namespace": "files",
245
+ "no_auth": false,
246
+ "params_schema": {
247
+ "additionalProperties": false,
248
+ "properties": {
249
+ "filename": {
250
+ "description": "Save-as filename shown in the browser download dialog. Defaults to the last path segment. Baked into the presigned Content-Disposition: attachment header.",
251
+ "type": [
252
+ "string",
253
+ "null"
254
+ ]
255
+ },
256
+ "owner": {
257
+ "type": [
258
+ "string",
259
+ "null"
260
+ ]
261
+ },
262
+ "path": {
263
+ "minLength": 1,
264
+ "type": "string"
265
+ },
266
+ "scope": {
267
+ "description": "Same semantics as files.download_url — cross-app reads need the aps.scope.app.read capability.",
268
+ "type": [
269
+ "string",
270
+ "null"
271
+ ]
272
+ },
273
+ "ttl_seconds": {
274
+ "default": 300,
275
+ "description": "Presigned URL lifetime (host consumes it immediately).",
276
+ "maximum": 3600,
277
+ "minimum": 1,
278
+ "type": "integer"
279
+ }
280
+ },
281
+ "required": [
282
+ "path"
283
+ ],
284
+ "type": "object"
285
+ },
286
+ "stub": true
287
+ },
241
288
  {
242
289
  "handler": "_h_not_implemented",
243
290
  "method": "download_url",
@@ -539,5 +586,5 @@
539
586
  }
540
587
  ],
541
588
  "title": "HostApiMethodTable",
542
- "version": "0.16.0"
589
+ "version": "0.17.0"
543
590
  }
package/package.json CHANGED
@@ -21,5 +21,5 @@
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  },
24
- "version": "0.16.0"
24
+ "version": "0.17.0"
25
25
  }