document360-writer 0.4.67 → 0.4.69
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 +78 -76
- package/dist/commands/devhints.d.ts +15 -0
- package/package.json +2 -2
|
@@ -26,6 +26,14 @@ export declare function creatorNotesTemplate(): string;
|
|
|
26
26
|
(with a human creator-notes template) + the hints inbox, then show ONE copy-run prompt the SOURCE
|
|
27
27
|
repo's coding agent executes to onboard the docs agent (writes the brief, persists the ongoing rule
|
|
28
28
|
into CLAUDE.md/AGENTS.md + commits, solicits tribal knowledge) — no manual file edits by the user. */
|
|
29
|
+
/**
|
|
30
|
+
* Scaffold the dev→docs hand-off artifacts (ongoing-hints inbox, architecture brief home + human
|
|
31
|
+
* CREATOR-NOTES, two-way message mailbox, the committed guide, the version trace). Idempotent and
|
|
32
|
+
* silent — it writes files and returns the builder's staleness so the caller can render the hand-off.
|
|
33
|
+
* Shared by `/devhints`, `/init` (which now folds this in so there's no separate onboarding step),
|
|
34
|
+
* and the TUI wizard finale.
|
|
35
|
+
*/
|
|
36
|
+
export declare function scaffoldDevhints(cwd: string): DevhintsStaleness;
|
|
29
37
|
export declare function devhintsCommand(_args: string[], ctx: ReplContext): Promise<SlashCommandResult>;
|
|
30
38
|
/**
|
|
31
39
|
* The ONE prompt the user copies and runs in their SOURCE repo's coding agent (Claude Code / Codex /
|
|
@@ -82,6 +90,13 @@ export type DevhintsReconcileResult = {
|
|
|
82
90
|
* Pure file ops, never throws; returns what it did so the wrapper can surface a one-line note.
|
|
83
91
|
*/
|
|
84
92
|
export declare function reconcileDevhints(cwd: string, now?: string): DevhintsReconcileResult;
|
|
93
|
+
/**
|
|
94
|
+
* The RECURRING launch nudge to the human (e.g. Suprej): while the builder agent (John) is behind the
|
|
95
|
+
* current protocol, show — on EVERY launch — a clear, actionable note that names THIS repo's path and
|
|
96
|
+
* embeds the exact prompt to paste into the repo's coding agent. Returns [] when devhints isn't in use
|
|
97
|
+
* here, or once the builder has caught up (so it self-stops). `cwd` is the repo path shown to the user.
|
|
98
|
+
*/
|
|
99
|
+
export declare function renderBuilderUpdateNote(cwd: string): string[];
|
|
85
100
|
/**
|
|
86
101
|
* The `/devhints` screen: confirms what was scaffolded, then shows the single copy-run prompt
|
|
87
102
|
* (devHintsRunPrompt) and the closing "come back and run" guidance. One prompt, zero manual file edits.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document360-writer",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.69",
|
|
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.40",
|
|
38
38
|
"ink": "^5.2.1",
|
|
39
39
|
"picocolors": "^1.1.1",
|
|
40
40
|
"react": "^18.3.1",
|