@qingflow-tech/qingflow-app-builder-mcp 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
- package/pyproject.toml +1 -1
- package/src/qingflow_mcp/builder_facade/models.py +41 -2
- package/src/qingflow_mcp/builder_facade/service.py +1261 -141
- package/src/qingflow_mcp/cli/commands/app.py +3 -16
- package/src/qingflow_mcp/cli/commands/builder.py +28 -2
- package/src/qingflow_mcp/cli/commands/record.py +16 -1
- package/src/qingflow_mcp/cli/formatters.py +32 -1
- package/src/qingflow_mcp/public_surface.py +3 -1
- package/src/qingflow_mcp/response_trim.py +55 -3
- package/src/qingflow_mcp/server.py +10 -9
- package/src/qingflow_mcp/server_app_builder.py +26 -5
- package/src/qingflow_mcp/server_app_user.py +12 -15
- package/src/qingflow_mcp/solution/compiler/icon_utils.py +294 -0
- package/src/qingflow_mcp/tools/ai_builder_tools.py +461 -54
- package/src/qingflow_mcp/tools/app_tools.py +53 -8
- package/src/qingflow_mcp/tools/package_tools.py +16 -2
- package/src/qingflow_mcp/tools/record_tools.py +1262 -103
- package/src/qingflow_mcp/tools/resource_read_tools.py +3 -0
|
@@ -6,6 +6,7 @@ from typing import Any
|
|
|
6
6
|
from ..errors import QingflowApiError, raise_tool_error
|
|
7
7
|
from ..json_types import JSONObject
|
|
8
8
|
from ..list_type_labels import SYSTEM_VIEW_DEFINITIONS
|
|
9
|
+
from ..solution.compiler.icon_utils import workspace_icon_config
|
|
9
10
|
from .app_tools import _analysis_supported_for_view_type
|
|
10
11
|
from .base import ToolBase, tool_cn_name
|
|
11
12
|
from .qingbi_report_tools import QingbiReportTools
|
|
@@ -75,6 +76,7 @@ class ResourceReadTools(ToolBase):
|
|
|
75
76
|
"dash_key": dash_key,
|
|
76
77
|
"dash_name": dash_name,
|
|
77
78
|
"dash_icon": dash_icon,
|
|
79
|
+
"icon_config": workspace_icon_config(dash_icon),
|
|
78
80
|
"package_tag_ids": package_tag_ids,
|
|
79
81
|
"component_count": len(components),
|
|
80
82
|
"components": components,
|
|
@@ -368,6 +370,7 @@ def _normalize_portal_list_items(raw_items: Any) -> list[dict[str, Any]]:
|
|
|
368
370
|
"dash_key": dash_key or None,
|
|
369
371
|
"dash_name": dash_name or None,
|
|
370
372
|
"dash_icon": dash_icon,
|
|
373
|
+
"icon_config": workspace_icon_config(dash_icon),
|
|
371
374
|
"package_tag_ids": package_tag_ids,
|
|
372
375
|
}
|
|
373
376
|
)
|