Merge pull request #436 from devchat-ai/feature/command-recommendation-directory-aware-#236

Feature: Command Recommendations with Directory Awareness on Welcome Page
This commit is contained in:
boob.yang 2024-02-03 16:17:30 +08:00 committed by GitHub
commit abd999a17f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,7 @@ export interface Command {
name: string;
pattern: string;
description: string;
path: string;
args: number;
handler: (commandName: string, userInput: string) => Promise<string>;
}
@ -24,6 +25,7 @@ async function getCommandListByDevChatRun(includeHide: boolean = false): Promise
name: command.name,
pattern: command.name,
description: command.description,
path: command.path,
args: 0,
handler: async (commandName: string, userInput: string) => { return ''; }
};

View File

@ -41,6 +41,7 @@ export interface LogEntry {
export interface CommandEntry {
name: string;
description: string;
path: string;
}
export interface TopicEntry {

2
tools

@ -1 +1 @@
Subproject commit 44325ab18520ac6bb650a3e3abdc83d7361f7e2c
Subproject commit aa808a8efcdf12d3e21f4b8d7c38cbc39d9eba8c