document360-writer 0.5.73 → 0.5.74
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 +116 -91
- package/dist/commands/catchup.d.ts +3 -2
- package/dist/commands/devhints.d.ts +6 -1
- package/package.json +2 -2
|
@@ -5,9 +5,10 @@ export type PendingSummary = {
|
|
|
5
5
|
hints: number;
|
|
6
6
|
requests: number;
|
|
7
7
|
answers: number;
|
|
8
|
+
directives: number;
|
|
8
9
|
};
|
|
9
|
-
/** Deterministic local counts of queued work (hints + builder messages). Drift is
|
|
10
|
-
checked by the agent via d360_sync_status inside the prompt, not here. */
|
|
10
|
+
/** Deterministic local counts of queued work (hints + builder messages + owner directives). Drift is
|
|
11
|
+
network and is checked by the agent via d360_sync_status inside the prompt, not here. */
|
|
11
12
|
export declare function pendingSummary(cwd: string): PendingSummary;
|
|
12
13
|
/** A short human phrase for a pending summary, or null when nothing local is queued. */
|
|
13
14
|
export declare function pendingLine(s: PendingSummary): string | null;
|
|
@@ -13,8 +13,13 @@ import type { ReplContext } from '../repl.js';
|
|
|
13
13
|
* v6 → make the hand-off VISIBLE + state the boundary: the builder surfaces every hint drop in its
|
|
14
14
|
* reply (never silently) and NEVER writes/publishes the user docs itself — that's the docs agent's
|
|
15
15
|
* job. Keeps the dogfood/limitation signal honest and lets a human verify the hand-off happens.
|
|
16
|
+
* v7 → owner→docs directives channel: when the human types `@d360-writer <directive>` in the builder's
|
|
17
|
+
* session (a proactive doc ask like "document /review"), the builder APPENDS it as an `## [open]`
|
|
18
|
+
* block to `.d360-writer/directives.md` (create if absent) and commits — it does NOT action it
|
|
19
|
+
* (writing docs is the docs agent's job; it picks it up on its next /catch-up). The third comms
|
|
20
|
+
* channel, alongside builder hints/messages and portal feedback.
|
|
16
21
|
*/
|
|
17
|
-
export declare const DEVHINTS_VERSION =
|
|
22
|
+
export declare const DEVHINTS_VERSION = 7;
|
|
18
23
|
/**
|
|
19
24
|
* The committed protocol guide the SOURCE repo's coding agent follows. Self-contained because that
|
|
20
25
|
* agent has none of d360-writer's context. Two parts: (1) a ONE-TIME architecture brief that onboards
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document360-writer",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.74",
|
|
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.100",
|
|
38
38
|
"ink": "^5.2.1",
|
|
39
39
|
"picocolors": "^1.1.1",
|
|
40
40
|
"react": "^18.3.1",
|