8d85e834181869cdf0efae62af4ecc098f5b5372
- Implemented user authentication routes in `auth.ts` for fetching current user info and admin verification. - Added caching mechanism for user tokens to improve performance. - Created middleware for admin authentication. feat(opencode): create OpenCode client route - Added `opencode-cnb` route for creating OpenCode clients with session management. - Integrated OpenCode SDK for client operations and session handling. refactor(client): encapsulate OpenCode client creation - Created a utility function `getClient` in `client.ts` to initialize OpenCode clients. test(opencode): add tests for OpenCode routes - Implemented test cases for OpenCode routes in `list.ts` to validate functionality. - Created common utilities for testing in `common.ts`.
一个简单的cli工具
npm i -g @kevisual/cli
Description
asstistant cli 助手,可以通过命令形式,快速部署网站页面内容。把代码push到服务器端。服务器端根据前端或则后端进行显示界面内容。自部署的后端一键式启动服务
https://kevisual.xiongxiao.me/root/cli/
Languages
TypeScript
95.1%
Astro
2.4%
CSS
1.2%
JavaScript
1%
Vue
0.3%