dsh-hive-runner 1.0.6 → 1.0.7

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/index.js +11 -0
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,16 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
  Version 0.6.0 is the first public snapshot; 0.1.0-0.5.0 were local development
8
8
  iterations of the plugin before this repository was published.
9
9
 
10
+ ## [1.0.7] - 2026-12-05
11
+
12
+ ### Diagnostics
13
+
14
+ - `apply()` is wrapped in `try/catch`: a failure during mount now writes the stack to
15
+ `/tmp/dsh-hive-runner-error.txt` before re-throwing. Together with the
16
+ `/tmp/dsh-hive-runner-probe.json` marker from 1.0.6 this tells whether the desktop
17
+ profile mounts the plugin at all, and if the mount fails, where. No behavior, API or
18
+ config change outside the failure path.
19
+
10
20
  ## [1.0.6] - 2026-12-05
11
21
 
12
22
  ### Diagnostics
@@ -16,6 +26,10 @@ iterations of the plugin before this repository was published.
16
26
  profile actually runs the plugin's `apply()` at all, separating a load/compatibility
17
27
  problem from a runtime behavior problem. No behavior, API or config change.
18
28
 
29
+ ### Published
30
+
31
+ - npm: `dsh-hive-runner@1.0.6` on 2026-12-05.
32
+
19
33
  ## [1.0.5] - 2026-12-05
20
34
 
21
35
  ### Fixed
package/index.js CHANGED
@@ -89,6 +89,17 @@ function jsonText(value) {
89
89
  * @param {Record<string, unknown>} [config]
90
90
  */
91
91
  export function apply(ctx, config = {}) {
92
+ try {
93
+ return applyInner(ctx, config);
94
+ } catch (error) {
95
+ try {
96
+ writeFileSync('/tmp/dsh-hive-runner-error.txt', String((error && error.stack) || error) + '\n');
97
+ } catch {}
98
+ throw error;
99
+ }
100
+ }
101
+
102
+ function applyInner(ctx, config = {}) {
92
103
  // Load probe: proves the host actually mounted this plugin. Removed once the
93
104
  // desktop profile load path is confirmed.
94
105
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-hive-runner",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "DSH host plugin for Hive: a resident supervisor that runs one DSH subagent per ready task card, with per-role worker limits, pause/resume and Hive tools.",
5
5
  "type": "module",
6
6
  "main": "./index.js",