Refactor client routes and add IP fetching functionality

- Moved client route definitions to separate files for better organization.
- Added new route to fetch client IP addresses, supporting both IPv4 and IPv6.
- Implemented system information retrieval in the client routes.
- Updated package dependencies to their latest versions.
- Adjusted call route to prevent overwriting existing routes.
This commit is contained in:
2026-02-04 13:20:12 +08:00
parent 6212194f95
commit 5d6bd4f429
21 changed files with 363 additions and 256 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@kevisual/cli",
"version": "0.1.0",
"version": "0.1.1",
"description": "envision 命令行工具",
"type": "module",
"basename": "/root/cli",
@@ -49,7 +49,7 @@
"@kevisual/auth": "^2.0.3",
"@kevisual/context": "^0.0.4",
"@kevisual/use-config": "^1.0.30",
"@opencode-ai/sdk": "^1.1.48",
"@opencode-ai/sdk": "^1.1.49",
"@types/busboy": "^1.5.4",
"busboy": "^1.6.0",
"eventemitter3": "^5.0.4",
@@ -62,7 +62,7 @@
"unstorage": "^1.17.4"
},
"devDependencies": {
"@kevisual/api": "^0.0.42",
"@kevisual/api": "^0.0.44",
"@kevisual/dts": "^0.0.3",
"@kevisual/load": "^0.0.6",
"@kevisual/logger": "^0.0.4",
@@ -92,4 +92,4 @@
"publishConfig": {
"access": "public"
}
}
}