feat(m01-sl): 표 상자 열 차례를 서버 표 블록에 맞춤 — 값 칸 범위도 아래 · 위 두 칸 · 숫자 하나는 같은 수

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019ACSGaHdLgnkEkoA4LDtMU
This commit is contained in:
2026-10-01 13:28:59 +09:00
co-authored by Claude Sonnet 5.5
parent 184c66e14e
commit 679a759e84
3 changed files with 57 additions and 19 deletions
+5 -1
View File
@@ -165,7 +165,11 @@ async function loadInfo(key: string): Promise<TblInfo> {
/* ── 역할 · 알약 ── */
const rolesOf = (node: SlNode): TblRoles => ({
cond: node.pillsIn.map((p) => p.name),
out: node.pillsOut.filter((p) => !p.outside).map((p) => p.name),
out: [
...new Set(
node.pillsOut.filter((p) => !p.outside).map((p) => p.name.replace(/·(아래|위)$/, "")),
),
],
});
/** 내 표 읽기 — 시트 블록에서 · 조건 칸은 입력 알약 이름 */