( content: string, level: SystemMessageLevel, toolUseID?: string, preventContinuation?: boolean, )
| 4335 | } |
| 4336 | |
| 4337 | export function createSystemMessage( |
| 4338 | content: string, |
| 4339 | level: SystemMessageLevel, |
| 4340 | toolUseID?: string, |
| 4341 | preventContinuation?: boolean, |
| 4342 | ): SystemInformationalMessage { |
| 4343 | return { |
| 4344 | type: 'system', |
| 4345 | subtype: 'informational', |
| 4346 | content, |
| 4347 | isMeta: false, |
| 4348 | timestamp: new Date().toISOString(), |
| 4349 | uuid: randomUUID(), |
| 4350 | toolUseID, |
| 4351 | level, |
| 4352 | ...(preventContinuation && { preventContinuation }), |
| 4353 | } |
| 4354 | } |
| 4355 | |
| 4356 | export function createPermissionRetryMessage( |
| 4357 | commands: string[], |
no outgoing calls
no test coverage detected