@lotics/cli 0.71.0 → 0.74.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.
@@ -42,7 +42,7 @@ export interface StarterFile {
42
42
  * fall back here when the lookup fails.
43
43
  */
44
44
  export declare const STARTER_FALLBACK_UI_VERSION = "6.1.0";
45
- export declare const STARTER_FALLBACK_SDK_VERSION = "0.40.0";
45
+ export declare const STARTER_FALLBACK_SDK_VERSION = "0.51.0";
46
46
  /**
47
47
  * react-native pin for scaffolded apps. Matches the monorepo frontend's pin so
48
48
  * an app deep-typechecks `@lotics/ui`'s `.tsx` source against the SAME RN types
@@ -38,10 +38,11 @@
38
38
  * fall back here when the lookup fails.
39
39
  */
40
40
  export const STARTER_FALLBACK_UI_VERSION = "6.1.0";
41
- // Must be ≥ the release that added `@lotics/app-sdk/router` (`AppRouter`, used by
42
- // the scaffolded App.tsx) — an older offline pin won't resolve the subpath and
43
- // the scaffold won't typecheck.
44
- export const STARTER_FALLBACK_SDK_VERSION = "0.40.0";
41
+ // Must be ≥ the release that added `getAppBinding` (0.51.0, used by package
42
+ // projects' generated .lotics/app_fields.ts) — and note ^0.x caret ranges never
43
+ // cross a minor, so a stale floor here permanently pins scaffolds below the
44
+ // APIs the generated code imports.
45
+ export const STARTER_FALLBACK_SDK_VERSION = "0.51.0";
45
46
  /**
46
47
  * react-native pin for scaffolded apps. Matches the monorepo frontend's pin so
47
48
  * an app deep-typechecks `@lotics/ui`'s `.tsx` source against the SAME RN types
@@ -267,6 +268,11 @@ export default defineConfig({
267
268
  build: {
268
269
  outDir: "dist",
269
270
  sourcemap: true,
271
+ // Top-level await (package projects' generated .lotics/app_fields.ts
272
+ // resolves the installation binding at module load) needs es2022 — Vite's
273
+ // default 'modules' baseline is es2020 and esbuild hard-fails TLA there.
274
+ // Dev already transforms at esnext, so this only aligns the prod build.
275
+ target: "es2022",
270
276
  },
271
277
  server: {
272
278
  // Allow the sandboxed null-origin iframe used by \`lotics app dev\` to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.71.0",
3
+ "version": "0.74.0",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {