@defai.digital/ax-cli 3.12.9 → 3.12.10
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/README.md +14 -3
- package/dist/analyzers/git/churn-calculator.js +3 -2
- package/dist/analyzers/git/churn-calculator.js.map +1 -1
- package/dist/commands/setup.js +14 -28
- package/dist/commands/setup.js.map +1 -1
- package/dist/tools/todo-tool.js +18 -31
- package/dist/tools/todo-tool.js.map +1 -1
- package/dist/ui/app.js +4 -1
- package/dist/ui/app.js.map +1 -1
- package/dist/ui/components/chat-history.js +42 -55
- package/dist/ui/components/chat-history.js.map +1 -1
- package/dist/ui/components/diff-renderer.js +2 -2
- package/dist/ui/components/diff-renderer.js.map +1 -1
- package/dist/ui/components/loading-spinner.js +2 -2
- package/dist/ui/components/loading-spinner.js.map +1 -1
- package/dist/ui/components/model-selection.js +1 -1
- package/dist/ui/components/model-selection.js.map +1 -1
- package/dist/ui/components/question-dialog.js +2 -2
- package/dist/ui/components/question-dialog.js.map +1 -1
- package/dist/ui/components/virtualized-chat-history.d.ts +2 -1
- package/dist/ui/components/virtualized-chat-history.js +2 -1
- package/dist/ui/components/virtualized-chat-history.js.map +1 -1
- package/dist/ui/components/welcome-panel.js +15 -6
- package/dist/ui/components/welcome-panel.js.map +1 -1
- package/dist/ui/hooks/use-enhanced-input.js +45 -81
- package/dist/ui/hooks/use-enhanced-input.js.map +1 -1
- package/dist/ui/utils/code-colorizer.d.ts +7 -0
- package/dist/ui/utils/code-colorizer.js +7 -1
- package/dist/ui/utils/code-colorizer.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Render code content. Parameters reserved for future syntax highlighting.
|
|
4
|
+
* @param content - The code content to render
|
|
5
|
+
* @param _language - Reserved: language for syntax highlighting (not yet implemented)
|
|
6
|
+
* @param _availableTerminalHeight - Reserved: height constraint (not yet implemented)
|
|
7
|
+
* @param _terminalWidth - Reserved: width constraint (not yet implemented)
|
|
8
|
+
*/
|
|
2
9
|
export declare const colorizeCode: (content: string, _language: string | null, _availableTerminalHeight?: number, _terminalWidth?: number) => React.ReactNode;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Text, Box } from 'ink';
|
|
3
|
+
/**
|
|
4
|
+
* Render code content. Parameters reserved for future syntax highlighting.
|
|
5
|
+
* @param content - The code content to render
|
|
6
|
+
* @param _language - Reserved: language for syntax highlighting (not yet implemented)
|
|
7
|
+
* @param _availableTerminalHeight - Reserved: height constraint (not yet implemented)
|
|
8
|
+
* @param _terminalWidth - Reserved: width constraint (not yet implemented)
|
|
9
|
+
*/
|
|
3
10
|
export const colorizeCode = (content, _language, _availableTerminalHeight, _terminalWidth) => {
|
|
4
|
-
// Simple plain text rendering - could be enhanced with syntax highlighting later
|
|
5
11
|
return (React.createElement(Box, { flexDirection: "column" }, content.split('\n').map((line, index) => (React.createElement(Text, { key: index, wrap: "wrap" }, line)))));
|
|
6
12
|
};
|
|
7
13
|
//# sourceMappingURL=code-colorizer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-colorizer.js","sourceRoot":"","sources":["../../../src/ui/utils/code-colorizer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAEhC,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,OAAe,EACf,SAAwB,EACxB,wBAAiC,EACjC,cAAuB,EACN,EAAE;IACnB,
|
|
1
|
+
{"version":3,"file":"code-colorizer.js","sourceRoot":"","sources":["../../../src/ui/utils/code-colorizer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAEhC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,OAAe,EACf,SAAwB,EACxB,wBAAiC,EACjC,cAAuB,EACN,EAAE;IACnB,OAAO,CACL,oBAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,IACxB,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACxC,oBAAC,IAAI,IAAC,GAAG,EAAE,KAAK,EAAE,IAAI,EAAC,MAAM,IAC1B,IAAI,CACA,CACR,CAAC,CACE,CACP,CAAC;AACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defai.digital/ax-cli",
|
|
3
|
-
"version": "3.12.
|
|
3
|
+
"version": "3.12.10",
|
|
4
4
|
"sdkVersion": "1.2.0",
|
|
5
5
|
"description": "Enterprise-Class AI Command Line Interface - Primary support for GLM (General Language Model) with multi-provider AI orchestration powered by AutomatosX.",
|
|
6
6
|
"type": "module",
|