wiki-formant 0.98.0 → 0.98.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.
package/dist/corpus.d.ts CHANGED
@@ -7,9 +7,13 @@ export interface CorpusSection {
7
7
  /** Heading, URL, date and body, exactly as the document will carry them. */
8
8
  section: string;
9
9
  }
10
- /** `maxChars` bounds: the default, the floor and the ceiling. Quote them in the tool's schema. */
10
+ /**
11
+ * `maxChars` bounds: the default, the floor and the ceiling. Quote them in the
12
+ * tool's schema. The default slice, with its JSON around it, stays inside
13
+ * `payloadBudget`'s 120,000, since a call with no arguments is weighed there.
14
+ */
11
15
  export declare const CORPUS_BUDGET: {
12
- readonly default: 200000;
16
+ readonly default: 100000;
13
17
  readonly min: 1000;
14
18
  readonly max: 1000000;
15
19
  };
package/dist/corpus.js CHANGED
@@ -11,8 +11,12 @@
11
11
  //
12
12
  // The corpus itself — which rows, in what order, how a page becomes a section —
13
13
  // stays with each wiki. This is the arithmetic over the sections it hands in.
14
- /** `maxChars` bounds: the default, the floor and the ceiling. Quote them in the tool's schema. */
15
- export const CORPUS_BUDGET = { default: 200_000, min: 1_000, max: 1_000_000 };
14
+ /**
15
+ * `maxChars` bounds: the default, the floor and the ceiling. Quote them in the
16
+ * tool's schema. The default slice, with its JSON around it, stays inside
17
+ * `payloadBudget`'s 120,000, since a call with no arguments is weighed there.
18
+ */
19
+ export const CORPUS_BUDGET = { default: 100_000, min: 1_000, max: 1_000_000 };
16
20
  const CLIP_MARKER = '\n\n[…page clipped at maxChars…]';
17
21
  /**
18
22
  * A preflight (`sizeOnly`) or one page-aligned slice of `sections`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wiki-formant",
3
- "version": "0.98.0",
3
+ "version": "0.98.1",
4
4
  "description": "The portable half of a wiki: derived taxonomy and facet controls, a version-negotiating MCP transport, markdown twins, block rendering, a rich-text editor engine, conditional-GET plumbing, and the headers and CSP every origin sends.",
5
5
  "type": "module",
6
6
  "license": "MIT",