@kynver-app/runtime 0.2.19 → 0.2.23
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.
- package/dist/cli.js +53 -54
- package/dist/config.d.ts +1 -1
- package/dist/cron/cron-install-plan.d.ts +3 -1
- package/dist/doctor/runtime-takeover-deploy-evidence.d.ts +7 -3
- package/dist/doctor/runtime-takeover.probes.d.ts +1 -1
- package/dist/index.js +71 -72
- package/dist/landing/land-pr-check-classify.d.ts +6 -0
- package/dist/provider-evidence/index.d.ts +0 -1
- package/dist/scheduler-cutover.d.ts +1 -1
- package/dist/server/adapter-contract.d.ts +1 -0
- package/dist/server/adapter-contract.js +1 -0
- package/dist/server/context-budget-receipt.d.ts +2 -0
- package/dist/server/context-budget-receipt.js +6 -0
- package/dist/server/db-credentials.d.ts +1 -0
- package/dist/server/db-credentials.js +2 -0
- package/dist/server/heavy-verification.js +1 -1
- package/dist/server/memory-cost-enforce.js +2 -2
- package/dist/server/memory-cost.js +2 -2
- package/dist/server/model-routing.d.ts +3 -0
- package/dist/server/model-routing.js +5 -0
- package/dist/server/node-runtime-policy.d.ts +1 -0
- package/dist/server/node-runtime-policy.js +1 -0
- package/dist/server/prompt.d.ts +1 -0
- package/dist/server/prompt.js +19 -0
- package/package.json +32 -2
package/dist/config.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface KynverUserConfig {
|
|
|
9
9
|
harnessRoot?: string;
|
|
10
10
|
/**
|
|
11
11
|
* Operator attestation that the hosted Kynver deployment uses this scheduler provider
|
|
12
|
-
* (set on user runners after
|
|
12
|
+
* (set on user runners after the hosted env cutover — scheduling is deployment-owned).
|
|
13
13
|
*/
|
|
14
14
|
deploymentSchedulerProvider?: "qstash" | "kynver-cron" | "openclaw-cron";
|
|
15
15
|
/** Default harness run for `kynver daemon` / systemd user unit (set by `kynver cron install`). */
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { KynverUserConfig } from "../config.js";
|
|
2
2
|
export declare const WATCHDOG_DEDUPE_KEY = "watchdog:board-sweep";
|
|
3
3
|
export declare const DEFAULT_WATCHDOG_CRON = "*/5 * * * *";
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const HOSTED_KYNVER_CRON_CUTOVER_STEPS: readonly ["Set KYNVER_SCHEDULER_PROVIDER=kynver-cron on the hosted Kynver deployment (the Railway production service).", "Set KYNVER_CRON_SECRET to the same value written to ~/.kynver/.env by this installer.", "Unset KYNVER_CRON_STORE_PATH on the Railway service — the connected box owns the local store.", "Keep QSTASH_TOKEN only if other non-watchdog schedules still use QStash (analyst/market jobs)."];
|
|
5
|
+
/** @deprecated Renamed after the 2026-08 Railway cutover — use HOSTED_KYNVER_CRON_CUTOVER_STEPS. */
|
|
6
|
+
export declare const VERCEL_KYNVER_CRON_CUTOVER_STEPS: readonly ["Set KYNVER_SCHEDULER_PROVIDER=kynver-cron on the hosted Kynver deployment (the Railway production service).", "Set KYNVER_CRON_SECRET to the same value written to ~/.kynver/.env by this installer.", "Unset KYNVER_CRON_STORE_PATH on the Railway service — the connected box owns the local store.", "Keep QSTASH_TOKEN only if other non-watchdog schedules still use QStash (analyst/market jobs)."];
|
|
5
7
|
export interface CronInstallPlanInput {
|
|
6
8
|
config: KynverUserConfig;
|
|
7
9
|
apiBaseUrl: string;
|
|
@@ -2,8 +2,12 @@ import type { DoctorSection } from "./doctor.types.js";
|
|
|
2
2
|
import { type GitHubReadinessProbe } from "./github-readiness.js";
|
|
3
3
|
import type { RuntimeTakeoverProbes } from "./runtime-takeover.probes.js";
|
|
4
4
|
/**
|
|
5
|
-
* Optional deploy-evidence checks for merge-gate / PR handoff workflows
|
|
6
|
-
*
|
|
7
|
-
* commit-status
|
|
5
|
+
* Optional deploy-evidence checks for merge-gate / PR handoff workflows
|
|
6
|
+
* (Railway era). Post-cutover (2026-08) production deploy evidence is the
|
|
7
|
+
* production /api/version probe plus GitHub ancestry/commit-status lookups —
|
|
8
|
+
* Vercel is decommissioned, so the old Vercel StatusContext and VERCEL_TOKEN
|
|
9
|
+
* REST fallback no longer exist. This section verifies GitHub auth for those
|
|
10
|
+
* lookups and flags Vercel leftovers (global CLI, stale VERCEL_TOKEN) as
|
|
11
|
+
* hygiene warnings.
|
|
8
12
|
*/
|
|
9
13
|
export declare function assessDeployEvidence(probes: RuntimeTakeoverProbes, githubProbe: GitHubReadinessProbe): DoctorSection;
|
|
@@ -37,7 +37,7 @@ export interface RuntimeTakeoverProbes {
|
|
|
37
37
|
pathExists(target: string): boolean;
|
|
38
38
|
pathWritable(target: string): boolean;
|
|
39
39
|
ghAuthToken(): CommandProbeResult;
|
|
40
|
-
/** When false, GitHub
|
|
40
|
+
/** When false, GitHub deploy-evidence checks are advisory-only skips. */
|
|
41
41
|
deployEvidenceNeedsGithub?(): boolean;
|
|
42
42
|
/** Injectable systemd active probe for supervision checks. */
|
|
43
43
|
systemdDaemonActive?(): boolean;
|