@ran-sh/dsh-crew 0.4.1 → 0.4.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/package.json +1 -1
- package/src/hub/index.mjs +4 -0
- package/src/runtime-identity.mjs +1 -1
package/package.json
CHANGED
package/src/hub/index.mjs
CHANGED
|
@@ -166,6 +166,10 @@ export class WorkerRegistry { constructor(ctx) {
|
|
|
166
166
|
return v;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
+
list() {
|
|
170
|
+
return [...this.jobs.values()].map((job) => this.view(job));
|
|
171
|
+
}
|
|
172
|
+
|
|
169
173
|
publish() {
|
|
170
174
|
this.shard.publish([...this.jobs.values()].map((j) => this.view(j)));
|
|
171
175
|
}
|
package/src/runtime-identity.mjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// Keep this module pure and dependency-free so Hub, MCP and tests all use the
|
|
9
9
|
// exact same compatibility rules.
|
|
10
10
|
|
|
11
|
-
export const RUNTIME_VERSION = '0.4.
|
|
11
|
+
export const RUNTIME_VERSION = '0.4.2';
|
|
12
12
|
export const HUB_PROTOCOL_VERSION = 1;
|
|
13
13
|
|
|
14
14
|
export const HUB_CAPABILITIES = Object.freeze([
|