@kinloom/cli 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist/assets/cached-ocr.py +346 -116
  2. package/dist/assets/ocr.md +25 -1
  3. package/dist/assets/prep-scan.md +42 -4
  4. package/dist/assets/prep-scan.py +432 -10
  5. package/dist/bundled-skills/acpl-persi/SKILL.md +12 -3
  6. package/dist/bundled-skills/acpl-persi/scripts/persi +299 -28
  7. package/dist/bundled-skills/archive-org/SKILL.md +40 -7
  8. package/dist/bundled-skills/archive-org/scripts/archive-org +825 -128
  9. package/dist/bundled-skills/california-archives/SKILL.md +10 -0
  10. package/dist/bundled-skills/california-archives/scripts/ca-archives +281 -40
  11. package/dist/bundled-skills/chronicling-america/SKILL.md +26 -6
  12. package/dist/bundled-skills/chronicling-america/scripts/chronam +379 -76
  13. package/dist/bundled-skills/findagrave/SKILL.md +18 -5
  14. package/dist/bundled-skills/findagrave/scripts/findagrave +485 -40
  15. package/dist/bundled-skills/hathitrust/SKILL.md +9 -2
  16. package/dist/bundled-skills/hathitrust/scripts/hathi +197 -12
  17. package/dist/bundled-skills/kentucky-archives/SKILL.md +1 -0
  18. package/dist/bundled-skills/kentucky-archives/scripts/ky-archives +361 -73
  19. package/dist/bundled-skills/library-of-michigan/SKILL.md +9 -2
  20. package/dist/bundled-skills/library-of-michigan/scripts/michiganology +190 -21
  21. package/dist/bundled-skills/missouri-archives/SKILL.md +9 -0
  22. package/dist/bundled-skills/missouri-archives/scripts/mo-archives +284 -61
  23. package/dist/bundled-skills/nara-catalog-search/SKILL.md +12 -0
  24. package/dist/bundled-skills/nara-catalog-search/scripts/nara +586 -133
  25. package/dist/bundled-skills/new-jersey-archives/SKILL.md +18 -1
  26. package/dist/bundled-skills/new-jersey-archives/scripts/nj-archives +329 -45
  27. package/dist/bundled-skills/openarchieven/SKILL.md +9 -2
  28. package/dist/bundled-skills/openarchieven/scripts/openarchieven +206 -14
  29. package/dist/bundled-skills/texas-archives/SKILL.md +9 -0
  30. package/dist/bundled-skills/texas-archives/scripts/texas-archives +245 -20
  31. package/dist/bundled-skills/uk-archives/SKILL.md +11 -2
  32. package/dist/bundled-skills/uk-archives/scripts/uk-archives +276 -36
  33. package/dist/bundled-skills/usgs-gnis/SKILL.md +12 -2
  34. package/dist/bundled-skills/usgs-gnis/scripts/gnis +210 -46
  35. package/dist/bundled-skills/virginia-archives/SKILL.md +42 -2
  36. package/dist/bundled-skills/virginia-archives/scripts/va-archives +616 -43
  37. package/dist/bundled-skills/wikitree/SKILL.md +7 -1
  38. package/dist/bundled-skills/wikitree/scripts/wikitree +260 -24
  39. package/dist/cli.d.ts.map +1 -1
  40. package/dist/cli.js +107 -2
  41. package/dist/cli.js.map +1 -1
  42. package/dist/client.d.ts.map +1 -1
  43. package/dist/client.js +30 -5
  44. package/dist/client.js.map +1 -1
  45. package/dist/commands/ops/audit.d.ts.map +1 -1
  46. package/dist/commands/ops/audit.js +5 -0
  47. package/dist/commands/ops/audit.js.map +1 -1
  48. package/dist/commands/ops/dates.d.ts +87 -0
  49. package/dist/commands/ops/dates.d.ts.map +1 -0
  50. package/dist/commands/ops/dates.js +228 -0
  51. package/dist/commands/ops/dates.js.map +1 -0
  52. package/dist/commands/ops/help.d.ts +3 -1
  53. package/dist/commands/ops/help.d.ts.map +1 -1
  54. package/dist/commands/ops/help.js +33 -0
  55. package/dist/commands/ops/help.js.map +1 -1
  56. package/dist/commands/ops/index.d.ts +3 -1
  57. package/dist/commands/ops/index.d.ts.map +1 -1
  58. package/dist/commands/ops/index.js +2 -0
  59. package/dist/commands/ops/index.js.map +1 -1
  60. package/dist/commands/ops/integrate.d.ts +5 -0
  61. package/dist/commands/ops/integrate.d.ts.map +1 -1
  62. package/dist/commands/ops/integrate.js +272 -26
  63. package/dist/commands/ops/integrate.js.map +1 -1
  64. package/dist/commands/ops/sync.d.ts +17 -0
  65. package/dist/commands/ops/sync.d.ts.map +1 -1
  66. package/dist/commands/ops/sync.js +173 -0
  67. package/dist/commands/ops/sync.js.map +1 -1
  68. package/dist/commands/ops/verify.d.ts +76 -0
  69. package/dist/commands/ops/verify.d.ts.map +1 -0
  70. package/dist/commands/ops/verify.js +325 -0
  71. package/dist/commands/ops/verify.js.map +1 -0
  72. package/dist/commands/records/index.d.ts +1 -1
  73. package/dist/commands/records/index.d.ts.map +1 -1
  74. package/dist/commands/records/index.js +1 -1
  75. package/dist/commands/records/index.js.map +1 -1
  76. package/dist/commands/records/runner.d.ts +2 -0
  77. package/dist/commands/records/runner.d.ts.map +1 -1
  78. package/dist/commands/records/runner.js +33 -2
  79. package/dist/commands/records/runner.js.map +1 -1
  80. package/package.json +2 -2
