@anna-ai/app-schema 0.19.0 → 0.21.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 +3 -1
- package/acl/capabilities.json +46 -0
- package/dispatcher_version.txt +1 -1
- package/events/AnnaAppEvent.json +1 -1
- package/host_api/methods.json +1 -1
- package/manifest/AppManifest.json +24 -0
- package/manifest/UiManifestSection.json +24 -0
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @anna-ai/app-schema (v0.
|
|
1
|
+
# @anna-ai/app-schema (v0.21.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.
|
|
@@ -11,6 +11,8 @@ Versioned schema bundle for the Anna App platform. Generated by
|
|
|
11
11
|
the dispatcher's `_DISPATCH` map. `no_auth=true` methods skip the
|
|
12
12
|
`host_api` ACL gate.
|
|
13
13
|
* `events/AnnaAppEvent.json` — SSE event union (the `kind` enum).
|
|
14
|
+
* `acl/capabilities.json` — `host_capabilities` + `permissions` strict
|
|
15
|
+
allow-lists enforced by the platform manifest validator.
|
|
14
16
|
* `dispatcher_version.txt` — Single source-of-truth bundle version;
|
|
15
17
|
harnesses must refuse to start when their copy disagrees.
|
|
16
18
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://schemas.anna.partners/acl-capabilities.json",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"description": "Strict allow-lists enforced by the platform manifest validator: `host_capabilities` (shared by Anna App and Executa plugin manifests) and Anna App `permissions` scopes.",
|
|
5
|
+
"host_capabilities": [
|
|
6
|
+
"aps.files",
|
|
7
|
+
"aps.kv",
|
|
8
|
+
"aps.scope.admin",
|
|
9
|
+
"aps.scope.app.read",
|
|
10
|
+
"aps.scope.app.write",
|
|
11
|
+
"aps.scope.tool.read",
|
|
12
|
+
"aps.scope.tool.write",
|
|
13
|
+
"aps.scope.user.read",
|
|
14
|
+
"aps.scope.user.write",
|
|
15
|
+
"host.upload",
|
|
16
|
+
"llm.agent.auto",
|
|
17
|
+
"llm.agent.fixed",
|
|
18
|
+
"llm.complete",
|
|
19
|
+
"llm.embed",
|
|
20
|
+
"llm.image",
|
|
21
|
+
"llm.image.edit",
|
|
22
|
+
"llm.sample",
|
|
23
|
+
"web.fetch",
|
|
24
|
+
"web.image_fetch",
|
|
25
|
+
"web.image_search",
|
|
26
|
+
"web.search"
|
|
27
|
+
],
|
|
28
|
+
"permissions": [
|
|
29
|
+
"artifact.create",
|
|
30
|
+
"artifact.delete",
|
|
31
|
+
"artifact.update",
|
|
32
|
+
"chat.append_artifact",
|
|
33
|
+
"chat.read",
|
|
34
|
+
"chat.write_message",
|
|
35
|
+
"fs.read",
|
|
36
|
+
"fs.write",
|
|
37
|
+
"llm.complete",
|
|
38
|
+
"prefs.read",
|
|
39
|
+
"storage.read",
|
|
40
|
+
"storage.write",
|
|
41
|
+
"tools.invoke",
|
|
42
|
+
"ui.svg"
|
|
43
|
+
],
|
|
44
|
+
"title": "AclCapabilityTable",
|
|
45
|
+
"version": "0.21.0"
|
|
46
|
+
}
|
package/dispatcher_version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.21.0
|
package/events/AnnaAppEvent.json
CHANGED
package/host_api/methods.json
CHANGED
|
@@ -316,6 +316,17 @@
|
|
|
316
316
|
"title": "Csp Overrides",
|
|
317
317
|
"type": "object"
|
|
318
318
|
},
|
|
319
|
+
"form_factors": {
|
|
320
|
+
"items": {
|
|
321
|
+
"enum": [
|
|
322
|
+
"desktop",
|
|
323
|
+
"mobile"
|
|
324
|
+
],
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"title": "Form Factors",
|
|
328
|
+
"type": "array"
|
|
329
|
+
},
|
|
319
330
|
"host_api": {
|
|
320
331
|
"$ref": "#/$defs/UiHostApiSpec"
|
|
321
332
|
},
|
|
@@ -438,6 +449,19 @@
|
|
|
438
449
|
],
|
|
439
450
|
"default": null
|
|
440
451
|
},
|
|
452
|
+
"mobile_entry": {
|
|
453
|
+
"anyOf": [
|
|
454
|
+
{
|
|
455
|
+
"maxLength": 300,
|
|
456
|
+
"type": "string"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"type": "null"
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
"default": null,
|
|
463
|
+
"title": "Mobile Entry"
|
|
464
|
+
},
|
|
441
465
|
"movable": {
|
|
442
466
|
"default": true,
|
|
443
467
|
"title": "Movable",
|
|
@@ -292,6 +292,19 @@
|
|
|
292
292
|
],
|
|
293
293
|
"default": null
|
|
294
294
|
},
|
|
295
|
+
"mobile_entry": {
|
|
296
|
+
"anyOf": [
|
|
297
|
+
{
|
|
298
|
+
"maxLength": 300,
|
|
299
|
+
"type": "string"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"type": "null"
|
|
303
|
+
}
|
|
304
|
+
],
|
|
305
|
+
"default": null,
|
|
306
|
+
"title": "Mobile Entry"
|
|
307
|
+
},
|
|
295
308
|
"movable": {
|
|
296
309
|
"default": true,
|
|
297
310
|
"title": "Movable",
|
|
@@ -363,6 +376,17 @@
|
|
|
363
376
|
"title": "Csp Overrides",
|
|
364
377
|
"type": "object"
|
|
365
378
|
},
|
|
379
|
+
"form_factors": {
|
|
380
|
+
"items": {
|
|
381
|
+
"enum": [
|
|
382
|
+
"desktop",
|
|
383
|
+
"mobile"
|
|
384
|
+
],
|
|
385
|
+
"type": "string"
|
|
386
|
+
},
|
|
387
|
+
"title": "Form Factors",
|
|
388
|
+
"type": "array"
|
|
389
|
+
},
|
|
366
390
|
"host_api": {
|
|
367
391
|
"$ref": "#/$defs/UiHostApiSpec"
|
|
368
392
|
},
|
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
".": {
|
|
5
5
|
"default": "./host_api/methods.json"
|
|
6
6
|
},
|
|
7
|
+
"./acl": "./acl/capabilities.json",
|
|
7
8
|
"./events": "./events/AnnaAppEvent.json",
|
|
8
9
|
"./manifest": "./manifest/AppManifest.json",
|
|
9
10
|
"./methods": "./host_api/methods.json",
|
|
@@ -13,6 +14,7 @@
|
|
|
13
14
|
"manifest/",
|
|
14
15
|
"host_api/",
|
|
15
16
|
"events/",
|
|
17
|
+
"acl/",
|
|
16
18
|
"dispatcher_version.txt",
|
|
17
19
|
"README.md"
|
|
18
20
|
],
|
|
@@ -21,5 +23,5 @@
|
|
|
21
23
|
"publishConfig": {
|
|
22
24
|
"access": "public"
|
|
23
25
|
},
|
|
24
|
-
"version": "0.
|
|
26
|
+
"version": "0.21.0"
|
|
25
27
|
}
|