@anna-ai/app-schema 0.22.0 → 0.24.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 +1 -1
- package/acl/capabilities.json +1 -1
- package/dispatcher_version.txt +1 -1
- package/events/AnnaAppEvent.json +1 -1
- package/host_api/methods.json +78 -1
- package/manifest/AppManifest.json +37 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/acl/capabilities.json
CHANGED
package/dispatcher_version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.24.0
|
package/events/AnnaAppEvent.json
CHANGED
package/host_api/methods.json
CHANGED
|
@@ -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",
|
|
@@ -153,6 +216,20 @@
|
|
|
153
216
|
"no_auth": false,
|
|
154
217
|
"stub": true
|
|
155
218
|
},
|
|
219
|
+
{
|
|
220
|
+
"handler": "_h_not_implemented",
|
|
221
|
+
"method": "update",
|
|
222
|
+
"namespace": "apps",
|
|
223
|
+
"no_auth": false,
|
|
224
|
+
"stub": true
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"handler": "_h_not_implemented",
|
|
228
|
+
"method": "update_status",
|
|
229
|
+
"namespace": "apps",
|
|
230
|
+
"no_auth": false,
|
|
231
|
+
"stub": true
|
|
232
|
+
},
|
|
156
233
|
{
|
|
157
234
|
"handler": "_h_not_implemented",
|
|
158
235
|
"method": "create",
|
|
@@ -906,5 +983,5 @@
|
|
|
906
983
|
}
|
|
907
984
|
],
|
|
908
985
|
"title": "HostApiMethodTable",
|
|
909
|
-
"version": "0.
|
|
986
|
+
"version": "0.24.0"
|
|
910
987
|
}
|
|
@@ -163,6 +163,31 @@
|
|
|
163
163
|
"title": "ManifestExecutaRef",
|
|
164
164
|
"type": "object"
|
|
165
165
|
},
|
|
166
|
+
"StorageManifestSection": {
|
|
167
|
+
"additionalProperties": false,
|
|
168
|
+
"description": "Structured APS storage declaration (schema 3, design\naps-authorization-simplification §6.1). Replaces the legacy ``aps.*``\nstrings in ``host_capabilities`` — the two forms are mutually exclusive\n(validator-enforced); normalization lives in ``storage_decl.py``.",
|
|
169
|
+
"properties": {
|
|
170
|
+
"files": {
|
|
171
|
+
"default": false,
|
|
172
|
+
"title": "Files",
|
|
173
|
+
"type": "boolean"
|
|
174
|
+
},
|
|
175
|
+
"kv": {
|
|
176
|
+
"default": false,
|
|
177
|
+
"title": "Kv",
|
|
178
|
+
"type": "boolean"
|
|
179
|
+
},
|
|
180
|
+
"scopes": {
|
|
181
|
+
"additionalProperties": {
|
|
182
|
+
"type": "string"
|
|
183
|
+
},
|
|
184
|
+
"title": "Scopes",
|
|
185
|
+
"type": "object"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"title": "StorageManifestSection",
|
|
189
|
+
"type": "object"
|
|
190
|
+
},
|
|
166
191
|
"UiBundleSection": {
|
|
167
192
|
"additionalProperties": false,
|
|
168
193
|
"properties": {
|
|
@@ -569,11 +594,22 @@
|
|
|
569
594
|
},
|
|
570
595
|
"schema": {
|
|
571
596
|
"default": 1,
|
|
572
|
-
"maximum":
|
|
597
|
+
"maximum": 3,
|
|
573
598
|
"minimum": 1,
|
|
574
599
|
"title": "Schema",
|
|
575
600
|
"type": "integer"
|
|
576
601
|
},
|
|
602
|
+
"storage": {
|
|
603
|
+
"anyOf": [
|
|
604
|
+
{
|
|
605
|
+
"$ref": "#/$defs/StorageManifestSection"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"type": "null"
|
|
609
|
+
}
|
|
610
|
+
],
|
|
611
|
+
"default": null
|
|
612
|
+
},
|
|
577
613
|
"system_prompt_addendum": {
|
|
578
614
|
"anyOf": [
|
|
579
615
|
{
|
package/package.json
CHANGED