@@ -0,0 +1,228 @@
1
+ import { CliValidationError } from '../../errors.js';
2
+ export { DATES_HELP } from './help.js';
3
+ export const WEEKDAY_NAMES = [
4
+ 'Sunday',
5
+ 'Monday',
6
+ 'Tuesday',
7
+ 'Wednesday',
8
+ 'Thursday',
9
+ 'Friday',
10
+ 'Saturday',
11
+ ];
12
+ export const MONTH_NAMES = [
13
+ 'January',
14
+ 'February',
15
+ 'March',
16
+ 'April',
17
+ 'May',
18
+ 'June',
19
+ 'July',
20
+ 'August',
21
+ 'September',
22
+ 'October',
23
+ 'November',
24
+ 'December',
25
+ ];
26
+ const DAYS_IN_MONTH = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
27
+ const ISO_DATE_RE = /^(\d{4})-(\d{2})-(\d{2})$/;
28
+ export function isLeapYear(year) {
29
+ return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
30
+ }
31
+ export function daysInMonth(year, month) {
32
+ if (month === 2 && isLeapYear(year)) {
33
+ return 29;
34
+ }
35
+ return DAYS_IN_MONTH[month] ?? 0;
36
+ }
37
+ // Howard Hinnant's civil-from/to-days algorithm (proleptic Gregorian, exact integer UTC days since 1970-01-01).
38
+ export function daysFromCivil(year, month, day) {
39
+ const y = month <= 2 ? year - 1 : year;
40
+ const era = Math.floor(y / 400);
41
+ const yoe = y - era * 400;
42
+ const mPrime = month > 2 ? month - 3 : month + 9;
43
+ const doy = Math.floor((153 * mPrime + 2) / 5) + day - 1;
44
+ const doe = yoe * 365 + Math.floor(yoe / 4) - Math.floor(yoe / 100) + doy;
45
+ return era * 146097 + doe - 719468;
46
+ }
47
+ function makeCalendarDate(year, month, day) {
48
+ const iso = `${String(year).padStart(4, '0')}-${String(month).padStart(2, '0')}-${String(day).padStart(2, '0')}`;
49
+ return {
50
+ iso,
51
+ year,
52
+ month,
53
+ day,
54
+ epochDay: daysFromCivil(year, month, day),
55
+ };
56
+ }
57
+ export function parseCalendarDate(raw, label = 'date') {
58
+ const trimmed = raw.trim();
59
+ const match = ISO_DATE_RE.exec(trimmed);
60
+ if (!match) {
61
+ throw new CliValidationError(`Invalid ${label} '${raw}'. Expected ISO calendar date YYYY-MM-DD.`);
62
+ }
63
+ const year = Number.parseInt(match[1], 10);
64
+ const month = Number.parseInt(match[2], 10);
65
+ const day = Number.parseInt(match[3], 10);
66
+ if (year < 1 || month < 1 || month > 12) {
67
+ throw new CliValidationError(`Invalid ${label} '${raw}'. Month must be 01..12 and year must be >= 0001.`);
68
+ }
69
+ const maxDay = daysInMonth(year, month);
70
+ if (day < 1 || day > maxDay) {
71
+ throw new CliValidationError(`Invalid ${label} '${raw}'. Day ${String(day).padStart(2, '0')} is out of range for ${match[1]}-${match[2]} (max ${maxDay}).`);
72
+ }
73
+ return makeCalendarDate(year, month, day);
74
+ }
75
+ export function getWeekdayName(date) {
76
+ // 1970-01-01 (epochDay 0) was Thursday (index 4 when Sunday = 0).
77
+ const idx = (((date.epochDay + 4) % 7) + 7) % 7;
78
+ return WEEKDAY_NAMES[idx];
79
+ }
80
+ export function getIsoWeekday(date) {
81
+ const sunIdx = (((date.epochDay + 4) % 7) + 7) % 7;
82
+ return sunIdx === 0 ? 7 : sunIdx;
83
+ }
84
+ export function formatLongDate(date) {
85
+ const weekday = getWeekdayName(date);
86
+ const monthName = MONTH_NAMES[date.month - 1];
87
+ return `${weekday}, ${date.day} ${monthName} ${date.year}`;
88
+ }
89
+ function anniversaryDate(start, yearsOffset) {
90
+ const targetYear = start.year + yearsOffset;
91
+ if (start.month === 2 && start.day === 29 && !isLeapYear(targetYear)) {
92
+ return makeCalendarDate(targetYear, 3, 1);
93
+ }
94
+ return makeCalendarDate(targetYear, start.month, start.day);
95
+ }
96
+ function addMonthsClamped(base, monthsOffset) {
97
+ const totalMonths = base.year * 12 + (base.month - 1) + monthsOffset;
98
+ const year = Math.floor(totalMonths / 12);
99
+ const month = (totalMonths % 12) + 1;
100
+ const day = Math.min(base.day, daysInMonth(year, month));
101
+ return makeCalendarDate(year, month, day);
102
+ }
103
+ function pluralize(count, unit) {
104
+ return `${count} ${unit}${count === 1 ? '' : 's'}`;
105
+ }
106
+ export function computeDateDiff(start, end) {
107
+ const rawDays = end.epochDay - start.epochDay;
108
+ const reversed = rawDays < 0;
109
+ const direction = rawDays > 0 ? 'forward' : rawDays < 0 ? 'reversed' : 'same';
110
+ const lo = reversed ? end : start;
111
+ const hi = reversed ? start : end;
112
+ const absDays = hi.epochDay - lo.epochDay;
113
+ let years = hi.year - lo.year;
114
+ let anniv = anniversaryDate(lo, years);
115
+ if (anniv.epochDay > hi.epochDay) {
116
+ years -= 1;
117
+ anniv = anniversaryDate(lo, years);
118
+ }
119
+ const remainingDays = hi.epochDay - anniv.epochDay;
120
+ let months = Math.min(11, (hi.year - anniv.year) * 12 + (hi.month - anniv.month));
121
+ let monthAnchor = addMonthsClamped(anniv, months);
122
+ if (monthAnchor.epochDay > hi.epochDay) {
123
+ months -= 1;
124
+ monthAnchor = addMonthsClamped(anniv, months);
125
+ }
126
+ const days = hi.epochDay - monthAnchor.epochDay;
127
+ return {
128
+ startDate: start.iso,
129
+ endDate: end.iso,
130
+ startWeekday: getWeekdayName(start),
131
+ endWeekday: getWeekdayName(end),
132
+ startFormatted: formatLongDate(start),
133
+ endFormatted: formatLongDate(end),
134
+ direction,
135
+ reversed,
136
+ totalDays: rawDays,
137
+ absDays,
138
+ years,
139
+ remainingDays,
140
+ yearsMonthsDays: { years, months, days },
141
+ };
142
+ }
143
+ export function runDatesCommand(options) {
144
+ switch (options.subcommand) {
145
+ case 'weekday': {
146
+ const parsed = parseCalendarDate(options.date, 'date');
147
+ const base = {
148
+ subcommand: 'weekday',
149
+ date: parsed.iso,
150
+ weekday: getWeekdayName(parsed),
151
+ isoWeekday: getIsoWeekday(parsed),
152
+ formatted: formatLongDate(parsed),
153
+ isLeapYear: isLeapYear(parsed.year),
154
+ };
155
+ const rendered = options.json ? JSON.stringify(base, null, 2) : base.formatted;
156
+ return { ...base, rendered };
157
+ }
158
+ case 'diff': {
159
+ const start = parseCalendarDate(options.startDate, 'start date');
160
+ const end = parseCalendarDate(options.endDate, 'end date');
161
+ const diff = computeDateDiff(start, end);
162
+ const base = {
163
+ subcommand: 'diff',
164
+ ...diff,
165
+ };
166
+ const signPrefix = diff.reversed ? '-' : '';
167
+ const ymd = diff.yearsMonthsDays;
168
+ const rendered = options.json
169
+ ? JSON.stringify(base, null, 2)
170
+ : `${signPrefix}${pluralize(diff.years, 'year')}, ${pluralize(diff.remainingDays, 'day')} ` +
171
+ `(${diff.totalDays} total days; ${signPrefix}${ymd.years}y ${ymd.months}m ${ymd.days}d; ` +
172
+ `${diff.startFormatted} -> ${diff.endFormatted})`;
173
+ return { ...base, rendered };
174
+ }
175
+ case 'age': {
176
+ const birth = parseCalendarDate(options.birthDate, 'birth date');
177
+ if (options.atDates.length === 0) {
178
+ throw new CliValidationError('Missing event date for `kinloom dates age`. Pass `--at <YYYY-MM-DD>` or a positional `<YYYY-MM-DD>`.');
179
+ }
180
+ const ages = options.atDates.map((rawAt, idx) => {
181
+ const at = parseCalendarDate(rawAt, `event date #${idx + 1}`);
182
+ const diff = computeDateDiff(birth, at);
183
+ const beforeBirth = diff.reversed;
184
+ const magnitudeLabel = `${pluralize(diff.years, 'year')}, ${pluralize(diff.remainingDays, 'day')} (${diff.totalDays} days)`;
185
+ const label = beforeBirth ? `before birth (-${magnitudeLabel})` : magnitudeLabel;
186
+ return {
187
+ at: at.iso,
188
+ atWeekday: diff.endWeekday,
189
+ atFormatted: diff.endFormatted,
190
+ beforeBirth,
191
+ years: beforeBirth ? -diff.years : diff.years,
192
+ remainingDays: diff.remainingDays,
193
+ totalDays: diff.totalDays,
194
+ yearsMonthsDays: diff.yearsMonthsDays,
195
+ label,
196
+ };
197
+ });
198
+ const base = {
199
+ subcommand: 'age',
200
+ birthDate: birth.iso,
201
+ birthWeekday: getWeekdayName(birth),
202
+ birthFormatted: formatLongDate(birth),
203
+ ages,
204
+ };
205
+ let rendered;
206
+ if (options.json) {
207
+ rendered = JSON.stringify(base, null, 2);
208
+ }
209
+ else if (ages.length === 1) {
210
+ const entry = ages[0];
211
+ rendered = `${base.birthFormatted} -> ${entry.atFormatted}: ${entry.label}`;
212
+ }
213
+ else {
214
+ const lines = [`Birth: ${base.birthFormatted}`];
215
+ for (const entry of ages) {
216
+ lines.push(` ${entry.at} (${entry.atWeekday}): ${entry.label}`);
217
+ }
218
+ rendered = lines.join('\n');
219
+ }
220
+ return { ...base, rendered };
221
+ }
222
+ default: {
223
+ const _exhaustive = options;
224
+ throw new CliValidationError(`Unsupported dates subcommand: ${String(_exhaustive)}`);
225
+ }
226
+ }
227
+ }
228
+ //# sourceMappingURL=dates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dates.js","sourceRoot":"","sources":["../../../src/commands/ops/dates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,QAAQ;IACR,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,QAAQ;IACR,UAAU;CACF,CAAC;AAIX,MAAM,CAAC,MAAM,WAAW,GAA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AAO,CAAC;YACnC,MAAM,IAAI,kBAAkB,CAAC,iCAAiC,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;QACvF,CAAC;IACH,CAAC;AACH,CAAC"}
@@ -1,6 +1,8 @@
1
1
  export declare const CONTEXT_HELP = "Usage: kinloom context [person_id] [options]\n\nProduce a privacy-fenced single-shot research context brief for a deceased person.\n\nArguments:\n person_id Target person ID in data/people.yaml (positional or --person)\n\nOptions:\n --person <person_id> Target person ID in data/people.yaml (required if positional omitted)\n --repo <dir> Archive repository root (default: current working directory)\n --ancestry-dir <dir> Optional external facts JSON export directory (or set KINLOOM_ANCESTRY_FACTS_DIR)\n --json Emit structured JSON instead of compact Markdown\n -h, --help Show this help message";
