@kynver-app/runtime 0.1.128 → 0.1.129

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/config.d.ts CHANGED
@@ -46,6 +46,8 @@ export declare function saveApiKey(apiKey: string): void;
46
46
  export declare function loadRunnerToken(agentOsId?: string): string | undefined;
47
47
  export declare function saveRunnerToken(agentOsId: string, token: string): void;
48
48
  export declare function resolveBaseUrl(argsBaseUrl?: string): string;
49
+ /** Non-exiting sibling of `resolveBaseUrl` for long-lived callers (the daemon). */
50
+ export declare function tryResolveBaseUrl(argsBaseUrl?: string): string | undefined;
49
51
  export declare function resolveCallbackSecret(argsSecret?: string, agentOsId?: string): string;
50
52
  /**
51
53
  * Non-exiting sibling of `resolveCallbackSecretWithMint` for long-lived
@@ -3,6 +3,8 @@ export interface DaemonHeartbeat {
3
3
  pid: number;
4
4
  runId: string;
5
5
  agentOsId: string;
6
+ /** Active server-delivered instruction bundle version (M6); additive. */
7
+ instructionBundleVersion?: string;
6
8
  }
7
9
  export declare function daemonHeartbeatPath(agentOsId: string): string;
8
10
  /** Best-effort atomic write (temp + rename). Never throws. */
@@ -10,6 +12,7 @@ export declare function writeDaemonHeartbeat(input: {
10
12
  agentOsId: string;
11
13
  runId: string;
12
14
  now?: Date;
15
+ instructionBundleVersion?: string;
13
16
  }): void;
14
17
  export declare function readDaemonHeartbeat(agentOsId: string): DaemonHeartbeat | null;
15
18
  /**
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export { isEngagementRequiredSkip } from "./fortress-engagement-gate.js";
17
17
  export { assessWorkerLandingContract, landingContractAttentionReason, type WorkerLandingContract, type WorkerLandingContractVerdict, type TargetPrReconciliation, } from "./landing-contract-gate.js";
18
18
  export { assessExitedWorkerSalvage, type ExitedSalvageAssessment, type ExitedSalvageKind, } from "./exited-salvage.js";
19
19
  export { buildPrompt } from "./prompt.js";
20
+ export { canonicalJsonStringify, computeInstructionBundleVersion, deriveInstructionBundleKeyId, parseRawEd25519Key, isSignedInstructionBundleShape, PINNED_INSTRUCTION_BUNDLE_PUBLIC_KEYS, resolveInstructionBundlePublicKey, verifyInstructionBundleSignatureWithKey, verifySignedInstructionBundle, EMBEDDED_INSTRUCTION_BUNDLE, EMBEDDED_INSTRUCTION_BUNDLE_VERSION, getActiveInstructionBundle, getActiveInstructionBundleSource, getActiveInstructionBundleVersion, setActiveInstructionBundle, resolveInstructionText, resolvePolicyThreshold, resolveBundlePersona, ensureInstructionBundle, instructionBundleCachePath, loadInstructionBundleCache, saveInstructionBundleCache, INSTRUCTION_BUNDLE_REFRESH_TTL_MS, type InstructionBundle, type InstructionBundleContent, type InstructionBundlePersona, type SignedInstructionBundle, type InstructionBundleSource, type InstructionBundleVerifyResult, type EnsureInstructionBundleOptions, type EnsureInstructionBundleResult, } from "./instruction-bundle/index.js";
20
21
  export { WORKER_PERSONA_CATALOG, getWorkerPersonaCatalogEntry, getPersonaDispatchLane, getPersonaDefaultRoleLane, isKnownWorkerPersonaSlug, workerPersonaReviewSlugs, workerPersonaLandingSlugs, type WorkerPersonaCatalogEntry, type WorkerPersonaCatalogSlug, type WorkerPersonaDispatchLane, type WorkerPersonaDefaultRoleLane, } from "./worker-persona-catalog.js";
21
22
  export { assessPrHandoffRequirement, ensurePrReadyHandoff, extractPrUrlFromText, } from "./pr-handoff/index.js";
22
23
  export { normalizeCursorModelAlias, preflightClaudeModel, preflightCodexModel, preflightCursorModel, } from "./providers/model-preflight.js";