@arabold/docs-mcp-server 3.0.1 → 3.2.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.
@@ -0,0 +1,10 @@
1
+ -- Records how many pages of a version produced stored content, alongside the
2
+ -- existing processed and total counters.
3
+ --
4
+ -- Existing rows default to NULL rather than 0: a job written before this column
5
+ -- existed does not know how many of its pages produced content, and 0 would
6
+ -- assert that it produced none. Consumers render NULL as unknown, and the value
7
+ -- is populated the next time that version is indexed.
8
+
9
+ -- @migration-step add progress_pages_indexed to versions
10
+ ALTER TABLE versions ADD COLUMN progress_pages_indexed INTEGER DEFAULT NULL;
@@ -0,0 +1,14 @@
1
+ -- Records where a page's content was actually retrieved from, when that differs
2
+ -- from the URL the page is recorded under.
3
+ --
4
+ -- A page's identity is an assertion about where it lives; the retrieval location
5
+ -- is a fact about where its bytes came from. They coincide for most pages and
6
+ -- diverge when a representation is served elsewhere — a published Markdown file
7
+ -- recorded under the page it represents, for example.
8
+ --
9
+ -- Existing rows stay NULL, meaning "retrieved from its own URL", which is true
10
+ -- of every page written before representations were resolved to a shared
11
+ -- identity. Readers coalesce NULL to `url`, so no backfill is required.
12
+
13
+ -- @migration-step add content_url to pages
14
+ ALTER TABLE pages ADD COLUMN content_url TEXT DEFAULT NULL;