@argszero/cordis-plugin-schedule-cron 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 +26 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -94,6 +94,32 @@ npm run build # tsc emits lib/
|
|
|
94
94
|
npm test # node test/logic.test.mjs (needs build first)
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
+
### A note on the peer range
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Every dsh release published today is a **prerelease**, and a semver comparator admits
|
|
104
|
+
prereleases only when they share its own `major.minor.patch` tuple. That makes two forms
|
|
105
|
+
wrong, and both have to be avoided:
|
|
106
|
+
|
|
107
|
+
```jsonc
|
|
108
|
+
// Matches nothing at all: 0.1.2-rc.1 sorts below 0.1.2, and every other
|
|
109
|
+
// prerelease has a different tuple. -> ETARGET, the package cannot be installed.
|
|
110
|
+
">=0.1.2"
|
|
111
|
+
|
|
112
|
+
// Only 0.1.2-rc.1: a user on the 0.1.5 line gets ERESOLVE.
|
|
113
|
+
">=0.1.2-rc.1 <0.2.0"
|
|
114
|
+
|
|
115
|
+
// What we ship: one comparator per supported tuple line.
|
|
116
|
+
">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0"
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
The npm `latest` tag for `@deepseek-ai/dsh` is on the `0.1.2` line while `next`/`alpha`
|
|
120
|
+
point at `0.1.5`, so both comparators are needed. `test/peer-range.test.mjs` fails if
|
|
121
|
+
either bad form comes back.
|
|
122
|
+
|
|
97
123
|
## License
|
|
98
124
|
|
|
99
125
|
MIT
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argszero/cordis-plugin-schedule-cron",
|
|
3
3
|
"description": "Cron-driven autonomous task runs for the dsh harness: fire a calendar cron rule and spawn a fresh agent run via ctx.agents.create(), unlike the official @deepseek-ai/dsh-schedule which only messages the live session.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
],
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@deepseek-ai/cordis": ">=4.0.0 <5",
|
|
21
|
-
"@deepseek-ai/dsh-agent": ">=0.1.0",
|
|
22
|
-
"@deepseek-ai/dsh-brand": ">=0.1.0",
|
|
23
|
-
"@deepseek-ai/dsh-llm": ">=0.1.0",
|
|
24
|
-
"@deepseek-ai/dsh-session": ">=0.1.0",
|
|
25
|
-
"@deepseek-ai/dsh-tools": ">=0.1.0"
|
|
21
|
+
"@deepseek-ai/dsh-agent": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
22
|
+
"@deepseek-ai/dsh-brand": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
23
|
+
"@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
24
|
+
"@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
25
|
+
"@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsc -p .",
|
|
29
29
|
"prepack": "tsc -p .",
|
|
30
|
-
"test": "node test/logic.test.mjs"
|
|
30
|
+
"test": "node test/logic.test.mjs && node --test \"test/*.test.mjs\""
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
33
33
|
"node": "^22.19 || >=24"
|
|
@@ -64,4 +64,4 @@
|
|
|
64
64
|
"@types/node": "^26.4.1",
|
|
65
65
|
"typescript": "^7.0.2"
|
|
66
66
|
}
|
|
67
|
-
}
|
|
67
|
+
}
|