mirror of
https://github.com/lobehub/lobehub.git
synced 2026-09-20 04:56:13 +08:00
465a8c80e6
Add a dedicated `goals` table so a goal is an independent target entity instead of a JSONB marker on `tasks.config.goal`. - goals table owns its definition (title / requirement), budget (max_rounds / max_total_cost) and lifecycle state, decoupled from task.status - execution carrier is an optional polymorphic link (subject_type / subject_id), so a goal can back a task-driven /goal flow today, a conversation-declared goal later, or stand alone — no hard dependency on tasks - add goalStatuses / goalSubjectTypes consts exported via `@lobechat/const/goal` - register goals id namespace (goal_ prefix) and schema export - add drizzle migration 0141 + snapshot Co-authored-by: Arvin Xu <arvin.x@lobehub.com>
32 lines
829 B
JSON
32 lines
829 B
JSON
{
|
|
"name": "@lobechat/const",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./apiKeyScope": "./src/apiKeyScope.ts",
|
|
"./currency": "./src/currency.ts",
|
|
"./desktopGlobalShortcuts": "./src/desktopGlobalShortcuts.ts",
|
|
"./goal": "./src/goal.ts",
|
|
"./hotkeys": "./src/hotkeys.ts",
|
|
"./mediaRef": "./src/mediaRef.ts",
|
|
"./plugin": "./src/plugin.ts",
|
|
"./rbac": "./src/rbac.ts",
|
|
"./url": "./src/url.ts",
|
|
"./verify": "./src/verify.ts"
|
|
},
|
|
"main": "./src/index.ts",
|
|
"dependencies": {
|
|
"@lobechat/business-const": "workspace:*",
|
|
"query-string": "^9.4.1",
|
|
"url-join": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@lobechat/types": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"@icons-pack/react-simple-icons": "^13.8.0",
|
|
"@lobehub/ui": "^5"
|
|
}
|
|
}
|