@anna-ai/app-schema 0.28.0 → 0.30.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.28.0)
1
+ # @anna-ai/app-schema (v0.30.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.28.0"
49
+ "version": "0.30.0"
50
50
  }
@@ -1 +1 @@
1
- 0.28.0
1
+ 0.30.0
@@ -39,5 +39,5 @@
39
39
  ],
40
40
  "title": "AnnaAppEvent",
41
41
  "type": "object",
42
- "version": "0.28.0"
42
+ "version": "0.30.0"
43
43
  }
@@ -130,6 +130,56 @@
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
+ },
177
+ "required": [
178
+ "app_session_uuid",
179
+ "content"
180
+ ],
181
+ "type": "object"
182
+ },
133
183
  "stub": false
134
184
  },
135
185
  {
@@ -431,6 +481,13 @@
431
481
  "no_auth": false,
432
482
  "stub": true
433
483
  },
484
+ {
485
+ "handler": "_h_image_cancel_job",
486
+ "method": "cancelJob",
487
+ "namespace": "image",
488
+ "no_auth": false,
489
+ "stub": false
490
+ },
434
491
  {
435
492
  "handler": "_h_image_edit",
436
493
  "method": "edit",
@@ -438,6 +495,13 @@
438
495
  "no_auth": false,
439
496
  "stub": false
440
497
  },
498
+ {
499
+ "handler": "_h_image_edit_async",
500
+ "method": "editAsync",
501
+ "namespace": "image",
502
+ "no_auth": false,
503
+ "stub": false
504
+ },
441
505
  {
442
506
  "handler": "_h_image_generate",
443
507
  "method": "generate",
@@ -445,6 +509,34 @@
445
509
  "no_auth": false,
446
510
  "stub": false
447
511
  },
512
+ {
513
+ "handler": "_h_image_generate_async",
514
+ "method": "generateAsync",
515
+ "namespace": "image",
516
+ "no_auth": false,
517
+ "stub": false
518
+ },
519
+ {
520
+ "handler": "_h_image_get_job",
521
+ "method": "getJob",
522
+ "namespace": "image",
523
+ "no_auth": false,
524
+ "stub": false
525
+ },
526
+ {
527
+ "handler": "_h_image_list_jobs",
528
+ "method": "listJobs",
529
+ "namespace": "image",
530
+ "no_auth": false,
531
+ "stub": false
532
+ },
533
+ {
534
+ "handler": "_h_image_resign",
535
+ "method": "resign",
536
+ "namespace": "image",
537
+ "no_auth": false,
538
+ "stub": false
539
+ },
448
540
  {
449
541
  "handler": "_h_llm_catalog",
450
542
  "method": "catalog",
@@ -1060,5 +1152,5 @@
1060
1152
  }
1061
1153
  ],
1062
1154
  "title": "HostApiMethodTable",
1063
- "version": "0.28.0"
1155
+ "version": "0.30.0"
1064
1156
  }
package/package.json CHANGED
@@ -23,5 +23,5 @@
23
23
  "publishConfig": {
24
24
  "access": "public"
25
25
  },
26
- "version": "0.28.0"
26
+ "version": "0.30.0"
27
27
  }