@lotics/cli 0.255.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.
Files changed (2) hide show
  1. package/dist/src/cli.js +8 -2
  2. package/package.json +1 -1
package/dist/src/cli.js CHANGED
@@ -48502,6 +48502,7 @@ function capabilityDescriptionRefusal(kind, alias2, description) {
48502
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.`;
48503
48503
  }
48504
48504
  var APP_ANONYMOUS_REQUEST_MAX_BYTES = 256 * 1024;
48505
+ var APP_UPLOAD_MAX_BYTES = 25 * 1024 * 1024;
48505
48506
  var PUBLIC_APP_UPLOAD_BYTES_LIMIT = 500 * 1024 * 1024;
48506
48507
  var PUBLIC_APP_UPLOAD_BYTES_WINDOW_SECONDS = 60 * 60;
48507
48508
  var appWorkflowDeclarationSchema = zod_default.object({
@@ -57977,7 +57978,7 @@ function resultSideEffects(result) {
57977
57978
 
57978
57979
  // src/version.ts
57979
57980
  init_define_LOTICS_KIT_VERSIONS();
57980
- var VERSION = "0.255.0";
57981
+ var VERSION = "0.255.1";
57981
57982
 
57982
57983
  // src/timezone.ts
57983
57984
  init_define_LOTICS_KIT_VERSIONS();
@@ -74852,8 +74853,11 @@ import { tmpdir } from "node:os";
74852
74853
 
74853
74854
  // ../shared/src/app_reach.ts
74854
74855
  init_define_LOTICS_KIT_VERSIONS();
74856
+ function hasScreens(app) {
74857
+ return app.current_version_id != null;
74858
+ }
74855
74859
  function reachedOnlyThroughApi(app) {
74856
- if (app.current_version_id != null) return false;
74860
+ if (hasScreens(app)) return false;
74857
74861
  return Object.keys(app.queries ?? {}).length > 0 || Object.keys(app.workflows ?? {}).length > 0 || Object.keys(app.agents ?? {}).length > 0;
74858
74862
  }
74859
74863
 
@@ -81261,6 +81265,8 @@ Ready. Next steps:`);
81261
81265
  console.error(` lotics app workflow set <alias> # push the body (the server verifies it)`);
81262
81266
  console.error(` lotics app check # every pre-flight a release would run`);
81263
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)`);
81264
81270
  } else if (plan === null) {
81265
81271
  console.error(` # edit src/App.tsx, then:`);
81266
81272
  console.error(` lotics app check # every pre-flight a deploy runs`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.255.0",
3
+ "version": "0.255.1",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {