@argszero/cordis-plugin-subagent-wait 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 +13 -13
package/README.md
CHANGED
|
@@ -101,6 +101,32 @@ const { settled, status } = await waitForAgent(ctx, parentAgent, childId, {
|
|
|
101
101
|
registered typed event), `ctx.subagents.listChildren()`, and the live Agent registry. The core
|
|
102
102
|
`wait_for_agent` primitive, if upstream adopts one, stays a separate harness concern.
|
|
103
103
|
|
|
104
|
+
### A note on the peer range
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Every dsh release published today is a **prerelease**, and a semver comparator admits
|
|
111
|
+
prereleases only when they share its own `major.minor.patch` tuple. That makes two forms
|
|
112
|
+
wrong, and both have to be avoided:
|
|
113
|
+
|
|
114
|
+
```jsonc
|
|
115
|
+
// Matches nothing at all: 0.1.2-rc.1 sorts below 0.1.2, and every other
|
|
116
|
+
// prerelease has a different tuple. -> ETARGET, the package cannot be installed.
|
|
117
|
+
">=0.1.2"
|
|
118
|
+
|
|
119
|
+
// Only 0.1.2-rc.1: a user on the 0.1.5 line gets ERESOLVE.
|
|
120
|
+
">=0.1.2-rc.1 <0.2.0"
|
|
121
|
+
|
|
122
|
+
// What we ship: one comparator per supported tuple line.
|
|
123
|
+
">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0"
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
The npm `latest` tag for `@deepseek-ai/dsh` is on the `0.1.2` line while `next`/`alpha`
|
|
127
|
+
point at `0.1.5`, so both comparators are needed. `test/peer-range.test.mjs` fails if
|
|
128
|
+
either bad form comes back.
|
|
129
|
+
|
|
104
130
|
## License
|
|
105
131
|
|
|
106
132
|
MIT
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argszero/cordis-plugin-subagent-wait",
|
|
3
3
|
"description": "wait_for_agent for the dsh harness: block until a continuable background subagent settles (via the subagent-settled notice) instead of polling list_agents and misreading idle.",
|
|
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,11 +18,11 @@
|
|
|
18
18
|
],
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@deepseek-ai/cordis": ">=4.0.0 <5",
|
|
21
|
-
"@deepseek-ai/dsh-tools": ">=0.1.0",
|
|
22
|
-
"@deepseek-ai/dsh-subagent": ">=0.1.0",
|
|
23
|
-
"@deepseek-ai/dsh-agent": ">=0.1.0",
|
|
24
|
-
"@deepseek-ai/dsh-session": ">=0.1.0",
|
|
25
|
-
"@deepseek-ai/dsh-brand": ">=0.1.0"
|
|
21
|
+
"@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
22
|
+
"@deepseek-ai/dsh-subagent": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
23
|
+
"@deepseek-ai/dsh-agent": ">=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-brand": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependenciesMeta": {
|
|
28
28
|
"@deepseek-ai/dsh-agents": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "tsc -p .",
|
|
34
34
|
"prepack": "tsc -p .",
|
|
35
|
-
"test": "node test/logic.test.mjs"
|
|
35
|
+
"test": "node test/logic.test.mjs && node --test \"test/*.test.mjs\""
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": "^22.19 || >=24"
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@deepseek-ai/cordis": ">=4.0.0 <5",
|
|
60
|
-
"@deepseek-ai/dsh-tools": "
|
|
61
|
-
"@deepseek-ai/dsh-subagent": "
|
|
62
|
-
"@deepseek-ai/dsh-agent": "
|
|
63
|
-
"@deepseek-ai/dsh-session": "
|
|
64
|
-
"@deepseek-ai/dsh-brand": "
|
|
60
|
+
"@deepseek-ai/dsh-tools": "0.1.2-rc.1",
|
|
61
|
+
"@deepseek-ai/dsh-subagent": "0.1.2-rc.1",
|
|
62
|
+
"@deepseek-ai/dsh-agent": "0.1.2-rc.1",
|
|
63
|
+
"@deepseek-ai/dsh-session": "0.1.2-rc.1",
|
|
64
|
+
"@deepseek-ai/dsh-brand": "0.1.2-rc.1",
|
|
65
65
|
"typescript": "^7.0.2"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@types/node": "^22.20.1"
|
|
69
69
|
}
|
|
70
|
-
}
|
|
70
|
+
}
|