mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
fix(types): restore Record assignability after type->interface autofix
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user