@anna-ai/app-schema 0.10.0 → 0.13.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.10.0)
1
+ # @anna-ai/app-schema (v0.13.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.
@@ -1 +1 @@
1
- 0.10.0
1
+ 0.13.0
@@ -35,5 +35,5 @@
35
35
  ],
36
36
  "title": "AnnaAppEvent",
37
37
  "type": "object",
38
- "version": "0.10.0"
38
+ "version": "0.13.0"
39
39
  }
@@ -84,6 +84,62 @@
84
84
  "no_auth": false,
85
85
  "stub": false
86
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
+ },
87
143
  {
88
144
  "handler": "_h_not_implemented",
89
145
  "method": "create",
@@ -126,6 +182,55 @@
126
182
  "no_auth": false,
127
183
  "stub": false
128
184
  },
185
+ {
186
+ "handler": "_h_not_implemented",
187
+ "method": "get_token",
188
+ "namespace": "credentials",
189
+ "no_auth": false,
190
+ "params_schema": {
191
+ "additionalProperties": false,
192
+ "properties": {
193
+ "account_id": {
194
+ "description": "Account key from credentials.list_accounts. Omit or null for the user's default account.",
195
+ "type": [
196
+ "string",
197
+ "null"
198
+ ]
199
+ },
200
+ "provider": {
201
+ "description": "Platform credential provider id (e.g. 'google'). Must be declared in manifest ui.host_api.credentials.",
202
+ "minLength": 1,
203
+ "type": "string"
204
+ }
205
+ },
206
+ "required": [
207
+ "provider"
208
+ ],
209
+ "type": "object"
210
+ },
211
+ "stub": true
212
+ },
213
+ {
214
+ "handler": "_h_not_implemented",
215
+ "method": "list_accounts",
216
+ "namespace": "credentials",
217
+ "no_auth": false,
218
+ "params_schema": {
219
+ "additionalProperties": false,
220
+ "properties": {
221
+ "provider": {
222
+ "description": "Platform credential provider id (e.g. 'google'). Must be declared in manifest ui.host_api.credentials.",
223
+ "minLength": 1,
224
+ "type": "string"
225
+ }
226
+ },
227
+ "required": [
228
+ "provider"
229
+ ],
230
+ "type": "object"
231
+ },
232
+ "stub": true
233
+ },
129
234
  {
130
235
  "handler": "_h_not_implemented",
131
236
  "method": "delete",
@@ -203,6 +308,52 @@
203
308
  "no_auth": false,
204
309
  "stub": false
205
310
  },
311
+ {
312
+ "handler": "_h_llm_stream",
313
+ "method": "stream",
314
+ "namespace": "llm",
315
+ "no_auth": false,
316
+ "params_schema": {
317
+ "additionalProperties": true,
318
+ "properties": {
319
+ "maxTokens": {
320
+ "minimum": 1,
321
+ "type": "integer"
322
+ },
323
+ "messages": {
324
+ "description": "MCP-shaped message list, identical to llm.complete.",
325
+ "minItems": 1,
326
+ "type": "array"
327
+ },
328
+ "metadata": {
329
+ "type": "object"
330
+ },
331
+ "modelPreferences": {
332
+ "type": "object"
333
+ },
334
+ "stopSequences": {
335
+ "items": {
336
+ "type": "string"
337
+ },
338
+ "type": "array"
339
+ },
340
+ "systemPrompt": {
341
+ "type": [
342
+ "string",
343
+ "null"
344
+ ]
345
+ },
346
+ "temperature": {
347
+ "type": "number"
348
+ }
349
+ },
350
+ "required": [
351
+ "messages"
352
+ ],
353
+ "type": "object"
354
+ },
355
+ "stub": false
356
+ },
206
357
  {
207
358
  "handler": "_h_not_implemented",
208
359
  "method": "get",
@@ -360,5 +511,5 @@
360
511
  }
361
512
  ],
362
513
  "title": "HostApiMethodTable",
363
- "version": "0.10.0"
514
+ "version": "0.13.0"
364
515
  }
@@ -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"
@@ -212,6 +219,13 @@
212
219
  "title": "Chat",
213
220
  "type": "array"
214
221
  },
222
+ "credentials": {
223
+ "items": {
224
+ "type": "string"
225
+ },
226
+ "title": "Credentials",
227
+ "type": "array"
228
+ },
215
229
  "files": {
216
230
  "items": {
217
231
  "type": "string"
@@ -344,6 +358,15 @@
344
358
  "UiViewSpec": {
345
359
  "additionalProperties": false,
346
360
  "properties": {
361
+ "chrome": {
362
+ "default": "solid",
363
+ "enum": [
364
+ "solid",
365
+ "vibrancy"
366
+ ],
367
+ "title": "Chrome",
368
+ "type": "string"
369
+ },
347
370
  "default": {
348
371
  "default": false,
349
372
  "title": "Default",
@@ -447,6 +470,11 @@
447
470
  "minLength": 1,
448
471
  "title": "Title",
449
472
  "type": "string"
473
+ },
474
+ "transparent": {
475
+ "default": false,
476
+ "title": "Transparent",
477
+ "type": "boolean"
450
478
  }
451
479
  },
452
480
  "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"
@@ -105,6 +112,13 @@
105
112
  "title": "Chat",
106
113
  "type": "array"
107
114
  },
115
+ "credentials": {
116
+ "items": {
117
+ "type": "string"
118
+ },
119
+ "title": "Credentials",
120
+ "type": "array"
121
+ },
108
122
  "files": {
109
123
  "items": {
110
124
  "type": "string"
@@ -198,6 +212,15 @@
198
212
  "UiViewSpec": {
199
213
  "additionalProperties": false,
200
214
  "properties": {
215
+ "chrome": {
216
+ "default": "solid",
217
+ "enum": [
218
+ "solid",
219
+ "vibrancy"
220
+ ],
221
+ "title": "Chrome",
222
+ "type": "string"
223
+ },
201
224
  "default": {
202
225
  "default": false,
203
226
  "title": "Default",
@@ -301,6 +324,11 @@
301
324
  "minLength": 1,
302
325
  "title": "Title",
303
326
  "type": "string"
327
+ },
328
+ "transparent": {
329
+ "default": false,
330
+ "title": "Transparent",
331
+ "type": "boolean"
304
332
  }
305
333
  },
306
334
  "required": [
package/package.json CHANGED
@@ -21,5 +21,5 @@
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  },
24
- "version": "0.10.0"
24
+ "version": "0.13.0"
25
25
  }