2
2
  export declare const INTEGRATE_HELP = "Usage: kinloom integrate [person_id] [options]\n\nValidate and integrate a person research package (patch.json + scans/) into local YAML files.\n\nArguments:\n person_id Target person ID in data/people.yaml (positional or --person)\n\nOptions:\n --person <person_id> Target person ID in data/people.yaml (required if positional omitted)\n --repo <dir> Archive repository root (default: current working directory)\n --package-dir <dir> Custom research package directory (default: <repo>/research/people/<person_id>)\n --dry-run Validate schemas, citations, scans, and privacy without writing files\n --json Emit structured JSON summary\n -h, --help Show this help message";
3
3
  export declare const AUDIT_HELP = "Usage: kinloom audit [person_id] [options]\n\nRun all 5 deterministic package checks in one pass:\n 1. Chronology and lifespan arithmetic\n 2. Living-person privacy, SSN, phone, and em-dash style scan\n 3. Uncited biographical prose sentence audit on body_md\n 4. Pure-Node scan inventory and magic-header/dimension verification\n 5. In-process integrate dry-run schema, citation, and privacy check\n\nArguments:\n person_id Target person ID in data/people.yaml (positional or --person)\n\nOptions:\n --person <person_id> Target person ID in data/people.yaml (required if positional omitted)\n --repo <dir> Archive repository root (default: current working directory)\n --package-dir <dir> Custom research package directory (default: <repo>/research/people/<person_id>)\n --json Emit structured JSON scorecard\n -h, --help Show this help message";
