( schema: ToolSchemaShape, defaults: Partial<SessionDefaults>, )
| 35 | } |
| 36 | |
| 37 | export function pickSchemaSessionDefaults( |
| 38 | schema: ToolSchemaShape, |
| 39 | defaults: Partial<SessionDefaults>, |
| 40 | ): Record<string, unknown> { |
| 41 | return pickSessionDefaultsForKeys(Object.keys(schema), defaults); |
| 42 | } |
| 43 | |
| 44 | export function getCliSessionDefaultsForTool(opts: { |
| 45 | tool: ToolDefinition; |
no test coverage detected