fix(types): restore Record assignability after type->interface autofix

This commit is contained in:
Mohamed Boudra
2026-04-23 23:15:47 +07:00
parent 5a78561dc8
commit 6f6c8a607c
3 changed files with 3 additions and 1 deletions

View File

@@ -4104,7 +4104,7 @@ export class CodexAppServerAgentClient implements AgentClient {
overrides?: Partial<AgentSessionConfig>,
launchContext?: AgentLaunchContext,
): Promise<AgentSession> {
const storedConfig = (handle.metadata ?? {}) as AgentSessionConfig;
const storedConfig = (handle.metadata ?? {}) as unknown as AgentSessionConfig;
const merged: AgentSessionConfig = {
...storedConfig,
...overrides,

View File

@@ -3,6 +3,7 @@ const NOTIFICATION_PREVIEW_LIMIT = 220;
export type AgentAttentionReason = "finished" | "error" | "permission";
export interface AgentAttentionNotificationData {
[key: string]: unknown;
serverId: string;
agentId: string;
reason: AgentAttentionReason;

View File

@@ -48,6 +48,7 @@ export interface WorktreeConfig {
}
export interface WorktreeRuntimeEnv {
[key: string]: string;
PASEO_SOURCE_CHECKOUT_PATH: string;
PASEO_ROOT_PATH: string;
PASEO_WORKTREE_PATH: string;