@anna-ai/app-schema 0.4.0 → 0.6.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.4.0)
1
+ # @anna-ai/app-schema (v0.6.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.4.0
1
+ 0.6.0
@@ -35,5 +35,5 @@
35
35
  ],
36
36
  "title": "AnnaAppEvent",
37
37
  "type": "object",
38
- "version": "0.4.0"
38
+ "version": "0.6.0"
39
39
  }
@@ -94,6 +94,20 @@
94
94
  "no_auth": false,
95
95
  "stub": true
96
96
  },
97
+ {
98
+ "handler": "_h_image_edit",
99
+ "method": "edit",
100
+ "namespace": "image",
101
+ "no_auth": false,
102
+ "stub": false
103
+ },
104
+ {
105
+ "handler": "_h_image_generate",
106
+ "method": "generate",
107
+ "namespace": "image",
108
+ "no_auth": false,
109
+ "stub": false
110
+ },
97
111
  {
98
112
  "handler": "_h_llm_complete",
99
113
  "method": "complete",
@@ -141,6 +155,35 @@
141
155
  "method": "invoke",
142
156
  "namespace": "tools",
143
157
  "no_auth": false,
158
+ "params_schema": {
159
+ "additionalProperties": false,
160
+ "properties": {
161
+ "args": {
162
+ "default": {},
163
+ "type": "object"
164
+ },
165
+ "method": {
166
+ "type": [
167
+ "string",
168
+ "null"
169
+ ]
170
+ },
171
+ "timeoutMs": {
172
+ "description": "Per-call timeout in milliseconds. Clamped to the host policy (default 65000, hard cap 180000). On timeout the call resolves with HostRpcError(code='tool_timeout').",
173
+ "maximum": 180000,
174
+ "minimum": 1000,
175
+ "type": "integer"
176
+ },
177
+ "tool_id": {
178
+ "minLength": 1,
179
+ "type": "string"
180
+ }
181
+ },
182
+ "required": [
183
+ "tool_id"
184
+ ],
185
+ "type": "object"
186
+ },
144
187
  "stub": false
145
188
  },
146
189
  {
@@ -150,6 +193,27 @@
150
193
  "no_auth": false,
151
194
  "stub": false
152
195
  },
196
+ {
197
+ "handler": "_h_upload_confirm",
198
+ "method": "confirm",
199
+ "namespace": "upload",
200
+ "no_auth": false,
201
+ "stub": false
202
+ },
203
+ {
204
+ "handler": "_h_upload_inline",
205
+ "method": "inline",
206
+ "namespace": "upload",
207
+ "no_auth": false,
208
+ "stub": false
209
+ },
210
+ {
211
+ "handler": "_h_upload_negotiate",
212
+ "method": "negotiate",
213
+ "namespace": "upload",
214
+ "no_auth": false,
215
+ "stub": false
216
+ },
153
217
  {
154
218
  "handler": "_h_window_close",
155
219
  "method": "close",
@@ -208,5 +272,5 @@
208
272
  }
209
273
  ],
210
274
  "title": "HostApiMethodTable",
211
- "version": "0.4.0"
275
+ "version": "0.6.0"
212
276
  }
@@ -226,6 +226,13 @@
226
226
  "title": "Fs",
227
227
  "type": "array"
228
228
  },
229
+ "image": {
230
+ "items": {
231
+ "type": "string"
232
+ },
233
+ "title": "Image",
234
+ "type": "array"
235
+ },
229
236
  "llm": {
230
237
  "items": {
231
238
  "type": "string"
@@ -254,11 +261,11 @@
254
261
  "title": "Tools",
255
262
  "type": "array"
256
263
  },
257
- "user_files": {
264
+ "upload": {
258
265
  "items": {
259
266
  "type": "string"
260
267
  },
261
- "title": "User Files",
268
+ "title": "Upload",
262
269
  "type": "array"
263
270
  },
264
271
  "window": {
@@ -119,6 +119,13 @@
119
119
  "title": "Fs",
120
120
  "type": "array"
121
121
  },
122
+ "image": {
123
+ "items": {
124
+ "type": "string"
125
+ },
126
+ "title": "Image",
127
+ "type": "array"
128
+ },
122
129
  "llm": {
123
130
  "items": {
124
131
  "type": "string"
@@ -147,11 +154,11 @@
147
154
  "title": "Tools",
148
155
  "type": "array"
149
156
  },
150
- "user_files": {
157
+ "upload": {
151
158
  "items": {
152
159
  "type": "string"
153
160
  },
154
- "title": "User Files",
161
+ "title": "Upload",
155
162
  "type": "array"
156
163
  },
157
164
  "window": {
package/package.json CHANGED
@@ -21,5 +21,5 @@
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  },
24
- "version": "0.4.0"
24
+ "version": "0.6.0"
25
25
  }