@anna-ai/app-schema 0.16.0 → 0.18.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.18.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.18.0
@@ -38,5 +38,5 @@
38
38
  ],
39
39
  "title": "AnnaAppEvent",
40
40
  "type": "object",
41
- "version": "0.16.0"
41
+ "version": "0.18.0"
42
42
  }
@@ -10,6 +10,19 @@
10
10
  "no_auth": false,
11
11
  "stub": false
12
12
  },
13
+ {
14
+ "handler": "_h_agent_session_catalog",
15
+ "method": "session.catalog",
16
+ "namespace": "agent",
17
+ "no_auth": false,
18
+ "params_schema": {
19
+ "additionalProperties": false,
20
+ "description": "No arguments. Read-only pre-create discovery of the platform-tool universe (legal quotaCaps.allowed_tools / per-run allowed_tools values) with per-tool eligibility diagnostics (blocked_by: manifest|user_grant) for the calling app.",
21
+ "properties": {},
22
+ "type": "object"
23
+ },
24
+ "stub": false
25
+ },
13
26
  {
14
27
  "handler": "_h_agent_session_create",
15
28
  "method": "session.create",
@@ -238,6 +251,53 @@
238
251
  "no_auth": false,
239
252
  "stub": true
240
253
  },
254
+ {
255
+ "handler": "_h_not_implemented",
256
+ "method": "download",
257
+ "namespace": "files",
258
+ "no_auth": false,
259
+ "params_schema": {
260
+ "additionalProperties": false,
261
+ "properties": {
262
+ "filename": {
263
+ "description": "Save-as filename shown in the browser download dialog. Defaults to the last path segment. Baked into the presigned Content-Disposition: attachment header.",
264
+ "type": [
265
+ "string",
266
+ "null"
267
+ ]
268
+ },
269
+ "owner": {
270
+ "type": [
271
+ "string",
272
+ "null"
273
+ ]
274
+ },
275
+ "path": {
276
+ "minLength": 1,
277
+ "type": "string"
278
+ },
279
+ "scope": {
280
+ "description": "Same semantics as files.download_url — cross-app reads need the aps.scope.app.read capability.",
281
+ "type": [
282
+ "string",
283
+ "null"
284
+ ]
285
+ },
286
+ "ttl_seconds": {
287
+ "default": 300,
288
+ "description": "Presigned URL lifetime (host consumes it immediately).",
289
+ "maximum": 3600,
290
+ "minimum": 1,
291
+ "type": "integer"
292
+ }
293
+ },
294
+ "required": [
295
+ "path"
296
+ ],
297
+ "type": "object"
298
+ },
299
+ "stub": true
300
+ },
241
301
  {
242
302
  "handler": "_h_not_implemented",
243
303
  "method": "download_url",
@@ -539,5 +599,5 @@
539
599
  }
540
600
  ],
541
601
  "title": "HostApiMethodTable",
542
- "version": "0.16.0"
602
+ "version": "0.18.0"
543
603
  }
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.18.0"
25
25
  }