@lotics/cli 0.127.0 → 0.128.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 +6 -2
  2. package/package.json +1 -1
package/dist/src/cli.js CHANGED
@@ -45588,7 +45588,7 @@ import { tmpdir } from "node:os";
45588
45588
 
45589
45589
  // src/starter_template.ts
45590
45590
  var STARTER_FALLBACK_UI_VERSION = "28.1.0";
45591
- var STARTER_FALLBACK_SDK_VERSION = "0.52.0";
45591
+ var STARTER_FALLBACK_SDK_VERSION = "0.73.0";
45592
45592
  var STARTER_REACT_NATIVE_VERSION = "0.85.3";
45593
45593
  var VITEST_SETUP_FILENAME = "vitest.setup.ts";
45594
45594
  var VITEST_SETUP_CONTENT = `import { vi } from "vitest";
@@ -64788,6 +64788,7 @@ var querySourceSchema = zod_default.lazy(
64788
64788
  zod_default.object({ expression: zod_default.string() })
64789
64789
  ])
64790
64790
  );
64791
+ var FILES_PROJECTION_MAX_LIMIT = 10;
64791
64792
  var queryProjectionColumnObjectSchema = zod_default.object({
64792
64793
  output: zod_default.string().optional().describe(
64793
64794
  "Output column name. Omit for a passthrough \u2014 it defaults to the source field key. Required only to rename, or for a computed source."
@@ -64803,6 +64804,9 @@ var queryProjectionColumnObjectSchema = zod_default.object({
64803
64804
  kind: zod_default.literal("source_field").describe("Currently the only writable target kind")
64804
64805
  }).optional().describe(
64805
64806
  "Marks this column as writable through to the originating source field. Valid only when `source` is a bare-string field reference and upstream addressing (source_table_id, source_field_key) is unambiguous. The compiler validates this and rejects otherwise."
64807
+ ),
64808
+ limit: zod_default.number().int().min(1).max(FILES_PROJECTION_MAX_LIMIT).optional().describe(
64809
+ "FILES columns only: return at most this many entries per cell, in stored order. For a list that renders ONE thumbnail per row \u2014 without it the column yields the whole array and the response pays to resolve every entry it will never show."
64806
64810
  )
64807
64811
  });
64808
64812
  var queryProjectionColumnSchema = zod_default.union([
@@ -70903,6 +70907,7 @@ function writeAppDts(projectDir, manifest) {
70903
70907
  writeDevLinkTsconfig(projectDir);
70904
70908
  writeKitTypeAugmentation(projectDir);
70905
70909
  ensureAppTsconfig(projectDir);
70910
+ ensureAppVitestSetup(projectDir);
70906
70911
  return written.map(([file2]) => file2);
70907
70912
  }
70908
70913
  function readCodegenTablesAllowlist(projectDir) {
@@ -70930,7 +70935,6 @@ function writeBindingAppFields(projectDir, binding) {
70930
70935
  fs6.mkdirSync(dotLotics, { recursive: true });
70931
70936
  const file2 = path7.join(dotLotics, "app_fields.ts");
70932
70937
  fs6.writeFileSync(file2, generatePackageAppFields(binding));
70933
- ensureAppVitestSetup(projectDir);
70934
70938
  return file2;
70935
70939
  }
70936
70940
  async function writeGeneratedAppFields(client, projectDir, app, queries) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.127.0",
3
+ "version": "0.128.0",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {