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:
commit
abd999a17f
@ -9,6 +9,7 @@ export interface Command {
|
|||||||
name: string;
|
name: string;
|
||||||
pattern: string;
|
pattern: string;
|
||||||
description: string;
|
description: string;
|
||||||
|
path: string;
|
||||||
args: number;
|
args: number;
|
||||||
handler: (commandName: string, userInput: string) => Promise<string>;
|
handler: (commandName: string, userInput: string) => Promise<string>;
|
||||||
}
|
}
|
||||||
@ -24,6 +25,7 @@ async function getCommandListByDevChatRun(includeHide: boolean = false): Promise
|
|||||||
name: command.name,
|
name: command.name,
|
||||||
pattern: command.name,
|
pattern: command.name,
|
||||||
description: command.description,
|
description: command.description,
|
||||||
|
path: command.path,
|
||||||
args: 0,
|
args: 0,
|
||||||
handler: async (commandName: string, userInput: string) => { return ''; }
|
handler: async (commandName: string, userInput: string) => { return ''; }
|
||||||
};
|
};
|
||||||
|
@ -41,6 +41,7 @@ export interface LogEntry {
|
|||||||
export interface CommandEntry {
|
export interface CommandEntry {
|
||||||
name: string;
|
name: string;
|
||||||
description: string;
|
description: string;
|
||||||
|
path: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TopicEntry {
|
export interface TopicEntry {
|
||||||
|
2
tools
2
tools
@ -1 +1 @@
|
|||||||
Subproject commit 44325ab18520ac6bb650a3e3abdc83d7361f7e2c
|
Subproject commit aa808a8efcdf12d3e21f4b8d7c38cbc39d9eba8c
|
Loading…
x
Reference in New Issue
Block a user