@anna-ai/app-schema 0.30.0 → 0.32.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 +148 -1
- package/manifest/AppManifest.json +20 -0
- package/manifest/UiManifestSection.json +20 -0
- 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.32.0
|
package/events/AnnaAppEvent.json
CHANGED
package/host_api/methods.json
CHANGED
|
@@ -172,6 +172,42 @@
|
|
|
172
172
|
"string",
|
|
173
173
|
"null"
|
|
174
174
|
]
|
|
175
|
+
},
|
|
176
|
+
"thinking": {
|
|
177
|
+
"description": "Thinking / reasoning mode. `false` disables (when the model allows), `true` enables with the model default level; object form selects an effort level or a token budget. Unsupported models ignore it and the host reports `reason: \"unsupported_model\"`; mandatory-reasoning models cannot be disabled (`reason: \"mandatory\"`). Note: on DashScope/Qwen `maxTokens` INCLUDES reasoning tokens.",
|
|
178
|
+
"oneOf": [
|
|
179
|
+
{
|
|
180
|
+
"type": "boolean"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"additionalProperties": false,
|
|
184
|
+
"properties": {
|
|
185
|
+
"budgetTokens": {
|
|
186
|
+
"minimum": 1,
|
|
187
|
+
"type": "integer"
|
|
188
|
+
},
|
|
189
|
+
"effort": {
|
|
190
|
+
"enum": [
|
|
191
|
+
"minimal",
|
|
192
|
+
"low",
|
|
193
|
+
"medium",
|
|
194
|
+
"high",
|
|
195
|
+
"xhigh",
|
|
196
|
+
"max"
|
|
197
|
+
],
|
|
198
|
+
"type": "string"
|
|
199
|
+
},
|
|
200
|
+
"enabled": {
|
|
201
|
+
"type": "boolean"
|
|
202
|
+
},
|
|
203
|
+
"includeReasoning": {
|
|
204
|
+
"description": "Return the captured reasoning text in `_meta.thinking.reasoning` (truncated to 20k chars) and, for llm.stream, emit additive `reasoning_token` frames.",
|
|
205
|
+
"type": "boolean"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"type": "object"
|
|
209
|
+
}
|
|
210
|
+
]
|
|
175
211
|
}
|
|
176
212
|
},
|
|
177
213
|
"required": [
|
|
@@ -549,6 +585,81 @@
|
|
|
549
585
|
"method": "complete",
|
|
550
586
|
"namespace": "llm",
|
|
551
587
|
"no_auth": false,
|
|
588
|
+
"params_schema": {
|
|
589
|
+
"additionalProperties": true,
|
|
590
|
+
"properties": {
|
|
591
|
+
"maxTokens": {
|
|
592
|
+
"minimum": 1,
|
|
593
|
+
"type": "integer"
|
|
594
|
+
},
|
|
595
|
+
"messages": {
|
|
596
|
+
"description": "MCP-shaped message list (text / image blocks).",
|
|
597
|
+
"minItems": 1,
|
|
598
|
+
"type": "array"
|
|
599
|
+
},
|
|
600
|
+
"metadata": {
|
|
601
|
+
"type": "object"
|
|
602
|
+
},
|
|
603
|
+
"modelPreferences": {
|
|
604
|
+
"type": "object"
|
|
605
|
+
},
|
|
606
|
+
"stopSequences": {
|
|
607
|
+
"items": {
|
|
608
|
+
"type": "string"
|
|
609
|
+
},
|
|
610
|
+
"type": "array"
|
|
611
|
+
},
|
|
612
|
+
"systemPrompt": {
|
|
613
|
+
"type": [
|
|
614
|
+
"string",
|
|
615
|
+
"null"
|
|
616
|
+
]
|
|
617
|
+
},
|
|
618
|
+
"temperature": {
|
|
619
|
+
"type": "number"
|
|
620
|
+
},
|
|
621
|
+
"thinking": {
|
|
622
|
+
"description": "Thinking / reasoning mode. `false` disables (when the model allows), `true` enables with the model default level; object form selects an effort level or a token budget. Unsupported models ignore it and the host reports `reason: \"unsupported_model\"`; mandatory-reasoning models cannot be disabled (`reason: \"mandatory\"`). Note: on DashScope/Qwen `maxTokens` INCLUDES reasoning tokens.",
|
|
623
|
+
"oneOf": [
|
|
624
|
+
{
|
|
625
|
+
"type": "boolean"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"additionalProperties": false,
|
|
629
|
+
"properties": {
|
|
630
|
+
"budgetTokens": {
|
|
631
|
+
"minimum": 1,
|
|
632
|
+
"type": "integer"
|
|
633
|
+
},
|
|
634
|
+
"effort": {
|
|
635
|
+
"enum": [
|
|
636
|
+
"minimal",
|
|
637
|
+
"low",
|
|
638
|
+
"medium",
|
|
639
|
+
"high",
|
|
640
|
+
"xhigh",
|
|
641
|
+
"max"
|
|
642
|
+
],
|
|
643
|
+
"type": "string"
|
|
644
|
+
},
|
|
645
|
+
"enabled": {
|
|
646
|
+
"type": "boolean"
|
|
647
|
+
},
|
|
648
|
+
"includeReasoning": {
|
|
649
|
+
"description": "Return the captured reasoning text in `_meta.thinking.reasoning` (truncated to 20k chars) and, for llm.stream, emit additive `reasoning_token` frames.",
|
|
650
|
+
"type": "boolean"
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
"type": "object"
|
|
654
|
+
}
|
|
655
|
+
]
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
"required": [
|
|
659
|
+
"messages"
|
|
660
|
+
],
|
|
661
|
+
"type": "object"
|
|
662
|
+
},
|
|
552
663
|
"stub": false
|
|
553
664
|
},
|
|
554
665
|
{
|
|
@@ -595,6 +706,42 @@
|
|
|
595
706
|
},
|
|
596
707
|
"temperature": {
|
|
597
708
|
"type": "number"
|
|
709
|
+
},
|
|
710
|
+
"thinking": {
|
|
711
|
+
"description": "Thinking / reasoning mode. `false` disables (when the model allows), `true` enables with the model default level; object form selects an effort level or a token budget. Unsupported models ignore it and the host reports `reason: \"unsupported_model\"`; mandatory-reasoning models cannot be disabled (`reason: \"mandatory\"`). Note: on DashScope/Qwen `maxTokens` INCLUDES reasoning tokens.",
|
|
712
|
+
"oneOf": [
|
|
713
|
+
{
|
|
714
|
+
"type": "boolean"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"additionalProperties": false,
|
|
718
|
+
"properties": {
|
|
719
|
+
"budgetTokens": {
|
|
720
|
+
"minimum": 1,
|
|
721
|
+
"type": "integer"
|
|
722
|
+
},
|
|
723
|
+
"effort": {
|
|
724
|
+
"enum": [
|
|
725
|
+
"minimal",
|
|
726
|
+
"low",
|
|
727
|
+
"medium",
|
|
728
|
+
"high",
|
|
729
|
+
"xhigh",
|
|
730
|
+
"max"
|
|
731
|
+
],
|
|
732
|
+
"type": "string"
|
|
733
|
+
},
|
|
734
|
+
"enabled": {
|
|
735
|
+
"type": "boolean"
|
|
736
|
+
},
|
|
737
|
+
"includeReasoning": {
|
|
738
|
+
"description": "Return the captured reasoning text in `_meta.thinking.reasoning` (truncated to 20k chars) and, for llm.stream, emit additive `reasoning_token` frames.",
|
|
739
|
+
"type": "boolean"
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"type": "object"
|
|
743
|
+
}
|
|
744
|
+
]
|
|
598
745
|
}
|
|
599
746
|
},
|
|
600
747
|
"required": [
|
|
@@ -1152,5 +1299,5 @@
|
|
|
1152
1299
|
}
|
|
1153
1300
|
],
|
|
1154
1301
|
"title": "HostApiMethodTable",
|
|
1155
|
-
"version": "0.
|
|
1302
|
+
"version": "0.32.0"
|
|
1156
1303
|
}
|
|
@@ -356,6 +356,26 @@
|
|
|
356
356
|
"UiManifestSection": {
|
|
357
357
|
"additionalProperties": false,
|
|
358
358
|
"properties": {
|
|
359
|
+
"browser_permissions": {
|
|
360
|
+
"items": {
|
|
361
|
+
"enum": [
|
|
362
|
+
"microphone",
|
|
363
|
+
"camera",
|
|
364
|
+
"geolocation",
|
|
365
|
+
"display-capture",
|
|
366
|
+
"clipboard-read",
|
|
367
|
+
"fullscreen",
|
|
368
|
+
"autoplay",
|
|
369
|
+
"picture-in-picture",
|
|
370
|
+
"screen-wake-lock",
|
|
371
|
+
"web-share"
|
|
372
|
+
],
|
|
373
|
+
"type": "string"
|
|
374
|
+
},
|
|
375
|
+
"title": "Browser Permissions",
|
|
376
|
+
"type": "array",
|
|
377
|
+
"uniqueItems": true
|
|
378
|
+
},
|
|
359
379
|
"bundle": {
|
|
360
380
|
"$ref": "#/$defs/UiBundleSection"
|
|
361
381
|
},
|
|
@@ -391,6 +391,26 @@
|
|
|
391
391
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
392
392
|
"additionalProperties": false,
|
|
393
393
|
"properties": {
|
|
394
|
+
"browser_permissions": {
|
|
395
|
+
"items": {
|
|
396
|
+
"enum": [
|
|
397
|
+
"microphone",
|
|
398
|
+
"camera",
|
|
399
|
+
"geolocation",
|
|
400
|
+
"display-capture",
|
|
401
|
+
"clipboard-read",
|
|
402
|
+
"fullscreen",
|
|
403
|
+
"autoplay",
|
|
404
|
+
"picture-in-picture",
|
|
405
|
+
"screen-wake-lock",
|
|
406
|
+
"web-share"
|
|
407
|
+
],
|
|
408
|
+
"type": "string"
|
|
409
|
+
},
|
|
410
|
+
"title": "Browser Permissions",
|
|
411
|
+
"type": "array",
|
|
412
|
+
"uniqueItems": true
|
|
413
|
+
},
|
|
394
414
|
"bundle": {
|
|
395
415
|
"$ref": "#/$defs/UiBundleSection"
|
|
396
416
|
},
|
package/package.json
CHANGED