()
| 448 | ] |
| 449 | |
| 450 | function title() { |
| 451 | if (args.title === undefined) return |
| 452 | if (args.title !== "") return args.title |
| 453 | return message.slice(0, 50) + (message.length > 50 ? "..." : "") |
| 454 | } |
| 455 | |
| 456 | async function session(sdk: OpencodeClient): Promise<SessionInfo | undefined> { |
| 457 | if (args.session) { |
no outgoing calls
no test coverage detected