@anna-ai/app-schema 0.23.0 → 0.26.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.23.0)
1
+ # @anna-ai/app-schema (v0.26.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.
@@ -15,11 +15,13 @@
15
15
  "host.upload",
16
16
  "llm.agent.auto",
17
17
  "llm.agent.fixed",
18
+ "llm.audio.speak",
18
19
  "llm.complete",
19
20
  "llm.embed",
20
21
  "llm.image",
21
22
  "llm.image.edit",
22
23
  "llm.sample",
24
+ "llm.video",
23
25
  "web.fetch",
24
26
  "web.image_fetch",
25
27
  "web.image_search",
@@ -42,5 +44,5 @@
42
44
  "ui.svg"
43
45
  ],
44
46
  "title": "AclCapabilityTable",
45
- "version": "0.23.0"
47
+ "version": "0.26.0"
46
48
  }
@@ -1 +1 @@
1
- 0.23.0
1
+ 0.26.0
@@ -19,6 +19,7 @@
19
19
  "executa_readiness",
20
20
  "executa_reconcile_result",
21
21
  "geometry_changed",
22
+ "media_job",
22
23
  "open_view",
23
24
  "ping",
24
25
  "rpc.stream",
@@ -38,5 +39,5 @@
38
39
  ],
39
40
  "title": "AnnaAppEvent",
40
41
  "type": "object",
41
- "version": "0.23.0"
42
+ "version": "0.26.0"
42
43
  }
@@ -17,7 +17,7 @@
17
17
  "no_auth": false,
18
18
  "params_schema": {
19
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.",
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 — declaration-is-consent, plus risk_group: server-side|host-kit) for the calling app.",
21
21
  "properties": {},
22
22
  "type": "object"
23
23
  },
@@ -37,6 +37,41 @@
37
37
  "no_auth": false,
38
38
  "stub": false
39
39
  },
40
+ {
41
+ "handler": "_h_agent_session_frames",
42
+ "method": "session.frames",
43
+ "namespace": "agent",
44
+ "no_auth": false,
45
+ "params_schema": {
46
+ "additionalProperties": false,
47
+ "description": "Replay archived rpc.stream frames by seq — pull-based recovery when the realtime push leg is unavailable. Returns {frames, complete}; poll until a frame carries done=true. Rate limit 30/min/user, SHARED with the dashboard backfill REST endpoint; archive window ~1h.",
48
+ "properties": {
49
+ "after_seq": {
50
+ "default": 0,
51
+ "description": "Return only frames with seq > after_seq.",
52
+ "minimum": 0,
53
+ "type": "integer"
54
+ },
55
+ "limit": {
56
+ "default": 500,
57
+ "description": "Page size (server caps at 500).",
58
+ "maximum": 500,
59
+ "minimum": 1,
60
+ "type": "integer"
61
+ },
62
+ "stream_id": {
63
+ "description": "The stream to replay (from the run response).",
64
+ "minLength": 1,
65
+ "type": "string"
66
+ }
67
+ },
68
+ "required": [
69
+ "stream_id"
70
+ ],
71
+ "type": "object"
72
+ },
73
+ "stub": false
74
+ },
40
75
  {
41
76
  "handler": "_h_agent_session_history",
42
77
  "method": "session.history",
@@ -97,6 +132,34 @@
97
132
  "no_auth": false,
98
133
  "stub": false
99
134
  },
135
+ {
136
+ "handler": "_h_agent_session_run_status",
137
+ "method": "session.run.status",
138
+ "namespace": "agent",
139
+ "no_auth": false,
140
+ "params_schema": {
141
+ "additionalProperties": false,
142
+ "description": "Read-only point-in-time status of one agent run: queued | running | completed | failed | cancelled (+ task_id, stream_id, started_at/finished_at, model, error). Check this BEFORE re-running after a silent stream — completed means the run executed and was charged; recover its output via agent.session.frames instead of re-running.",
143
+ "properties": {
144
+ "app_session_uuid": {
145
+ "description": "The aps_-prefixed session the run belongs to.",
146
+ "minLength": 1,
147
+ "type": "string"
148
+ },
149
+ "run_id": {
150
+ "description": "The run to inspect (echoed by agent.session.run). Status is queryable for ~1h after enqueue; afterwards (and for foreign runs) the call returns not_found.",
151
+ "minLength": 1,
152
+ "type": "string"
153
+ }
154
+ },
155
+ "required": [
156
+ "app_session_uuid",
157
+ "run_id"
158
+ ],
159
+ "type": "object"
160
+ },
161
+ "stub": false
162
+ },
100
163
  {
101
164
  "handler": "_h_not_implemented",
102
165
  "method": "deck.add",
@@ -188,6 +251,20 @@
188
251
  "no_auth": false,
189
252
  "stub": true
190
253
  },
