fix: settings directory and command description
This commit is contained in:
parent
9a4a91ee6d
commit
86724ea85b
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ import { getErrorMessage, isWithinRoot } from '@qwen-code/qwen-code-core';
|
||||||
import stripJsonComments from 'strip-json-comments';
|
import stripJsonComments from 'strip-json-comments';
|
||||||
|
|
||||||
export const TRUSTED_FOLDERS_FILENAME = 'trustedFolders.json';
|
export const TRUSTED_FOLDERS_FILENAME = 'trustedFolders.json';
|
||||||
export const SETTINGS_DIRECTORY_NAME = '.gemini';
|
export const SETTINGS_DIRECTORY_NAME = '.qwen';
|
||||||
export const USER_SETTINGS_DIR = path.join(homedir(), SETTINGS_DIRECTORY_NAME);
|
export const USER_SETTINGS_DIR = path.join(homedir(), SETTINGS_DIRECTORY_NAME);
|
||||||
export const USER_TRUSTED_FOLDERS_PATH = path.join(
|
export const USER_TRUSTED_FOLDERS_PATH = path.join(
|
||||||
USER_SETTINGS_DIR,
|
USER_SETTINGS_DIR,
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import { CommandKind, OpenDialogActionReturn, SlashCommand } from './types.js';
|
||||||
|
|
||||||
export const settingsCommand: SlashCommand = {
|
export const settingsCommand: SlashCommand = {
|
||||||
name: 'settings',
|
name: 'settings',
|
||||||
description: 'View and edit Gemini CLI settings',
|
description: 'View and edit Qwen Code settings',
|
||||||
kind: CommandKind.BUILT_IN,
|
kind: CommandKind.BUILT_IN,
|
||||||
action: (_context, _args): OpenDialogActionReturn => ({
|
action: (_context, _args): OpenDialogActionReturn => ({
|
||||||
type: 'dialog',
|
type: 'dialog',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue