@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ran-sh/dsh-crew",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "type": "module",
5
5
  "main": "./src/hub/entry.mjs",
6
6
  "bin": {
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
  }
@@ -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.1';
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([