mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-22 04:16:07 +00:00
fix: stabilize 4.11 branch runtime state
This commit is contained in:
committed by
huanghuoguoguo
parent
35d970c4a5
commit
bdc6704d88
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "langbot"
|
name = "langbot"
|
||||||
version = "4.10.5"
|
version = "4.11.0"
|
||||||
description = "Production-grade platform for building agentic IM bots"
|
description = "Production-grade platform for building agentic IM bots"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license-files = ["LICENSE"]
|
license-files = ["LICENSE"]
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
"""merge mcp resource and agent product migration heads
|
||||||
|
|
||||||
|
Revision ID: 0010_merge_mcp_resource_agent_heads
|
||||||
|
Revises: 0008_mcp_resource_prefs, 0009_migrate_routing_to_event_bindings
|
||||||
|
Create Date: 2026-06-30
|
||||||
|
"""
|
||||||
|
|
||||||
|
revision = '0010_merge_mcp_resource_agent_heads'
|
||||||
|
down_revision = ('0008_mcp_resource_prefs', '0009_migrate_routing_to_event_bindings')
|
||||||
|
branch_labels = None
|
||||||
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade() -> None:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade() -> None:
|
||||||
|
pass
|
||||||
@@ -2133,7 +2133,7 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "langbot"
|
name = "langbot"
|
||||||
version = "4.10.5"
|
version = "4.11.0"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "aiocqhttp" },
|
{ name = "aiocqhttp" },
|
||||||
|
|||||||
@@ -93,11 +93,9 @@ function getPluginComponentIconURL(value?: string): string | null {
|
|||||||
function SelectOptionContent({
|
function SelectOptionContent({
|
||||||
label,
|
label,
|
||||||
value,
|
value,
|
||||||
showDescription = false,
|
|
||||||
}: {
|
}: {
|
||||||
label: string;
|
label: string;
|
||||||
value: string;
|
value: string;
|
||||||
showDescription?: boolean;
|
|
||||||
}) {
|
}) {
|
||||||
const iconURL = getPluginComponentIconURL(value);
|
const iconURL = getPluginComponentIconURL(value);
|
||||||
|
|
||||||
@@ -112,11 +110,6 @@ function SelectOptionContent({
|
|||||||
)}
|
)}
|
||||||
<div className="min-w-0 flex flex-col">
|
<div className="min-w-0 flex flex-col">
|
||||||
<span className="truncate">{label}</span>
|
<span className="truncate">{label}</span>
|
||||||
{showDescription && (
|
|
||||||
<span className="truncate text-xs text-muted-foreground">
|
|
||||||
{value}
|
|
||||||
</span>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@@ -487,7 +480,6 @@ export default function DynamicFormItemComponent({
|
|||||||
<SelectOptionContent
|
<SelectOptionContent
|
||||||
label={extractI18nObject(option.label)}
|
label={extractI18nObject(option.label)}
|
||||||
value={option.name}
|
value={option.name}
|
||||||
showDescription
|
|
||||||
/>
|
/>
|
||||||
</SelectItem>
|
</SelectItem>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user