4
- export declare const SYNC_HELP = "Usage: kinloom sync [options]\n\nSynchronize local YAML and media files to a live Cloudflare D1 + R2 Kinloom archive.\n\nOptions:\n --repo <dir> Archive repository root (default: current working directory)\n --site-url <url> Live archive URL (default: derived from wrangler.jsonc routes[0].pattern)\n --types <csv> Comma-separated entity types to sync (default: all 7 in dependency order)\n --sync-missing-media Probe live /media/* paths from media.yaml and upload missing files to R2\n --upload-media <paths...> Upload one or more local media files to R2 in parallel\n --concurrency <N> Parallel R2 upload concurrency (default: 6)\n --chunk-size <N> Max patches per POST /api/batches request (default: 25)\n --summary <text> Batch revision summary (minimum 3 characters)\n --allow-deletes Emit delete patches for remote entities absent locally\n --delete <type:id,...> Explicitly soft-delete specific remote entities (e.g. narrative:nar_old)\n --include-living Include living person records in diff and sync\n --dry-run Compute diff and planned actions without mutating remote D1 or R2\n --json Emit structured JSON report\n -h, --help Show this help message";
4
+ export declare const VERIFY_HELP = "Usage: kinloom verify [options]\n\nRun full-archive invariants across local data/*.yaml files:\n 1. Narrative inline citation integrity (0 dangling src_id or med_id)\n 2. Place coordinate validation (-90..90, -180..180, finite, no (0, 0))\n 3. SSN pattern scan across all data/*.yaml files\n 4. Dual-mode compilation (private and public) with 0 review flags, 0 living leaks, and 0 duplicate residence_spans\n 5. Media file presence on disk under archive-media/ or media/\n\nOptions:\n --repo <dir> Archive repository root (default: current working directory)\n --json Emit structured JSON scorecard\n -h, --help Show this help message";
5
+ export declare const SYNC_HELP = "Usage: kinloom sync [options]\n\nSynchronize local YAML and media files to a live Cloudflare D1 + R2 Kinloom archive.\n\nOptions:\n --repo <dir> Archive repository root (default: current working directory)\n --site-url <url> Live archive URL (default: derived from wrangler.jsonc routes[0].pattern)\n --types <csv> Comma-separated entity types to sync (default: all 7 in dependency order)\n --sync-missing-media Probe live /media/* paths from media.yaml and upload missing files to R2\n --upload-media <paths...> Upload one or more local media files to R2 in parallel\n --concurrency <N> Parallel R2 upload concurrency (default: 6)\n --chunk-size <N> Max patches per POST /api/batches request (default: 25)\n --summary <text> Batch revision summary (minimum 3 characters)\n --allow-deletes Emit delete patches for remote entities absent locally\n --delete <type:id,...> Explicitly soft-delete specific remote entities (e.g. narrative:nar_old)\n --include-living Include living person records in diff and sync\n --verify-live Probe live /api/bundle and every newly uploaded R2 object before revoking temp tokens\n --dry-run Compute diff and planned actions without mutating remote D1 or R2\n --json Emit structured JSON report\n -h, --help Show this help message";
5
6
  export declare const TELEMETRY_HELP = "Usage: kinloom telemetry report [options]\n\nSummarize local CLI invocation latency, cache hit rate, and failure rate by subcommand.\n\nOptions:\n --since-hours <N> Restrict summary to events recorded within the last N hours\n --file <path> Override telemetry JSONL file path (default: KINLOOM_TELEMETRY_FILE or ~/.cache/kinloom-telemetry/calls.jsonl)\n --json Emit structured JSON report instead of a ranked table\n -h, --help Show this help message";
