@anna-ai/app-schema 0.23.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 +64 -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",
|
|
@@ -920,5 +983,5 @@
|
|
|
920
983
|
}
|
|
921
984
|
],
|
|
922
985
|
"title": "HostApiMethodTable",
|
|
923
|
-
"version": "0.
|
|
986
|
+
"version": "0.24.0"
|
|
924
987
|
}
|
package/package.json
CHANGED