@anna-ai/app-schema 0.9.0 → 0.12.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/dispatcher_version.txt +1 -1
- package/events/AnnaAppEvent.json +1 -1
- package/host_api/methods.json +124 -1
- package/manifest/AppManifest.json +21 -0
- package/manifest/UiManifestSection.json +21 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dispatcher_version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.12.0
|
package/events/AnnaAppEvent.json
CHANGED
package/host_api/methods.json
CHANGED
|
@@ -56,6 +56,27 @@
|
|
|
56
56
|
},
|
|
57
57
|
"stub": false
|
|
58
58
|
},
|
|
59
|
+
{
|
|
60
|
+
"handler": "_h_agent_session_refresh",
|
|
61
|
+
"method": "session.refresh",
|
|
62
|
+
"namespace": "agent",
|
|
63
|
+
"no_auth": false,
|
|
64
|
+
"params_schema": {
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"properties": {
|
|
67
|
+
"app_session_uuid": {
|
|
68
|
+
"description": "The aps_-prefixed session id to re-mint a token for and slide its idle window.",
|
|
69
|
+
"minLength": 1,
|
|
70
|
+
"type": "string"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": [
|
|
74
|
+
"app_session_uuid"
|
|
75
|
+
],
|
|
76
|
+
"type": "object"
|
|
77
|
+
},
|
|
78
|
+
"stub": false
|
|
79
|
+
},
|
|
59
80
|
{
|
|
60
81
|
"handler": "_h_agent_session_run",
|
|
61
82
|
"method": "session.run",
|
|
@@ -63,6 +84,62 @@
|
|
|
63
84
|
"no_auth": false,
|
|
64
85
|
"stub": false
|
|
65
86
|
},
|
|
87
|
+
{
|
|
88
|
+
"handler": "_h_not_implemented",
|
|
89
|
+
"method": "deck.add",
|
|
90
|
+
"namespace": "apps",
|
|
91
|
+
"no_auth": false,
|
|
92
|
+
"stub": true
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"handler": "_h_not_implemented",
|
|
96
|
+
"method": "deck.list",
|
|
97
|
+
"namespace": "apps",
|
|
98
|
+
"no_auth": false,
|
|
99
|
+
"stub": true
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"handler": "_h_not_implemented",
|
|
103
|
+
"method": "deck.remove",
|
|
104
|
+
"namespace": "apps",
|
|
105
|
+
"no_auth": false,
|
|
106
|
+
"stub": true
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"handler": "_h_not_implemented",
|
|
110
|
+
"method": "deck.reorder",
|
|
111
|
+
"namespace": "apps",
|
|
112
|
+
"no_auth": false,
|
|
113
|
+
"stub": true
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"handler": "_h_not_implemented",
|
|
117
|
+
"method": "get",
|
|
118
|
+
"namespace": "apps",
|
|
119
|
+
"no_auth": false,
|
|
120
|
+
"stub": true
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"handler": "_h_not_implemented",
|
|
124
|
+
"method": "launch",
|
|
125
|
+
"namespace": "apps",
|
|
126
|
+
"no_auth": false,
|
|
127
|
+
"stub": true
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"handler": "_h_not_implemented",
|
|
131
|
+
"method": "list",
|
|
132
|
+
"namespace": "apps",
|
|
133
|
+
"no_auth": false,
|
|
134
|
+
"stub": true
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"handler": "_h_not_implemented",
|
|
138
|
+
"method": "search",
|
|
139
|
+
"namespace": "apps",
|
|
140
|
+
"no_auth": false,
|
|
141
|
+
"stub": true
|
|
142
|
+
},
|
|
66
143
|
{
|
|
67
144
|
"handler": "_h_not_implemented",
|
|
68
145
|
"method": "create",
|
|
@@ -182,6 +259,52 @@
|
|
|
182
259
|
"no_auth": false,
|
|
183
260
|
"stub": false
|
|
184
261
|
},
|
|
262
|
+
{
|
|
263
|
+
"handler": "_h_llm_stream",
|
|
264
|
+
"method": "stream",
|
|
265
|
+
"namespace": "llm",
|
|
266
|
+
"no_auth": false,
|
|
267
|
+
"params_schema": {
|
|
268
|
+
"additionalProperties": true,
|
|
269
|
+
"properties": {
|
|
270
|
+
"maxTokens": {
|
|
271
|
+
"minimum": 1,
|
|
272
|
+
"type": "integer"
|
|
273
|
+
},
|
|
274
|
+
"messages": {
|
|
275
|
+
"description": "MCP-shaped message list, identical to llm.complete.",
|
|
276
|
+
"minItems": 1,
|
|
277
|
+
"type": "array"
|
|
278
|
+
},
|
|
279
|
+
"metadata": {
|
|
280
|
+
"type": "object"
|
|
281
|
+
},
|
|
282
|
+
"modelPreferences": {
|
|
283
|
+
"type": "object"
|
|
284
|
+
},
|
|
285
|
+
"stopSequences": {
|
|
286
|
+
"items": {
|
|
287
|
+
"type": "string"
|
|
288
|
+
},
|
|
289
|
+
"type": "array"
|
|
290
|
+
},
|
|
291
|
+
"systemPrompt": {
|
|
292
|
+
"type": [
|
|
293
|
+
"string",
|
|
294
|
+
"null"
|
|
295
|
+
]
|
|
296
|
+
},
|
|
297
|
+
"temperature": {
|
|
298
|
+
"type": "number"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"required": [
|
|
302
|
+
"messages"
|
|
303
|
+
],
|
|
304
|
+
"type": "object"
|
|
305
|
+
},
|
|
306
|
+
"stub": false
|
|
307
|
+
},
|
|
185
308
|
{
|
|
186
309
|
"handler": "_h_not_implemented",
|
|
187
310
|
"method": "get",
|
|
@@ -339,5 +462,5 @@
|
|
|
339
462
|
}
|
|
340
463
|
],
|
|
341
464
|
"title": "HostApiMethodTable",
|
|
342
|
-
"version": "0.
|
|
465
|
+
"version": "0.12.0"
|
|
343
466
|
}
|
|
@@ -198,6 +198,13 @@
|
|
|
198
198
|
"agent": {
|
|
199
199
|
"$ref": "#/$defs/AgentHostApiSpec"
|
|
200
200
|
},
|
|
201
|
+
"apps": {
|
|
202
|
+
"items": {
|
|
203
|
+
"type": "string"
|
|
204
|
+
},
|
|
205
|
+
"title": "Apps",
|
|
206
|
+
"type": "array"
|
|
207
|
+
},
|
|
201
208
|
"artifact": {
|
|
202
209
|
"items": {
|
|
203
210
|
"type": "string"
|
|
@@ -344,6 +351,15 @@
|
|
|
344
351
|
"UiViewSpec": {
|
|
345
352
|
"additionalProperties": false,
|
|
346
353
|
"properties": {
|
|
354
|
+
"chrome": {
|
|
355
|
+
"default": "solid",
|
|
356
|
+
"enum": [
|
|
357
|
+
"solid",
|
|
358
|
+
"vibrancy"
|
|
359
|
+
],
|
|
360
|
+
"title": "Chrome",
|
|
361
|
+
"type": "string"
|
|
362
|
+
},
|
|
347
363
|
"default": {
|
|
348
364
|
"default": false,
|
|
349
365
|
"title": "Default",
|
|
@@ -447,6 +463,11 @@
|
|
|
447
463
|
"minLength": 1,
|
|
448
464
|
"title": "Title",
|
|
449
465
|
"type": "string"
|
|
466
|
+
},
|
|
467
|
+
"transparent": {
|
|
468
|
+
"default": false,
|
|
469
|
+
"title": "Transparent",
|
|
470
|
+
"type": "boolean"
|
|
450
471
|
}
|
|
451
472
|
},
|
|
452
473
|
"required": [
|
|
@@ -91,6 +91,13 @@
|
|
|
91
91
|
"agent": {
|
|
92
92
|
"$ref": "#/$defs/AgentHostApiSpec"
|
|
93
93
|
},
|
|
94
|
+
"apps": {
|
|
95
|
+
"items": {
|
|
96
|
+
"type": "string"
|
|
97
|
+
},
|
|
98
|
+
"title": "Apps",
|
|
99
|
+
"type": "array"
|
|
100
|
+
},
|
|
94
101
|
"artifact": {
|
|
95
102
|
"items": {
|
|
96
103
|
"type": "string"
|
|
@@ -198,6 +205,15 @@
|
|
|
198
205
|
"UiViewSpec": {
|
|
199
206
|
"additionalProperties": false,
|
|
200
207
|
"properties": {
|
|
208
|
+
"chrome": {
|
|
209
|
+
"default": "solid",
|
|
210
|
+
"enum": [
|
|
211
|
+
"solid",
|
|
212
|
+
"vibrancy"
|
|
213
|
+
],
|
|
214
|
+
"title": "Chrome",
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
201
217
|
"default": {
|
|
202
218
|
"default": false,
|
|
203
219
|
"title": "Default",
|
|
@@ -301,6 +317,11 @@
|
|
|
301
317
|
"minLength": 1,
|
|
302
318
|
"title": "Title",
|
|
303
319
|
"type": "string"
|
|
320
|
+
},
|
|
321
|
+
"transparent": {
|
|
322
|
+
"default": false,
|
|
323
|
+
"title": "Transparent",
|
|
324
|
+
"type": "boolean"
|
|
304
325
|
}
|
|
305
326
|
},
|
|
306
327
|
"required": [
|
package/package.json
CHANGED