@josephyan/qingflow-app-user-mcp 0.2.0-beta.96 → 0.2.0-beta.97

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 CHANGED
@@ -3,13 +3,13 @@
3
3
  Install:
4
4
 
5
5
  ```bash
6
- npm install @josephyan/qingflow-app-user-mcp@0.2.0-beta.96
6
+ npm install @josephyan/qingflow-app-user-mcp@0.2.0-beta.97
7
7
  ```
8
8
 
9
9
  Run:
10
10
 
11
11
  ```bash
12
- npx -y -p @josephyan/qingflow-app-user-mcp@0.2.0-beta.96 qingflow-app-user-mcp
12
+ npx -y -p @josephyan/qingflow-app-user-mcp@0.2.0-beta.97 qingflow-app-user-mcp
13
13
  ```
14
14
 
15
15
  Environment:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@josephyan/qingflow-app-user-mcp",
3
- "version": "0.2.0-beta.96",
3
+ "version": "0.2.0-beta.97",
4
4
  "description": "Operational end-user MCP for Qingflow records, tasks, comments, and directory workflows.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "qingflow-mcp"
7
- version = "0.2.0b96"
7
+ version = "0.2.0b97"
8
8
  description = "User-authenticated MCP server for Qingflow"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -5,7 +5,7 @@ from pathlib import Path
5
5
 
6
6
  __all__ = ["__version__"]
7
7
 
8
- _FALLBACK_VERSION = "0.2.0b95"
8
+ _FALLBACK_VERSION = "0.2.0b97"
9
9
 
10
10
 
11
11
  def _resolve_local_pyproject_version() -> str | None:
@@ -2789,8 +2789,6 @@ class RecordTools(ToolBase):
2789
2789
  ) -> list[AccessibleViewRoute]:
2790
2790
  candidates: list[AccessibleViewRoute] = []
2791
2791
  for view_id, list_type, name in SYSTEM_VIEW_DEFINITIONS:
2792
- if not self._probe_list_type_access(context, app_key=app_key, list_type=list_type):
2793
- continue
2794
2792
  candidates.append(
2795
2793
  AccessibleViewRoute(
2796
2794
  view_id=view_id,
@@ -2807,11 +2805,22 @@ class RecordTools(ToolBase):
2807
2805
  view_key = _normalize_optional_text(item.get("viewKey"))
2808
2806
  if not view_key:
2809
2807
  continue
2810
- view_selection = self._resolve_view_selection(profile, context, app_key, view_key=view_key, view_name=None)
2811
- if view_selection is None:
2812
- continue
2813
- view_name = _normalize_optional_text(item.get("viewName")) or view_selection.view_name or view_key
2814
- view_type = _normalize_optional_text(item.get("viewType") or item.get("viewgraphType")) or view_selection.view_type
2808
+ view_name = _normalize_optional_text(item.get("viewName")) or view_key
2809
+ view_type = _normalize_optional_text(item.get("viewType") or item.get("viewgraphType"))
2810
+ filter_config: JSONObject | None = None
2811
+ if isinstance(item.get("viewgraphLimit"), list):
2812
+ filter_config = item
2813
+ else:
2814
+ raw_view_config = item.get("viewConfig")
2815
+ if isinstance(raw_view_config, dict):
2816
+ filter_config = raw_view_config
2817
+ view_selection = ViewSelection(
2818
+ view_key=view_key,
2819
+ view_name=view_name,
2820
+ conditions=_compile_view_conditions(filter_config or {}),
2821
+ view_type=view_type,
2822
+ filter_config_loaded=isinstance(filter_config, dict),
2823
+ )
2815
2824
  candidates.append(
2816
2825
  AccessibleViewRoute(
2817
2826
  view_id=f"custom:{view_key}",
@@ -7178,13 +7187,6 @@ class RecordTools(ToolBase):
7178
7187
  raise_tool_error(QingflowApiError.config_error("view_id is required; call app_get first to inspect accessible_views"))
7179
7188
 
7180
7189
  system_all_list_type = SYSTEM_VIEW_ID_TO_LIST_TYPE["system:all"]
7181
- if not self._probe_list_type_access(context, app_key=app_key, list_type=system_all_list_type):
7182
- raise_tool_error(
7183
- QingflowApiError.config_error(
7184
- "view_id is required because system:all is not accessible; call app_get first to inspect accessible_views"
7185
- )
7186
- )
7187
-
7188
7190
  return (
7189
7191
  AccessibleViewRoute(
7190
7192
  view_id="system:all",