document360-writer 0.5.42 → 0.5.44
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/cli.js +81 -81
- package/dist/commands/lint.d.ts +1 -1
- package/dist/commands/review.d.ts +9 -0
- package/package.json +2 -2
package/dist/commands/lint.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ import type { ReplContext } from '../repl.js';
|
|
|
3
3
|
import type { SlashCommandResult } from './index.js';
|
|
4
4
|
/** Group findings by article into printable lines (shared by classic + TUI). */
|
|
5
5
|
export declare function lintReportLines(findings: LintFinding[]): string[];
|
|
6
|
-
/** The agent prompt for `/
|
|
6
|
+
/** The agent prompt for `/check --fix`: correct each finding in place, grounded in source, no new issues. */
|
|
7
7
|
export declare function buildLintFixPrompt(findings: LintFinding[]): string;
|
|
8
8
|
export declare function lintCommand(args: string[], ctx: ReplContext): Promise<SlashCommandResult>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReplContext } from '../repl.js';
|
|
2
|
+
import type { SlashCommandResult } from './index.js';
|
|
3
|
+
/** Build the forward-to-agent review request for a repo (shared by classic + TUI). Returns null when there's
|
|
4
|
+
no config (caller surfaces the /init hint). */
|
|
5
|
+
export declare function buildReview(cwd: string, args: string[]): {
|
|
6
|
+
prompt: string;
|
|
7
|
+
display: string;
|
|
8
|
+
} | null;
|
|
9
|
+
export declare function reviewCommand(args: string[], ctx: ReplContext): Promise<SlashCommandResult>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document360-writer",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.44",
|
|
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.
|
|
37
|
+
"document360-engine": "^0.2.81",
|
|
38
38
|
"ink": "^5.2.1",
|
|
39
39
|
"picocolors": "^1.1.1",
|
|
40
40
|
"react": "^18.3.1",
|