@kevisual/cnb 0.0.22 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,5 @@
1
- import { createSkill } from '@kevisual/router'
1
+ import { createSkill, tool } from '@kevisual/router'
2
2
  import { app } from '../../app.ts'
3
- import { tool } from '@opencode-ai/plugin/tool'
4
3
 
5
4
  if (!app.hasRoute('call')) {
6
5
  // "调用 path: cnb key: list-repos"
@@ -1,6 +1,5 @@
1
- import { createSkill } from '@kevisual/router';
1
+ import { createSkill, tool } from '@kevisual/router';
2
2
  import { app, cnb } from '../../app.ts';
3
- import { tool } from "@opencode-ai/plugin/tool"
4
3
 
5
4
  // "列出我的代码仓库,search blog"
6
5
  // 列出我的知识库的代码仓库
@@ -1,6 +1,5 @@
1
1
  import { app, cnb } from '../../app.ts';
2
- import { createSkill, Skill } from '@kevisual/router'
3
- import { tool } from "@opencode-ai/plugin/tool"
2
+ import { createSkill, Skill, tool } from '@kevisual/router'
4
3
 
5
4
  // 创建一个仓库 kevisual/test-repo
6
5
  app.route({