@lotics/cli 0.254.0 → 0.255.1
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/dist/src/cli.js +16 -5
- 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.
|
|
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() === "";
|
|
@@ -48501,6 +48502,7 @@ function capabilityDescriptionRefusal(kind, alias2, description) {
|
|
|
48501
48502
|
return `${noun} alias "${alias2}" description is ${description.length} characters \u2014 the cap is ${MAX_APP_CAPABILITY_DESCRIPTION}. It is a one-line summary an agent reads when choosing between this app's ${plural}; longer guidance belongs in the agent's own instructions.`;
|
|
48502
48503
|
}
|
|
48503
48504
|
var APP_ANONYMOUS_REQUEST_MAX_BYTES = 256 * 1024;
|
|
48505
|
+
var APP_UPLOAD_MAX_BYTES = 25 * 1024 * 1024;
|
|
48504
48506
|
var PUBLIC_APP_UPLOAD_BYTES_LIMIT = 500 * 1024 * 1024;
|
|
48505
48507
|
var PUBLIC_APP_UPLOAD_BYTES_WINDOW_SECONDS = 60 * 60;
|
|
48506
48508
|
var appWorkflowDeclarationSchema = zod_default.object({
|
|
@@ -57976,7 +57978,7 @@ function resultSideEffects(result) {
|
|
|
57976
57978
|
|
|
57977
57979
|
// src/version.ts
|
|
57978
57980
|
init_define_LOTICS_KIT_VERSIONS();
|
|
57979
|
-
var VERSION = "0.
|
|
57981
|
+
var VERSION = "0.255.1";
|
|
57980
57982
|
|
|
57981
57983
|
// src/timezone.ts
|
|
57982
57984
|
init_define_LOTICS_KIT_VERSIONS();
|
|
@@ -74851,8 +74853,11 @@ import { tmpdir } from "node:os";
|
|
|
74851
74853
|
|
|
74852
74854
|
// ../shared/src/app_reach.ts
|
|
74853
74855
|
init_define_LOTICS_KIT_VERSIONS();
|
|
74856
|
+
function hasScreens(app) {
|
|
74857
|
+
return app.current_version_id != null;
|
|
74858
|
+
}
|
|
74854
74859
|
function reachedOnlyThroughApi(app) {
|
|
74855
|
-
if (app
|
|
74860
|
+
if (hasScreens(app)) return false;
|
|
74856
74861
|
return Object.keys(app.queries ?? {}).length > 0 || Object.keys(app.workflows ?? {}).length > 0 || Object.keys(app.agents ?? {}).length > 0;
|
|
74857
74862
|
}
|
|
74858
74863
|
|
|
@@ -81260,6 +81265,8 @@ Ready. Next steps:`);
|
|
|
81260
81265
|
console.error(` lotics app workflow set <alias> # push the body (the server verifies it)`);
|
|
81261
81266
|
console.error(` lotics app check # every pre-flight a release would run`);
|
|
81262
81267
|
console.error(` lotics app api publish # snapshot what those aliases promise`);
|
|
81268
|
+
console.error(` # it has no screens, so it stays private: call it from your server with an API key`);
|
|
81269
|
+
console.error(` # (Settings \u2192 API keys \u2192 Only selected ones \u2192 this app)`);
|
|
81263
81270
|
} else if (plan === null) {
|
|
81264
81271
|
console.error(` # edit src/App.tsx, then:`);
|
|
81265
81272
|
console.error(` lotics app check # every pre-flight a deploy runs`);
|
|
@@ -81918,6 +81925,10 @@ function matchCell(cell, field2, filterCondition, looseCondition, memberContext)
|
|
|
81918
81925
|
} else {
|
|
81919
81926
|
matches = normalizedValue === void 0 || normalizedFilterValues.every((fv) => normalizedValue !== fv);
|
|
81920
81927
|
}
|
|
81928
|
+
} else if (filterCondition.operator === "contains_any_of") {
|
|
81929
|
+
const needles = (Array.isArray(filterCondition.value) ? filterCondition.value : []).map((v) => foldDiacritics(v.trim().toLowerCase())).filter((v) => v !== "");
|
|
81930
|
+
if (needles.length === 0) return null;
|
|
81931
|
+
matches = foldedValue !== void 0 && needles.some((needle) => foldedValue.includes(needle));
|
|
81921
81932
|
}
|
|
81922
81933
|
} else if (filterCondition.type === "number") {
|
|
81923
81934
|
const numberValue = columnValue;
|