casabot 1.1.0 → 1.1.1
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/tui/app.js +1 -1
- package/package.json +1 -1
- package/src/tui/app.tsx +1 -1
- package/src/tui/marked-terminal.d.ts +2 -2
package/dist/tui/app.js
CHANGED
|
@@ -5,7 +5,7 @@ import TextInput from "ink-text-input";
|
|
|
5
5
|
import Spinner from "ink-spinner";
|
|
6
6
|
import Gradient from "ink-gradient";
|
|
7
7
|
import { marked } from "marked";
|
|
8
|
-
import markedTerminal from "marked-terminal";
|
|
8
|
+
import { markedTerminal } from "marked-terminal";
|
|
9
9
|
import { runAgent } from "../agent/base.js";
|
|
10
10
|
marked.use(markedTerminal());
|
|
11
11
|
function renderMarkdown(content) {
|
package/package.json
CHANGED
package/src/tui/app.tsx
CHANGED
|
@@ -4,7 +4,7 @@ import TextInput from "ink-text-input";
|
|
|
4
4
|
import Spinner from "ink-spinner";
|
|
5
5
|
import Gradient from "ink-gradient";
|
|
6
6
|
import { marked } from "marked";
|
|
7
|
-
import markedTerminal from "marked-terminal";
|
|
7
|
+
import { markedTerminal } from "marked-terminal";
|
|
8
8
|
import type { ChatProvider } from "../providers/base.js";
|
|
9
9
|
import type { ConversationHistory, Message, Skill } from "../config/types.js";
|
|
10
10
|
import { runAgent } from "../agent/base.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare module "marked-terminal" {
|
|
2
2
|
import type { MarkedExtension } from "marked";
|
|
3
|
-
function markedTerminal(options?: Record<string, unknown>): MarkedExtension;
|
|
4
|
-
export default
|
|
3
|
+
export function markedTerminal(options?: Record<string, unknown>): MarkedExtension;
|
|
4
|
+
export default function Renderer(options?: Record<string, unknown>, highlightOptions?: Record<string, unknown>): void;
|
|
5
5
|
}
|