7
+ export declare const DATES_HELP = "Usage: kinloom dates <subcommand> [arguments] [options]\n\nDeterministic UTC Gregorian calendar arithmetic (leap-year safe across 1600-2100+).\n\nSubcommands:\n weekday <YYYY-MM-DD> [--json]\n Print the weekday and formatted date (e.g., Monday, 7 February 1898)\n\n diff <start-YYYY-MM-DD> <end-YYYY-MM-DD> [--json]\n Compute exact totalDays, years, remainingDays, yearsMonthsDays, weekdays, and direction\n\n age <birth-YYYY-MM-DD> --at <YYYY-MM-DD> [--at <YYYY-MM-DD> ...] [--json]\n Compute completed age in years, remaining days, and total days at one or more dates\n (also accepts positional event date(s) when --at is omitted)\n\nOptions:\n --at <YYYY-MM-DD> Target event date for `age` (repeatable)\n --json Emit structured JSON output\n -h, --help Show this help message";
6
8
  //# sourceMappingURL=help.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../../src/commands/ops/help.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,wpBAYuB,CAAC;AAEjD,eAAO,MAAM,cAAc,+uBAaqB,CAAC;AAEjD,eAAO,MAAM,UAAU,q5BAiByB,CAAC;AAEjD,eAAO,MAAM,SAAS,myCAkB6B,CAAC;AAEpD,eAAO,MAAM,cAAc,qeAQiB,CAAC"}
