@lotics/cli 0.254.0 → 0.255.0

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.
Files changed (2) hide show
  1. package/dist/src/cli.js +9 -4
  2. package/package.json +1 -1
package/dist/src/cli.js CHANGED
@@ -52,7 +52,7 @@ var __toESM = (mod2, isNodeMode, target) => (target = mod2 != null ? __create(__
52
52
  var define_LOTICS_KIT_VERSIONS_default;
53
53
  var init_define_LOTICS_KIT_VERSIONS = __esm({
54
54
  "<define:__LOTICS_KIT_VERSIONS__>"() {
55
- define_LOTICS_KIT_VERSIONS_default = { runtime: "0.39.0" };
55
+ define_LOTICS_KIT_VERSIONS_default = { runtime: "0.39.1" };
56
56
  }
57
57
  });
58
58
 
@@ -47182,7 +47182,8 @@ var tableRecordTextFieldFilterSchema = zod_default.object({
47182
47182
  "is_empty",
47183
47183
  "is_not_empty",
47184
47184
  "is_any_of",
47185
- "is_none_of"
47185
+ "is_none_of",
47186
+ "contains_any_of"
47186
47187
  ]),
47187
47188
  value: zod_default.union([zod_default.string(), zod_default.array(zod_default.string())]).nullable()
47188
47189
  });
@@ -47549,7 +47550,7 @@ var NO_VALUE_OPERATORS = /* @__PURE__ */ new Set([
47549
47550
  "is_locked",
47550
47551
  "is_not_locked"
47551
47552
  ]);
47552
- var TEXT_ARRAY_OPERATORS = /* @__PURE__ */ new Set(["is_any_of", "is_none_of"]);
47553
+ var TEXT_ARRAY_OPERATORS = /* @__PURE__ */ new Set(["is_any_of", "is_none_of", "contains_any_of"]);
47553
47554
  function isUnstatedDatePoint(point) {
47554
47555
  if (point === null || point === void 0) return true;
47555
47556
  if (typeof point === "string") return point.trim() === "";
@@ -57976,7 +57977,7 @@ function resultSideEffects(result) {
57976
57977
 
57977
57978
  // src/version.ts
57978
57979
  init_define_LOTICS_KIT_VERSIONS();
57979
- var VERSION = "0.254.0";
57980
+ var VERSION = "0.255.0";
57980
57981
 
57981
57982
  // src/timezone.ts
57982
57983
  init_define_LOTICS_KIT_VERSIONS();
@@ -81918,6 +81919,10 @@ function matchCell(cell, field2, filterCondition, looseCondition, memberContext)
81918
81919
  } else {
81919
81920
  matches = normalizedValue === void 0 || normalizedFilterValues.every((fv) => normalizedValue !== fv);
81920
81921
  }
81922
+ } else if (filterCondition.operator === "contains_any_of") {
81923
+ const needles = (Array.isArray(filterCondition.value) ? filterCondition.value : []).map((v) => foldDiacritics(v.trim().toLowerCase())).filter((v) => v !== "");
81924
+ if (needles.length === 0) return null;
81925
+ matches = foldedValue !== void 0 && needles.some((needle) => foldedValue.includes(needle));
81921
81926
  }
81922
81927
  } else if (filterCondition.type === "number") {
81923
81928
  const numberValue = columnValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.254.0",
3
+ "version": "0.255.0",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {