@goodandready/dsh-image-gen 0.11.9 → 0.11.10

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.
@@ -178,16 +178,33 @@ export function registerGenerationTools(ctx, deps) {
178
178
  type: 'object',
179
179
  additionalProperties: true,
180
180
  properties: {
181
+ summary: { type: 'string' },
182
+ channel: { type: 'string' },
183
+ provider: { type: 'string' },
184
+ model: { type: 'string' },
185
+ _fallback: { type: 'string' },
181
186
  path: { type: 'string' },
182
187
  url: { type: 'string' },
183
188
  width: { type: 'integer' },
184
189
  height: { type: 'integer' },
185
190
  seed: { type: 'integer' },
186
191
  prompt: { type: 'string' },
192
+ originalPrompt: { type: 'string' },
187
193
  format: { type: 'string' },
194
+ cost: { type: 'number' },
195
+ fromCache: { type: 'boolean' },
196
+ qualityReport: { type: 'object', additionalProperties: true },
197
+ anchor: {
198
+ type: 'object',
199
+ additionalProperties: true,
200
+ properties: {
201
+ label: { type: 'string' },
202
+ mode: { type: 'string' },
203
+ },
204
+ },
188
205
  attachment: {
189
206
  type: 'object',
190
- additionalProperties: false,
207
+ additionalProperties: true,
191
208
  properties: {
192
209
  attachmentId: { type: 'string' },
193
210
  mediaType: { type: 'string' },
@@ -201,7 +218,7 @@ export function registerGenerationTools(ctx, deps) {
201
218
  type: 'array',
202
219
  items: {
203
220
  type: 'object',
204
- additionalProperties: false,
221
+ additionalProperties: true,
205
222
  properties: {
206
223
  path: { type: 'string' },
207
224
  url: { type: 'string' },
@@ -209,7 +226,26 @@ export function registerGenerationTools(ctx, deps) {
209
226
  height: { type: 'integer' },
210
227
  seed: { type: 'integer' },
211
228
  prompt: { type: 'string' },
229
+ originalPrompt: { type: 'string' },
212
230
  format: { type: 'string' },
231
+ cost: { type: 'number' },
232
+ fromCache: { type: 'boolean' },
233
+ qualityReport: { type: 'object', additionalProperties: true },
234
+ _fallback: { type: 'string' },
235
+ provider: { type: 'string' },
236
+ model: { type: 'string' },
237
+ attachment: {
238
+ type: 'object',
239
+ additionalProperties: true,
240
+ properties: {
241
+ attachmentId: { type: 'string' },
242
+ mediaType: { type: 'string' },
243
+ bytes: { type: 'integer' },
244
+ width: { type: 'integer' },
245
+ height: { type: 'integer' },
246
+ name: { type: 'string' },
247
+ },
248
+ },
213
249
  },
214
250
  },
215
251
  },
@@ -22,7 +22,7 @@ export function registerInspectTools(ctx, deps) {
22
22
  render: (_args, value) => renderToolOutput(value),
23
23
  schema: {
24
24
  type: 'object',
25
- additionalProperties: false,
25
+ additionalProperties: true,
26
26
  properties: {
27
27
  diffRatio: { type: 'number' },
28
28
  error: { type: 'string' },
@@ -50,7 +50,7 @@ export function registerInspectTools(ctx, deps) {
50
50
  render: (_args, value) => renderToolOutput(value),
51
51
  schema: {
52
52
  type: 'object',
53
- additionalProperties: false,
53
+ additionalProperties: true,
54
54
  properties: {
55
55
  qualityScore: { type: 'number' },
56
56
  passed: { type: 'boolean' },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-image-gen",
3
- "version": "0.11.9",
4
- "description": "Image generation for DeepSeek Harness: a generate_image tool with pluggable providers — the FAL queue, any OpenAI-compatible images API, or a ChatGPT/Grok subscription with no API key at all. The picture is shown inline in the conversation; the model receives either a link (works with any chat model) or the image itself (needs dsh-vision-bridge or a vision-capable model).",
3
+ "version": "0.11.10",
4
+ "description": "Image generation for DeepSeek Harness: a generate_image tool with pluggable providers \u2014 the FAL queue, any OpenAI-compatible images API, or a ChatGPT/Grok subscription with no API key at all. The picture is shown inline in the conversation; the model receives either a link (works with any chat model) or the image itself (needs dsh-vision-bridge or a vision-capable model).",
5
5
  "keywords": [
6
6
  "deepseek-harness",
7
7
  "dsh",