@argszero/cordis-plugin-read-image-guidance 0.1.0 → 0.1.1
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 +28 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -67,7 +67,34 @@ Tune via a profile layer:
|
|
|
67
67
|
|
|
68
68
|
- dsh `0.1.5-alpha.1` (verified against `packages/fs/tool-fs/src/read-image.ts`
|
|
69
69
|
and `packages/core/tools/src/index.ts`).
|
|
70
|
-
- `peerDependencies`: `@deepseek-ai/cordis ^4.0.2`,
|
|
70
|
+
- `peerDependencies`: `@deepseek-ai/cordis ^4.0.2`,
|
|
71
|
+
`@deepseek-ai/dsh-tools >=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0`.
|
|
72
|
+
|
|
73
|
+
### A note on the peer range
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Every dsh release published today is a **prerelease**, and a semver comparator admits
|
|
80
|
+
prereleases only when they share its own `major.minor.patch` tuple. That makes two forms
|
|
81
|
+
wrong, and both have to be avoided:
|
|
82
|
+
|
|
83
|
+
```jsonc
|
|
84
|
+
// Matches nothing at all: 0.1.2-rc.1 sorts below 0.1.2, and every other
|
|
85
|
+
// prerelease has a different tuple. -> ETARGET, the package cannot be installed.
|
|
86
|
+
">=0.1.2"
|
|
87
|
+
|
|
88
|
+
// Only 0.1.2-rc.1: a user on the 0.1.5 line gets ERESOLVE.
|
|
89
|
+
">=0.1.2-rc.1 <0.2.0"
|
|
90
|
+
|
|
91
|
+
// What we ship: one comparator per supported tuple line.
|
|
92
|
+
">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0"
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
The npm `latest` tag for `@deepseek-ai/dsh` is on the `0.1.2` line while `next`/`alpha`
|
|
96
|
+
point at `0.1.5`, so both comparators are needed. `test/peer-range.test.mjs` fails if
|
|
97
|
+
either bad form comes back.
|
|
71
98
|
|
|
72
99
|
## Test
|
|
73
100
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argszero/cordis-plugin-read-image-guidance",
|
|
3
3
|
"description": "Actionable read_image refusal for dsh: when the harness refuses to read an image because the resolved model route does not declare image input, turn that opaque 'switch to an image-capable model' message into concrete config guidance (declare \"input: [text, image]\" on the model's entry) instead of sending the user to swap models. Compatible with dsh 0.1.5-alpha.1 (read_image assertImageCapableRoute refuses on undeclared image input).",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/types/index.d.ts",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
41
|
-
"@deepseek-ai/dsh-tools": ">=0.1.2"
|
|
41
|
+
"@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@deepseek-ai/schemastery": "^3.18.1"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "tsc",
|
|
56
|
-
"test": "tsc && node --test \"test/*.test.js\"",
|
|
56
|
+
"test": "tsc && node --test \"test/*.test.js\" \"test/*.test.mjs\"",
|
|
57
57
|
"prepublishOnly": "tsc"
|
|
58
58
|
}
|
|
59
|
-
}
|
|
59
|
+
}
|