@kynver-app/runtime 0.1.60 → 0.1.61

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.
@@ -0,0 +1,19 @@
1
+ import type { RunnerResourceGateShape } from "./resource-gate.js";
2
+ export interface OperatorDispatchShape {
3
+ recommendedMaxStarts?: number;
4
+ underutilized?: boolean;
5
+ actionableReady?: number;
6
+ queuedTasks?: number;
7
+ boardAdvancedThisTick?: number;
8
+ }
9
+ export interface ResolvePipelineMaxStartsResult {
10
+ maxStarts: number;
11
+ underutilized: boolean;
12
+ advisedStarts: number | null;
13
+ boardAdvancedThisTick: number;
14
+ }
15
+ /**
16
+ * Merge runner slot budget with server dispatch-floor advice from the operator tick.
17
+ * Never collapse to zero starts when the server reports underutilization with capacity.
18
+ */
19
+ export declare function resolvePipelineMaxStarts(resourceGate: RunnerResourceGateShape, operatorTick: unknown): ResolvePipelineMaxStartsResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kynver-app/runtime",
3
- "version": "0.1.60",
3
+ "version": "0.1.61",
4
4
  "description": "Kynver AgentOS local execution runtime and CLI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",