@kyo-so/cli 0.14.0 → 0.15.1

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.
@@ -40,6 +40,7 @@ export type JudgeRunInput = {
40
40
  requestedProvider?: JudgeProvider;
41
41
  env: NodeJS.ProcessEnv;
42
42
  timeoutMs?: number;
43
+ signal?: AbortSignal;
43
44
  };
44
45
  export declare function resolveJudgeProvider(provider: JudgeProvider, env: NodeJS.ProcessEnv): ResolvedJudgeProvider;
45
46
  export declare function resolveJudgeCallRoute(mode: KyosoConfig["judge"]["mode"], provider: JudgeProvider, env: NodeJS.ProcessEnv): JudgeCallRoute;
@@ -0,0 +1,4 @@
1
+ export declare function linkSignals(timeoutMs: number, external?: AbortSignal): {
2
+ signal: AbortSignal;
3
+ cleanup(): void;
4
+ };
@@ -0,0 +1,18 @@
1
+ import type { ReviewProgressEvent, ReviewProgressSink } from "../core/progress.js";
2
+ type McpProgressNotification = {
3
+ method: "notifications/progress";
4
+ params: {
5
+ progressToken: string | number;
6
+ progress: number;
7
+ message: string;
8
+ };
9
+ };
10
+ export type McpRequestContextLike = {
11
+ _meta?: {
12
+ progressToken?: string | number;
13
+ };
14
+ notify: (notification: McpProgressNotification) => Promise<void>;
15
+ };
16
+ export declare function createMcpProgressSink(mcpReq: McpRequestContextLike): ReviewProgressSink | undefined;
17
+ export declare function formatMcpProgressMessage(event: ReviewProgressEvent): string;
18
+ export {};
@@ -1,7 +1,8 @@
1
- import { type CodexProvider } from "../config/schema.js";
1
+ import { type CodexProvider, type KyosoConfig } from "../config/schema.js";
2
2
  import type { ModelExecutionIdentity } from "../core/types.js";
3
3
  export declare const OPENROUTER_API_KEY_ENV = "OPENROUTER_API_KEY";
4
4
  export declare const KYOSO_OPENROUTER_PROVIDER_ID = "kyoso-openrouter";
5
+ type CodexOpenRouterOptions = KyosoConfig["agents"]["codex"]["openRouter"];
5
6
  export declare class ChildEnvPreflightError extends Error {
6
7
  readonly code: "OPENROUTER_KEY_MISSING" | "AGENT_CONFIG_INVALID";
7
8
  constructor(code: "OPENROUTER_KEY_MISSING" | "AGENT_CONFIG_INVALID", message: string);
@@ -10,6 +11,9 @@ type ChildEnvOptions = {
10
11
  agent?: "codex" | "claude";
11
12
  model?: string;
12
13
  provider?: CodexProvider;
14
+ openRouter?: CodexOpenRouterOptions;
15
+ /** @internal test-only */
16
+ openRouterBaseUrlForTest?: string;
13
17
  preferApiKey?: boolean;
14
18
  onCredentialPlaceholderDiscarded?: (key: string) => void;
15
19
  onOpenRouterCredentialWithheld?: (key: string) => void;
@@ -14,6 +14,13 @@ defaultMode = "model_only"
14
14
  # provider = "openrouter"
15
15
  # model = "openai/o4-mini"
16
16
  #
17
+ # Experimental OpenRouter transport retry policy. Omit every field to preserve
18
+ # the installed Codex runtime defaults; 0 explicitly disables a retry class.
19
+ # [agents.codex.openRouter]
20
+ # streamIdleTimeoutMs = 90000
21
+ # streamMaxRetries = 3
22
+ # requestMaxRetries = 2
23
+ #
17
24
  # To reset an inherited user-global OpenRouter selection for this project:
18
25
  # provider = "default"
19
26
  #
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kyo-so/cli",
3
- "version": "0.14.0",
3
+ "version": "0.15.1",
4
4
  "description": "Kyo-so: MCP-native, ACP-powered multi-agent review gates for AI coding workflows.",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "repository": {
@@ -68,6 +68,6 @@
68
68
  },
69
69
  "devDependencies": {
70
70
  "@types/bun": "1.3.14",
71
- "prettier": "3.9.5"
71
+ "prettier": "3.9.6"
72
72
  }
73
73
  }