feat: add user info command and package management for assistant app
- Implemented a new command 'me' to view current user information in the assistant application. - Created a common configuration file for the assistant app with package details and scripts. - Added functionality to check and update package.json dependencies and devDependencies in the assistant app. - Refactored storage initialization in query module to use StorageNode.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { Query } from '@kevisual/query/query';
|
||||
import { getConfig, getEnvToken } from './get-config.ts';
|
||||
import { QueryLoginNode, storage } from '@kevisual/api/login-node';
|
||||
import { QueryLoginNode, StorageNode } from '@kevisual/api/login-node';
|
||||
const config = getConfig();
|
||||
export const baseURL = config?.baseURL || 'https://kevisual.cn';
|
||||
export { storage };
|
||||
export const storage = new StorageNode({ load: true });
|
||||
export const getBaseURL = () => {
|
||||
return baseURL;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user