@comma-agents/tui 2.0.0-rc.0 → 2.0.0-rc.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/components/ChatTextArea/ChatTextArea.d.ts +5 -1
- package/dist/components/CommandPalette/pages/HubPackagesPage/HubPackagesPage.d.ts +6 -0
- package/dist/components/CommandPalette/pages/HubPackagesPage/index.d.ts +1 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/useDaemon/useDaemon.utils.d.ts +2 -0
- package/dist/hooks/useStrategies/index.d.ts +2 -0
- package/dist/hooks/useStrategies/useStrategies.d.ts +11 -8
- package/dist/hooks/useStrategies/useStrategies.types.d.ts +8 -0
- package/dist/hooks/useUserConfig/index.d.ts +2 -1
- package/dist/hooks/useUserConfig/useUserConfig.constants.d.ts +0 -12
- package/dist/hooks/useUserConfig/useUserConfig.types.d.ts +1 -1
- package/dist/hooks/useUserConfig/useUserConfig.utils.d.ts +2 -0
- package/dist/hooks/useWebSocket/useWebSocket.types.d.ts +2 -0
- package/dist/index.js +1145 -768
- package/dist/main.js +1146 -769
- package/dist/pages/ChatPage/ChatPage.d.ts +3 -1
- package/dist/pages/IntroPage/IntroPage.d.ts +5 -1
- package/package.json +3 -3
|
@@ -14,6 +14,8 @@ export interface ChatPageRenderProps {
|
|
|
14
14
|
readonly activeStrategyPath: string | null;
|
|
15
15
|
readonly canContinue: boolean;
|
|
16
16
|
readonly strategies: readonly DiscoveredStrategy[];
|
|
17
|
+
readonly emptyStrategyLabel: string;
|
|
18
|
+
readonly emptyStrategyPlaceholder: string;
|
|
17
19
|
readonly onReplySubmit: (text: string) => void;
|
|
18
20
|
readonly onSteerSubmit: (text: string) => void;
|
|
19
21
|
readonly onContinueSubmit: (strategy: DiscoveredStrategy, text: string) => void;
|
|
@@ -22,4 +24,4 @@ export interface ChatPageRenderProps {
|
|
|
22
24
|
readonly onAbort: () => void;
|
|
23
25
|
readonly onOpenSubStrategy?: (toolCallId: string) => void;
|
|
24
26
|
}
|
|
25
|
-
export declare function ChatPageRender({ theme, messages, chatStatus, error: _error, pendingInputAgent, pendingPermissionRequest, pendingQuestionRequest, activeStrategyPath, canContinue, onReplySubmit, onSteerSubmit, onContinueSubmit, onPermissionDecide, onQuestionSubmit, onAbort, strategies, onOpenSubStrategy, }: ChatPageRenderProps): React.ReactElement;
|
|
27
|
+
export declare function ChatPageRender({ theme, messages, chatStatus, error: _error, pendingInputAgent, pendingPermissionRequest, pendingQuestionRequest, activeStrategyPath, canContinue, onReplySubmit, onSteerSubmit, onContinueSubmit, onPermissionDecide, onQuestionSubmit, onAbort, strategies, emptyStrategyLabel, emptyStrategyPlaceholder, onOpenSubStrategy, }: ChatPageRenderProps): React.ReactElement;
|
|
@@ -8,7 +8,11 @@ export interface IntroPageRenderProps {
|
|
|
8
8
|
readonly theme: IntroPageTheme;
|
|
9
9
|
/** Strategies to expose to the input's strategy switcher. */
|
|
10
10
|
readonly strategies: readonly DiscoveredStrategy[];
|
|
11
|
+
/** Label shown when no strategies are available yet. */
|
|
12
|
+
readonly emptyStrategyLabel: string;
|
|
13
|
+
/** Prompt placeholder shown when no strategies are available yet. */
|
|
14
|
+
readonly emptyStrategyPlaceholder: string;
|
|
11
15
|
/** Submit handler — `(strategyKey, input)`. */
|
|
12
16
|
readonly onSubmit: ChatTextAreaProps["onSubmit"];
|
|
13
17
|
}
|
|
14
|
-
export declare function IntroPageRender({ theme, strategies, onSubmit, }: IntroPageRenderProps): React.ReactElement;
|
|
18
|
+
export declare function IntroPageRender({ theme, strategies, emptyStrategyLabel, emptyStrategyPlaceholder, onSubmit, }: IntroPageRenderProps): React.ReactElement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comma-agents/tui",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.1",
|
|
4
4
|
"description": "Terminal UI for CommaAgents that connects to the daemon via WebSocket",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@amandaghassaei/stl-parser": "1.7.0",
|
|
32
|
-
"@comma-agents/core": "2.0.0-rc.
|
|
33
|
-
"@comma-agents/daemon": "2.0.0-rc.
|
|
32
|
+
"@comma-agents/core": "2.0.0-rc.1",
|
|
33
|
+
"@comma-agents/daemon": "2.0.0-rc.1",
|
|
34
34
|
"@shikijs/cli": "^4.0.2",
|
|
35
35
|
"chalk": "5.6.2",
|
|
36
36
|
"cli-table3": "0.6.5",
|