@theronap/agnoclast-mcp 0.9.304 → 0.9.305
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/lib/file_capture.mjs +5 -2
- package/package.json +1 -1
package/lib/file_capture.mjs
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
//
|
|
16
16
|
// What counts as worth keeping, deliberately narrow so the nudge stays rare enough to be acted on:
|
|
17
17
|
// · a document (Word, Excel, PowerPoint, PDF…) the session created or edited — anywhere;
|
|
18
|
-
// · a
|
|
18
|
+
// · a data file (CSV, TSV) the session created or edited OUTSIDE a git repo. Inside a repo
|
|
19
19
|
// it is code or docs, and those already reach Agnoclast through commits;
|
|
20
20
|
// · a document or spreadsheet the session OPENED outside a repo — what the person handed it to work on.
|
|
21
21
|
// Never: anything under node_modules, .git, ~/.claude, ~/.cortex, temp folders, dotfiles, or over 50 MB.
|
|
@@ -37,7 +37,10 @@ export const MAX_BYTES = 50 * 1024 * 1024
|
|
|
37
37
|
export const RENUDGE_MS = 10 * 60 * 1000
|
|
38
38
|
|
|
39
39
|
const DOCUMENTS = new Set(['docx', 'doc', 'dotx', 'xlsx', 'xlsm', 'xls', 'pptx', 'ppt', 'potx', 'pdf', 'odt', 'ods', 'odp', 'rtf', 'pages', 'numbers', 'key'])
|
|
40
|
-
|
|
40
|
+
// Plain text, Markdown, HTML and images are NOT kept (Theron, 2026-11-03: a .md summary "is just a text file, not even
|
|
41
|
+
// Word. There's no reason to save that."). What text says belongs in a page, where it is linked and edited; a file is
|
|
42
|
+
// for what a page cannot be — a Word document, a workbook, a deck, a PDF, a data table.
|
|
43
|
+
const DELIVERABLES = new Set(['csv', 'tsv'])
|
|
41
44
|
const OPENED = new Set([...DOCUMENTS, 'csv', 'tsv'])
|
|
42
45
|
const MADE_TOOLS = new Set(['Write', 'Edit', 'MultiEdit', 'NotebookEdit'])
|
|
43
46
|
|
package/package.json
CHANGED