@kynver-app/runtime 0.1.135 → 0.1.140

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.
@@ -12,6 +12,18 @@ export interface DispatchNextWslHostShape {
12
12
  reason: string | null;
13
13
  probeError: string | null;
14
14
  }
15
+ /** WSL crash-dump snapshot — present only when the runner is under WSL. */
16
+ export interface DispatchNextWslCrashDumpsShape {
17
+ ok: boolean;
18
+ path: string | null;
19
+ dumpCount: number;
20
+ totalBytes: number;
21
+ executables: string[];
22
+ wslCaptureEnabled: boolean;
23
+ dumpsDisabledInWslConfig: boolean;
24
+ reason: string | null;
25
+ probeError: string | null;
26
+ }
15
27
  export interface DispatchNextDiskGateShape {
16
28
  ok: boolean;
17
29
  path: string;
@@ -26,6 +38,8 @@ export interface DispatchNextDiskGateShape {
26
38
  /** Windows host disk under WSL (`/mnt/c` by default). `null` on non-WSL
27
39
  * hosts and when the probe was opted out via `skipWslHostCheck`. */
28
40
  wslHost?: DispatchNextWslHostShape | null;
41
+ /** Windows-side `%LOCALAPPDATA%\\Temp\\wsl-crashes` usage. `null` on non-WSL. */
42
+ wslCrashDumps?: DispatchNextWslCrashDumpsShape | null;
29
43
  }
30
44
  export interface DispatchNextResourceGateShape {
31
45
  ok: boolean;
@@ -47,9 +61,14 @@ export interface PostJsonResult {
47
61
  refreshedAuth?: boolean;
48
62
  authRefreshFailure?: string;
49
63
  }
50
- export declare function postJson(url: string, secret: string, body: unknown): Promise<PostJsonResult>;
64
+ export declare function postJson(url: string, secret: string, body: unknown, opts?: {
65
+ timeoutMs?: number;
66
+ }): Promise<PostJsonResult>;
51
67
  export declare function postJsonWithCredentialRefresh(url: string, secret: string, body: unknown, opts: {
52
68
  agentOsId: string;
53
69
  baseUrl?: string;
70
+ timeoutMs?: number;
71
+ }): Promise<PostJsonResult>;
72
+ export declare function getJson(url: string, secret: string, opts?: {
73
+ timeoutMs?: number;
54
74
  }): Promise<PostJsonResult>;
55
- export declare function getJson(url: string, secret: string): Promise<PostJsonResult>;
@@ -79,6 +79,18 @@ export interface HarnessCleanupSummary {
79
79
  }>;
80
80
  /** Empty harness worktree run directories removed after worker worktrees were reclaimed. */
81
81
  removedRunDirectories?: number;
82
+ /** Windows-side WSL crash dump prune evidence (when auto-cleanup ran or observed). */
83
+ wslCrashDumps?: {
84
+ observed: boolean;
85
+ execute: boolean;
86
+ dumpCount: number;
87
+ totalBytes: number;
88
+ removedCount: number;
89
+ removedBytes: number;
90
+ executables: string[];
91
+ path: string | null;
92
+ reason: string | null;
93
+ };
82
94
  /** Bounded operator rollup (always attached; use `kynver cleanup --compact` to emit alone). */
83
95
  compactSummary?: import("./cleanup-summary.js").CleanupCompactSummary;
84
96
  }