254
+ {
255
+ "handler": "_h_audio_speak",
256
+ "method": "speak",
257
+ "namespace": "audio",
258
+ "no_auth": false,
259
+ "stub": false
260
+ },
261
+ {
262
+ "handler": "_h_audio_transcribe",
263
+ "method": "transcribe",
264
+ "namespace": "audio",
265
+ "no_auth": false,
266
+ "stub": false
267
+ },
191
268
  {
192
269
  "handler": "_h_chat_append_artifact",
193
270
  "method": "append_artifact",
@@ -368,6 +445,13 @@
368
445
  "no_auth": false,
369
446
  "stub": false
370
447
  },
448
+ {
449
+ "handler": "_h_llm_catalog",
450
+ "method": "catalog",
451
+ "namespace": "llm",
452
+ "no_auth": false,
453
+ "stub": false
454
+ },
371
455
  {
372
456
  "handler": "_h_llm_complete",
373
457
  "method": "complete",
@@ -834,6 +918,34 @@
834
918
  "no_auth": false,
835
919
  "stub": false
836
920
  },
921
+ {
922
+ "handler": "_h_video_cancel_job",
923
+ "method": "cancelJob",
924
+ "namespace": "video",
925
+ "no_auth": false,
926
+ "stub": false
927
+ },
928
+ {
929
+ "handler": "_h_video_generate",
930
+ "method": "generate",
931
+ "namespace": "video",
932
+ "no_auth": false,
933
+ "stub": false
934
+ },
935
+ {
936
+ "handler": "_h_video_get_job",
937
+ "method": "getJob",
938
+ "namespace": "video",
939
+ "no_auth": false,
940
+ "stub": false
941
+ },
942
+ {
943
+ "handler": "_h_video_list_jobs",
944
+ "method": "listJobs",
945
+ "namespace": "video",
946
+ "no_auth": false,
947
+ "stub": false
948
+ },
837
949
  {
838
950
  "handler": "_h_web_fetch",
839
951
  "method": "fetch",
@@ -920,5 +1032,5 @@
920
1032
  }
921
1033
  ],
922
1034
  "title": "HostApiMethodTable",
923
- "version": "0.23.0"
1035
+ "version": "0.26.0"
924
1036
  }
@@ -237,6 +237,13 @@
237
237
  "title": "Artifact",
238
238
  "type": "array"
239
239
  },
240
+ "audio": {
241
+ "items": {
242
+ "type": "string"
243
+ },
244
+ "title": "Audio",
245
+ "type": "array"
246
+ },
240
247
  "chat": {
241
248
  "items": {
242
249
  "type": "string"
@@ -314,6 +321,13 @@
314
321
  "title": "Upload",
315
322
  "type": "array"
316
323
  },
324
+ "video": {
325
+ "items": {
326
+ "type": "string"
327
+ },
328
+ "title": "Video",
329
+ "type": "array"
330
+ },
317
331
  "web": {
318
332
  "items": {
319
333
  "type": "string"
@@ -105,6 +105,13 @@
105
105
  "title": "Artifact",
106
106
  "type": "array"
107
107
  },
108
+ "audio": {
109
+ "items": {
110
+ "type": "string"
111
+ },
112
+ "title": "Audio",
113
+ "type": "array"
114
+ },
108
115
  "chat": {
109
116
  "items": {
110
117
  "type": "string"
@@ -182,6 +189,13 @@
182
189
  "title": "Upload",
183
190
  "type": "array"
184
191
  },
192
+ "video": {
193
+ "items": {
194
+ "type": "string"
195
+ },
196
+ "title": "Video",
197
+ "type": "array"
198
+ },
185
199
  "web": {
186
200
  "items": {
187
201
  "type": "string"
package/package.json CHANGED
@@ -23,5 +23,5 @@
23
23
  "publishConfig": {
24
24
  "access": "public"
25
25
  },
26
- "version": "0.23.0"
26
+ "version": "0.26.0"
27
27
  }