@josephyan/qingflow-app-user-mcp 1.1.27 → 1.1.28
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.
|
|
6
|
+
npm install @josephyan/qingflow-app-user-mcp@1.1.28
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
Run:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
npx -y -p @josephyan/qingflow-app-user-mcp@1.1.
|
|
12
|
+
npx -y -p @josephyan/qingflow-app-user-mcp@1.1.28 qingflow-app-user-mcp
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Environment:
|
package/package.json
CHANGED
package/pyproject.toml
CHANGED
|
@@ -157,6 +157,7 @@ MATCH_TYPE_ACCURACY = 1
|
|
|
157
157
|
MATCH_TYPE_QUESTION = 2
|
|
158
158
|
JUDGE_EQUAL = 0
|
|
159
159
|
JUDGE_UNEQUAL = 1
|
|
160
|
+
JUDGE_INCLUDE = 2
|
|
160
161
|
JUDGE_GREATER_OR_EQUAL = 5
|
|
161
162
|
JUDGE_LESS_OR_EQUAL = 7
|
|
162
163
|
JUDGE_EQUAL_ANY = 9
|
|
@@ -12580,7 +12581,8 @@ def _match_mapping_operator_to_judge_type(operator: Any, *, reason_path: str) ->
|
|
|
12580
12581
|
"le": JUDGE_LESS_OR_EQUAL,
|
|
12581
12582
|
"<=": JUDGE_LESS_OR_EQUAL,
|
|
12582
12583
|
"less_or_equal": JUDGE_LESS_OR_EQUAL,
|
|
12583
|
-
"contains":
|
|
12584
|
+
"contains": JUDGE_INCLUDE,
|
|
12585
|
+
"include": JUDGE_INCLUDE,
|
|
12584
12586
|
"like": JUDGE_FUZZY_MATCH,
|
|
12585
12587
|
"fuzzy": JUDGE_FUZZY_MATCH,
|
|
12586
12588
|
"fuzzy_match": JUDGE_FUZZY_MATCH,
|
|
@@ -22331,7 +22333,7 @@ def _translate_flow_condition_rule(*, field: dict[str, Any], rule: dict[str, Any
|
|
|
22331
22333
|
base["judgeType"] = JUDGE_INCLUDE_ANY if field_type in INCLUDE_ANY_FLOW_FIELD_TYPES else JUDGE_EQUAL_ANY
|
|
22332
22334
|
base["judgeValues"] = [_stringify_condition_value(value) for value in values]
|
|
22333
22335
|
elif operator == "contains":
|
|
22334
|
-
base["judgeType"] =
|
|
22336
|
+
base["judgeType"] = JUDGE_INCLUDE
|
|
22335
22337
|
base["judgeValues"] = [_stringify_condition_value(values[0])]
|
|
22336
22338
|
elif operator == "gte":
|
|
22337
22339
|
base["judgeType"] = JUDGE_GREATER_OR_EQUAL
|
|
@@ -24098,7 +24100,7 @@ def _translate_view_filter_rule(*, field: dict[str, Any], rule: dict[str, Any])
|
|
|
24098
24100
|
payload["judgeType"] = JUDGE_INCLUDE_ANY if field_type in INCLUDE_ANY_FLOW_FIELD_TYPES else JUDGE_EQUAL_ANY
|
|
24099
24101
|
payload["judgeValues"] = judge_values
|
|
24100
24102
|
elif operator == "contains":
|
|
24101
|
-
payload["judgeType"] =
|
|
24103
|
+
payload["judgeType"] = JUDGE_INCLUDE
|
|
24102
24104
|
payload["judgeValues"] = judge_values[:1] if judge_values else []
|
|
24103
24105
|
elif operator == "gte":
|
|
24104
24106
|
payload["judgeType"] = JUDGE_GREATER_OR_EQUAL
|