@kynver-app/runtime 0.1.47 → 0.1.48

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.
@@ -13,6 +13,13 @@ export declare function assessPrHandoffRequirement(input: {
13
13
  patchPath?: string | null;
14
14
  artifactBundlePath?: string | null;
15
15
  snapshot: PrHandoffSnapshot;
16
+ /** Board task metadata persisted on worker.json at dispatch. */
17
+ taskTitle?: string | null;
18
+ executorRef?: string | null;
19
+ parentTaskId?: string | null;
20
+ personaSlug?: string | null;
21
+ /** Target PR on the board task row (review workers inherit parent prUrl). */
22
+ taskPrUrl?: string | null;
16
23
  }): PrHandoffRequirement;
17
24
  export declare function buildPrHandoffSnapshotFromStatus(status: {
18
25
  changedFiles: string[];
@@ -11,7 +11,7 @@ export interface PrHandoffSnapshot {
11
11
  gitAncestry: GitAncestry;
12
12
  finalResult: unknown;
13
13
  }
14
- export type PrHandoffSkipReason = "not_dispatched" | "review_lane" | "already_has_pr" | "no_work_product" | "patch_or_bundle";
14
+ export type PrHandoffSkipReason = "not_dispatched" | "review_lane" | "expert_review_task" | "already_has_pr" | "no_work_product" | "patch_or_bundle";
15
15
  export interface PrHandoffNotRequired {
16
16
  required: false;
17
17
  reason: PrHandoffSkipReason;
package/dist/status.d.ts CHANGED
@@ -55,6 +55,11 @@ export interface HarnessWorkerRecord {
55
55
  /** Routing audit — which rule selected model/provider (dispatch inference). */
56
56
  routingRule?: string;
57
57
  requestedModel?: string;
58
+ /** Board task metadata for landing/PR-handoff gates (set at dispatch). */
59
+ executorRef?: string;
60
+ parentTaskId?: string;
61
+ taskTitle?: string;
62
+ taskPrUrl?: string;
58
63
  /** Set when stale-reconcile patches a dead/stale worker record. */
59
64
  reconciledAt?: string;
60
65
  reconcileReason?: string;
@@ -20,6 +20,10 @@ export interface SpawnWorkerOptions {
20
20
  provider?: string;
21
21
  routingRule?: string;
22
22
  requestedModel?: string;
23
+ executorRef?: string;
24
+ parentTaskId?: string;
25
+ taskTitle?: string;
26
+ taskPrUrl?: string;
23
27
  }
24
28
  export declare function spawnWorkerProcess(run: HarnessRunRecord, opts: SpawnWorkerOptions): HarnessWorkerRecord;
25
29
  export declare function startWorker(args: Record<string, string | boolean>): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kynver-app/runtime",
3
- "version": "0.1.47",
3
+ "version": "0.1.48",
4
4
  "description": "Kynver AgentOS local execution runtime and CLI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",