(job, target, index)
| 528 | ) |
| 529 | } catch {} |
| 530 | } |
| 531 | |
| 532 | function commandKey(sessionID, name, args) { return `${sessionID || "no-session"}:${name || ""}:${normalizeArgsForKey(args)}` } |
| 533 | function markHandled(sessionID, name, args) { |
| 534 | handledCommands.set(commandKey(sessionID, name, args), now()) |
| 535 | for (const [key, time] of handledCommands.entries()) if (now() - time > 30_000) handledCommands.delete(key) |
| 536 | } |
| 537 | function wasHandled(sessionID, name, args) { |
no outgoing calls
no test coverage detected