document360-writer 0.5.39 → 0.5.41

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.
@@ -46,6 +46,10 @@ export declare function previewLines(partitions: Partition[], estimate: CostEsti
46
46
  * an index).
47
47
  */
48
48
  export declare function summaryLines(results: PartitionResult[], partitions: Partition[], usage: 'api' | 'subscription'): string[];
49
+ /** After a write run, grade JUST the authored articles with the doc-checker (deterministic, no tokens) so
50
+ every write is self-checked, not only on a manual /lint. Returns a one-line summary when issues are
51
+ found (pointing at /lint), or null when clean. `targets` are docsDir-relative; `docsDir` is repo-relative. */
52
+ export declare function autoLintLine(cwd: string, docsDir: string, targets: string[]): string | null;
49
53
  /** Resolve the docsDir-relative article paths a /write invocation targets, from the pinned plan.
50
54
  Returns the target list + context for messaging. Single path → that article (forced, even if it
51
55
  exists); scope/all → not-yet-written articles only. FS-touching (existence checks). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document360-writer",
3
- "version": "0.5.39",
3
+ "version": "0.5.41",
4
4
  "description": "Standalone documentation agent CLI. Reads your code, writes your docs. Specialized for Document360 publishing.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -34,7 +34,7 @@
34
34
  "@inquirer/prompts": "^8.4.3",
35
35
  "commander": "^14.0.3",
36
36
  "diff": "^8.0.4",
37
- "document360-engine": "^0.2.77",
37
+ "document360-engine": "^0.2.79",
38
38
  "ink": "^5.2.1",
39
39
  "picocolors": "^1.1.1",
40
40
  "react": "^18.3.1",