1
+ {"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../../src/commands/ops/help.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,wpBAYuB,CAAC;AAEjD,eAAO,MAAM,cAAc,+uBAaqB,CAAC;AAEjD,eAAO,MAAM,UAAU,q5BAiByB,CAAC;AAEjD,eAAO,MAAM,WAAW,qpBAYgB,CAAC;AAEzC,eAAO,MAAM,SAAS,s5CAmB6B,CAAC;AAEpD,eAAO,MAAM,cAAc,qeAQiB,CAAC;AAE7C,eAAO,MAAM,UAAU,8zBAkBqB,CAAC"}
@@ -43,6 +43,19 @@ Options:
43
43
  --package-dir <dir> Custom research package directory (default: <repo>/research/people/<person_id>)
44
44
  --json Emit structured JSON scorecard
45
45
  -h, --help Show this help message`;
46
+ export const VERIFY_HELP = `Usage: kinloom verify [options]
47
+
48
+ Run full-archive invariants across local data/*.yaml files:
49
+ 1. Narrative inline citation integrity (0 dangling src_id or med_id)
50
+ 2. Place coordinate validation (-90..90, -180..180, finite, no (0, 0))
51
+ 3. SSN pattern scan across all data/*.yaml files
52
+ 4. Dual-mode compilation (private and public) with 0 review flags, 0 living leaks, and 0 duplicate residence_spans
53
+ 5. Media file presence on disk under archive-media/ or media/
54
+
55
+ Options:
56
+ --repo <dir> Archive repository root (default: current working directory)
57
+ --json Emit structured JSON scorecard
58
+ -h, --help Show this help message`;
46
59
  export const SYNC_HELP = `Usage: kinloom sync [options]
47
60
 
48
61
  Synchronize local YAML and media files to a live Cloudflare D1 + R2 Kinloom archive.
@@ -59,6 +72,7 @@ Options:
59
72
  --allow-deletes Emit delete patches for remote entities absent locally
60
73
  --delete <type:id,...> Explicitly soft-delete specific remote entities (e.g. narrative:nar_old)
61
74
  --include-living Include living person records in diff and sync
75
+ --verify-live Probe live /api/bundle and every newly uploaded R2 object before revoking temp tokens
62
76
  --dry-run Compute diff and planned actions without mutating remote D1 or R2
63
77
  --json Emit structured JSON report
64
78
  -h, --help Show this help message`;
@@ -71,4 +85,23 @@ Options:
71
85
  --file <path> Override telemetry JSONL file path (default: KINLOOM_TELEMETRY_FILE or ~/.cache/kinloom-telemetry/calls.jsonl)
72
86
  --json Emit structured JSON report instead of a ranked table
73
87
  -h, --help Show this help message`;
88
+ export const DATES_HELP = `Usage: kinloom dates <subcommand> [arguments] [options]
89
+
90
+ Deterministic UTC Gregorian calendar arithmetic (leap-year safe across 1600-2100+).
91
+
92
+ Subcommands:
93
+ weekday <YYYY-MM-DD> [--json]
94
+ Print the weekday and formatted date (e.g., Monday, 7 February 1898)
95
+
96
+ diff <start-YYYY-MM-DD> <end-YYYY-MM-DD> [--json]
97
+ Compute exact totalDays, years, remainingDays, yearsMonthsDays, weekdays, and direction
98
+
99
+ age <birth-YYYY-MM-DD> --at <YYYY-MM-DD> [--at <YYYY-MM-DD> ...] [--json]
100
+ Compute completed age in years, remaining days, and total days at one or more dates
101
+ (also accepts positional event date(s) when --at is omitted)
102
+
103
+ Options:
104
+ --at <YYYY-MM-DD> Target event date for \`age\` (repeatable)
105
+ --json Emit structured JSON output
106
+ -h, --help Show this help message`;
74
107
  //# sourceMappingURL=help.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"help.js","sourceRoot":"","sources":["../../../src/commands/ops/help.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;;;;;;;;;;;;gDAYoB,CAAC;AAEjD,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;;;;;;;gDAakB,CAAC;AAEjD,MAAM,CAAC,MAAM,UAAU,GAAG;;;;;;;;;;;;;;;;;gDAiBsB,CAAC;AAEjD,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;mDAkB0B,CAAC;AAEpD,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;;4CAQc,CAAC"}
1
+ {"version":3,"file":"help.js","sourceRoot":"","sources":["../../../src/commands/ops/help.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;;;;;;;;;;;;gDAYoB,CAAC;AAEjD,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;;;;;;;gDAakB,CAAC;AAEjD,MAAM,CAAC,MAAM,UAAU,GAAG;;;;;;;;;;;;;;;;;gDAiBsB,CAAC;AAEjD,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;;;;;;;;wCAYa,CAAC;AAEzC,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;mDAmB0B,CAAC;AAEpD,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;;4CAQc,CAAC;AAE7C,MAAM,CAAC,MAAM,UAAU,GAAG;;;;;;;;;;;;;;;;;;4CAkBkB,CAAC"}
@@ -2,5 +2,7 @@ export { TELEMETRY_HELP, computePercentile, formatTelemetryTable, getDefaultTele
2
2
  export { CONTEXT_HELP, REDACTED_RELATIVE_LABEL, extractYamlBlockId, formatPersonContextMarkdown, parseMatchingYamlBlocks, runContextCommand, splitTopLevelYamlList, type ContextAncestryFact, type ContextAncestrySource, type ContextAncestrySummary, type ContextCommandOptions, type ContextCommandResult, type ContextRecordImage, type ContextRelativeEntry, type ContextRelativeListItem, type ContextRelativeRecordImage, type PersonContextPayload, } from './context.js';
3
3
  export { INTEGRATE_HELP, auditBundlePrivacy, runIntegrateCommand, type IntegrateCommandOptions, type IntegrateCommandResult, type StagedScanReportItem, type UpsertCounts, } from './integrate.js';
4
4
  export { AUDIT_HELP, computeLifespan, formatAuditTextReport, inspectImageBuffer, parseAuditEdtf, runAuditCommand, runChronologyCheck, runPrivacyAndStyleScan, runScanInventoryCheck, runUncitedSentenceCheck, splitParagraphIntoSentences, type AuditCommandOptions, type AuditCommandResult, type AuditedScanFile, type ChronologyCheckResult, type CitationsCheckResult, type DryRunCheckResult, type InspectedImageHeader, type LifespanSummary, type ParsedAuditEdtf, type PrivacyAndStyleCheckResult, type ScansCheckResult, type UncitedSentenceItem, } from './audit.js';
5
- export { SYNC_DEPENDENCY_ORDER, SYNC_HELP, buildSanitizedLocalEntries, buildTempTokenCleanupSql, buildTempTokenInsertSql, computeSyncPlan, formatSyncReport, generateTempToken, indexRemoteSnapshot, loadWranglerBindings, normalizeSyncEntityType, parseDeleteTargets, parseEntityTypeList, runSyncCommand, sqlLiteral, stripJsoncCommentsAndTrailingCommas, type RemoteEntityEntry, type SanitizedLocalEntry, type SyncChangedSample, type SyncCleanupSummary, type SyncCommandOptions, type SyncCommandResult, type SyncDeleteTarget, type SyncPlan, type SyncRecompileSummary, type SyncSubmittedBatch, type SyncTypeCounts, type WranglerBindings, type WranglerExecOptions, type WranglerExecutor, } from './sync.js';
5
+ export { SYNC_DEPENDENCY_ORDER, SYNC_HELP, buildSanitizedLocalEntries, buildTempTokenCleanupSql, buildTempTokenInsertSql, computeSyncPlan, formatSyncReport, generateTempToken, indexRemoteSnapshot, loadWranglerBindings, normalizeSyncEntityType, parseDeleteTargets, parseEntityTypeList, runSyncCommand, sqlLiteral, stripJsoncCommentsAndTrailingCommas, type RemoteEntityEntry, type SanitizedLocalEntry, type SyncChangedSample, type SyncCleanupSummary, type SyncCommandOptions, type SyncCommandResult, type SyncDeleteTarget, type SyncLiveVerificationFailure, type SyncLiveVerificationSummary, type SyncPlan, type SyncRecompileSummary, type SyncSubmittedBatch, type SyncTypeCounts, type WranglerBindings, type WranglerExecOptions, type WranglerExecutor, } from './sync.js';
6
+ export { VERIFY_HELP, findDuplicateResidenceSpans, formatVerifyTextReport, runVerifyCommand, scanYamlFilesForSsns, validatePlaceCoordinates, verifyMediaFilesOnDisk, type VerifyCitationsResult, type VerifyCommandOptions, type VerifyCommandResult, type VerifyCompileResult, type VerifyInvalidPlace, type VerifyMediaResult, type VerifyMissingMediaFile, type VerifyPlacesResult, type VerifySsnHit, type VerifySsnResult, } from './verify.js';
7
+ export { DATES_HELP, MONTH_NAMES, WEEKDAY_NAMES, computeDateDiff, daysFromCivil, daysInMonth, formatLongDate, getIsoWeekday, getWeekdayName, isLeapYear, parseCalendarDate, runDatesCommand, type CalendarDate, type DatesAgeEntry, type DatesAgeResult, type DatesCommandOptions, type DatesCommandResult, type DatesDiffResult, type DatesWeekdayResult, type WeekdayName, type YearsMonthsDays, } from './dates.js';
6
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/ops/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,2BAA2B,EAC3B,oBAAoB,EACpB,6BAA6B,EAC7B,cAAc,EACd,oBAAoB,EACpB,yBAAyB,EACzB,wBAAwB,EACxB,KAAK,kBAAkB,EACvB,KAAK,KAAK,EACV,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,YAAY,EACZ,uBAAuB,EACvB,kBAAkB,EAClB,2BAA2B,EAC3B,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,EACrB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,GAC1B,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,YAAY,GAClB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,GACzB,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,qBAAqB,EACrB,SAAS,EACT,0BAA0B,EAC1B,wBAAwB,EACxB,uBAAuB,EACvB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,UAAU,EACV,mCAAmC,EACnC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,GACtB,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/ops/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,2BAA2B,EAC3B,oBAAoB,EACpB,6BAA6B,EAC7B,cAAc,EACd,oBAAoB,EACpB,yBAAyB,EACzB,wBAAwB,EACxB,KAAK,kBAAkB,EACvB,KAAK,KAAK,EACV,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,MAAM,gBAAgB,CAAC;AAExB,O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EACvB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,GACtB,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,WAAW,EACX,2BAA2B,EAC3B,sBAAsB,EACtB,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,sBAAsB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,eAAe,GACrB,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,UAAU,EACV,WAAW,EACX,aAAa,EACb,eAAe,EACf,aAAa,EACb,WAAW,EACX,cAAc,EACd,aAAa,EACb,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,eAAe,GACrB,MAAM,YAAY,CAAC"}
@@ -3,4 +3,6 @@ export { CONTEXT_HELP, REDACTED_RELATIVE_LABEL, extractYamlBlockId, formatPerson
3
3
  export { INTEGRATE_HELP, auditBundlePrivacy, runIntegrateCommand, } from './integrate.js';
4
4
  export { AUDIT_HELP, computeLifespan, formatAuditTextReport, inspectImageBuffer, parseAuditEdtf, runAuditCommand, runChronologyCheck, runPrivacyAndStyleScan, runScanInventoryCheck, runUncitedSentenceCheck, splitParagraphIntoSentences, } from './audit.js';
5
5
  export { SYNC_DEPENDENCY_ORDER, SYNC_HELP, buildSanitizedLocalEntries, buildTempTokenCleanupSql, buildTempTokenInsertSql, computeSyncPlan, formatSyncReport, generateTempToken, indexRemoteSnapshot, loadWranglerBindings, normalizeSyncEntityType, parseDeleteTargets, parseEntityTypeList, runSyncCommand, sqlLiteral, stripJsoncCommentsAndTrailingCommas, } from './sync.js';
6
+ export { VERIFY_HELP, findDuplicateResidenceSpans, formatVerifyTextReport, runVerifyCommand, scanYamlFilesForSsns, validatePlaceCoordinates, verifyMediaFilesOnDisk, } from './verify.js';
7
+ export { DATES_HELP, MONTH_NAMES, WEEKDAY_NAMES, computeDateDiff, daysFromCivil, daysInMonth, formatLongDate, getIsoWeekday, getWeekdayName, isLeapYear, parseCalendarDate, runDatesCommand, } from './dates.js';
6
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/ops/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,2BAA2B,EAC3B,oBAAoB,EACpB,6BAA6B,EAC7B,cAAc,EACd,oBAAoB,EACpB,yBAAyB,EACzB,wBAAwB,GASzB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,YAAY,EACZ,uBAAuB,EACvB,kBAAkB,EAClB,2BAA2B,EAC3B,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,GAWtB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,mBAAmB,GAKpB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,GAa5B,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,qBAAqB,EACrB,SAAS,EACT,0BAA0B,EAC1B,wBAAwB,EACxB,uBAAuB,EACvB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,UAAU,EACV,mCAAmC,GAepC,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/ops/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,2BAA2B,EAC3B,oBAAoB,EACpB,6BAA6B,EAC7B,cAAc,EACd,oBAAoB,EACpB,yBAAyB,EACzB,wBAAwB,GASzB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,YAAY,EACZ,uBAAuB,EACvB,kBAAkB,EAClB,2BAA2B,EAC3B,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,GAWtB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,mBAAmB,GAKpB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,GAa5B,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,qBAAqB,EACrB,SAAS,EACT,0BAA0B,EAC1B,wBAAwB,EACxB,uBAAuB,EACvB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,UAAU,EACV,mCAAmC,GAiBpC,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,WAAW,EACX,2BAA2B,EAC3B,sBAAsB,EACtB,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,sBAAsB,GAWvB,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,UAAU,EACV,WAAW,EACX,aAAa,EACb,eAAe,EACf,aAAa,EACb,WAAW,EACX,cAAc,EACd,aAAa,EACb,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,eAAe,GAUhB,MAAM,YAAY,CAAC"}
@@ -38,6 +38,11 @@ export interface IntegrateCommandResult {
38
38
  kinship: UpsertCounts;
39
39
  narratives: UpsertCounts;
40
40
  };
41
+ removedSourceIds: string[];
42
+ removedEventIds: string[];
43
+ removedMediaIds: string[];
44
+ removedEvents: number;
45
+ removedMedia: number;
41
46
  inlineCitationCount: number;
42
47
  stagedScans: StagedScanReportItem[];
43
48
  wouldWriteYamlFiles: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"integrate.d.ts","sourceRoot":"","sources":["../../../src/commands/ops/integrate.ts"],"names":[],"mappings":"AAGA,OAAO,EAgCL,KAAK,aAAa,EAClB,KAAK,SAAS,EAKf,MAAM,eAAe,CAAC;AA6CvB,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,QAAQ,GAAG,aAAa,GAAG,WAAW,CAAC;IAC/C,SAAS,EA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