@prestyj/cli 4.2.56 → 4.2.75

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.
Files changed (195) hide show
  1. package/README.md +1 -1
  2. package/dist/cli.js +4 -4
  3. package/dist/cli.js.map +1 -1
  4. package/dist/config.d.ts +1 -0
  5. package/dist/config.d.ts.map +1 -1
  6. package/dist/config.js +6 -5
  7. package/dist/config.js.map +1 -1
  8. package/dist/core/agent-session.d.ts.map +1 -1
  9. package/dist/core/agent-session.js +11 -0
  10. package/dist/core/agent-session.js.map +1 -1
  11. package/dist/core/compaction/compactor.d.ts +3 -1
  12. package/dist/core/compaction/compactor.d.ts.map +1 -1
  13. package/dist/core/compaction/compactor.js +28 -5
  14. package/dist/core/compaction/compactor.js.map +1 -1
  15. package/dist/core/compaction/compactor.test.js +86 -10
  16. package/dist/core/compaction/compactor.test.js.map +1 -1
  17. package/dist/core/compaction/token-estimator.test.js +1 -1
  18. package/dist/core/compaction/token-estimator.test.js.map +1 -1
  19. package/dist/core/model-registry.js +8 -8
  20. package/dist/core/model-registry.js.map +1 -1
  21. package/dist/core/settings-manager.d.ts +1 -0
  22. package/dist/core/settings-manager.d.ts.map +1 -1
  23. package/dist/core/settings-manager.js +2 -0
  24. package/dist/core/settings-manager.js.map +1 -1
  25. package/dist/core/slash-commands.d.ts.map +1 -1
  26. package/dist/core/slash-commands.js +18 -4
  27. package/dist/core/slash-commands.js.map +1 -1
  28. package/dist/core/telegram.d.ts.map +1 -1
  29. package/dist/core/telegram.js +3 -0
  30. package/dist/core/telegram.js.map +1 -1
  31. package/dist/interactive.d.ts.map +1 -1
  32. package/dist/interactive.js +1 -0
  33. package/dist/interactive.js.map +1 -1
  34. package/dist/system-prompt.d.ts.map +1 -1
  35. package/dist/system-prompt.js +21 -3
  36. package/dist/system-prompt.js.map +1 -1
  37. package/dist/tools/bash.d.ts.map +1 -1
  38. package/dist/tools/bash.js +4 -7
  39. package/dist/tools/bash.js.map +1 -1
  40. package/dist/tools/edit.d.ts.map +1 -1
  41. package/dist/tools/edit.js +4 -1
  42. package/dist/tools/edit.js.map +1 -1
  43. package/dist/tools/overflow.d.ts +6 -0
  44. package/dist/tools/overflow.d.ts.map +1 -0
  45. package/dist/tools/overflow.js +13 -0
  46. package/dist/tools/overflow.js.map +1 -0
  47. package/dist/tools/read.d.ts.map +1 -1
  48. package/dist/tools/read.js +6 -2
  49. package/dist/tools/read.js.map +1 -1
  50. package/dist/tools/truncate-utils.test.js +11 -11
  51. package/dist/tools/truncate-utils.test.js.map +1 -1
  52. package/dist/tools/truncate.d.ts +6 -4
  53. package/dist/tools/truncate.d.ts.map +1 -1
  54. package/dist/tools/truncate.js +12 -10
  55. package/dist/tools/truncate.js.map +1 -1
  56. package/dist/ui/App.d.ts +1 -0
  57. package/dist/ui/App.d.ts.map +1 -1
  58. package/dist/ui/App.js +261 -62
  59. package/dist/ui/App.js.map +1 -1
  60. package/dist/ui/buddy/Buddy.d.ts +15 -0
  61. package/dist/ui/buddy/Buddy.d.ts.map +1 -0
  62. package/dist/ui/buddy/Buddy.js +118 -0
  63. package/dist/ui/buddy/Buddy.js.map +1 -0
  64. package/dist/ui/buddy/gacha.d.ts +8 -0
  65. package/dist/ui/buddy/gacha.d.ts.map +1 -0
  66. package/dist/ui/buddy/gacha.js +94 -0
  67. package/dist/ui/buddy/gacha.js.map +1 -0
  68. package/dist/ui/buddy/species.d.ts +52 -0
  69. package/dist/ui/buddy/species.d.ts.map +1 -0
  70. package/dist/ui/buddy/species.js +257 -0
  71. package/dist/ui/buddy/species.js.map +1 -0
  72. package/dist/ui/components/ActivityIndicator.d.ts +10 -2
  73. package/dist/ui/components/ActivityIndicator.d.ts.map +1 -1
  74. package/dist/ui/components/ActivityIndicator.js +79 -22
  75. package/dist/ui/components/ActivityIndicator.js.map +1 -1
  76. package/dist/ui/components/AnimationContext.d.ts +14 -2
  77. package/dist/ui/components/AnimationContext.d.ts.map +1 -1
  78. package/dist/ui/components/AnimationContext.js +54 -8
  79. package/dist/ui/components/AnimationContext.js.map +1 -1
  80. package/dist/ui/components/AssistantMessage.d.ts +2 -1
  81. package/dist/ui/components/AssistantMessage.d.ts.map +1 -1
  82. package/dist/ui/components/AssistantMessage.js +5 -4
  83. package/dist/ui/components/AssistantMessage.js.map +1 -1
  84. package/dist/ui/components/BackgroundTasksBar.js +2 -2
  85. package/dist/ui/components/BackgroundTasksBar.js.map +1 -1
  86. package/dist/ui/components/CompactionNotice.d.ts.map +1 -1
  87. package/dist/ui/components/CompactionNotice.js +2 -1
  88. package/dist/ui/components/CompactionNotice.js.map +1 -1
  89. package/dist/ui/components/Footer.d.ts +3 -1
  90. package/dist/ui/components/Footer.d.ts.map +1 -1
  91. package/dist/ui/components/Footer.js +23 -48
  92. package/dist/ui/components/Footer.js.map +1 -1
  93. package/dist/ui/components/InputArea.d.ts.map +1 -1
  94. package/dist/ui/components/InputArea.js +2 -1
  95. package/dist/ui/components/InputArea.js.map +1 -1
  96. package/dist/ui/components/Markdown.d.ts +11 -6
  97. package/dist/ui/components/Markdown.d.ts.map +1 -1
  98. package/dist/ui/components/Markdown.js +170 -18
  99. package/dist/ui/components/Markdown.js.map +1 -1
  100. package/dist/ui/components/MessageResponse.d.ts +25 -0
  101. package/dist/ui/components/MessageResponse.d.ts.map +1 -0
  102. package/dist/ui/components/MessageResponse.js +42 -0
  103. package/dist/ui/components/MessageResponse.js.map +1 -0
  104. package/dist/ui/components/NoSelect.d.ts +20 -0
  105. package/dist/ui/components/NoSelect.d.ts.map +1 -0
  106. package/dist/ui/components/NoSelect.js +14 -0
  107. package/dist/ui/components/NoSelect.js.map +1 -0
  108. package/dist/ui/components/PlanProgress.d.ts +7 -0
  109. package/dist/ui/components/PlanProgress.d.ts.map +1 -0
  110. package/dist/ui/components/PlanProgress.js +30 -0
  111. package/dist/ui/components/PlanProgress.js.map +1 -0
  112. package/dist/ui/components/Ratchet.d.ts +20 -0
  113. package/dist/ui/components/Ratchet.d.ts.map +1 -0
  114. package/dist/ui/components/Ratchet.js +30 -0
  115. package/dist/ui/components/Ratchet.js.map +1 -0
  116. package/dist/ui/components/ServerToolExecution.d.ts.map +1 -1
  117. package/dist/ui/components/ServerToolExecution.js +5 -6
  118. package/dist/ui/components/ServerToolExecution.js.map +1 -1
  119. package/dist/ui/components/Spinner.d.ts +8 -2
  120. package/dist/ui/components/Spinner.d.ts.map +1 -1
  121. package/dist/ui/components/Spinner.js +52 -5
  122. package/dist/ui/components/Spinner.js.map +1 -1
  123. package/dist/ui/components/StreamingArea.d.ts +2 -1
  124. package/dist/ui/components/StreamingArea.d.ts.map +1 -1
  125. package/dist/ui/components/StreamingArea.js +9 -44
  126. package/dist/ui/components/StreamingArea.js.map +1 -1
  127. package/dist/ui/components/SubAgentPanel.d.ts.map +1 -1
  128. package/dist/ui/components/SubAgentPanel.js +6 -4
  129. package/dist/ui/components/SubAgentPanel.js.map +1 -1
  130. package/dist/ui/components/ThinkingBlock.d.ts +2 -1
  131. package/dist/ui/components/ThinkingBlock.d.ts.map +1 -1
  132. package/dist/ui/components/ThinkingBlock.js +2 -2
  133. package/dist/ui/components/ThinkingBlock.js.map +1 -1
  134. package/dist/ui/components/ThinkingIndicator.d.ts.map +1 -1
  135. package/dist/ui/components/ThinkingIndicator.js +2 -1
  136. package/dist/ui/components/ThinkingIndicator.js.map +1 -1
  137. package/dist/ui/components/ToolExecution.d.ts +1 -0
  138. package/dist/ui/components/ToolExecution.d.ts.map +1 -1
  139. package/dist/ui/components/ToolExecution.js +44 -15
  140. package/dist/ui/components/ToolExecution.js.map +1 -1
  141. package/dist/ui/components/ToolGroupExecution.d.ts.map +1 -1
  142. package/dist/ui/components/ToolGroupExecution.js +21 -17
  143. package/dist/ui/components/ToolGroupExecution.js.map +1 -1
  144. package/dist/ui/components/ToolUseLoader.d.ts +19 -0
  145. package/dist/ui/components/ToolUseLoader.d.ts.map +1 -0
  146. package/dist/ui/components/ToolUseLoader.js +42 -0
  147. package/dist/ui/components/ToolUseLoader.js.map +1 -0
  148. package/dist/ui/components/index.d.ts +1 -1
  149. package/dist/ui/components/index.d.ts.map +1 -1
  150. package/dist/ui/components/index.js +1 -1
  151. package/dist/ui/components/index.js.map +1 -1
  152. package/dist/ui/constants/figures.d.ts +30 -0
  153. package/dist/ui/constants/figures.d.ts.map +1 -0
  154. package/dist/ui/constants/figures.js +41 -0
  155. package/dist/ui/constants/figures.js.map +1 -0
  156. package/dist/ui/hooks/useAgentLoop.d.ts +16 -1
  157. package/dist/ui/hooks/useAgentLoop.d.ts.map +1 -1
  158. package/dist/ui/hooks/useAgentLoop.js +49 -141
  159. package/dist/ui/hooks/useAgentLoop.js.map +1 -1
  160. package/dist/ui/hooks/useBlink.d.ts +11 -0
  161. package/dist/ui/hooks/useBlink.d.ts.map +1 -0
  162. package/dist/ui/hooks/useBlink.js +19 -0
  163. package/dist/ui/hooks/useBlink.js.map +1 -0
  164. package/dist/ui/hooks/useMinDisplayTime.d.ts +11 -0
  165. package/dist/ui/hooks/useMinDisplayTime.d.ts.map +1 -0
  166. package/dist/ui/hooks/useMinDisplayTime.js +34 -0
  167. package/dist/ui/hooks/useMinDisplayTime.js.map +1 -0
  168. package/dist/ui/hooks/useTerminalProgress.d.ts +2 -0
  169. package/dist/ui/hooks/useTerminalProgress.d.ts.map +1 -0
  170. package/dist/ui/hooks/useTerminalProgress.js +98 -0
  171. package/dist/ui/hooks/useTerminalProgress.js.map +1 -0
  172. package/dist/ui/hooks/useTerminalTitle.d.ts.map +1 -1
  173. package/dist/ui/hooks/useTerminalTitle.js +2 -1
  174. package/dist/ui/hooks/useTerminalTitle.js.map +1 -1
  175. package/dist/ui/spinner-frames.d.ts +1 -0
  176. package/dist/ui/spinner-frames.d.ts.map +1 -1
  177. package/dist/ui/spinner-frames.js +15 -5
  178. package/dist/ui/spinner-frames.js.map +1 -1
  179. package/dist/ui/theme/dark.json +2 -1
  180. package/dist/ui/theme/light.json +2 -1
  181. package/dist/ui/theme/theme.d.ts +1 -0
  182. package/dist/ui/theme/theme.d.ts.map +1 -1
  183. package/dist/ui/utils/markdown-cache.d.ts +12 -0
  184. package/dist/ui/utils/markdown-cache.d.ts.map +1 -0
  185. package/dist/ui/utils/markdown-cache.js +43 -0
  186. package/dist/ui/utils/markdown-cache.js.map +1 -0
  187. package/dist/ui/utils/word-diff.d.ts +11 -0
  188. package/dist/ui/utils/word-diff.d.ts.map +1 -0
  189. package/dist/ui/utils/word-diff.js +23 -0
  190. package/dist/ui/utils/word-diff.js.map +1 -0
  191. package/dist/utils/plan-steps.d.ts +41 -0
  192. package/dist/utils/plan-steps.d.ts.map +1 -0
  193. package/dist/utils/plan-steps.js +91 -0
  194. package/dist/utils/plan-steps.js.map +1 -0
  195. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"useTerminalTitle.js","sourceRoot":"","sources":["../../../src/ui/hooks/useTerminalTitle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAGhC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEvF,MAAM,eAAe,GAAG,IAAI,CAAC;AAU7B,MAAM,UAAU,gBAAgB,CAAC,EAC/B,KAAK,EACL,SAAS,EACT,WAAW,GAAG,EAAE,EAChB,eAAe,GAAG,EAAE,EACpB,QAAQ,GAAG,KAAK,GACK;IACrB,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,CAAC;IAE/B,yEAAyE;IACzE,MAAM,IAAI,GAAG,gBAAgB,EAAE,CAAC;IAChC,MAAM,YAAY,GAAG,SAAS,CAAC,CAAC,CAAC,WAAW,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
3
+ export declare const REDUCED_MOTION_DOT = "\u25CF";
3
4
  //# sourceMappingURL=spinner-frames.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spinner-frames.d.ts","sourceRoot":"","sources":["../../src/ui/spinner-frames.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,UAGkC,CAAC;AAE9D,eAAO,MAAM,gBAAgB,MAAM,CAAC"}
1
+ {"version":3,"file":"spinner-frames.d.ts","sourceRoot":"","sources":["../../src/ui/spinner-frames.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,cAAc,UAAiC,CAAC;AAE7D,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAGpC,eAAO,MAAM,kBAAkB,WAAW,CAAC"}
@@ -1,7 +1,17 @@
1
- // Sparkle character set — gives a more distinctive, playful feel
2
- // compared to the standard braille dots every other CLI uses.
3
- export const SPINNER_FRAMES = process.platform === "darwin"
4
- ? ["\u00B7", "\u2726", "\u2733", "\u2217", "\u273B", "\u273D"]
5
- : ["\u00B7", "\u2726", "*", "\u2217", "\u273B", "\u273D"];
1
+ // Sparkle character set — ping-pong cycle (forward then reverse)
2
+ // for a distinctive, playful feel. Ghostty gets a variant to avoid
3
+ // offset rendering of ✽.
4
+ function getSpinnerChars() {
5
+ if (process.env.TERM === "xterm-ghostty") {
6
+ return ["\u00B7", "\u2722", "\u2733", "\u2736", "\u273B", "*"];
7
+ }
8
+ return process.platform === "darwin"
9
+ ? ["\u00B7", "\u2722", "\u2733", "\u2736", "\u273B", "\u273D"]
10
+ : ["\u00B7", "\u2722", "*", "\u2736", "\u273B", "\u273D"];
11
+ }
12
+ const chars = getSpinnerChars();
13
+ export const SPINNER_FRAMES = [...chars, ...chars.reverse()];
6
14
  export const SPINNER_INTERVAL = 120;
15
+ // Reduced-motion: static filled circle with slow dim/undim cycle
16
+ export const REDUCED_MOTION_DOT = "\u25CF"; // ●
7
17
  //# sourceMappingURL=spinner-frames.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"spin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MAAM,CAAC,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,IAAI"}
@@ -22,5 +22,6 @@
22
22
  "footerText": "#6b7280",
23
23
  "commandColor": "#818cf8",
24
24
  "planPrimary": "#f59e0b",
25
- "planBorder": "#92400e"
25
+ "planBorder": "#92400e",
26
+ "subtle": "#4b5563"
26
27
  }
@@ -22,5 +22,6 @@
22
22
  "footerText": "#9ca3af",
23
23
  "commandColor": "#4f46e5",
24
24
  "planPrimary": "#d97706",
25
- "planBorder": "#b45309"
25
+ "planBorder": "#b45309",
26
+ "subtle": "#d1d5db"
26
27
  }
