@anna-ai/app-schema 0.4.0 → 0.7.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.7.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.7.0
@@ -35,5 +35,5 @@
35
35
  ],
36
36
  "title": "AnnaAppEvent",
37
37
  "type": "object",
38
- "version": "0.4.0"
38
+ "version": "0.7.0"
39
39
  }
@@ -80,6 +80,41 @@
80
80
  "no_auth": false,
81
81
  "stub": false
82
82
  },
83
+ {
84
+ "handler": "_h_not_implemented",
85
+ "method": "delete",
86
+ "namespace": "files",
87
+ "no_auth": false,
88
+ "stub": true
89
+ },
90
+ {
91
+ "handler": "_h_not_implemented",
92
+ "method": "download_url",
93
+ "namespace": "files",
94
+ "no_auth": false,
95
+ "stub": true
96
+ },
97
+ {
98
+ "handler": "_h_not_implemented",
99
+ "method": "list",
100
+ "namespace": "files",
101
+ "no_auth": false,
102
+ "stub": true
103
+ },
104
+ {
105
+ "handler": "_h_not_implemented",
106
+ "method": "upload_finalize",
107
+ "namespace": "files",
108
+ "no_auth": false,
109
+ "stub": true
110
+ },
111
+ {
112
+ "handler": "_h_not_implemented",
113
+ "method": "upload_init",
114
+ "namespace": "files",
115
+ "no_auth": false,
116
+ "stub": true
117
+ },
83
118
  {
84
119
  "handler": "_h_not_implemented",
85
120
  "method": "read",
@@ -94,6 +129,20 @@
94
129
  "no_auth": false,
95
130
  "stub": true
96
131
  },
132
+ {
133
+ "handler": "_h_image_edit",
134
+ "method": "edit",
135
+ "namespace": "image",
136
+ "no_auth": false,
137
+ "stub": false
138
+ },
139
+ {
140
+ "handler": "_h_image_generate",
141
+ "method": "generate",
142
+ "namespace": "image",
143
+ "no_auth": false,
144
+ "stub": false
145
+ },
97
146
  {
98
147
  "handler": "_h_llm_complete",
99
148
  "method": "complete",
@@ -141,6 +190,35 @@
141
190
  "method": "invoke",
142
191
  "namespace": "tools",
143
192
  "no_auth": false,
193
+ "params_schema": {
194
+ "additionalProperties": false,
195
+ "properties": {
196
+ "args": {
197
+ "default": {},
198
+ "type": "object"
199
+ },
200
+ "method": {
201
+ "type": [
202
+ "string",
203
+ "null"
204
+ ]
205
+ },
206
+ "timeoutMs": {
207
+ "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').",
208
+ "maximum": 180000,
209
+ "minimum": 1000,
210
+ "type": "integer"
211
+ },
212
+ "tool_id": {
213
+ "minLength": 1,
214
+ "type": "string"
215
+ }
216
+ },
217
+ "required": [
218
+ "tool_id"
219
+ ],
220
+ "type": "object"
221
+ },
144
222
  "stub": false
145
223
  },
146
224
  {
@@ -150,6 +228,27 @@
150
228
  "no_auth": false,
151
229
  "stub": false
152
230
  },
231
+ {
232
+ "handler": "_h_upload_confirm",
233
+ "method": "confirm",
234
+ "namespace": "upload",
235
+ "no_auth": false,
236
+ "stub": false
237
+ },
238
+ {
239
+ "handler": "_h_upload_inline",
240
+ "method": "inline",
241
+ "namespace": "upload",
242
+ "no_auth": false,
243
+ "stub": false
244
+ },
245
+ {
246
+ "handler": "_h_upload_negotiate",
247
+ "method": "negotiate",
248
+ "namespace": "upload",
249
+ "no_auth": false,
250
+ "stub": false
251
+ },
153
252
  {
154
253
  "handler": "_h_window_close",
155
254
  "method": "close",
@@ -208,5 +307,5 @@
208
307
  }
209
308
  ],
210
309
  "title": "HostApiMethodTable",
211
- "version": "0.4.0"
310
+ "version": "0.7.0"
212
311
  }
@@ -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.7.0"
25
25
  }