daftari 3.2.0 → 3.4.0
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.
- package/CHANGELOG.md +20 -0
- package/README.md +18 -2
- package/dist/access/rbac.d.ts +1 -0
- package/dist/access/rbac.d.ts.map +1 -1
- package/dist/access/rbac.js +8 -0
- package/dist/access/rbac.js.map +1 -1
- package/dist/backfill/derive.d.ts.map +1 -1
- package/dist/backfill/derive.js +2 -0
- package/dist/backfill/derive.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +18 -0
- package/dist/cli.js.map +1 -1
- package/dist/consolidate/call-budget.d.ts +2 -0
- package/dist/consolidate/call-budget.d.ts.map +1 -1
- package/dist/consolidate/call-budget.js +8 -1
- package/dist/consolidate/call-budget.js.map +1 -1
- package/dist/curation/lint-voice.d.ts.map +1 -1
- package/dist/curation/lint-voice.js +1 -0
- package/dist/curation/lint-voice.js.map +1 -1
- package/dist/curation/lint.d.ts +2 -1
- package/dist/curation/lint.d.ts.map +1 -1
- package/dist/curation/lint.js +42 -0
- package/dist/curation/lint.js.map +1 -1
- package/dist/distill/adapters/chat-transcript.d.ts +15 -0
- package/dist/distill/adapters/chat-transcript.d.ts.map +1 -0
- package/dist/distill/adapters/chat-transcript.js +182 -0
- package/dist/distill/adapters/chat-transcript.js.map +1 -0
- package/dist/distill/adapters/types.d.ts +39 -0
- package/dist/distill/adapters/types.d.ts.map +1 -0
- package/dist/distill/adapters/types.js +7 -0
- package/dist/distill/adapters/types.js.map +1 -0
- package/dist/distill/chunk.d.ts +34 -0
- package/dist/distill/chunk.d.ts.map +1 -0
- package/dist/distill/chunk.js +46 -0
- package/dist/distill/chunk.js.map +1 -0
- package/dist/distill/cli.d.ts +13 -0
- package/dist/distill/cli.d.ts.map +1 -0
- package/dist/distill/cli.js +568 -0
- package/dist/distill/cli.js.map +1 -0
- package/dist/distill/cost.d.ts +105 -0
- package/dist/distill/cost.d.ts.map +1 -0
- package/dist/distill/cost.js +168 -0
- package/dist/distill/cost.js.map +1 -0
- package/dist/distill/extract.d.ts +44 -0
- package/dist/distill/extract.d.ts.map +1 -0
- package/dist/distill/extract.js +153 -0
- package/dist/distill/extract.js.map +1 -0
- package/dist/distill/index.d.ts +73 -0
- package/dist/distill/index.d.ts.map +1 -0
- package/dist/distill/index.js +112 -0
- package/dist/distill/index.js.map +1 -0
- package/dist/distill/output-fence.d.ts +16 -0
- package/dist/distill/output-fence.d.ts.map +1 -0
- package/dist/distill/output-fence.js +38 -0
- package/dist/distill/output-fence.js.map +1 -0
- package/dist/distill/propose.d.ts +95 -0
- package/dist/distill/propose.d.ts.map +1 -0
- package/dist/distill/propose.js +237 -0
- package/dist/distill/propose.js.map +1 -0
- package/dist/distill/state.d.ts +92 -0
- package/dist/distill/state.d.ts.map +1 -0
- package/dist/distill/state.js +198 -0
- package/dist/distill/state.js.map +1 -0
- package/dist/frontmatter/schema.d.ts.map +1 -1
- package/dist/frontmatter/schema.js +1 -0
- package/dist/frontmatter/schema.js.map +1 -1
- package/dist/frontmatter/types.d.ts +2 -1
- package/dist/frontmatter/types.d.ts.map +1 -1
- package/dist/frontmatter/types.js +1 -0
- package/dist/frontmatter/types.js.map +1 -1
- package/dist/interview/transcript.d.ts.map +1 -1
- package/dist/interview/transcript.js +1 -0
- package/dist/interview/transcript.js.map +1 -1
- package/dist/okf/map.d.ts.map +1 -1
- package/dist/okf/map.js +1 -0
- package/dist/okf/map.js.map +1 -1
- package/dist/search/contested.d.ts +1 -1
- package/dist/search/contested.d.ts.map +1 -1
- package/dist/search/contested.js +4 -3
- package/dist/search/contested.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +2 -0
- package/dist/server.js.map +1 -1
- package/dist/sleep/index.d.ts.map +1 -1
- package/dist/sleep/index.js +14 -0
- package/dist/sleep/index.js.map +1 -1
- package/dist/sleep/run-ledger.d.ts +17 -0
- package/dist/sleep/run-ledger.d.ts.map +1 -0
- package/dist/sleep/run-ledger.js +119 -0
- package/dist/sleep/run-ledger.js.map +1 -0
- package/dist/sleep/runs-cli.d.ts +2 -0
- package/dist/sleep/runs-cli.d.ts.map +1 -0
- package/dist/sleep/runs-cli.js +69 -0
- package/dist/sleep/runs-cli.js.map +1 -0
- package/dist/tools/backlinks.d.ts +34 -0
- package/dist/tools/backlinks.d.ts.map +1 -0
- package/dist/tools/backlinks.js +261 -0
- package/dist/tools/backlinks.js.map +1 -0
- package/dist/tools/erase.d.ts +15 -0
- package/dist/tools/erase.d.ts.map +1 -0
- package/dist/tools/erase.js +127 -0
- package/dist/tools/erase.js.map +1 -0
- package/dist/tools/read.d.ts.map +1 -1
- package/dist/tools/read.js +2 -0
- package/dist/tools/read.js.map +1 -1
- package/dist/tools/write.d.ts.map +1 -1
- package/dist/tools/write.js +1 -0
- package/dist/tools/write.js.map +1 -1
- package/dist/utils/config.d.ts +18 -0
- package/dist/utils/config.d.ts.map +1 -1
- package/dist/utils/config.js +71 -0
- package/dist/utils/config.js.map +1 -1
- package/dist/utils/git-erase.d.ts +35 -0
- package/dist/utils/git-erase.d.ts.map +1 -0
- package/dist/utils/git-erase.js +179 -0
- package/dist/utils/git-erase.js.map +1 -0
- package/dist/utils/vault-gitignore.d.ts +1 -1
- package/dist/utils/vault-gitignore.d.ts.map +1 -1
- package/dist/utils/vault-gitignore.js +5 -0
- package/dist/utils/vault-gitignore.js.map +1 -1
- package/dist/view/index.d.ts +3 -0
- package/dist/view/index.d.ts.map +1 -0
- package/dist/view/index.js +70 -0
- package/dist/view/index.js.map +1 -0
- package/dist/view/pages.d.ts +45 -0
- package/dist/view/pages.d.ts.map +1 -0
- package/dist/view/pages.js +126 -0
- package/dist/view/pages.js.map +1 -0
- package/dist/view/render.d.ts +4 -0
- package/dist/view/render.d.ts.map +1 -0
- package/dist/view/render.js +40 -0
- package/dist/view/render.js.map +1 -0
- package/dist/view/server.d.ts +15 -0
- package/dist/view/server.d.ts.map +1 -0
- package/dist/view/server.js +136 -0
- package/dist/view/server.js.map +1 -0
- package/package.json +10 -4
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
// src/distill/adapters/chat-transcript.ts
|
|
2
|
+
//
|
|
3
|
+
// SourceAdapter for generic messaging-app chat exports (.txt).
|
|
4
|
+
// Supports both iOS export format ([M/D/YY, H:MM:SS AM/PM] Sender: body)
|
|
5
|
+
// and Android export format (M/D/YY, HH:MM - Sender: body).
|
|
6
|
+
//
|
|
7
|
+
// Parser rules:
|
|
8
|
+
// - Unrecognized lines are treated as continuations of the previous message.
|
|
9
|
+
// - Bidi control characters are stripped from sender names and body text.
|
|
10
|
+
// - Timestamps are normalized to ISO 8601 (YYYY-MM-DDTHH:MM:SS).
|
|
11
|
+
// - 2-digit years are expanded: "26" → "2026".
|
|
12
|
+
// - Message bodies are classified into MessageType by content pattern.
|
|
13
|
+
// ---------------------------------------------------------------------------
|
|
14
|
+
// Bidi stripping
|
|
15
|
+
// ---------------------------------------------------------------------------
|
|
16
|
+
// Unicode bidirectional control characters present in some messaging exports.
|
|
17
|
+
// U+200E, U+200F, U+202A–U+202C, U+2066–U+2069
|
|
18
|
+
const BIDI_RE = /[\u200E\u200F\u202A-\u202C\u2066-\u2069]/g;
|
|
19
|
+
function stripBidi(s) {
|
|
20
|
+
return s.replace(BIDI_RE, "");
|
|
21
|
+
}
|
|
22
|
+
// ---------------------------------------------------------------------------
|
|
23
|
+
// Line-start patterns
|
|
24
|
+
// ---------------------------------------------------------------------------
|
|
25
|
+
// iOS: optional leading bidi chars, then [M/D/YY, H:MM:SS AM/PM] Sender: body
|
|
26
|
+
// Groups: 1=date, 2=time (with optional seconds), 3=sender, 4=body
|
|
27
|
+
const IOS_LINE_RE = /^[\u200E\u200F\u202A-\u202C\u2066-\u2069]*\[(\d{1,2}\/\d{1,2}\/\d{2,4}), (\d{1,2}:\d{2}(?::\d{2})? ?[AP]M)\] (.+?): (.*)$/;
|
|
28
|
+
// Android: M/D/YY, HH:MM - Sender: body (24-hour, no seconds)
|
|
29
|
+
// Groups: 1=date, 2=time (HH:MM), 3=sender, 4=body
|
|
30
|
+
const ANDROID_LINE_RE = /^(\d{1,2}\/\d{1,2}\/\d{2,4}), (\d{2}:\d{2}) - (.+?): (.*)$/;
|
|
31
|
+
// ---------------------------------------------------------------------------
|
|
32
|
+
// Timestamp normalisation
|
|
33
|
+
// ---------------------------------------------------------------------------
|
|
34
|
+
function expandYear(y) {
|
|
35
|
+
const n = Number.parseInt(y, 10);
|
|
36
|
+
if (y.length <= 2)
|
|
37
|
+
return n < 100 ? 2000 + n : n;
|
|
38
|
+
return n;
|
|
39
|
+
}
|
|
40
|
+
function pad2(n) {
|
|
41
|
+
return n.toString().padStart(2, "0");
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Parse an iOS-style time string ("6:57:23 PM", "9:05 AM") to { h, m, s },
|
|
45
|
+
* or null when the hour is outside the valid 12-hour range (1–12).
|
|
46
|
+
* Handles 12-hour clock correctly: 12 AM → 0, 12 PM → 12.
|
|
47
|
+
* Returns null for malformed inputs such as "13:00:00 PM" (raw hour 13),
|
|
48
|
+
* which would otherwise produce an out-of-range ISO hour like 25.
|
|
49
|
+
*/
|
|
50
|
+
function parseIosTime(t) {
|
|
51
|
+
const cleaned = t.trim();
|
|
52
|
+
const isPM = /PM$/i.test(cleaned);
|
|
53
|
+
const isAM = /AM$/i.test(cleaned);
|
|
54
|
+
const timePart = cleaned.replace(/ ?[AP]M$/i, "").trim();
|
|
55
|
+
const parts = timePart.split(":").map((p) => Number.parseInt(p, 10));
|
|
56
|
+
let h = parts[0];
|
|
57
|
+
const m = parts[1] ?? 0;
|
|
58
|
+
const s = parts[2] ?? 0;
|
|
59
|
+
// A valid 12-hour clock hour is 1–12; 0 and 13+ are not representable.
|
|
60
|
+
if (h < 1 || h > 12)
|
|
61
|
+
return null;
|
|
62
|
+
if (isAM && h === 12)
|
|
63
|
+
h = 0;
|
|
64
|
+
else if (isPM && h !== 12)
|
|
65
|
+
h += 12;
|
|
66
|
+
return { h, m, s };
|
|
67
|
+
}
|
|
68
|
+
function iosToIso(date, time) {
|
|
69
|
+
const [mStr, dStr, yStr] = date.split("/");
|
|
70
|
+
const year = expandYear(yStr);
|
|
71
|
+
const month = Number.parseInt(mStr, 10);
|
|
72
|
+
const day = Number.parseInt(dStr, 10);
|
|
73
|
+
const parsed = parseIosTime(time);
|
|
74
|
+
if (parsed === null)
|
|
75
|
+
return null;
|
|
76
|
+
const { h, m, s } = parsed;
|
|
77
|
+
return `${year}-${pad2(month)}-${pad2(day)}T${pad2(h)}:${pad2(m)}:${pad2(s)}`;
|
|
78
|
+
}
|
|
79
|
+
function androidToIso(date, time) {
|
|
80
|
+
const [mStr, dStr, yStr] = date.split("/");
|
|
81
|
+
const year = expandYear(yStr);
|
|
82
|
+
const month = Number.parseInt(mStr, 10);
|
|
83
|
+
const day = Number.parseInt(dStr, 10);
|
|
84
|
+
const [hStr, mStr2] = time.split(":");
|
|
85
|
+
const h = Number.parseInt(hStr, 10);
|
|
86
|
+
const min = Number.parseInt(mStr2, 10);
|
|
87
|
+
return `${year}-${pad2(month)}-${pad2(day)}T${pad2(h)}:${pad2(min)}:00`;
|
|
88
|
+
}
|
|
89
|
+
// ---------------------------------------------------------------------------
|
|
90
|
+
// Body classification
|
|
91
|
+
// ---------------------------------------------------------------------------
|
|
92
|
+
const OMITTED_RE = /\b(image|document|audio|video|sticker|GIF|Contact card) omitted\b/i;
|
|
93
|
+
const ATTACHED_RE = /^<attached: (.+?)>$/;
|
|
94
|
+
const EDITED_SUFFIX = "<This message was edited>";
|
|
95
|
+
// Classification is first-match: the order below is significant.
|
|
96
|
+
// A body is tested against each pattern in sequence and the first match wins.
|
|
97
|
+
// Order: system → deleted → call → attached → omitted → edited → text.
|
|
98
|
+
function classifyBody(body) {
|
|
99
|
+
// End-to-end encryption system notice
|
|
100
|
+
if (body.includes("end-to-end encrypted")) {
|
|
101
|
+
return { type: "system", text: body, attachment: null };
|
|
102
|
+
}
|
|
103
|
+
// Deleted messages
|
|
104
|
+
if (body === "You deleted this message." || body === "This message was deleted.") {
|
|
105
|
+
return { type: "deleted", text: body, attachment: null };
|
|
106
|
+
}
|
|
107
|
+
// Voice / video calls
|
|
108
|
+
if (body.startsWith("Video call") || body.startsWith("Voice call")) {
|
|
109
|
+
return { type: "call", text: body, attachment: null };
|
|
110
|
+
}
|
|
111
|
+
// <attached: filename>
|
|
112
|
+
const attachedMatch = ATTACHED_RE.exec(body);
|
|
113
|
+
if (attachedMatch) {
|
|
114
|
+
return { type: "attachment", text: body, attachment: attachedMatch[1] };
|
|
115
|
+
}
|
|
116
|
+
// "image omitted" / "document omitted" / etc.
|
|
117
|
+
if (OMITTED_RE.test(body)) {
|
|
118
|
+
return { type: "attachment", text: body, attachment: null };
|
|
119
|
+
}
|
|
120
|
+
// Edited message — strip marker, trim trailing space
|
|
121
|
+
if (body.endsWith(EDITED_SUFFIX)) {
|
|
122
|
+
const text = body.slice(0, body.length - EDITED_SUFFIX.length).trimEnd();
|
|
123
|
+
return { type: "edited", text, attachment: null };
|
|
124
|
+
}
|
|
125
|
+
return { type: "text", text: body, attachment: null };
|
|
126
|
+
}
|
|
127
|
+
// ---------------------------------------------------------------------------
|
|
128
|
+
// Adapter
|
|
129
|
+
// ---------------------------------------------------------------------------
|
|
130
|
+
/**
|
|
131
|
+
* Parses a messaging-app chat-export `.txt` file into `NormalizedMessage[]`.
|
|
132
|
+
*
|
|
133
|
+
* Supports both iOS (`[M/D/YY, H:MM:SS AM/PM] Sender: body`) and Android
|
|
134
|
+
* (`M/D/YY, HH:MM - Sender: body`) export formats. Continuation lines
|
|
135
|
+
* (those without a leading timestamp bracket) are appended to the previous
|
|
136
|
+
* message's text. Bidi marks are stripped; timestamps are normalised to ISO
|
|
137
|
+
* 8601.
|
|
138
|
+
*/
|
|
139
|
+
export class ChatTranscriptAdapter {
|
|
140
|
+
sourceId() {
|
|
141
|
+
return "chat-transcript";
|
|
142
|
+
}
|
|
143
|
+
parse(raw) {
|
|
144
|
+
if (!raw.trim())
|
|
145
|
+
return [];
|
|
146
|
+
const messages = [];
|
|
147
|
+
const lines = raw.split("\n");
|
|
148
|
+
for (const line of lines) {
|
|
149
|
+
const iosMatch = IOS_LINE_RE.exec(line);
|
|
150
|
+
if (iosMatch) {
|
|
151
|
+
const [, date, time, rawSender, rawBody] = iosMatch;
|
|
152
|
+
const ts = iosToIso(date, time);
|
|
153
|
+
// Malformed timestamp (e.g. hour outside 1–12): skip the line entirely.
|
|
154
|
+
if (ts === null)
|
|
155
|
+
continue;
|
|
156
|
+
const sender = stripBidi(rawSender.trim());
|
|
157
|
+
const body = stripBidi(rawBody);
|
|
158
|
+
const { type, text, attachment } = classifyBody(body);
|
|
159
|
+
messages.push({ ts, sender, type, text, attachment });
|
|
160
|
+
continue;
|
|
161
|
+
}
|
|
162
|
+
const androidMatch = ANDROID_LINE_RE.exec(line);
|
|
163
|
+
if (androidMatch) {
|
|
164
|
+
const [, date, time, rawSender, rawBody] = androidMatch;
|
|
165
|
+
const sender = stripBidi(rawSender.trim());
|
|
166
|
+
const body = stripBidi(rawBody);
|
|
167
|
+
const ts = androidToIso(date, time);
|
|
168
|
+
const { type, text, attachment } = classifyBody(body);
|
|
169
|
+
messages.push({ ts, sender, type, text, attachment });
|
|
170
|
+
continue;
|
|
171
|
+
}
|
|
172
|
+
// Continuation: append to the last message's text.
|
|
173
|
+
if (messages.length > 0) {
|
|
174
|
+
const last = messages[messages.length - 1];
|
|
175
|
+
last.text += `\n${line}`;
|
|
176
|
+
}
|
|
177
|
+
// No prior message: ignore the line (orphan continuation).
|
|
178
|
+
}
|
|
179
|
+
return messages;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
//# sourceMappingURL=chat-transcript.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-transcript.js","sourceRoot":"","sources":["../../../src/distill/adapters/chat-transcript.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,EAAE;AACF,+DAA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E,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;gBACtD,SAAS;YACX,CAAC;YAED,MAAM,YAAY,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAChD,IAAI,YAAY,EAAE,CAAC;gBACjB,MAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,GAAG,YAAY,CAAC;gBACxD,MAAM,MAAM,GAAG,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC;gBAC3C,MAAM,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC;gBAChC,MAAM,EAAE,GAAG,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;gBACpC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;gBACtD,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;gBACtD,SAAS;YACX,CAAC;YAED,mDAAmD;YACnD,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACxB,MAAM,IAAI,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;gBAC3C,IAAI,CAAC,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAC3B,CAAC;YACD,2DAA2D;QAC7D,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/** Structural classification of a single chat message body. */
|
|
2
|
+
export type MessageType = "text" | "system" | "call" | "attachment" | "edited" | "deleted";
|
|
3
|
+
/** One normalized message from any supported chat-export source. */
|
|
4
|
+
export interface NormalizedMessage {
|
|
5
|
+
/** ISO 8601 timestamp: `YYYY-MM-DDTHH:MM:SS` (local time as exported). */
|
|
6
|
+
ts: string;
|
|
7
|
+
/** Display name of the sender, bidi marks stripped. */
|
|
8
|
+
sender: string;
|
|
9
|
+
/** Structural classification of the message body. */
|
|
10
|
+
type: MessageType;
|
|
11
|
+
/** Message text (edited-marker stripped when type === "edited"). */
|
|
12
|
+
text: string;
|
|
13
|
+
/**
|
|
14
|
+
* Filename captured from `<attached: …>`, or `null` when the attachment is
|
|
15
|
+
* present but unnamed (e.g. "image omitted"). Always `null` for non-attachment
|
|
16
|
+
* types.
|
|
17
|
+
*/
|
|
18
|
+
attachment: string | null;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Contract every chat-export adapter must satisfy.
|
|
22
|
+
*
|
|
23
|
+
* Implementations are pure functions over a raw string: no I/O, no state.
|
|
24
|
+
* The caller is responsible for reading the file; the adapter only parses.
|
|
25
|
+
*/
|
|
26
|
+
export interface SourceAdapter {
|
|
27
|
+
/**
|
|
28
|
+
* Stable identifier for this adapter (e.g. `"chat-transcript"`).
|
|
29
|
+
* Used for logging and adapter-registry lookup.
|
|
30
|
+
*/
|
|
31
|
+
sourceId(): string;
|
|
32
|
+
/**
|
|
33
|
+
* Parse the raw content of a chat export and return normalized messages in
|
|
34
|
+
* chronological order. Must not throw on malformed input — skip unparseable
|
|
35
|
+
* lines instead. Empty input returns `[]`.
|
|
36
|
+
*/
|
|
37
|
+
parse(raw: string): NormalizedMessage[];
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/distill/adapters/types.ts"],"names":[],"mappings":"AAMA,+DAA+D;AAC/D,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,YAAY,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE3F,oEAAoE;AACpE,MAAM,WAAW,iBAAiB;IAChC,0EAA0E;IAC1E,EAAE,EAAE,MAAM,CAAC;IACX,uDAAuD;IACvD,MAAM,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,IAAI,EAAE,WAAW,CAAC;IAClB,oEAAoE;IACpE,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,QAAQ,IAAI,MAAM,CAAC;IAEnB;;;;OAIG;IACH,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAAC;CACzC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// src/distill/adapters/types.ts
|
|
2
|
+
//
|
|
3
|
+
// Shared types for the distill source-adapter interface. Every adapter
|
|
4
|
+
// implements `SourceAdapter` and produces an array of `NormalizedMessage`
|
|
5
|
+
// records that the distill pipeline can chunk, extract, and propose from.
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/distill/adapters/types.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,EAAE;AACF,uEAAuE;AACvE,0EAA0E;AAC1E,0EAA0E"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { NormalizedMessage } from "./adapters/types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Number of consecutive messages per chunk. Turn-window chunking is the
|
|
4
|
+
* deliberately simple v1 strategy; the strategy itself (window size, overlap,
|
|
5
|
+
* topic-boundary splitting) is a deferred-to-implementation knob — revisit
|
|
6
|
+
* once real transcripts show where claims straddle window boundaries.
|
|
7
|
+
*/
|
|
8
|
+
export declare const CHUNK_WINDOW = 30;
|
|
9
|
+
/** One turn-window over the source message array. */
|
|
10
|
+
export interface Chunk {
|
|
11
|
+
/** 0-based position of this chunk within the run. */
|
|
12
|
+
index: number;
|
|
13
|
+
/** Index of the first message in the source array (inclusive). */
|
|
14
|
+
startIndex: number;
|
|
15
|
+
/** Index of the last message in the source array (inclusive). */
|
|
16
|
+
endIndex: number;
|
|
17
|
+
/** Timestamp of the chunk's first message — human-readable locator. */
|
|
18
|
+
firstTs: string;
|
|
19
|
+
/** The messages in this window. */
|
|
20
|
+
messages: NormalizedMessage[];
|
|
21
|
+
/** Rendered transcript of the window, fed to the extraction prompt. */
|
|
22
|
+
text: string;
|
|
23
|
+
/**
|
|
24
|
+
* Stable anchor: hex digest of (start index, first ts, rendered text).
|
|
25
|
+
* Same source ⇒ same anchors on a re-run; content edits change it.
|
|
26
|
+
*/
|
|
27
|
+
anchor: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Split `messages` into consecutive windows of `window` messages. The final
|
|
31
|
+
* chunk may be shorter. Empty input returns `[]`. Pure — no I/O, no LLM.
|
|
32
|
+
*/
|
|
33
|
+
export declare function chunkMessages(messages: NormalizedMessage[], window?: number): Chunk[];
|
|
34
|
+
//# sourceMappingURL=chunk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunk.d.ts","sourceRoot":"","sources":["../../src/distill/chunk.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;;;;GAKG;AACH,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B,qDAAqD;AACrD,MAAM,WAAW,KAAK;IACpB,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,UAAU,EAAE,MAAM,CAAC;IACnB,iEAAiE;IACjE,QAAQ,EAAE,MAAM,CAAC;IACjB,uEAAuE;IACvE,OAAO,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAYD;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,iBAAiB,EAAE,EAC7B,MAAM,GAAE,MAAqB,GAC5B,KAAK,EAAE,CAiBT"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// src/distill/chunk.ts
|
|
2
|
+
//
|
|
3
|
+
// Turn-window chunker (U3, distill stage 2). Splits a chronological
|
|
4
|
+
// NormalizedMessage[] into fixed-size windows of consecutive messages. Each
|
|
5
|
+
// chunk carries locator info (index range, first-message ts) plus a stable
|
|
6
|
+
// content-derived anchor, so downstream claim keys survive re-runs of the
|
|
7
|
+
// same source (the load-bearing contract for U5's idempotent upsert).
|
|
8
|
+
import { sha256Hex } from "../utils/hash.js";
|
|
9
|
+
/**
|
|
10
|
+
* Number of consecutive messages per chunk. Turn-window chunking is the
|
|
11
|
+
* deliberately simple v1 strategy; the strategy itself (window size, overlap,
|
|
12
|
+
* topic-boundary splitting) is a deferred-to-implementation knob — revisit
|
|
13
|
+
* once real transcripts show where claims straddle window boundaries.
|
|
14
|
+
*/
|
|
15
|
+
export const CHUNK_WINDOW = 30;
|
|
16
|
+
// One line per message: "[ts] sender: text". Attachment-only messages render
|
|
17
|
+
// their filename so the LLM sees that something was shared.
|
|
18
|
+
function renderMessage(m) {
|
|
19
|
+
const body = m.type === "attachment" && m.text.length === 0
|
|
20
|
+
? `<attached: ${m.attachment ?? "file"}>`
|
|
21
|
+
: m.text;
|
|
22
|
+
return `[${m.ts}] ${m.sender}: ${body}`;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Split `messages` into consecutive windows of `window` messages. The final
|
|
26
|
+
* chunk may be shorter. Empty input returns `[]`. Pure — no I/O, no LLM.
|
|
27
|
+
*/
|
|
28
|
+
export function chunkMessages(messages, window = CHUNK_WINDOW) {
|
|
29
|
+
const chunks = [];
|
|
30
|
+
for (let start = 0; start < messages.length; start += window) {
|
|
31
|
+
const slice = messages.slice(start, start + window);
|
|
32
|
+
const text = slice.map(renderMessage).join("\n");
|
|
33
|
+
const firstTs = slice[0].ts;
|
|
34
|
+
chunks.push({
|
|
35
|
+
index: chunks.length,
|
|
36
|
+
startIndex: start,
|
|
37
|
+
endIndex: start + slice.length - 1,
|
|
38
|
+
firstTs,
|
|
39
|
+
messages: slice,
|
|
40
|
+
text,
|
|
41
|
+
anchor: sha256Hex(`${start}|${firstTs}|${text}`).slice(0, 12),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
return chunks;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunk.js","sourceRoot":"","sources":["../../src/distill/chunk.ts"],"names":[],"mappings":"AAAA,uBAAuB;AACvB,EAAE;AACF,oEAAoE;AACpE,4EAA4E;AAC5E,2EAA2E;AAC3E,0EAA0E;AAC1E,sEAAsE;AAEtE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG7C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,EAAE,CAAC;AAuB/B,6EAA6E;AAC7E,4DAA4D;AAC5D,SAAS,aAAa,CAAC,CAAoB;IACzC,MAAM,IAAI,GACR,CAAC,CAAC,IAAI,KAAK,YAAY,IAAI,CAAC,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC;QAC5C,CAAC,CAAC,cAAc,CAAC,CAAC,UAAU,IAAI,MAAM,GAAG;QACzC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACb,OAAO,IAAI,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;AAC1C,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,aAAa,CAC3B,QAA6B,EAC7B,SAAiB,YAAY;IAE7B,MAAM,MAAM,GAAY,EAAE,CAAC;IAC3B,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,MAAM,EAAE,KAAK,IAAI,MAAM,EAAE,CAAC;QAC7D,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC,CAAC;QACpD,MAAM,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5B,MAAM,CAAC,IAAI,CAAC;YACV,KAAK,EAAE,MAAM,CAAC,MAAM;YACpB,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE,KAAK,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC;YAClC,OAAO;YACP,QAAQ,EAAE,KAAK;YACf,IAAI;YACJ,MAAM,EAAE,SAAS,CAAC,GAAG,KAAK,IAAI,OAAO,IAAI,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC;SAC9D,CAAC,CAAC;IACL,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `daftari distill` CLI front door.
|
|
3
|
+
*
|
|
4
|
+
* Parses argv, validates inputs, then routes to one of:
|
|
5
|
+
* --plan (default): zero-spend pre-flight estimate.
|
|
6
|
+
* --propose: full LLM-driven extraction + staged proposals.
|
|
7
|
+
* --review: batch-ratify a prior run's staged proposals.
|
|
8
|
+
*
|
|
9
|
+
* Returns an exit code (0/2/3/4); the caller sets process.exitCode.
|
|
10
|
+
* Diagnostics go to stderr; clean output goes to stdout.
|
|
11
|
+
*/
|
|
12
|
+
export declare function runDistill(argv: string[]): Promise<number>;
|
|
13
|
+
//# sourceMappingURL=cli.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/distill/cli.ts"],"names":[],"mappings":"AA2KA;;;;;;;;;;GAUG;AACH,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAsXhE"}
|