@goodandready/dsh-image-gen 0.11.0 → 0.11.2

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/lib/vault.js CHANGED
@@ -111,10 +111,10 @@ export async function deleteVaultEntry(id) {
111
111
  if (entry && entry.path) {
112
112
  try {
113
113
  unlinkSync(entry.path)
114
- } catch (_) { /* ignore missing file */ }
114
+ } catch { /* ignore missing file */ }
115
115
  try {
116
116
  unlinkSync(entry.path.replace(/\.[^.]+$/, '.json'))
117
- } catch (_) { /* ignore missing sidecar */ }
117
+ } catch { /* ignore missing sidecar */ }
118
118
  }
119
119
 
120
120
  await writeHistory(entries)
@@ -161,7 +161,7 @@ export function registerVaultRoutes(ctx) {
161
161
  for await (const chunk of req) chunks.push(chunk)
162
162
  const body = JSON.parse(Buffer.concat(chunks).toString('utf-8'))
163
163
  id = body.id
164
- } catch (_) { /* body parse error */ }
164
+ } catch { /* body parse error */ }
165
165
  }
166
166
 
167
167
  if (!id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-image-gen",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
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).",
5
5
  "keywords": [
6
6
  "deepseek-harness",
@@ -71,5 +71,11 @@
71
71
  "scripts": {
72
72
  "test": "node scripts/build-client.mjs && node --check lib/client.js && node --test test/*.test.mjs",
73
73
  "build:client": "node scripts/build-client.mjs"
74
+ },
75
+ "publishConfig": {
76
+ "access": "public"
77
+ },
78
+ "devDependencies": {
79
+ "@deepseek-ai/schemastery": "^3.18.1"
74
80
  }
75
81
  }