@lotics/app-sdk 0.111.0 → 0.111.2

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/index.js CHANGED
@@ -24780,15 +24780,8 @@ var cForStepSchema = zod_default.lazy(
24780
24780
  );
24781
24781
  var workflowStepsSchema = zod_default.array(workflowStepSchema).min(1);
24782
24782
 
24783
- // ../shared/src/retired_tools.ts
24784
- var RETIRED_TOOLS = /* @__PURE__ */ new Map([
24785
- ["generate_pdf_from_template", "generate_document"],
24786
- ["generate_excel_from_template", "generate_document"],
24787
- ["generate_word_from_template", "generate_document"]
24788
- ]);
24789
-
24790
24783
  // ../shared/src/tool_input_semantics_registry.ts
24791
- var CURRENT_TOOL_INPUT_SEMANTICS = {
24784
+ var TOOL_INPUT_SEMANTICS = {
24792
24785
  // ─── Bulk record mutations ─────────────────────────────────────────────
24793
24786
  update_records: {
24794
24787
  table_id: { kind: "table_ref", rows: "change" },
@@ -25320,15 +25313,6 @@ var CURRENT_TOOL_INPUT_SEMANTICS = {
25320
25313
  take: { kind: "scalar" }
25321
25314
  }
25322
25315
  };
25323
- var TOOL_INPUT_SEMANTICS = {
25324
- ...CURRENT_TOOL_INPUT_SEMANTICS,
25325
- ...Object.fromEntries(
25326
- [...RETIRED_TOOLS].flatMap(([retired, replacement]) => {
25327
- const semantics = CURRENT_TOOL_INPUT_SEMANTICS[replacement];
25328
- return semantics ? [[retired, semantics]] : [];
25329
- })
25330
- )
25331
- };
25332
25316
 
25333
25317
  // ../shared/src/workflow_step_helpers.ts
25334
25318
  function stepChildStepArrays(step) {
package/docs/queries.md CHANGED
@@ -905,7 +905,8 @@ Records are stored partitioned by workspace, so a query reads only its own works
905
905
  - **Every row of the table:** everything else — text equality and `contains`, number and date
906
906
  comparisons, sorts, negations, emptiness, files predicates. Fine on thousands of rows; the cost
907
907
  grows with the table, and on very large tables these dominate latency and are the usual
908
- timeout cause.
908
+ timeout cause. Each row is read once for all the fields the table's columns, conditions and
909
+ sort keys name, so four conditions cost about what one does.
909
910
 
910
911
  **Filter shape drives latency.** Lead with a GIN-served membership filter or `search`, which
911
912
  narrow the table before its rows are read, and let the other conditions refine that set.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/app-sdk",
3
- "version": "0.111.0",
3
+ "version": "0.111.2",
4
4
  "description": "The SDK a Lotics custom-code app reads and writes through \u2014 typed hooks over the host bridge, cell readers, mount() and AppRouter",
5
5
  "type": "module",
6
6
  "exports": {