mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
fix(claude-code): sync schema.prisma copies after merging staging
Root schema.prisma and the litellm-proxy-extras copy were missing the skill-marketplace additions that only existed in litellm/proxy/schema.prisma.
This commit is contained in:
parent
ef1ac8303f
commit
5ce2e3c421
2 changed files with 50 additions and 0 deletions
|
|
@ -280,6 +280,7 @@ model LiteLLM_ObjectPermissionTable {
|
|||
mcp_toolsets String[] @default([]) // Toolset IDs granted to this key/team/user
|
||||
search_tools String[] @default([]) // search_tool_name values this key/team/user may call
|
||||
mcp_tool_search_enabled Boolean?
|
||||
allowed_skills String[] @default([]) // Namespaced Claude Code skill names ("marketplace--skill") granted to this key/team/org
|
||||
teams LiteLLM_TeamTable[]
|
||||
projects LiteLLM_ProjectTable[]
|
||||
verification_tokens LiteLLM_VerificationToken[]
|
||||
|
|
@ -1261,6 +1262,7 @@ model LiteLLM_ClaudeCodePluginTable {
|
|||
manifest_json String?
|
||||
files_json String? @default("{}")
|
||||
enabled Boolean @default(true)
|
||||
marketplace_id String?
|
||||
created_at DateTime? @default(now())
|
||||
updated_at DateTime? @default(now()) @updatedAt
|
||||
created_by String?
|
||||
|
|
@ -1268,6 +1270,29 @@ model LiteLLM_ClaudeCodePluginTable {
|
|||
@@map("LiteLLM_ClaudeCodePluginTable")
|
||||
}
|
||||
|
||||
// A registered external Claude Code marketplace source (git repo or URL) that
|
||||
// litellm syncs skill/plugin listings from into LiteLLM_ClaudeCodePluginTable.
|
||||
model LiteLLM_SkillMarketplaceTable {
|
||||
id String @id @default(uuid())
|
||||
name String @unique
|
||||
display_name String?
|
||||
source_type String // "claude_marketplace_json" | "skills_dir" | "managed"
|
||||
source_ref String?
|
||||
branch String? @default("main")
|
||||
owner_name String?
|
||||
owner_email String?
|
||||
enabled Boolean @default(true)
|
||||
sync_status String @default("pending") // "pending" | "success" | "error"
|
||||
sync_error String?
|
||||
skipped_count Int @default(0) // skills that failed to fetch after retries during the last sync
|
||||
last_synced_at DateTime?
|
||||
created_at DateTime? @default(now())
|
||||
updated_at DateTime? @default(now()) @updatedAt
|
||||
created_by String?
|
||||
|
||||
@@map("LiteLLM_SkillMarketplaceTable")
|
||||
}
|
||||
|
||||
// User/team-scoped memory store with a GLOBAL unique key.
|
||||
// `value` is a string (typically markdown/text meant for LLM context);
|
||||
// `metadata` is an optional JSON envelope for structured tags without schema changes.
|
||||
|
|
|
|||
|
|
@ -280,6 +280,7 @@ model LiteLLM_ObjectPermissionTable {
|
|||
mcp_toolsets String[] @default([]) // Toolset IDs granted to this key/team/user
|
||||
search_tools String[] @default([]) // search_tool_name values this key/team/user may call
|
||||
mcp_tool_search_enabled Boolean?
|
||||
allowed_skills String[] @default([]) // Namespaced Claude Code skill names ("marketplace--skill") granted to this key/team/org
|
||||
teams LiteLLM_TeamTable[]
|
||||
projects LiteLLM_ProjectTable[]
|
||||
verification_tokens LiteLLM_VerificationToken[]
|
||||
|
|
@ -1261,6 +1262,7 @@ model LiteLLM_ClaudeCodePluginTable {
|
|||
manifest_json String?
|
||||
files_json String? @default("{}")
|
||||
enabled Boolean @default(true)
|
||||
marketplace_id String?
|
||||
created_at DateTime? @default(now())
|
||||
updated_at DateTime? @default(now()) @updatedAt
|
||||
created_by String?
|
||||
|
|
@ -1268,6 +1270,29 @@ model LiteLLM_ClaudeCodePluginTable {
|
|||
@@map("LiteLLM_ClaudeCodePluginTable")
|
||||
}
|
||||
|
||||
// A registered external Claude Code marketplace source (git repo or URL) that
|
||||
// litellm syncs skill/plugin listings from into LiteLLM_ClaudeCodePluginTable.
|
||||
model LiteLLM_SkillMarketplaceTable {
|
||||
id String @id @default(uuid())
|
||||
name String @unique
|
||||
display_name String?
|
||||
source_type String // "claude_marketplace_json" | "skills_dir" | "managed"
|
||||
source_ref String?
|
||||
branch String? @default("main")
|
||||
owner_name String?
|
||||
owner_email String?
|
||||
enabled Boolean @default(true)
|
||||
sync_status String @default("pending") // "pending" | "success" | "error"
|
||||
sync_error String?
|
||||
skipped_count Int @default(0) // skills that failed to fetch after retries during the last sync
|
||||
last_synced_at DateTime?
|
||||
created_at DateTime? @default(now())
|
||||
updated_at DateTime? @default(now()) @updatedAt
|
||||
created_by String?
|
||||
|
||||
@@map("LiteLLM_SkillMarketplaceTable")
|
||||
}
|
||||
|
||||
// User/team-scoped memory store with a GLOBAL unique key.
|
||||
// `value` is a string (typically markdown/text meant for LLM context);
|
||||
// `metadata` is an optional JSON envelope for structured tags without schema changes.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue