document360-writer 0.4.93 → 0.4.94

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.
@@ -0,0 +1,13 @@
1
+ export declare const PICK_CUE: RegExp;
2
+ /**
3
+ * Once the "reply with the number" cue has appeared this turn, renumber the FIRST contiguous block of
4
+ * top-level option bullets (`-`/`*`/`•`) to `1.` `2.` `3.` so they're actually pickable. Conservative:
5
+ * only top-level bullets; only the first block; indented continuation lines (wrapped descriptions) do NOT
6
+ * close it — only a non-indented, non-bullet line does. `state` carries the counter + a `closed` flag
7
+ * across streamed chunks; `turnTextSoFar` lets a cue that arrived in an earlier chunk still apply. No-op if
8
+ * the agent already numbered the options (no bullets to convert).
9
+ */
10
+ export declare function renumberPickOptions(chunk: string, turnTextSoFar: string, state: {
11
+ num: number;
12
+ closed: boolean;
13
+ }): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document360-writer",
3
- "version": "0.4.93",
3
+ "version": "0.4.94",
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.48",
37
+ "document360-engine": "^0.2.49",
38
38
  "ink": "^5.2.1",
39
39
  "picocolors": "^1.1.1",
40
40
  "react": "^18.3.1",