@anna-ai/app-schema 0.29.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 CHANGED
@@ -1,4 +1,4 @@
1
- # @anna-ai/app-schema (v0.29.0)
1
+ # @anna-ai/app-schema (v0.32.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.
@@ -46,5 +46,5 @@
46
46
  "ui.svg"
47
47
  ],
48
48
  "title": "AclCapabilityTable",
49
- "version": "0.29.0"
49
+ "version": "0.32.0"
50
50
  }
@@ -1 +1 @@
1
- 0.29.0
1
+ 0.32.0
@@ -39,5 +39,5 @@
39
39
  ],
40
40
  "title": "AnnaAppEvent",
41
41
  "type": "object",
42
- "version": "0.29.0"
42
+ "version": "0.32.0"
43
43
  }
@@ -130,6 +130,92 @@
130
130
  "method": "session.run",
131
131
  "namespace": "agent",
132
132
  "no_auth": false,
133
+ "params_schema": {
134
+ "additionalProperties": true,
135
+ "properties": {
136
+ "allowed_tools": {
137
+ "items": {
138
+ "type": "string"
139
+ },
140
+ "type": "array"
141
+ },
142
+ "app_session_uuid": {
143
+ "minLength": 1,
144
+ "type": "string"
145
+ },
146
+ "attachments": {
147
+ "type": "array"
148
+ },
149
+ "content": {
150
+ "minLength": 1,
151
+ "type": "string"
152
+ },
153
+ "maxTokens": {
154
+ "description": "Per-call output cap for every model call in this run (dispatcher >= 0.30.0). Effective value is min(maxTokens, model output cap, 65536) further clamped to the model's context-budget reserve; the host discloses it in run_meta.max_output_tokens. Omit to use the model's own output cap. Cannot raise the cap above platform ∩ model.",
155
+ "maximum": 65536,
156
+ "minimum": 1,
157
+ "type": "integer"
158
+ },
159
+ "modelPreferences": {
160
+ "type": "object"
161
+ },
162
+ "recursion_limit": {
163
+ "maximum": 32,
164
+ "minimum": 1,
165
+ "type": "integer"
166
+ },
167
+ "run_id": {
168
+ "type": "string"
169
+ },
170
+ "systemPrompt": {
171
+ "type": [
172
+ "string",
173
+ "null"
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
+ ]
211
+ }
212
+ },
213
+ "required": [
214
+ "app_session_uuid",
215
+ "content"
216
+ ],
217
+ "type": "object"
218
+ },
133
219
  "stub": false
134
220
  },
135
221
  {
@@ -499,6 +585,81 @@
499
585
  "method": "complete",
500
586
  "namespace": "llm",
501
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
+ },
502
663
  "stub": false
503
664
  },
504
665
  {
@@ -545,6 +706,42 @@
545
706
  },
546
707
  "temperature": {
547
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
+ ]
548
745
  }
549
746
  },
550
747
  "required": [
@@ -1102,5 +1299,5 @@
1102
1299
  }
1103
1300
  ],
1104
1301
  "title": "HostApiMethodTable",
1105
- "version": "0.29.0"
1302
+ "version": "0.32.0"
1106
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
@@ -23,5 +23,5 @@
23
23
  "publishConfig": {
24
24
  "access": "public"
25
25
  },
26
- "version": "0.29.0"
26
+ "version": "0.32.0"
27
27
  }