@@ -26,6 +26,7 @@ export declare const ThemeContext: import("react").Context<{
26
26
  commandColor: string;
27
27
  planPrimary: string;
28
28
  planBorder: string;
29
+ subtle: string;
29
30
  }>;
30
31
  export declare function useTheme(): Theme;
31
32
  //# sourceMappingURL=theme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/ui/theme/theme.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,aAAa,CAAuB;AAG1D,MAAM,MAAM,KAAK,GAAG,OAAO,SAAS,CAAC;AAErC,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAEvD;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;EAAkC,CAAC;AAE5D,wBAAgB,QAAQ,IAAI,KAAK,CAEhC"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/ui/theme/theme.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,aAAa,CAAuB;AAG1D,MAAM,MAAM,KAAK,GAAG,OAAO,SAAS,CAAC;AAErC,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAEvD;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;EAAkC,CAAC;AAE5D,wBAAgB,QAAQ,IAAI,KAAK,CAEhC"}
@@ -0,0 +1,12 @@
1
+ import type { Token } from "marked";
2
+ /** Simple LRU cache for parsed markdown tokens. */
3
+ declare class MarkdownLRUCache {
4
+ private cache;
5
+ get(body: string): Token[] | undefined;
6
+ set(body: string, tokens: Token[]): void;
7
+ private hash;
8
+ }
9
+ export declare const markdownTokenCache: MarkdownLRUCache;
10
+ export declare function containsMarkdownSyntax(text: string): boolean;
11
+ export {};
12
+ //# sourceMappingURL=markdown-cache.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-cache.d.ts","sourceRoot":"","sources":["../../../src/ui/utils/markdown-cache.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAIpC,mDAAmD;AACnD,cAAM,gBAAgB;IACpB,OAAO,CAAC,KAAK,CAA8B;IAE3C,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,EAAE,GAAG,SAAS;IAUtC,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI;IAYxC,OAAO,CAAC,IAAI;CAGb;AAED,eAAO,MAAM,kBAAkB,kBAAyB,CAAC;AASzD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAI5D"}
@@ -0,0 +1,43 @@
1
+ import { createHash } from "node:crypto";
2
+ const MAX_SIZE = 500;
3
+ /** Simple LRU cache for parsed markdown tokens. */
4
+ class MarkdownLRUCache {
5
+ cache = new Map();
6
+ get(body) {
7
+ const key = this.hash(body);
8
+ const entry = this.cache.get(key);
9
+ if (!entry)
10
+ return undefined;
11
+ // Move to end (most recently used)
12
+ this.cache.delete(key);
13
+ this.cache.set(key, entry);
14
+ return entry;
15
+ }
16
+ set(body, tokens) {
17
+ const key = this.hash(body);
18
+ // Delete first to reset insertion order
19
+ this.cache.delete(key);
20
+ this.cache.set(key, tokens);
21
+ // Evict oldest if over capacity
22
+ if (this.cache.size > MAX_SIZE) {
23
+ const oldest = this.cache.keys().next().value;
24
+ this.cache.delete(oldest);
25
+ }
26
+ }
27
+ hash(body) {
28
+ return createHash("sha256").update(body).digest("hex");
29
+ }
30
+ }
31
+ export const markdownTokenCache = new MarkdownLRUCache();
32
+ /**
33
+ * Check whether text contains markdown syntax worth parsing.
34
+ * If it doesn't, the caller can skip marked.lexer() entirely.
35
+ * Matches Claude Code's MD_SYNTAX_RE patterns.
36
+ */
37
+ const MARKDOWN_SYNTAX_RE = /[#*`|[>\-_~]|\n\n|^\d+\. |\n\d+\. /m;
38
+ export function containsMarkdownSyntax(text) {
39
+ // Only check the first 500 chars for performance
40
+ const sample = text.length > 500 ? text.slice(0, 500) : text;
41
+ return MARKDOWN_SYNTAX_RE.test(sample);
42
+ }
43
+ //# sourceMappingURL=markdown-cache.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-cache.js","sourceRoot":"","sources":["../../../src/ui/utils/markdown-cache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC,MAAM,QAAQ,GAAG,GAAG,CAAC;AAErB,mDAAmD;AACnD,MAAM,gBAAgB;IACZ,KAAK,GAAG,IAAI,GAAG,EAAmB,CAAC;IAE3C,GAAG,CAAC,IAAY;QACd,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC5B,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAClC,IAAI,CAAC,KAAK;YAAE,OAAO,SAAS,CAAC;QAC7B,mCAAmC;QACnC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QAC3B,OAAO,KAAK,CAAC;IACf,CAAC;IAED,GAAG,CAAC,IAAY,EAAE,MAAe;QAC/B,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC5B,wCAAwC;QACxC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;QAC5B,gCAAgC;QAChC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,QAAQ,EAAE,CAAC;YAC/B,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,KAAM,CAAC;YAC/C,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IAEO,IAAI,CAAC,IAAY;QACvB,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACzD,CAAC;CACF;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAEzD;;;;GAIG;AACH,MAAM,kBAAkB,GAAG,qCAAqC,CAAC;AAEjE,MAAM,UAAU,sBAAsB,CAAC,IAAY;IACjD,iDAAiD;IACjD,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC7D,OAAO,kBAAkB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACzC,CAAC"}
@@ -0,0 +1,11 @@
1
+ export interface WordSegment {
2
+ text: string;
3
+ type: "added" | "removed" | "unchanged";
4
+ }
5
+ /**
6
+ * Compute word-level diff between two strings.
7
+ * Uses diffWordsWithSpace (not diffWords) so that whitespace/indentation
8
+ * changes are visible — critical for code where indentation is meaningful.
9
+ */
10
+ export declare function computeWordDiff(oldLine: string, newLine: string): WordSegment[];
11
+ //# sourceMappingURL=word-diff.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"word-diff.d.ts","sourceRoot":"","sources":["../../../src/ui/utils/word-diff.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;CACzC;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,WAAW,EAAE,CAe/E"}
@@ -0,0 +1,23 @@
1
+ import { diffWordsWithSpace } from "diff";
2
+ /**
3
+ * Compute word-level diff between two strings.
4
+ * Uses diffWordsWithSpace (not diffWords) so that whitespace/indentation
5
+ * changes are visible — critical for code where indentation is meaningful.
6
+ */
7
+ export function computeWordDiff(oldLine, newLine) {
8
+ const changes = diffWordsWithSpace(oldLine, newLine);
9
+ const segments = [];
10
+ for (const change of changes) {
11
+ if (change.added) {
12
+ segments.push({ text: change.value, type: "added" });
13
+ }
14
+ else if (change.removed) {
15
+ segments.push({ text: change.value, type: "removed" });
16
+ }
17
+ else {
18
+ segments.push({ text: change.value, type: "unchanged" });
19
+ }
20
+ }
21
+ return segments;
22
+ }
23
+ //# sourceMappingURL=word-diff.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"word-diff.js","sourceRoot":"","sources":["../../../src/ui/utils/word-diff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAO1C;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,OAAe,EAAE,OAAe;IAC9D,MAAM,OAAO,GAAG,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACrD,MAAM,QAAQ,GAAkB,EAAE,CAAC;IAEnC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;YACjB,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;QACvD,CAAC;aAAM,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;YAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;QACzD,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;QAC3D,CAAC;IACH,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Plan step extraction and [DONE:n] progress tracking.
3
+ *
4
+ * The agent outputs [DONE:n] markers in its text to signal that step n
5
+ * of the approved plan has been completed. The UI parses these markers
6
+ * and renders a progress widget.
7
+ */
8
+ export interface PlanStep {
9
+ /** 1-based step number */
10
+ step: number;
11
+ /** Short description extracted from the plan */
12
+ text: string;
13
+ completed: boolean;
14
+ }
15
+ /**
16
+ * Extract numbered steps from a plan markdown string.
17
+ *
18
+ * Prefers steps from a canonical `## Steps` section if present.
19
+ * Falls back to scanning the entire document for top-level numbered items.
20
+ *
21
+ * Looks for lines like:
22
+ * 1. Do something
23
+ * 2) Do something else
24
+ * 3. **Bold step**
25
+ */
26
+ export declare function extractPlanSteps(planContent: string): PlanStep[];
27
+ /**
28
+ * Strip [DONE:n] markers from text for display purposes.
29
+ * These markers are machine-readable signals for the progress widget,
30
+ * not meant to be shown to the user.
31
+ */
32
+ export declare function stripDoneMarkers(text: string): string;
33
+ /**
34
+ * Scan text for [DONE:n] markers and return the set of completed step numbers.
35
+ */
36
+ export declare function findCompletedMarkers(text: string): Set<number>;
37
+ /**
38
+ * Apply completed markers to a steps array (immutable — returns new array).
39
+ */
40
+ export declare function markStepsCompleted(steps: PlanStep[], completed: Set<number>): PlanStep[];
41
+ //# sourceMappingURL=plan-steps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plan-steps.d.ts","sourceRoot":"","sources":["../../src/utils/plan-steps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,WAAW,QAAQ;IACvB,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,gDAAgD;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,QAAQ,EAAE,CA0BhE;AAkBD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAErD;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,CAO9D;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,QAAQ,EAAE,CAUxF"}
@@ -0,0 +1,91 @@
1
+ /**
2
+ * Plan step extraction and [DONE:n] progress tracking.
3
+ *
4
+ * The agent outputs [DONE:n] markers in its text to signal that step n
5
+ * of the approved plan has been completed. The UI parses these markers
6
+ * and renders a progress widget.
7
+ */
8
+ /**
9
+ * Extract numbered steps from a plan markdown string.
10
+ *
11
+ * Prefers steps from a canonical `## Steps` section if present.
12
+ * Falls back to scanning the entire document for top-level numbered items.
13
+ *
14
+ * Looks for lines like:
15
+ * 1. Do something
16
+ * 2) Do something else
17
+ * 3. **Bold step**
18
+ */
19
+ export function extractPlanSteps(planContent) {
20
+ // Try to find a canonical ## Steps section first
21
+ const stepsSection = extractStepsSection(planContent);
22
+ const source = stepsSection ?? planContent;
23
+ const steps = [];
24
+ // Only match non-indented numbered items (0-2 spaces max) to skip sub-items
25
+ const pattern = /^(\d+)[.)]\s+\*{0,2}([^*\n]+)/gm;
26
+ for (const match of source.matchAll(pattern)) {
27
+ let text = match[2]
28
+ .trim()
29
+ .replace(/\*{1,2}$/, "")
30
+ .trim();
31
+ // Skip very short items, code snippets, or sub-items
32
+ if (text.length <= 5 || text.startsWith("`") || text.startsWith("/") || text.startsWith("-")) {
33
+ continue;
34
+ }
35
+ // Truncate long step descriptions
36
+ if (text.length > 80) {
37
+ text = text.slice(0, 77) + "...";
38
+ }
39
+ steps.push({ step: steps.length + 1, text, completed: false });
40
+ }
41
+ return steps;
42
+ }
43
+ /**
44
+ * Extract the content under a `## Steps` heading, stopping at the next
45
+ * heading of equal or higher level (or end of document).
46
+ */
47
+ function extractStepsSection(planContent) {
48
+ const match = planContent.match(/^##\s+Steps\s*$/m);
49
+ if (!match || match.index === undefined)
50
+ return undefined;
51
+ const start = match.index + match[0].length;
52
+ // Find next heading of level 1-2 (or end of string)
53
+ const rest = planContent.slice(start);
54
+ const nextHeading = rest.match(/^#{1,2}\s/m);
55
+ const sectionContent = nextHeading?.index !== undefined ? rest.slice(0, nextHeading.index) : rest;
56
+ return sectionContent;
57
+ }
58
+ /**
59
+ * Strip [DONE:n] markers from text for display purposes.
60
+ * These markers are machine-readable signals for the progress widget,
61
+ * not meant to be shown to the user.
62
+ */
63
+ export function stripDoneMarkers(text) {
64
+ return text.replace(/\s*\[DONE:\d+\]\s*/gi, " ").replace(/ +/g, " ");
65
+ }
66
+ /**
67
+ * Scan text for [DONE:n] markers and return the set of completed step numbers.
68
+ */
69
+ export function findCompletedMarkers(text) {
70
+ const completed = new Set();
71
+ const pattern = /\[DONE:(\d+)\]/gi;
72
+ for (const match of text.matchAll(pattern)) {
73
+ completed.add(parseInt(match[1], 10));
74
+ }
75
+ return completed;
76
+ }
77
+ /**
78
+ * Apply completed markers to a steps array (immutable — returns new array).
79
+ */
80
+ export function markStepsCompleted(steps, completed) {
81
+ let changed = false;
82
+ const result = steps.map((s) => {
83
+ if (completed.has(s.step) && !s.completed) {
84
+ changed = true;
85
+ return { ...s, completed: true };
86
+ }
87
+ return s;
88
+ });
89
+ return changed ? result : steps;
90
+ }
91
+ //# sourceMappingURL=plan-steps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plan-steps.js","sourceRoot":"","sources":["../../src/utils/plan-steps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAUH;;;;;;;;;;GAUG;AACH,MAAM,UAAU,gBAAgB,CAAC,WAAmB;IAClD,iDAAiD;IACjD,MAAM,YAAY,GAAG,mBAAmB,CAAC,WAAW,CAAC,CAAC;IACtD,MAAM,MAAM,GAAG,YAAY,IAAI,WAAW,CAAC;IAE3C,MAAM,KAAK,GAAe,EAAE,CAAC;IAC7B,4EAA4E;IAC5E,MAAM,OAAO,GAAG,iCAAiC,CAAC;IAElD,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;QAC7C,IAAI,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC;aAChB,IAAI,EAAE;aACN,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC;aACvB,IAAI,EAAE,CAAC;QACV,qDAAqD;QACrD,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;YAC7F,SAAS;QACX,CAAC;QACD,kCAAkC;QAClC,IAAI,IAAI,CAAC,MAAM,GAAG,EAAE,EAAE,CAAC;YACrB,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC;QACnC,CAAC;QACD,KAAK,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,IAAI,EAA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AAO,SAAS,CAAC;AACnB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAiB,EAAE,SAAsB;IAC1E,IAAI,OAAO,GAAG,KAAK,CAAC;IACpB,MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;QAC7B,IAAI,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;YAC1C,OAAO,GAAG,IAAI,CAAC;YACf,OAAO,EAAE,GAAG,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;QACnC,CAAC;QACD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC,CAAC;IACH,OAAO,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC;AAClC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prestyj/cli",
3
- "version": "4.2.56",
3
+ "version": "4.2.75",
4
4
  "type": "module",
5
5
  "description": "CLI coding agent with OAuth authentication for Anthropic and OpenAI",
6
6
  "license": "MIT",
@@ -38,8 +38,8 @@
38
38
  "string-width": "^8.2.0",
39
39
  "wrap-ansi": "^10.0.0",
40
40
  "zod": "^4.3.6",
41
- "@prestyj/agent": "4.2.56",
42
- "@prestyj/ai": "4.2.56"
41
+ "@prestyj/agent": "4.2.75",
42
+ "@prestyj/ai": "4.2.75"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "^25.5.0",