@principles/host-runtime 0.3.2 → 0.3.3

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.
@@ -321,7 +321,18 @@ export async function runInternalizationConsumerCycle(workspaceDir, ports) {
321
321
  // Issue 2: forward effectiveConfig so runners can resolve feature flags
322
322
  // (e.g. `artificer_output_retry`) — mirrors the diagnostician wiring
323
323
  // (ADR-0019). Flag-off / absent = legacy behavior.
324
- const runnerOptions = { owner, runtimeKind, effectiveConfig: configResult.effective };
324
+ // PRI-670: also forward the profile-resolved timeout as the runner
325
+ // deadline — before, runtimeProfile.timeoutMs only reached the adapter as
326
+ // a per-request timeout and the runner deadline stayed hardcoded at 300s,
327
+ // so slow/local models could never finish dreamer/evaluator stages.
328
+ // runtimeConfigResult.timeoutMs is profile-first with a 300s default —
329
+ // behavior only changes for workspaces that declare a larger timeoutMs.
330
+ const runnerOptions = {
331
+ owner,
332
+ runtimeKind,
333
+ effectiveConfig: configResult.effective,
334
+ timeoutMs: runtimeConfigResult.timeoutMs,
335
+ };
325
336
  // PRI-634 A3: workspace-scoped telemetry sink for the evaluator runner.
326
337
  // Constructed here (per-wake, workspaceDir in scope) so events from THIS
327
338
  // workspace's runner are attributable to THIS workspace — a global
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@principles/host-runtime",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Shared host-neutral orchestration for Principles Disciple MVP-Core hook paths.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@principles/core": "^1.74.1",
25
- "@principles/install-layout": "0.1.0",
25
+ "@principles/install-layout": "^0.2.0",
26
26
  "better-sqlite3": "^13.0.3",
27
27
  "js-yaml": "^5.2.0"
28
28
  },