feat: refactor context usage and add search template route

- Updated context key usage from `useConfigKey` to `useContextKey` in app initialization.
- Introduced a new route for searching templates related to 小红书 with a default keyword.
- Enhanced error handling for saving notes and user information.
- Added a command for searching templates in the CLI.
- Created a new agent plugin for browser integration.
This commit is contained in:
2026-01-21 01:45:27 +08:00
parent e5ddd01fd2
commit e5c3ec3f79
8 changed files with 162 additions and 418 deletions

View File

@@ -37,33 +37,35 @@
],
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
"license": "MIT",
"packageManager": "pnpm@10.26.0",
"packageManager": "pnpm@10.28.1",
"type": "module",
"dependencies": {
"better-sqlite3": "^12.5.0",
"better-sqlite3": "^12.6.2",
"nanoid": "^5.1.6",
"playwright": "^1.57.0",
"playwright-extra": "^4.3.6",
"playwright-extra-plugin-stealth": "^0.0.1",
"user-agents": "^1.1.669",
"zod": "^4.2.1",
"zod": "^4.3.5",
"zod-to-json-schema": "^3.25.1"
},
"devDependencies": {
"@kevisual/code-builder": "^0.0.2",
"@kevisual/code-builder": "^0.0.3",
"@kevisual/context": "^0.0.4",
"@kevisual/router": "^0.0.49",
"@kevisual/types": "^0.0.10",
"@kevisual/use-config": "^1.0.21",
"@kevisual/js-filter": "^0.0.5",
"@kevisual/router": "^0.0.59",
"@types/better-sqlite3": "^7.6.13",
"@types/bun": "^1.3.5",
"@types/node": "^25.0.3",
"@kevisual/types": "^0.0.11",
"@kevisual/use-config": "^1.0.28",
"@types/bun": "^1.3.6",
"@types/node": "^25.0.9",
"@types/user-agents": "^1.0.4",
"commander": "^14.0.2",
"dotenv": "^17.2.3",
"drizzle-kit": "^0.31.8",
"drizzle-orm": "^0.45.1",
"es-toolkit": "^1.43.0",
"eventemitter3": "^5.0.1",
"es-toolkit": "^1.44.0",
"eventemitter3": "^5.0.4",
"lru-cache": "^11.2.4",
"puppeteer-extra-plugin-stealth": "^2.11.2"
}