refactor: remove pnpm workspace configuration and update opencode functionality

- Deleted pnpm-workspace.yaml file.
- Modified opencode.ts to enhance skill creation and execution:
  - Updated skill title and summary for clarity.
  - Introduced a delay for router loading.
  - Improved route filtering logic.
  - Added extractArgs function to handle argument extraction from z.object types.
- Updated route.ts to ensure 'opencode' tag is added to skills if not present and improved JSON schema handling for args.
This commit is contained in:
2026-02-18 04:53:32 +08:00
parent b2f718c492
commit 40a8825ea2
8 changed files with 85 additions and 3669 deletions

View File

@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package",
"name": "@kevisual/router",
"version": "0.0.74",
"version": "0.0.75",
"description": "",
"type": "module",
"main": "./dist/router.js",
@@ -28,7 +28,7 @@
"@kevisual/dts": "^0.0.4",
"@kevisual/js-filter": "^0.0.5",
"@kevisual/local-proxy": "^0.0.8",
"@kevisual/query": "^0.0.43",
"@kevisual/query": "^0.0.46",
"@kevisual/use-config": "^1.0.30",
"@opencode-ai/plugin": "^1.2.6",
"@types/bun": "^1.3.9",