@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/client.js +104 -135
- package/lib/fallback-router.js +25 -3
- package/lib/index.js +257 -139
- package/lib/provider-utils.js +0 -2
- package/lib/providers.js +9 -30
- package/lib/settings-route.js +112 -0
- package/lib/tools/anchor.js +1 -2
- package/lib/tools/editing.js +2 -34
- package/lib/tools/frontend.js +2 -35
- package/lib/tools/generation-pack.js +2 -4
- package/lib/tools/generation.js +5 -26
- package/lib/tools/inspect.js +6 -45
- package/lib/tools/pattern.js +10 -0
- package/lib/tools/processing-advanced.js +0 -32
- package/lib/tools/processing-basic.js +2 -25
- package/lib/tools/style-matrix.js +1 -2
- package/lib/tools/theme-pair.js +0 -1
- package/lib/tools/ui-asset.js +1 -1
- package/lib/updater.js +0 -9
- package/lib/vault.js +3 -3
- package/package.json +7 -1
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
|
|
114
|
+
} catch { /* ignore missing file */ }
|
|
115
115
|
try {
|
|
116
116
|
unlinkSync(entry.path.replace(/\.[^.]+$/, '.json'))
|
|
117
|
-
} catch
|
|
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
|
|
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.
|
|
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
|
}
|