@josephyan/qingflow-app-user-mcp 1.1.24 → 1.1.25

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@1.1.24
6
+ npm install @josephyan/qingflow-app-user-mcp@1.1.25
7
7
  ```
8
8
 
9
9
  Run:
10
10
 
11
11
  ```bash
12
- npx -y -p @josephyan/qingflow-app-user-mcp@1.1.24 qingflow-app-user-mcp
12
+ npx -y -p @josephyan/qingflow-app-user-mcp@1.1.25 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": "1.1.24",
3
+ "version": "1.1.25",
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 = "1.1.24"
7
+ version = "1.1.25"
8
8
  description = "User-authenticated MCP server for Qingflow"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -2998,8 +2998,11 @@ class AiBuilderTools(ToolBase):
2998
2998
  original = job.get("item") if isinstance(job.get("item"), dict) else {}
2999
2999
  if not original:
3000
3000
  continue
3001
- index = _coerce_nonnegative_int(original.get("index"))
3002
- if index is None or index >= len(final_items):
3001
+ try:
3002
+ index = int(original.get("index"))
3003
+ except (TypeError, ValueError):
3004
+ continue
3005
+ if index < 0 or index >= len(final_items):
3003
3006
  continue
3004
3007
  repaired_item = deepcopy(original)
3005
3008
  exception = output.get("exception")