@anna-ai/app-schema 0.15.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.15.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.15.0
1
+ 0.17.0
@@ -38,5 +38,5 @@
38
38
  ],
39
39
  "title": "AnnaAppEvent",
40
40
  "type": "object",
41
- "version": "0.15.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",
@@ -453,6 +500,34 @@
453
500
  "no_auth": false,
454
501
  "stub": false
455
502
  },
503
+ {
504
+ "handler": "_h_web_fetch",
505
+ "method": "fetch",
506
+ "namespace": "web",
507
+ "no_auth": false,
508
+ "stub": false
509
+ },
510
+ {
511
+ "handler": "_h_web_image_fetch",
512
+ "method": "image_fetch",
513
+ "namespace": "web",
514
+ "no_auth": false,
515
+ "stub": false
516
+ },
517
+ {
518
+ "handler": "_h_web_image_search",
519
+ "method": "image_search",
520
+ "namespace": "web",
521
+ "no_auth": false,
522
+ "stub": false
523
+ },
524
+ {
525
+ "handler": "_h_web_search",
526
+ "method": "search",
527
+ "namespace": "web",
528
+ "no_auth": false,
529
+ "stub": false
530
+ },
456
531
  {
457
532
  "handler": "_h_window_close",
458
533
  "method": "close",
@@ -511,5 +586,5 @@
511
586
  }
512
587
  ],
513
588
  "title": "HostApiMethodTable",
514
- "version": "0.15.0"
589
+ "version": "0.17.0"
515
590
  }
@@ -282,6 +282,13 @@
282
282
  "title": "Upload",
283
283
  "type": "array"
284
284
  },
285
+ "web": {
286
+ "items": {
287
+ "type": "string"
288
+ },
289
+ "title": "Web",
290
+ "type": "array"
291
+ },
285
292
  "window": {
286
293
  "items": {
287
294
  "type": "string"
@@ -175,6 +175,13 @@
175
175
  "title": "Upload",
176
176
  "type": "array"
177
177
  },
178
+ "web": {
179
+ "items": {
180
+ "type": "string"
181
+ },
182
+ "title": "Web",
183
+ "type": "array"
184
+ },
178
185
  "window": {
179
186
  "items": {
180
187
  "type": "string"
package/package.json CHANGED
@@ -21,5 +21,5 @@
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  },
24
- "version": "0.15.0"
24
+ "version": "0.17.0"
25
25
  }