document360-writer 0.5.22 → 0.5.24

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.
@@ -3,4 +3,8 @@
3
3
  * the REPL console.logs them; the TUI pushes them as one note (Ink-safe).
4
4
  */
5
5
  import type { SyncStatusReport } from 'document360-engine';
6
- export declare function renderSyncReport(report: SyncStatusReport): string[];
6
+ /** Human-friendly elapsed time: "0.8s", "12.3s", "1m 30s". */
7
+ export declare function formatDuration(ms: number): string;
8
+ /** `elapsedMs` (optional) appends "· synced in <t>" to the footer — surfaces the manifest fast path's win
9
+ (a quiet sync is ~1 call → sub-second; a full fetch is visibly longer). */
10
+ export declare function renderSyncReport(report: SyncStatusReport, elapsedMs?: number): string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document360-writer",
3
- "version": "0.5.22",
3
+ "version": "0.5.24",
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.65",
37
+ "document360-engine": "^0.2.66",
38
38
  "ink": "^5.2.1",
39
39
  "picocolors": "^1.1.1",
40
40
  "react": "^18.3.1",