Versions 116 to 318
new file, 49 lines
4+
5+/** A name as people write it: lower case, letters and digits only ("abso - Cloud Infra Lead" → "absocloudinfralead"). */
9+
16+ next[j] = Math.min(row[j]! + 1, next[j - 1]! + 1, row[j - 1]! + (a[i - 1] === b[j - 1] ? 0 : 1));
21+
23+ * The seat a name most likely meant, or null. The same name written another way wins; then the longest seat
24+ * the name holds ("abso - Cloud Infra Lead" holds cloud), or that holds the name; then a near spelling.
43+
45+export function seatRefusal(of: string, project: string, seats: readonly string[]): string | null {
48+ return `${JSON.stringify(of)} isn't an agent in ${project}, so nobody would hear the ask${near ? `; did you mean ${near}?` : "."} abso status lists the agents.`;
- MCP
- compare on this site's /mcp
- CLI
- abso diff 116 318 server/src/issues/seats.ts --json
- JSON
- /christopher/abso-core/compare/116..318?file=server%2Fsrc%2Fissues%2Fseats.ts&format=json