feat: 更新静态资源代理文档,优化路由和插件集成,提升代码可读性和功能性
This commit is contained in:
6
agent/main.ts
Normal file
6
agent/main.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { app } from './app.ts'
|
||||
import { createRouterAgentPluginFn } from '../src/opencode.ts'
|
||||
import './routes/index.ts'
|
||||
|
||||
// 工具列表
|
||||
export const routerAgentPlugin = createRouterAgentPluginFn({ router: app });
|
||||
Reference in New Issue
Block a user