codebase-rag-tui 0.2.0 → 0.3.0

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.
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Box, Text } from 'ink';
3
+ import Markdown from 'ink-markdown-es';
3
4
  export default function Message({ role, text, edit }) {
4
5
  if (role === 'user') {
5
6
  return (React.createElement(Box, null,
@@ -8,9 +9,8 @@ export default function Message({ role, text, edit }) {
8
9
  text)));
9
10
  }
10
11
  return (React.createElement(Box, { flexDirection: "column" },
11
- React.createElement(Text, { color: "blue" },
12
- "Codebase Rag Agent: ",
13
- text),
12
+ React.createElement(Text, { color: "blue", bold: true }, "Codebase Rag Agent:"),
13
+ React.createElement(Markdown, null, text),
14
14
  edit && (React.createElement(Box, { marginLeft: 2, marginTop: 0 },
15
15
  React.createElement(Text, { color: "yellow" }, "\u26A1 Code changes were applied")))));
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebase-rag-tui",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Terminal-based AI agent for codebase RAG (Retrieval-Augmented Generation)",
5
5
  "license": "MIT",
6
6
  "author": "johnsonafool",
@@ -42,7 +42,7 @@
42
42
  "@google/generative-ai": "^0.24.1",
43
43
  "dotenv": "^17.2.4",
44
44
  "ink": "^4.1.0",
45
- "ink-markdown": "^1.0.4",
45
+ "ink-markdown-es": "^1.1.0",
46
46
  "ink-select-input": "^6.2.0",
47
47
  "ink-text-input": "^6.0.0",
48
48
  "meow": "^11.0.0",